Lines Matching defs:dev
145 #define DBG(n, dev, fmt, ...) \ argument
151 #define PRINTK(dev, fmt, ...) \ argument
239 static void smc_reset(struct net_device *dev) in smc_reset()
333 static void smc_enable(struct net_device *dev) in smc_enable()
367 static void smc_shutdown(struct net_device *dev) in smc_shutdown()
399 static inline void smc_rcv(struct net_device *dev) in smc_rcv()
542 struct net_device *dev = lp->dev; in smc_hardware_send_pkt() local
630 smc_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) in smc_hard_start_xmit()
703 static void smc_tx(struct net_device *dev) in smc_tx()
762 static void smc_mii_out(struct net_device *dev, unsigned int val, int bits) in smc_mii_out()
784 static unsigned int smc_mii_in(struct net_device *dev, int bits) in smc_mii_in()
809 static int smc_phy_read(struct net_device *dev, int phyaddr, int phyreg) in smc_phy_read()
839 static void smc_phy_write(struct net_device *dev, int phyaddr, int phyreg, in smc_phy_write()
865 static void smc_phy_detect(struct net_device *dev) in smc_phy_detect()
902 static int smc_phy_fixed(struct net_device *dev) in smc_phy_fixed()
952 static int smc_phy_reset(struct net_device *dev, int phy) in smc_phy_reset()
979 static void smc_phy_powerdown(struct net_device *dev) in smc_phy_powerdown()
1005 static void smc_phy_check_media(struct net_device *dev, int init) in smc_phy_check_media()
1036 struct net_device *dev = lp->dev; in smc_phy_configure() local
1135 static void smc_phy_interrupt(struct net_device *dev) in smc_phy_interrupt()
1158 static void smc_10bt_check_media(struct net_device *dev, int init) in smc_10bt_check_media()
1182 static void smc_eph_interrupt(struct net_device *dev) in smc_eph_interrupt()
1203 struct net_device *dev = dev_id; in smc_interrupt() local
1316 static void smc_poll_controller(struct net_device *dev) in smc_poll_controller()
1325 static void smc_timeout(struct net_device *dev, unsigned int txqueue) in smc_timeout()
1367 static void smc_set_multicast_list(struct net_device *dev) in smc_set_multicast_list()
1463 smc_open(struct net_device *dev) in smc_open()
1507 static int smc_close(struct net_device *dev) in smc_close()
1527 smc_ethtool_get_link_ksettings(struct net_device *dev, in smc_ethtool_get_link_ksettings()
1559 smc_ethtool_set_link_ksettings(struct net_device *dev, in smc_ethtool_set_link_ksettings()
1586 smc_ethtool_getdrvinfo(struct net_device *dev, struct ethtool_drvinfo *info) in smc_ethtool_getdrvinfo()
1594 static int smc_ethtool_nwayreset(struct net_device *dev) in smc_ethtool_nwayreset()
1608 static u32 smc_ethtool_getmsglevel(struct net_device *dev) in smc_ethtool_getmsglevel()
1614 static void smc_ethtool_setmsglevel(struct net_device *dev, u32 level) in smc_ethtool_setmsglevel()
1620 static int smc_write_eeprom_word(struct net_device *dev, u16 addr, u16 word) in smc_write_eeprom_word()
1648 static int smc_read_eeprom_word(struct net_device *dev, u16 addr, u16 *word) in smc_read_eeprom_word()
1676 static int smc_ethtool_geteeprom_len(struct net_device *dev) in smc_ethtool_geteeprom_len()
1681 static int smc_ethtool_geteeprom(struct net_device *dev, in smc_ethtool_geteeprom()
1706 static int smc_ethtool_seteeprom(struct net_device *dev, in smc_ethtool_seteeprom()
1844 static int smc_probe(struct net_device *dev, void __iomem *ioaddr, in smc_probe()
2201 static int try_toggle_control_gpio(struct device *dev, in try_toggle_control_gpio()
2438 static int smc_drv_suspend(struct device *dev) in smc_drv_suspend()
2452 static int smc_drv_resume(struct device *dev) in smc_drv_resume()