Home
last modified time | relevance | path

Searched defs:net_dev (Results 1 – 25 of 106) sorted by relevance

12345

/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool.c33 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 Dethtool_common.c103 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()
442 int efx_siena_ethtool_get_sset_count(struct net_device *net_dev, int string_set) in efx_siena_ethtool_get_sset_count()
459 void efx_siena_ethtool_get_strings(struct net_device *net_dev, in efx_siena_ethtool_get_strings()
486 void efx_siena_ethtool_get_stats(struct net_device *net_dev, in efx_siena_ethtool_get_stats()
561 int efx_siena_ethtool_get_link_ksettings(struct net_device *net_dev, in efx_siena_ethtool_get_link_ksettings()
[all …]
H A Dsriov.h15 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 Defx.c493 static int efx_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) in efx_ioctl()
518 static int efx_net_open(struct net_device *net_dev) in efx_net_open()
549 static int efx_net_stop(struct net_device *net_dev) in efx_net_stop()
562 static int efx_vlan_rx_add_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_add_vid()
572 static int efx_vlan_rx_kill_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_kill_vid()
674 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in efx_netdev_event() local
697 struct net_device *net_dev = efx->net_dev; in efx_register_netdev() local
969 struct net_device *net_dev = efx->net_dev; in efx_pci_probe_post_io() local
1031 struct net_device *net_dev; in efx_pci_probe() local
H A Defx_common.c168 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()
733 void efx_siena_watchdog(struct net_device *net_dev, unsigned int txqueue) in efx_siena_watchdog()
992 struct pci_dev *pci_dev, struct net_device *net_dev) in efx_siena_init_struct()
1389 int efx_siena_get_phys_port_id(struct net_device *net_dev, in efx_siena_get_phys_port_id()
1400 int efx_siena_get_phys_port_name(struct net_device *net_dev, in efx_siena_get_phys_port_name()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dethtool.c33 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 Dethtool_common.c104 void efx_ethtool_get_drvinfo(struct net_device *net_dev, in efx_ethtool_get_drvinfo()
115 u32 efx_ethtool_get_msglevel(struct net_device *net_dev) in efx_ethtool_get_msglevel()
122 void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable) in efx_ethtool_set_msglevel()
129 void efx_ethtool_self_test(struct net_device *net_dev, in efx_ethtool_self_test()
177 void efx_ethtool_get_pauseparam(struct net_device *net_dev, in efx_ethtool_get_pauseparam()
187 int efx_ethtool_set_pauseparam(struct net_device *net_dev, in efx_ethtool_set_pauseparam()
443 int efx_ethtool_get_sset_count(struct net_device *net_dev, int string_set) in efx_ethtool_get_sset_count()
460 void efx_ethtool_get_strings(struct net_device *net_dev, in efx_ethtool_get_strings()
487 void efx_ethtool_get_stats(struct net_device *net_dev, in efx_ethtool_get_stats()
562 int efx_ethtool_get_link_ksettings(struct net_device *net_dev, in efx_ethtool_get_link_ksettings()
[all …]
H A Dsriov.c11 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 Def100_netdev.c91 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 Def100_rep.c44 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 Defx.c493 static int efx_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) in efx_ioctl()
518 int efx_net_open(struct net_device *net_dev) in efx_net_open()
551 int efx_net_stop(struct net_device *net_dev) in efx_net_stop()
564 static int efx_vlan_rx_add_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_add_vid()
574 static int efx_vlan_rx_kill_vid(struct net_device *net_dev, __be16 proto, u16 vid) in efx_vlan_rx_kill_vid()
675 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in efx_netdev_event() local
698 struct net_device *net_dev = efx->net_dev; in efx_register_netdev() local
988 struct net_device *net_dev = efx->net_dev; in efx_pci_probe_post_io() local
1057 struct net_device *net_dev; in efx_pci_probe() local
H A Dtc_bindings.c74 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 Defx_common.c164 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()
722 void efx_watchdog(struct net_device *net_dev, unsigned int txqueue) in efx_watchdog()
1371 int efx_get_phys_port_id(struct net_device *net_dev, in efx_get_phys_port_id()
1382 int efx_get_phys_port_name(struct net_device *net_dev, char *name, size_t len) in efx_get_phys_port_name()
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Dethtool.c90 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()
190 static void ef4_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable) in ef4_ethtool_set_msglevel()
387 static int ef4_ethtool_get_sset_count(struct net_device *net_dev, in ef4_ethtool_get_sset_count()
404 static void ef4_ethtool_get_strings(struct net_device *net_dev, in ef4_ethtool_get_strings()
[all …]
/openbmc/linux/drivers/net/ethernet/sis/
H A Dsis900.c257 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 …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c56 static int dpaa_get_link_ksettings(struct net_device *net_dev, in dpaa_get_link_ksettings()
65 static int dpaa_set_link_ksettings(struct net_device *net_dev, in dpaa_set_link_ksettings()
74 static void dpaa_get_drvinfo(struct net_device *net_dev, in dpaa_get_drvinfo()
83 static u32 dpaa_get_msglevel(struct net_device *net_dev) in dpaa_get_msglevel()
88 static void dpaa_set_msglevel(struct net_device *net_dev, in dpaa_set_msglevel()
94 static int dpaa_nway_reset(struct net_device *net_dev) in dpaa_nway_reset()
102 static void dpaa_get_pauseparam(struct net_device *net_dev, in dpaa_get_pauseparam()
111 static int dpaa_set_pauseparam(struct net_device *net_dev, in dpaa_set_pauseparam()
120 static int dpaa_get_sset_count(struct net_device *net_dev, int type) in dpaa_get_sset_count()
174 static void dpaa_get_ethtool_stats(struct net_device *net_dev, in dpaa_get_ethtool_stats()
[all …]
H A Ddpaa_eth.c203 static int dpaa_netdev_init(struct net_device *net_dev, in dpaa_netdev_init()
299 static int dpaa_stop(struct net_device *net_dev) in dpaa_stop()
332 static void dpaa_tx_timeout(struct net_device *net_dev, unsigned int txqueue) in dpaa_tx_timeout()
349 static void dpaa_get_stats64(struct net_device *net_dev, in dpaa_get_stats64()
370 static int dpaa_setup_tc(struct net_device *net_dev, enum tc_setup_type type, in dpaa_setup_tc()
431 static int dpaa_set_mac_address(struct net_device *net_dev, void *addr) in dpaa_set_mac_address()
464 static void dpaa_set_rx_mode(struct net_device *net_dev) in dpaa_set_rx_mode()
884 struct net_device *net_dev = to_net_dev(mac_dev->phylink_config.dev); in dpaa_eth_cgr_set_speed() local
1391 static void dpaa_fd_release(const struct net_device *net_dev, in dpaa_fd_release()
1560 struct net_device *net_dev = dpaa_bp->priv->net_dev; in dpaa_bp_add_8_bufs() local
[all …]
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ethtool.c71 static void dpaa2_eth_get_drvinfo(struct net_device *net_dev, in dpaa2_eth_get_drvinfo()
85 static int dpaa2_eth_nway_reset(struct net_device *net_dev) in dpaa2_eth_nway_reset()
101 dpaa2_eth_get_link_ksettings(struct net_device *net_dev, in dpaa2_eth_get_link_ksettings()
127 dpaa2_eth_set_link_ksettings(struct net_device *net_dev, in dpaa2_eth_set_link_ksettings()
144 static void dpaa2_eth_get_pauseparam(struct net_device *net_dev, in dpaa2_eth_get_pauseparam()
165 static int dpaa2_eth_set_pauseparam(struct net_device *net_dev, in dpaa2_eth_set_pauseparam()
238 static int dpaa2_eth_get_sset_count(struct net_device *net_dev, int sset) in dpaa2_eth_get_sset_count()
251 static void dpaa2_eth_get_ethtool_stats(struct net_device *net_dev, in dpaa2_eth_get_ethtool_stats()
572 static int dpaa2_eth_do_cls_rule(struct net_device *net_dev, in dpaa2_eth_do_cls_rule()
676 static int dpaa2_eth_update_cls_rule(struct net_device *net_dev, in dpaa2_eth_update_cls_rule()
[all …]
H A Ddpaa2-eth-dcb.c6 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()
/openbmc/linux/drivers/net/ethernet/
H A Dlantiq_xrx200.c87 struct net_device *net_dev; member
147 static int xrx200_open(struct net_device *net_dev) in xrx200_open()
172 static int xrx200_close(struct net_device *net_dev) in xrx200_close()
227 struct net_device *net_dev = priv->net_dev; in xrx200_hw_receive() local
317 struct net_device *net_dev = ch->priv->net_dev; in xrx200_tx_housekeeping() local
358 struct net_device *net_dev) in xrx200_start_xmit()
412 xrx200_change_mtu(struct net_device *net_dev, int new_mtu) in xrx200_change_mtu()
561 struct net_device *net_dev; in xrx200_probe() local
647 struct net_device *net_dev = priv->net_dev; in xrx200_remove() local
/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ethtool.c38 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 …]
/openbmc/linux/net/batman-adv/
H A Dhard-interface.c66 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()
871 batadv_hardif_add_interface(struct net_device *net_dev) in batadv_hardif_add_interface()
942 struct net_device *net_dev) in batadv_hard_if_event_softif()
959 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in batadv_hard_if_event() local
/openbmc/linux/net/atm/
H A Dbr2684.c84 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
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbgmac.c136 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 …]
/openbmc/u-boot/drivers/net/ldpaa_eth/
H A Dldpaa_eth.c130 static void ldpaa_eth_get_dpmac_counter(struct eth_device *net_dev) in ldpaa_eth_get_dpmac_counter()
324 static int ldpaa_eth_tx(struct eth_device *net_dev, void *buf, int len) in ldpaa_eth_tx()
466 static int ldpaa_eth_open(struct eth_device *net_dev, bd_t *bd) in ldpaa_eth_open()
591 static void ldpaa_eth_stop(struct eth_device *net_dev) in ldpaa_eth_stop()
1029 static int ldpaa_eth_netdev_init(struct eth_device *net_dev, in ldpaa_eth_netdev_init()
1061 struct eth_device *net_dev = NULL; in ldpaa_eth_init() local

12345