Lines Matching defs:dev
332 static int mdio_read(struct niu *np, int port, int dev, int reg) in mdio_read()
345 static int mdio_write(struct niu *np, int port, int dev, int reg, int data) in mdio_write()
1909 struct net_device *dev = np->dev; in niu_link_status_common() local
6100 static int niu_open(struct net_device *dev) in niu_open()
6159 static void niu_full_shutdown(struct niu *np, struct net_device *dev) in niu_full_shutdown()
6175 static int niu_close(struct net_device *dev) in niu_close()
6294 static void niu_get_stats(struct net_device *dev, in niu_get_stats()
6329 static void niu_set_rx_mode(struct net_device *dev) in niu_set_rx_mode()
6399 static int niu_set_mac_addr(struct net_device *dev, void *p) in niu_set_mac_addr()
6422 static int niu_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) in niu_ioctl()
6536 static void niu_tx_timeout(struct net_device *dev, unsigned int txqueue) in niu_tx_timeout()
6624 struct net_device *dev) in niu_start_xmit()
6746 static int niu_change_mtu(struct net_device *dev, int new_mtu) in niu_change_mtu()
6795 static void niu_get_drvinfo(struct net_device *dev, in niu_get_drvinfo()
6810 static int niu_get_link_ksettings(struct net_device *dev, in niu_get_link_ksettings()
6832 static int niu_set_link_ksettings(struct net_device *dev, in niu_set_link_ksettings()
6846 static u32 niu_get_msglevel(struct net_device *dev) in niu_get_msglevel()
6852 static void niu_set_msglevel(struct net_device *dev, u32 value) in niu_set_msglevel()
6858 static int niu_nway_reset(struct net_device *dev) in niu_nway_reset()
6868 static int niu_get_eeprom_len(struct net_device *dev) in niu_get_eeprom_len()
6875 static int niu_get_eeprom(struct net_device *dev, in niu_get_eeprom()
7280 static int niu_get_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd, in niu_get_nfc()
7647 static int niu_set_nfc(struct net_device *dev, struct ethtool_rxnfc *cmd) in niu_set_nfc()
7748 static void niu_get_strings(struct net_device *dev, u32 stringset, u8 *data) in niu_get_strings()
7777 static int niu_get_sset_count(struct net_device *dev, int stringset) in niu_get_sset_count()
7791 static void niu_get_ethtool_stats(struct net_device *dev, in niu_get_ethtool_stats()
7866 static int niu_set_phys_id(struct net_device *dev, in niu_set_phys_id()
8331 struct net_device *dev = np->dev; in niu_pci_vpd_validate() local
8378 struct net_device *dev = np->dev; in niu_pci_probe_sprom() local
9223 struct net_device *dev = np->dev; in niu_get_of_props() local
9357 static ssize_t show_port_phy(struct device *dev, in show_port_phy()
9387 static ssize_t show_plat_type(struct device *dev, in show_plat_type()
9415 static ssize_t __show_chan_per_port(struct device *dev, in __show_chan_per_port()
9437 static ssize_t show_rxchan_per_port(struct device *dev, in show_rxchan_per_port()
9443 static ssize_t show_txchan_per_port(struct device *dev, in show_txchan_per_port()
9449 static ssize_t show_num_ports(struct device *dev, in show_num_ports()
9594 static void *niu_pci_alloc_coherent(struct device *dev, size_t size, in niu_pci_alloc_coherent()
9606 static void niu_pci_free_coherent(struct device *dev, size_t size, in niu_pci_free_coherent()
9612 static u64 niu_pci_map_page(struct device *dev, struct page *page, in niu_pci_map_page()
9619 static void niu_pci_unmap_page(struct device *dev, u64 dma_address, in niu_pci_unmap_page()
9625 static u64 niu_pci_map_single(struct device *dev, void *cpu_addr, in niu_pci_map_single()
9632 static void niu_pci_unmap_single(struct device *dev, u64 dma_address, in niu_pci_unmap_single()
9661 struct net_device *dev; in niu_alloc_and_init() local
9700 static void niu_assign_netdev_ops(struct net_device *dev) in niu_assign_netdev_ops()
9709 struct net_device *dev = np->dev; in niu_device_announce() local
9736 static void niu_set_basic_features(struct net_device *dev) in niu_set_basic_features()
9746 struct net_device *dev; in niu_pci_init_one() local
9878 struct net_device *dev = pci_get_drvdata(pdev); in niu_pci_remove_one() local
9901 struct net_device *dev = dev_get_drvdata(dev_d); in niu_suspend() local
9928 struct net_device *dev = dev_get_drvdata(dev_d); in niu_resume() local
9963 static void *niu_phys_alloc_coherent(struct device *dev, size_t size, in niu_phys_alloc_coherent()
9977 static void niu_phys_free_coherent(struct device *dev, size_t size, in niu_phys_free_coherent()
9985 static u64 niu_phys_map_page(struct device *dev, struct page *page, in niu_phys_map_page()
9992 static void niu_phys_unmap_page(struct device *dev, u64 dma_address, in niu_phys_unmap_page()
9998 static u64 niu_phys_map_single(struct device *dev, void *cpu_addr, in niu_phys_map_single()
10005 static void niu_phys_unmap_single(struct device *dev, u64 dma_address, in niu_phys_unmap_single()
10024 struct net_device *dev; in niu_of_probe() local
10137 struct net_device *dev = platform_get_drvdata(op); in niu_of_remove() local