/linux/drivers/net/ethernet/sfc/siena/ |
H 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() 161 efx_ethtool_get_ringparam(struct net_device *net_dev, in efx_ethtool_get_ringparam() 175 efx_ethtool_set_ringparam(struct net_device *net_dev, in efx_ethtool_set_ringparam() 204 static void efx_ethtool_get_wol(struct net_device *net_dev, in efx_ethtool_get_wol() 212 static int efx_ethtool_set_wol(struct net_device *net_dev, in efx_ethtool_set_wol() 219 static void efx_ethtool_get_fec_stats(struct net_device *net_dev, in efx_ethtool_get_fec_stats() [all …]
|
H A D | ethtool_common.c | 103 void efx_siena_ethtool_get_drvinfo(struct net_device *net_dev, in efx_siena_ethtool_get_drvinfo() 114 u32 efx_siena_ethtool_get_msglevel(struct net_device *net_dev) in efx_siena_ethtool_get_msglevel() 121 void efx_siena_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable) in efx_siena_ethtool_set_msglevel() 128 void efx_siena_ethtool_get_pauseparam(struct net_device *net_dev, in efx_siena_ethtool_get_pauseparam() 138 int efx_siena_ethtool_set_pauseparam(struct net_device *net_dev, in efx_siena_ethtool_set_pauseparam() 350 void efx_siena_ethtool_self_test(struct net_device *net_dev, in efx_siena_ethtool_self_test() 440 int efx_siena_ethtool_get_sset_count(struct net_device *net_dev, int string_set) in efx_siena_ethtool_get_sset_count() 457 void efx_siena_ethtool_get_strings(struct net_device *net_dev, in efx_siena_ethtool_get_strings() 480 void efx_siena_ethtool_get_stats(struct net_device *net_dev, in efx_siena_ethtool_get_stats() 555 int efx_siena_ethtool_get_link_ksettings(struct net_device *net_dev, in efx_siena_ethtool_get_link_ksettings() [all …]
|
H A D | sriov.h | 15 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) in efx_sriov_set_vf_mac() 26 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, in efx_sriov_set_vf_vlan() 46 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_spoofchk() 58 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, in efx_sriov_get_vf_config() 70 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_link_state()
|
H A D | efx.c | 493 static int efx_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) in efx_ioctl() 513 static int efx_net_open(struct net_device *net_dev) in efx_net_open() 544 static int efx_net_stop(struct net_device *net_dev) in efx_net_stop() 557 static int efx_vlan_rx_add_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_add_vid() 567 static int efx_vlan_rx_kill_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_kill_vid() 577 static int efx_siena_hwtstamp_set(struct net_device *net_dev, in efx_siena_hwtstamp_set() 586 static int efx_siena_hwtstamp_get(struct net_device *net_dev, in efx_siena_hwtstamp_get() 688 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in efx_netdev_event() local 711 struct net_device *net_dev = efx->net_dev; in efx_register_netdev() local 983 struct net_device *net_dev = efx->net_dev; in efx_pci_probe_post_io() local [all …]
|
H A D | efx_common.c | 168 int efx_siena_set_mac_address(struct net_device *net_dev, void *data) in efx_siena_set_mac_address() 203 void efx_siena_set_rx_mode(struct net_device *net_dev) in efx_siena_set_rx_mode() 212 int efx_siena_set_features(struct net_device *net_dev, netdev_features_t data) in efx_siena_set_features() 286 int efx_siena_change_mtu(struct net_device *net_dev, int new_mtu) in efx_siena_change_mtu() 609 void efx_siena_net_stats(struct net_device *net_dev, in efx_siena_net_stats() 732 void efx_siena_watchdog(struct net_device *net_dev, unsigned int txqueue) in efx_siena_watchdog() 987 struct pci_dev *pci_dev, struct net_device *net_dev) in efx_siena_init_struct() 1382 int efx_siena_get_phys_port_id(struct net_device *net_dev, in efx_siena_get_phys_port_id() 1393 int efx_siena_get_phys_port_name(struct net_device *net_dev, in efx_siena_get_phys_port_name()
|
H 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()
|
H A D | tx.c | 300 struct net_device *net_dev) in efx_siena_hard_start_xmit() 358 int efx_siena_setup_tc(struct net_device *net_dev, enum tc_setup_type type, in efx_siena_setup_tc()
|
/linux/drivers/net/ethernet/sfc/ |
H 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() 161 efx_ethtool_get_ringparam(struct net_device *net_dev, in efx_ethtool_get_ringparam() 175 efx_ethtool_set_ringparam(struct net_device *net_dev, in efx_ethtool_set_ringparam() 204 static void efx_ethtool_get_wol(struct net_device *net_dev, in efx_ethtool_get_wol() 212 static int efx_ethtool_set_wol(struct net_device *net_dev, in efx_ethtool_set_wol() 219 static void efx_ethtool_get_fec_stats(struct net_device *net_dev, in efx_ethtool_get_fec_stats() [all …]
|
H 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()
|
H A D | ef100_netdev.c | 91 static int ef100_net_stop(struct net_device *net_dev) in ef100_net_stop() 117 static int ef100_net_open(struct net_device *net_dev) in ef100_net_open() 240 struct net_device *net_dev) in ef100_hard_start_xmit() 249 struct net_device *net_dev, in __ef100_hard_start_xmit() 303 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in ef100_netdev_event() local 338 struct net_device *net_dev = efx->net_dev; in ef100_register_netdev() local 428 struct net_device *net_dev; in ef100_probe_netdev() local
|
H A D | efx.c | 484 int efx_net_open(struct net_device *net_dev) in efx_net_open() 517 int efx_net_stop(struct net_device *net_dev) in efx_net_stop() 530 static int efx_vlan_rx_add_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_add_vid() 540 static int efx_vlan_rx_kill_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_kill_vid() 550 static int efx_hwtstamp_set(struct net_device *net_dev, in efx_hwtstamp_set() 559 static int efx_hwtstamp_get(struct net_device *net_dev, in efx_hwtstamp_get() 599 static void efx_get_queue_stats_rx(struct net_device *net_dev, int idx, in efx_get_queue_stats_rx() 617 static void efx_get_queue_stats_tx(struct net_device *net_dev, int idx, in efx_get_queue_stats_tx() 645 static void efx_get_base_stats(struct net_device *net_dev, in efx_get_base_stats() 766 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in efx_netdev_event() local [all …]
|
H A D | ef100_rep.c | 44 static int efx_ef100_rep_open(struct net_device *net_dev) in efx_ef100_rep_open() 53 static int efx_ef100_rep_close(struct net_device *net_dev) in efx_ef100_rep_close() 112 static int efx_ef100_rep_setup_tc(struct net_device *net_dev, in efx_ef100_rep_setup_tc() 155 static u32 efx_ef100_rep_ethtool_get_msglevel(struct net_device *net_dev) in efx_ef100_rep_ethtool_get_msglevel() 162 static void efx_ef100_rep_ethtool_set_msglevel(struct net_device *net_dev, in efx_ef100_rep_ethtool_set_msglevel() 170 static void efx_ef100_rep_ethtool_get_ringparam(struct net_device *net_dev, in efx_ef100_rep_ethtool_get_ringparam() 181 static int efx_ef100_rep_ethtool_set_ringparam(struct net_device *net_dev, in efx_ef100_rep_ethtool_set_ringparam() 206 struct net_device *net_dev; in efx_ef100_rep_create_netdev() local
|
H A D | tc_bindings.c | 74 int efx_tc_setup_block(struct net_device *net_dev, struct efx_nic *efx, in efx_tc_setup_block() 139 int efx_tc_indr_setup_cb(struct net_device *net_dev, struct Qdisc *sch, in efx_tc_indr_setup_cb() 213 int efx_tc_setup(struct net_device *net_dev, enum tc_setup_type type, in efx_tc_setup() 232 struct net_device *net_dev) in efx_tc_netdev_event()
|
H A D | efx_common.c | 164 int efx_set_mac_address(struct net_device *net_dev, void *data) in efx_set_mac_address() 199 void efx_set_rx_mode(struct net_device *net_dev) in efx_set_rx_mode() 208 int efx_set_features(struct net_device *net_dev, netdev_features_t data) in efx_set_features() 282 int efx_change_mtu(struct net_device *net_dev, int new_mtu) in efx_change_mtu() 599 void efx_net_stats(struct net_device *net_dev, struct rtnl_link_stats64 *stats) in efx_net_stats() 706 void efx_watchdog(struct net_device *net_dev, unsigned int txqueue) in efx_watchdog() 1354 int efx_get_phys_port_id(struct net_device *net_dev, in efx_get_phys_port_id() 1365 int efx_get_phys_port_name(struct net_device *net_dev, char *name, size_t len) in efx_get_phys_port_name()
|
H A D | tc.c | 24 enum efx_encap_type efx_tc_indr_netdev_type(struct net_device *net_dev) in efx_tc_indr_netdev_type() 692 struct net_device *net_dev) in efx_tc_get_recirc_id() 970 struct net_device *net_dev, in efx_tc_flower_handle_lhs_actions() 1456 struct net_device *net_dev) in efx_tc_flower_replace_foreign_lhs_ar() 1560 struct net_device *net_dev) in efx_tc_flower_replace_foreign_lhs() 1669 struct net_device *net_dev, in efx_tc_flower_replace_foreign() 1996 struct net_device *net_dev) in efx_tc_flower_replace_lhs() 2067 struct net_device *net_dev, in efx_tc_flower_replace() 2553 struct net_device *net_dev, in efx_tc_flower_destroy() 2602 static int efx_tc_flower_stats(struct efx_nic *efx, struct net_device *net_dev, in efx_tc_flower_stats() [all …]
|
H A D | tc_bindings.h | 36 struct net_device *net_dev) in efx_tc_netdev_event()
|
H A D | ef100_ethtool.c | 24 ef100_ethtool_get_ringparam(struct net_device *net_dev, in ef100_ethtool_get_ringparam()
|
/linux/drivers/net/ethernet/sis/ |
H 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 605 static int sis900_mii_probe(struct net_device *net_dev) in sis900_mii_probe() 732 static u16 sis900_default_phy(struct net_device * net_dev) in sis900_default_phy() 794 static void sis900_set_capability(struct net_device *net_dev, struct mii_phy *phy) in sis900_set_capability() 902 static int mdio_read(struct net_device *net_dev, int phy_id, int location) in mdio_read() 947 static void mdio_write(struct net_device *net_dev, int phy_id, int location, in mdio_write() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H 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()
|
H A D | dpaa2-eth.c | 1396 struct net_device *net_dev) in __dpaa2_eth_tx() 1542 static netdev_tx_t dpaa2_eth_tx(struct sk_buff *skb, struct net_device *net_dev) in dpaa2_eth_tx() 1799 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_seed_pools() local 2183 static int dpaa2_eth_open(struct net_device *net_dev) in dpaa2_eth_open() 2285 static int dpaa2_eth_stop(struct net_device *net_dev) in dpaa2_eth_stop() 2340 static int dpaa2_eth_set_addr(struct net_device *net_dev, void *addr) in dpaa2_eth_set_addr() 2365 static void dpaa2_eth_get_stats(struct net_device *net_dev, in dpaa2_eth_get_stats() 2386 static void dpaa2_eth_add_uc_hw_addr(const struct net_device *net_dev, in dpaa2_eth_add_uc_hw_addr() 2405 static void dpaa2_eth_add_mc_hw_addr(const struct net_device *net_dev, in dpaa2_eth_add_mc_hw_addr() 2421 static int dpaa2_eth_rx_add_vid(struct net_device *net_dev, in dpaa2_eth_rx_add_vid() [all …]
|
H A D | dpaa2-eth-devlink.c | 144 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_dl_trap_group_action_set() local 185 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_dl_alloc() local 236 struct net_device *net_dev = priv->net_dev; in dpaa2_eth_dl_traps_register() local
|
/linux/drivers/net/ethernet/hisilicon/hns/ |
H 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() 666 static void hns_get_ringparam(struct net_device *net_dev, in hns_get_ringparam() 693 static void hns_get_pauseparam(struct net_device *net_dev, in hns_get_pauseparam() 713 static int hns_set_pauseparam(struct net_device *net_dev, in hns_set_pauseparam() 739 static int hns_get_coalesce(struct net_device *net_dev, in hns_get_coalesce() 787 static int hns_set_coalesce(struct net_device *net_dev, in hns_set_coalesce() [all …]
|
/linux/net/batman-adv/ |
H A D | hard-interface.c | 66 batadv_hardif_get_by_netdev(const struct net_device *net_dev) in batadv_hardif_get_by_netdev() 149 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface() 187 static bool batadv_is_valid_iface(const struct net_device *net_dev) in batadv_is_valid_iface() 509 static void batadv_check_known_mac_addr(const struct net_device *net_dev) in batadv_check_known_mac_addr() 870 batadv_hardif_add_interface(struct net_device *net_dev) in batadv_hardif_add_interface() 936 struct net_device *net_dev) in batadv_hard_if_event_meshif() 953 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in batadv_hard_if_event() local
|
H 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/ |
H 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
|