/linux/drivers/net/ethernet/sfc/ |
A D | ethtool.c | 33 static int efx_ethtool_phys_id(struct net_device *net_dev, in efx_ethtool_phys_id() 56 static int efx_ethtool_get_regs_len(struct net_device *net_dev) in efx_ethtool_get_regs_len() 61 static void efx_ethtool_get_regs(struct net_device *net_dev, in efx_ethtool_get_regs() 99 static int efx_ethtool_get_coalesce(struct net_device *net_dev, in efx_ethtool_get_coalesce() 119 static int efx_ethtool_set_coalesce(struct net_device *net_dev, in efx_ethtool_set_coalesce() 160 static void efx_ethtool_get_ringparam(struct net_device *net_dev, in efx_ethtool_get_ringparam() 171 static int efx_ethtool_set_ringparam(struct net_device *net_dev, in efx_ethtool_set_ringparam() 198 static void efx_ethtool_get_wol(struct net_device *net_dev, in efx_ethtool_get_wol() 206 static int efx_ethtool_set_wol(struct net_device *net_dev, in efx_ethtool_set_wol() 213 static void efx_ethtool_get_fec_stats(struct net_device *net_dev, in efx_ethtool_get_fec_stats() [all …]
|
A D | ethtool_common.c | 103 void efx_ethtool_get_drvinfo(struct net_device *net_dev, in efx_ethtool_get_drvinfo() 114 u32 efx_ethtool_get_msglevel(struct net_device *net_dev) in efx_ethtool_get_msglevel() 128 void efx_ethtool_self_test(struct net_device *net_dev, in efx_ethtool_self_test() 176 void efx_ethtool_get_pauseparam(struct net_device *net_dev, in efx_ethtool_get_pauseparam() 186 int efx_ethtool_set_pauseparam(struct net_device *net_dev, in efx_ethtool_set_pauseparam() 459 void efx_ethtool_get_strings(struct net_device *net_dev, in efx_ethtool_get_strings() 486 void efx_ethtool_get_stats(struct net_device *net_dev, in efx_ethtool_get_stats() 604 int efx_ethtool_get_fecparam(struct net_device *net_dev, in efx_ethtool_get_fecparam() 617 int efx_ethtool_set_fecparam(struct net_device *net_dev, in efx_ethtool_set_fecparam() 809 int efx_ethtool_get_rxnfc(struct net_device *net_dev, in efx_ethtool_get_rxnfc() [all …]
|
A D | sriov.c | 11 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) in efx_sriov_set_vf_mac() 21 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, in efx_sriov_set_vf_vlan() 40 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_spoofchk() 51 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, in efx_sriov_get_vf_config() 62 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_link_state()
|
A D | ef100_netdev.c | 80 static int ef100_net_stop(struct net_device *net_dev) in ef100_net_stop() 103 static int ef100_net_open(struct net_device *net_dev) in ef100_net_open() 190 struct net_device *net_dev) in ef100_hard_start_xmit() 240 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in ef100_netdev_event() local 250 struct net_device *net_dev = efx->net_dev; in ef100_register_netdev() local
|
A D | efx.c | 498 static int efx_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) in efx_ioctl() 523 int efx_net_open(struct net_device *net_dev) in efx_net_open() 554 int efx_net_stop(struct net_device *net_dev) in efx_net_stop() 567 static int efx_vlan_rx_add_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_add_vid() 577 static int efx_vlan_rx_kill_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_kill_vid() 679 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in efx_netdev_event() local 702 struct net_device *net_dev = efx->net_dev; in efx_register_netdev() local 992 struct net_device *net_dev = efx->net_dev; in efx_pci_probe_post_io() local 1050 struct net_device *net_dev; in efx_pci_probe() local
|
A D | efx_common.c | 167 int efx_set_mac_address(struct net_device *net_dev, void *data) in efx_set_mac_address() 202 void efx_set_rx_mode(struct net_device *net_dev) in efx_set_rx_mode() 211 int efx_set_features(struct net_device *net_dev, netdev_features_t data) in efx_set_features() 285 int efx_change_mtu(struct net_device *net_dev, int new_mtu) in efx_change_mtu() 600 void efx_net_stats(struct net_device *net_dev, struct rtnl_link_stats64 *stats) in efx_net_stats() 723 void efx_watchdog(struct net_device *net_dev, unsigned int txqueue) in efx_watchdog() 981 struct pci_dev *pci_dev, struct net_device *net_dev) in efx_init_struct() 1377 int efx_get_phys_port_id(struct net_device *net_dev, in efx_get_phys_port_id() 1388 int efx_get_phys_port_name(struct net_device *net_dev, char *name, size_t len) in efx_get_phys_port_name()
|
A D | mcdi_port.c | 20 static int efx_mcdi_mdio_read(struct net_device *net_dev, in efx_mcdi_mdio_read() 46 static int efx_mcdi_mdio_write(struct net_device *net_dev, in efx_mcdi_mdio_write()
|
A D | ef100_ethtool.c | 23 static void ef100_ethtool_get_ringparam(struct net_device *net_dev, in ef100_ethtool_get_ringparam()
|
/linux/drivers/net/ethernet/sfc/falcon/ |
A D | ethtool.c | 90 static int ef4_ethtool_phys_id(struct net_device *net_dev, in ef4_ethtool_phys_id() 116 ef4_ethtool_get_link_ksettings(struct net_device *net_dev, in ef4_ethtool_get_link_ksettings() 140 ef4_ethtool_set_link_ksettings(struct net_device *net_dev, in ef4_ethtool_set_link_ksettings() 160 static void ef4_ethtool_get_drvinfo(struct net_device *net_dev, in ef4_ethtool_get_drvinfo() 170 static int ef4_ethtool_get_regs_len(struct net_device *net_dev) in ef4_ethtool_get_regs_len() 175 static void ef4_ethtool_get_regs(struct net_device *net_dev, in ef4_ethtool_get_regs() 184 static u32 ef4_ethtool_get_msglevel(struct net_device *net_dev) in ef4_ethtool_get_msglevel() 430 static void ef4_ethtool_get_stats(struct net_device *net_dev, in ef4_ethtool_get_stats() 746 static void ef4_ethtool_get_wol(struct net_device *net_dev, in ef4_ethtool_get_wol() 754 static int ef4_ethtool_set_wol(struct net_device *net_dev, in ef4_ethtool_set_wol() [all …]
|
A D | efx.c | 2055 int ef4_net_open(struct net_device *net_dev) in ef4_net_open() 2082 int ef4_net_stop(struct net_device *net_dev) in ef4_net_stop() 2096 static void ef4_net_stats(struct net_device *net_dev, in ef4_net_stats() 2107 static void ef4_watchdog(struct net_device *net_dev, unsigned int txqueue) in ef4_watchdog() 2120 static int ef4_change_mtu(struct net_device *net_dev, int new_mtu) in ef4_change_mtu() 2144 static int ef4_set_mac_address(struct net_device *net_dev, void *data) in ef4_set_mac_address() 2179 static void ef4_set_rx_mode(struct net_device *net_dev) in ef4_set_rx_mode() 2239 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in ef4_netdev_event() local 2262 struct net_device *net_dev = efx->net_dev; in ef4_register_netdev() local 2632 struct pci_dev *pci_dev, struct net_device *net_dev) in ef4_init_struct() [all …]
|
/linux/drivers/net/ethernet/sis/ |
A D | sis900.c | 257 struct net_device *net_dev) in sis900_get_mac_addr() 292 struct net_device *net_dev) in sis630e_get_mac_addr() 334 struct net_device *net_dev) in sis635_get_mac_addr() 380 struct net_device *net_dev) in sis96x_get_mac_addr() 436 struct net_device *net_dev; in sis900_probe() local 1040 sis900_open(struct net_device *net_dev) in sis900_open() 1094 sis900_init_rxfilter (struct net_device * net_dev) in sis900_init_rxfilter() 1131 sis900_init_tx_ring(struct net_device *net_dev) in sis900_init_tx_ring() 1165 sis900_init_rx_ring(struct net_device *net_dev) in sis900_init_rx_ring() 1679 struct net_device *net_dev = dev_instance; in sis900_interrupt() local [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa/ |
A D | dpaa_ethtool.c | 80 static int dpaa_get_link_ksettings(struct net_device *net_dev, in dpaa_get_link_ksettings() 91 static int dpaa_set_link_ksettings(struct net_device *net_dev, in dpaa_set_link_ksettings() 106 static void dpaa_get_drvinfo(struct net_device *net_dev, in dpaa_get_drvinfo() 115 static u32 dpaa_get_msglevel(struct net_device *net_dev) in dpaa_get_msglevel() 120 static void dpaa_set_msglevel(struct net_device *net_dev, in dpaa_set_msglevel() 126 static int dpaa_nway_reset(struct net_device *net_dev) in dpaa_nway_reset() 144 static void dpaa_get_pauseparam(struct net_device *net_dev, in dpaa_get_pauseparam() 161 static int dpaa_set_pauseparam(struct net_device *net_dev, in dpaa_set_pauseparam() 258 static void dpaa_get_ethtool_stats(struct net_device *net_dev, in dpaa_get_ethtool_stats() 416 static void dpaa_set_hash(struct net_device *net_dev, bool enable) in dpaa_set_hash() [all …]
|
A D | dpaa_eth.c | 301 static int dpaa_stop(struct net_device *net_dev) in dpaa_stop() 1914 struct net_device *net_dev = priv->net_dev; in skb_to_contig_fd() local 1967 struct net_device *net_dev = priv->net_dev; in skb_to_sg_fd() local 2457 struct net_device *net_dev; in rx_error_dqrr() local 2654 struct net_device *net_dev; in rx_default_dqrr() local 2805 struct net_device *net_dev; in conf_error_dqrr() local 2827 struct net_device *net_dev; in conf_dflt_dqrr() local 2853 struct net_device *net_dev; in egress_ern() local 2950 static int dpaa_open(struct net_device *net_dev) in dpaa_open() 3310 struct net_device *net_dev = NULL; in dpaa_eth_probe() local [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-ethtool.c | 70 static void dpaa2_eth_get_drvinfo(struct net_device *net_dev, in dpaa2_eth_get_drvinfo() 84 static int dpaa2_eth_nway_reset(struct net_device *net_dev) in dpaa2_eth_nway_reset() 95 dpaa2_eth_get_link_ksettings(struct net_device *net_dev, in dpaa2_eth_get_link_ksettings() 113 dpaa2_eth_set_link_ksettings(struct net_device *net_dev, in dpaa2_eth_set_link_ksettings() 124 static void dpaa2_eth_get_pauseparam(struct net_device *net_dev, in dpaa2_eth_get_pauseparam() 140 static int dpaa2_eth_set_pauseparam(struct net_device *net_dev, in dpaa2_eth_set_pauseparam() 540 static int dpaa2_eth_do_cls_rule(struct net_device *net_dev, in dpaa2_eth_do_cls_rule() 687 static int dpaa2_eth_get_rxnfc(struct net_device *net_dev, in dpaa2_eth_get_rxnfc() 737 static int dpaa2_eth_set_rxnfc(struct net_device *net_dev, in dpaa2_eth_set_rxnfc() 785 static int dpaa2_eth_get_tunable(struct net_device *net_dev, in dpaa2_eth_get_tunable() [all …]
|
A D | dpaa2-eth-dcb.c | 6 static int dpaa2_eth_dcbnl_ieee_getpfc(struct net_device *net_dev, in dpaa2_eth_dcbnl_ieee_getpfc() 61 static int dpaa2_eth_dcbnl_ieee_setpfc(struct net_device *net_dev, in dpaa2_eth_dcbnl_ieee_setpfc() 108 static u8 dpaa2_eth_dcbnl_getdcbx(struct net_device *net_dev) in dpaa2_eth_dcbnl_getdcbx() 115 static u8 dpaa2_eth_dcbnl_setdcbx(struct net_device *net_dev, u8 mode) in dpaa2_eth_dcbnl_setdcbx() 122 static u8 dpaa2_eth_dcbnl_getcap(struct net_device *net_dev, int capid, u8 *cap) in dpaa2_eth_dcbnl_getcap()
|
A D | dpaa2-eth.c | 1102 struct net_device *net_dev) in __dpaa2_eth_tx() 1777 static int dpaa2_eth_open(struct net_device *net_dev) in dpaa2_eth_open() 1882 static int dpaa2_eth_stop(struct net_device *net_dev) in dpaa2_eth_stop() 2478 struct net_device *net_dev = priv->net_dev; in update_xps() local 3315 struct net_device *net_dev; in dpaa2_eth_setup_dpni() local 3883 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_bind_dpni() local 3958 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_alloc_rings() local 3993 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_set_mac_addr() local 4208 struct net_device *net_dev = dev_get_drvdata(dev); in dpni_irq0_handler_thread() local 4310 struct net_device *net_dev = NULL; in dpaa2_eth_probe() local [all …]
|
A D | dpaa2-eth-devlink.c | 153 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_dl_trap_group_action_set() local 194 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_dl_alloc() local 254 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_dl_traps_register() local
|
/linux/drivers/net/ethernet/ |
A D | lantiq_xrx200.c | 76 struct net_device *net_dev; member 130 static int xrx200_open(struct net_device *net_dev) in xrx200_open() 155 static int xrx200_close(struct net_device *net_dev) in xrx200_close() 209 struct net_device *net_dev = priv->net_dev; in xrx200_hw_receive() local 264 struct net_device *net_dev = ch->priv->net_dev; in xrx200_tx_housekeeping() local 305 struct net_device *net_dev) in xrx200_start_xmit() 359 xrx200_change_mtu(struct net_device *net_dev, int new_mtu) in xrx200_change_mtu() 506 struct net_device *net_dev; in xrx200_probe() local 590 struct net_device *net_dev = priv->net_dev; in xrx200_remove() local
|
A D | ec_bhf.c | 123 struct net_device *net_dev; member 283 struct net_device *net_dev) in ec_bhf_start_xmit() 392 static int ec_bhf_open(struct net_device *net_dev) in ec_bhf_open() 432 static int ec_bhf_stop(struct net_device *net_dev) in ec_bhf_stop() 452 ec_bhf_get_stats(struct net_device *net_dev, in ec_bhf_get_stats() 479 struct net_device *net_dev; in ec_bhf_probe() local 569 struct net_device *net_dev = pci_get_drvdata(dev); in ec_bhf_remove() local
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_ethtool.c | 38 static u32 hns_nic_get_link(struct net_device *net_dev) in hns_nic_get_link() 61 static void hns_get_mdix_mode(struct net_device *net_dev, in hns_get_mdix_mode() 113 static int hns_nic_get_link_ksettings(struct net_device *net_dev, in hns_nic_get_link_ksettings() 200 static int hns_nic_set_link_ksettings(struct net_device *net_dev, in hns_nic_set_link_ksettings() 642 static void hns_nic_get_drvinfo(struct net_device *net_dev, in hns_nic_get_drvinfo() 667 static void hns_get_ringparam(struct net_device *net_dev, in hns_get_ringparam() 692 static void hns_get_pauseparam(struct net_device *net_dev, in hns_get_pauseparam() 712 static int hns_set_pauseparam(struct net_device *net_dev, in hns_set_pauseparam() 738 static int hns_get_coalesce(struct net_device *net_dev, in hns_get_coalesce() 786 static int hns_set_coalesce(struct net_device *net_dev, in hns_set_coalesce() [all …]
|
/linux/net/batman-adv/ |
A D | hard-interface.c | 64 batadv_hardif_get_by_netdev(const struct net_device *net_dev) in batadv_hardif_get_by_netdev() 147 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface() 182 static bool batadv_is_valid_iface(const struct net_device *net_dev) in batadv_is_valid_iface() 494 static void batadv_check_known_mac_addr(const struct net_device *net_dev) in batadv_check_known_mac_addr() 836 batadv_hardif_add_interface(struct net_device *net_dev) in batadv_hardif_add_interface() 907 struct net_device *net_dev) in batadv_hard_if_event_softif() 924 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in batadv_hard_if_event() local
|
A D | gateway_common.c | 36 bool batadv_parse_throughput(struct net_device *net_dev, char *buff, in batadv_parse_throughput() 103 static bool batadv_parse_gw_bandwidth(struct net_device *net_dev, char *buff, in batadv_parse_gw_bandwidth() 167 ssize_t batadv_gw_bandwidth_set(struct net_device *net_dev, char *buff, in batadv_gw_bandwidth_set()
|
A D | log.h | 121 #define batadv_info(net_dev, fmt, arg...) \ argument 135 #define batadv_err(net_dev, fmt, arg...) \ argument
|
/linux/net/atm/ |
A D | br2684.c | 84 struct net_device *net_dev; member 103 static inline struct br2684_dev *BRPRIV(const struct net_device *net_dev) in BRPRIV() 127 struct net_device *net_dev; in br2684_find_dev() local 152 struct net_device *net_dev; in atm_dev_event() local 426 struct net_device *net_dev = brvcc->device; in br2684_push() local 535 struct net_device *net_dev; in br2684_regvcc() local 789 const struct net_device *net_dev = brdev->net_dev; in br2684_seq_show() local 841 struct net_device *net_dev; in br2684_exit() local
|
/linux/drivers/net/ethernet/broadcom/ |
A D | bgmac.c | 136 struct net_device *net_dev = bgmac->net_dev; in bgmac_dma_tx_add() local 781 static void bgmac_set_rx_mode(struct net_device *net_dev) in bgmac_set_rx_mode() 1175 static int bgmac_open(struct net_device *net_dev) in bgmac_open() 1205 static int bgmac_stop(struct net_device *net_dev) in bgmac_stop() 1224 struct net_device *net_dev) in bgmac_start_xmit() 1234 static int bgmac_set_mac_address(struct net_device *net_dev, void *addr) in bgmac_set_mac_address() 1251 static int bgmac_change_mtu(struct net_device *net_dev, int mtu) in bgmac_change_mtu() 1395 static void bgmac_get_drvinfo(struct net_device *net_dev, in bgmac_get_drvinfo() 1415 void bgmac_adjust_link(struct net_device *net_dev) in bgmac_adjust_link() 1469 struct net_device *net_dev; in bgmac_alloc() local [all …]
|