Lines Matching refs:net_device

326 static int  mdio_read(struct net_device *dev, int phy_id, int location);
327 static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
328 static int netdev_open(struct net_device *dev);
329 static int update_link(struct net_device *dev);
331 static void init_rxtx_rings(struct net_device *dev);
333 static void init_registers(struct net_device *dev);
334 static void tx_timeout(struct net_device *dev);
335 static int alloc_ringdesc(struct net_device *dev);
337 static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev);
339 static void netdev_error(struct net_device *dev, int intr_status);
340 static int netdev_rx(struct net_device *dev);
341 static u32 __set_rx_mode(struct net_device *dev);
342 static void set_rx_mode(struct net_device *dev);
343 static struct net_device_stats *get_stats(struct net_device *dev);
344 static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
346 static int netdev_close(struct net_device *dev);
363 struct net_device *dev; in w840_probe1()
567 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read()
597 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) in mdio_write()
629 static int netdev_open(struct net_device *dev) in netdev_open()
672 static int update_link(struct net_device *dev) in update_link()
738 static inline void update_csr6(struct net_device *dev, int new) in update_csr6()
780 struct net_device *dev = (struct net_device *)data; in netdev_timer()
795 static void init_rxtx_rings(struct net_device *dev) in init_rxtx_rings()
869 static void init_registers(struct net_device *dev) in init_registers()
927 static void tx_timeout(struct net_device *dev) in tx_timeout()
974 static int alloc_ringdesc(struct net_device *dev) in alloc_ringdesc()
999 static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev) in start_tx()
1061 static void netdev_tx_done(struct net_device *dev) in netdev_tx_done()
1115 struct net_device *dev = (struct net_device *)dev_instance; in intr_handler()
1178 static int netdev_rx(struct net_device *dev) in netdev_rx()
1286 static void netdev_error(struct net_device *dev, int intr_status) in netdev_error()
1328 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
1343 static u32 __set_rx_mode(struct net_device *dev) in __set_rx_mode()
1377 static void set_rx_mode(struct net_device *dev) in set_rx_mode()
1386 static void netdev_get_drvinfo (struct net_device *dev, struct ethtool_drvinfo *info) in netdev_get_drvinfo()
1395 static int netdev_get_settings(struct net_device *dev, struct ethtool_cmd *cmd) in netdev_get_settings()
1407 static int netdev_set_settings(struct net_device *dev, struct ethtool_cmd *cmd) in netdev_set_settings()
1419 static int netdev_nway_reset(struct net_device *dev) in netdev_nway_reset()
1425 static u32 netdev_get_link(struct net_device *dev) in netdev_get_link()
1431 static u32 netdev_get_msglevel(struct net_device *dev) in netdev_get_msglevel()
1436 static void netdev_set_msglevel(struct net_device *dev, u32 value) in netdev_set_msglevel()
1451 static int netdev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in netdev_ioctl()
1477 static int netdev_close(struct net_device *dev) in netdev_close()
1535 struct net_device *dev = pci_get_drvdata(pdev); in w840_remove1()
1573 struct net_device *dev = pci_get_drvdata (pdev); in w840_suspend()
1608 struct net_device *dev = pci_get_drvdata (pdev); in w840_resume()