Lines Matching defs:self
127 static void sh_sir_write(struct sh_sir_self *self, u32 offset, u16 data) in sh_sir_write()
132 static u16 sh_sir_read(struct sh_sir_self *self, u32 offset) in sh_sir_read()
137 static void sh_sir_update_bits(struct sh_sir_self *self, u32 offset, in sh_sir_update_bits()
155 static void sh_sir_crc_reset(struct sh_sir_self *self) in sh_sir_crc_reset()
160 static void sh_sir_crc_add(struct sh_sir_self *self, u8 data) in sh_sir_crc_add()
165 static u16 sh_sir_crc_cnt(struct sh_sir_self *self) in sh_sir_crc_cnt()
170 static u16 sh_sir_crc_out(struct sh_sir_self *self) in sh_sir_crc_out()
175 static int sh_sir_crc_init(struct sh_sir_self *self) in sh_sir_crc_init()
251 static int sh_sir_set_baudrate(struct sh_sir_self *self, u32 baudrate) in sh_sir_set_baudrate()
399 static void sh_sir_remove_iobuf(struct sh_sir_self *self) in sh_sir_remove_iobuf()
408 static int sh_sir_init_iobuf(struct sh_sir_self *self, int rxsize, int txsize) in sh_sir_init_iobuf()
438 static void sh_sir_clear_all_err(struct sh_sir_self *self) in sh_sir_clear_all_err()
450 static void sh_sir_set_phase(struct sh_sir_self *self, int phase) in sh_sir_set_phase()
476 static int sh_sir_is_which_phase(struct sh_sir_self *self) in sh_sir_is_which_phase()
492 static void sh_sir_tx(struct sh_sir_self *self, int phase) in sh_sir_tx()
514 static int sh_sir_read_data(struct sh_sir_self *self) in sh_sir_read_data()
542 static void sh_sir_rx(struct sh_sir_self *self) in sh_sir_rx()
565 struct sh_sir_self *self = dev_id; in sh_sir_irq() local
597 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_hard_xmit() local
633 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_stats() local
640 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_open() local
678 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_stop() local
711 struct sh_sir_self *self; in sh_sir_probe() local
788 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_remove() local