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()
247 static int sh_sir_set_baudrate(struct sh_sir_self *self, u32 baudrate) in sh_sir_set_baudrate()
395 static void sh_sir_remove_iobuf(struct sh_sir_self *self) in sh_sir_remove_iobuf()
404 static int sh_sir_init_iobuf(struct sh_sir_self *self, int rxsize, int txsize) in sh_sir_init_iobuf()
434 static void sh_sir_clear_all_err(struct sh_sir_self *self) in sh_sir_clear_all_err()
446 static void sh_sir_set_phase(struct sh_sir_self *self, int phase) in sh_sir_set_phase()
472 static int sh_sir_is_which_phase(struct sh_sir_self *self) in sh_sir_is_which_phase()
488 static void sh_sir_tx(struct sh_sir_self *self, int phase) in sh_sir_tx()
510 static int sh_sir_read_data(struct sh_sir_self *self) in sh_sir_read_data()
538 static void sh_sir_rx(struct sh_sir_self *self) in sh_sir_rx()
561 struct sh_sir_self *self = dev_id; in sh_sir_irq() local
593 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_hard_xmit() local
629 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_stats() local
636 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_open() local
674 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_stop() local
707 struct sh_sir_self *self; in sh_sir_probe() local
785 struct sh_sir_self *self = netdev_priv(ndev); in sh_sir_remove() local