Lines Matching defs:pdata

146 #define __smsc_shift(pdata, reg) ((reg) << ((pdata)->config.shift))  argument
148 static inline u32 __smsc911x_reg_read(struct smsc911x_data *pdata, u32 reg) in __smsc911x_reg_read()
162 __smsc911x_reg_read_shift(struct smsc911x_data *pdata, u32 reg) in __smsc911x_reg_read_shift()
177 static inline u32 smsc911x_reg_read(struct smsc911x_data *pdata, u32 reg) in smsc911x_reg_read()
189 static inline void __smsc911x_reg_write(struct smsc911x_data *pdata, u32 reg, in __smsc911x_reg_write()
207 __smsc911x_reg_write_shift(struct smsc911x_data *pdata, u32 reg, u32 val) in __smsc911x_reg_write_shift()
225 static inline void smsc911x_reg_write(struct smsc911x_data *pdata, u32 reg, in smsc911x_reg_write()
237 smsc911x_tx_writefifo(struct smsc911x_data *pdata, unsigned int *buf, in smsc911x_tx_writefifo()
269 smsc911x_tx_writefifo_shift(struct smsc911x_data *pdata, unsigned int *buf, in smsc911x_tx_writefifo_shift()
303 smsc911x_rx_readfifo(struct smsc911x_data *pdata, unsigned int *buf, in smsc911x_rx_readfifo()
335 smsc911x_rx_readfifo_shift(struct smsc911x_data *pdata, unsigned int *buf, in smsc911x_rx_readfifo_shift()
373 struct smsc911x_data *pdata = netdev_priv(ndev); in smsc911x_enable_resources() local
397 struct smsc911x_data *pdata = netdev_priv(ndev); in smsc911x_disable_resources() local
419 struct smsc911x_data *pdata = netdev_priv(ndev); in smsc911x_request_resources() local
460 struct smsc911x_data *pdata = netdev_priv(ndev); in smsc911x_free_resources() local
475 static int smsc911x_mac_complete(struct smsc911x_data *pdata) in smsc911x_mac_complete()
493 static u32 smsc911x_mac_read(struct smsc911x_data *pdata, unsigned int offset) in smsc911x_mac_read()
521 static void smsc911x_mac_write(struct smsc911x_data *pdata, in smsc911x_mac_write()
555 struct smsc911x_data *pdata = (struct smsc911x_data *)bus->priv; in smsc911x_mii_read() local
594 struct smsc911x_data *pdata = (struct smsc911x_data *)bus->priv; in smsc911x_mii_write() local
634 static void smsc911x_phy_enable_external(struct smsc911x_data *pdata) in smsc911x_phy_enable_external()
661 static void smsc911x_phy_initialise_external(struct smsc911x_data *pdata) in smsc911x_phy_initialise_external()
685 static unsigned int smsc911x_tx_get_txstatus(struct smsc911x_data *pdata) in smsc911x_tx_get_txstatus()
697 static unsigned int smsc911x_rx_get_rxstatus(struct smsc911x_data *pdata) in smsc911x_rx_get_rxstatus()
709 static int smsc911x_phy_check_loopbackpkt(struct smsc911x_data *pdata) in smsc911x_phy_check_loopbackpkt()
815 static int smsc911x_phy_reset(struct smsc911x_data *pdata) in smsc911x_phy_reset()
841 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_phy_loopbacktest() local
910 static void smsc911x_phy_update_flowcontrol(struct smsc911x_data *pdata) in smsc911x_phy_update_flowcontrol()
953 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_phy_adjust_link() local
1018 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_mii_probe() local
1068 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_mii_init() local
1120 static unsigned int smsc911x_tx_get_txstatcount(struct smsc911x_data *pdata) in smsc911x_tx_get_txstatcount()
1129 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_tx_update_txcounters() local
1190 smsc911x_rx_fastforward(struct smsc911x_data *pdata, unsigned int pktwords) in smsc911x_rx_fastforward()
1213 struct smsc911x_data *pdata = in smsc911x_poll() local
1291 static void smsc911x_rx_multicast_update(struct smsc911x_data *pdata) in smsc911x_rx_multicast_update()
1309 static void smsc911x_rx_multicast_update_workaround(struct smsc911x_data *pdata) in smsc911x_rx_multicast_update_workaround()
1339 static int smsc911x_phy_general_power_up(struct smsc911x_data *pdata) in smsc911x_phy_general_power_up()
1377 static int smsc911x_phy_disable_energy_detect(struct smsc911x_data *pdata) in smsc911x_phy_disable_energy_detect()
1410 static int smsc911x_phy_enable_energy_detect(struct smsc911x_data *pdata) in smsc911x_phy_enable_energy_detect()
1440 static int smsc911x_soft_reset(struct smsc911x_data *pdata) in smsc911x_soft_reset()
1508 smsc911x_set_hw_mac_address(struct smsc911x_data *pdata, const u8 dev_addr[6]) in smsc911x_set_hw_mac_address()
1522 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_disable_irq_chip() local
1531 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_irqhandler() local
1591 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_open() local
1753 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_stop() local
1788 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_hard_start_xmit() local
1840 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_get_stats() local
1849 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_set_multicast_list() local
1932 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_set_mac_address() local
1966 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_ethtool_getmsglevel() local
1972 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_ethtool_setmsglevel() local
1986 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_ethtool_getregs() local
2008 static void smsc911x_eeprom_enable_access(struct smsc911x_data *pdata) in smsc911x_eeprom_enable_access()
2016 static int smsc911x_eeprom_send_cmd(struct smsc911x_data *pdata, u32 op) in smsc911x_eeprom_send_cmd()
2048 static int smsc911x_eeprom_read_location(struct smsc911x_data *pdata, in smsc911x_eeprom_read_location()
2063 static int smsc911x_eeprom_write_location(struct smsc911x_data *pdata, in smsc911x_eeprom_write_location()
2093 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_ethtool_get_eeprom() local
2118 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_ethtool_set_eeprom() local
2164 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_read_mac_address() local
2181 struct smsc911x_data *pdata = netdev_priv(dev); in smsc911x_init() local
2320 struct smsc911x_data *pdata; in smsc911x_drv_remove() local
2416 struct smsc911x_data *pdata; in smsc911x_drv_probe() local
2587 struct smsc911x_data *pdata = netdev_priv(ndev); in smsc911x_suspend() local
2611 struct smsc911x_data *pdata = netdev_priv(ndev); in smsc911x_resume() local