Lines Matching defs:priv
71 static void encx24j600_dump_rsv(struct encx24j600_priv *priv, const char *msg, in encx24j600_dump_rsv()
98 static u16 encx24j600_read_reg(struct encx24j600_priv *priv, u8 reg) in encx24j600_read_reg()
110 static void encx24j600_write_reg(struct encx24j600_priv *priv, u8 reg, u16 val) in encx24j600_write_reg()
120 static void encx24j600_update_reg(struct encx24j600_priv *priv, u8 reg, in encx24j600_update_reg()
131 static u16 encx24j600_read_phy(struct encx24j600_priv *priv, u8 reg) in encx24j600_read_phy()
143 static void encx24j600_write_phy(struct encx24j600_priv *priv, u8 reg, u16 val) in encx24j600_write_phy()
153 static void encx24j600_clr_bits(struct encx24j600_priv *priv, u8 reg, u16 mask) in encx24j600_clr_bits()
158 static void encx24j600_set_bits(struct encx24j600_priv *priv, u8 reg, u16 mask) in encx24j600_set_bits()
163 static void encx24j600_cmd(struct encx24j600_priv *priv, u8 cmd) in encx24j600_cmd()
173 static int encx24j600_raw_read(struct encx24j600_priv *priv, u8 reg, u8 *data, in encx24j600_raw_read()
185 static int encx24j600_raw_write(struct encx24j600_priv *priv, u8 reg, in encx24j600_raw_write()
197 static void encx24j600_update_phcon1(struct encx24j600_priv *priv) in encx24j600_update_phcon1()
219 static int encx24j600_wait_for_autoneg(struct encx24j600_priv *priv) in encx24j600_wait_for_autoneg()
264 static void encx24j600_check_link_status(struct encx24j600_priv *priv) in encx24j600_check_link_status()
290 static void encx24j600_int_link_handler(struct encx24j600_priv *priv) in encx24j600_int_link_handler()
299 static void encx24j600_tx_complete(struct encx24j600_priv *priv, bool err) in encx24j600_tx_complete()
329 static int encx24j600_receive_packet(struct encx24j600_priv *priv, in encx24j600_receive_packet()
359 static void encx24j600_rx_packets(struct encx24j600_priv *priv, u8 packet_count) in encx24j600_rx_packets()
402 struct encx24j600_priv *priv = dev_id; in encx24j600_isr() local
449 static int encx24j600_soft_reset(struct encx24j600_priv *priv) in encx24j600_soft_reset()
497 static int encx24j600_hw_reset(struct encx24j600_priv *priv) in encx24j600_hw_reset()
508 static void encx24j600_reset_hw_tx(struct encx24j600_priv *priv) in encx24j600_reset_hw_tx()
514 static void encx24j600_hw_init_tx(struct encx24j600_priv *priv) in encx24j600_hw_init_tx()
526 static void encx24j600_hw_init_rx(struct encx24j600_priv *priv) in encx24j600_hw_init_rx()
549 static void encx24j600_dump_config(struct encx24j600_priv *priv, in encx24j600_dump_config()
587 static void encx24j600_set_rxfilter_mode(struct encx24j600_priv *priv) in encx24j600_set_rxfilter_mode()
606 static void encx24j600_hw_init(struct encx24j600_priv *priv) in encx24j600_hw_init()
652 static void encx24j600_hw_enable(struct encx24j600_priv *priv) in encx24j600_hw_enable()
668 static void encx24j600_hw_disable(struct encx24j600_priv *priv) in encx24j600_hw_disable()
682 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_setlink() local
706 static void encx24j600_hw_get_macaddr(struct encx24j600_priv *priv, in encx24j600_hw_get_macaddr()
730 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_set_hw_macaddr() local
770 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_open() local
791 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_stop() local
800 struct encx24j600_priv *priv = in encx24j600_setrx_proc() local
810 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_set_multicast_list() local
829 static void encx24j600_hw_tx(struct encx24j600_priv *priv) in encx24j600_hw_tx()
865 struct encx24j600_priv *priv = in encx24j600_tx_proc() local
875 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_tx() local
893 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_tx_timeout() local
910 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_get_regs() local
937 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_get_link_ksettings() local
965 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_get_msglevel() local
972 struct encx24j600_priv *priv = netdev_priv(dev); in encx24j600_set_msglevel() local
1002 struct encx24j600_priv *priv; in encx24j600_spi_probe() local
1098 struct encx24j600_priv *priv = dev_get_drvdata(&spi->dev); in encx24j600_spi_remove() local