Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
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()
117 static int efx_ethtool_set_coalesce(struct net_device *net_dev, in efx_ethtool_set_coalesce()
156 static void efx_ethtool_get_ringparam(struct net_device *net_dev, in efx_ethtool_get_ringparam()
167 static int efx_ethtool_set_ringparam(struct net_device *net_dev, in efx_ethtool_set_ringparam()
194 static void efx_ethtool_get_wol(struct net_device *net_dev, in efx_ethtool_get_wol()
202 static int efx_ethtool_set_wol(struct net_device *net_dev, in efx_ethtool_set_wol()
209 static int efx_ethtool_get_ts_info(struct net_device *net_dev, in efx_ethtool_get_ts_info()
Dethtool_common.c103 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()
121 void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable) in efx_ethtool_set_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()
442 int efx_ethtool_get_sset_count(struct net_device *net_dev, int string_set) in efx_ethtool_get_sset_count()
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()
561 int efx_ethtool_get_link_ksettings(struct net_device *net_dev, in efx_ethtool_get_link_ksettings()
[all …]
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()
Def100_netdev.c80 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()
241 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in ef100_netdev_event() local
251 struct net_device *net_dev = efx->net_dev; in ef100_register_netdev() local
Defx.c498 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()
681 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in efx_netdev_event() local
704 struct net_device *net_dev = efx->net_dev; in efx_register_netdev() local
1034 struct net_device *net_dev = efx->net_dev; in efx_pci_probe_post_io() local
1092 struct net_device *net_dev; in efx_pci_probe() local
Defx_common.c167 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()
1375 int efx_get_phys_port_id(struct net_device *net_dev, in efx_get_phys_port_id()
1386 int efx_get_phys_port_name(struct net_device *net_dev, char *name, size_t len) in efx_get_phys_port_name()
Dmcdi_port.c20 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()
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
Dnetdev.c86 int i2400m_open(struct net_device *net_dev) in i2400m_open()
107 int i2400m_stop(struct net_device *net_dev) in i2400m_stop()
142 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400m_wake_tx_work() local
260 int i2400m_net_wake_tx(struct i2400m *i2400m, struct net_device *net_dev, in i2400m_net_wake_tx()
313 int i2400m_net_tx(struct i2400m *i2400m, struct net_device *net_dev, in i2400m_net_tx()
354 struct net_device *net_dev) in i2400m_hard_start_xmit()
383 void i2400m_tx_timeout(struct net_device *net_dev, unsigned int txqueue) in i2400m_tx_timeout()
404 void i2400m_rx_fake_eth_header(struct net_device *net_dev, in i2400m_rx_fake_eth_header()
456 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400m_net_rx() local
521 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400m_net_erx() local
[all …]
Dusb.c328 static void i2400mu_get_drvinfo(struct net_device *net_dev, in i2400mu_get_drvinfo()
347 void i2400mu_netdev_setup(struct net_device *net_dev) in i2400mu_netdev_setup()
414 struct net_device *net_dev; in i2400mu_probe() local
525 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400mu_disconnect() local
Ddriver.c209 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400m_check_mac_addr() local
273 struct net_device *net_dev = wimax_dev->net_dev; in __i2400m_dev_start() local
814 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400m_reset() local
846 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400m_setup() local
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/
Dsis900.c257 struct net_device *net_dev) in sis900_get_mac_addr()
290 struct net_device *net_dev) in sis630e_get_mac_addr()
330 struct net_device *net_dev) in sis635_get_mac_addr()
374 struct net_device *net_dev) in sis96x_get_mac_addr()
429 struct net_device *net_dev; in sis900_probe() local
598 static int sis900_mii_probe(struct net_device *net_dev) in sis900_mii_probe()
725 static u16 sis900_default_phy(struct net_device * net_dev) in sis900_default_phy()
787 static void sis900_set_capability(struct net_device *net_dev, struct mii_phy *phy) in sis900_set_capability()
895 static int mdio_read(struct net_device *net_dev, int phy_id, int location) in mdio_read()
940 static void mdio_write(struct net_device *net_dev, int phy_id, int location, in mdio_write()
[all …]
/kernel/linux/linux-5.10/net/batman-adv/
Ddebugfs.c62 struct net_device *net_dev = (struct net_device *)inode->i_private; in neighbors_open() local
71 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_open() local
89 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_hardif_open() local
98 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_gateways_open() local
107 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_global_open() local
117 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_claim_table_open() local
128 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_bla_backbone_table_open() local
148 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_dat_cache_open() local
158 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_local_open() local
173 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_nc_nodes_open() local
[all …]
Dsysfs.c65 struct net_device *net_dev = batadv_kobj_to_netdev(obj); in batadv_kobj_to_batpriv() local
319 struct net_device *net_dev, in batadv_store_bool_attr()
363 atomic_t *attr_store, struct net_device *net_dev) in __batadv_store_bool_attr()
377 struct net_device *net_dev, in batadv_store_uint_attr()
424 struct net_device *net_dev, in __batadv_store_uint_attr()
446 static void batadv_post_gw_reselect(struct net_device *net_dev) in batadv_post_gw_reselect()
490 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_store_gw_mode() local
639 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_store_gw_bwidth() local
687 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_store_isolation_mark() local
944 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); in batadv_show_mesh_iface() local
[all …]
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()
510 static void batadv_check_known_mac_addr(const struct net_device *net_dev) in batadv_check_known_mac_addr()
918 batadv_hardif_add_interface(struct net_device *net_dev) in batadv_hardif_add_interface()
1001 struct net_device *net_dev) in batadv_hard_if_event_softif()
1022 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in batadv_hard_if_event() local
Dgateway_common.c36 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c80 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()
204 static int dpaa_get_sset_count(struct net_device *net_dev, int type) in dpaa_get_sset_count()
258 static void dpaa_get_ethtool_stats(struct net_device *net_dev, in dpaa_get_ethtool_stats()
[all …]
Ddpaa_eth.c223 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()
334 static void dpaa_tx_timeout(struct net_device *net_dev, unsigned int txqueue) in dpaa_tx_timeout()
351 static void dpaa_get_stats64(struct net_device *net_dev, in dpaa_get_stats64()
372 static int dpaa_setup_tc(struct net_device *net_dev, enum tc_setup_type type, in dpaa_setup_tc()
433 static int dpaa_set_mac_address(struct net_device *net_dev, void *addr) in dpaa_set_mac_address()
466 static void dpaa_set_rx_mode(struct net_device *net_dev) in dpaa_set_rx_mode()
1336 static void dpaa_fd_release(const struct net_device *net_dev, in dpaa_fd_release()
1510 struct net_device *net_dev = dpaa_bp->priv->net_dev; in dpaa_bp_add_8_bufs() local
1880 struct net_device *net_dev = priv->net_dev; in skb_to_contig_fd() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
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()
Ddpaa2-ethtool.c70 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()
207 static int dpaa2_eth_get_sset_count(struct net_device *net_dev, int sset) in dpaa2_eth_get_sset_count()
224 static void dpaa2_eth_get_ethtool_stats(struct net_device *net_dev, in dpaa2_eth_get_ethtool_stats()
540 static int dpaa2_eth_do_cls_rule(struct net_device *net_dev, in dpaa2_eth_do_cls_rule()
644 static int dpaa2_eth_update_cls_rule(struct net_device *net_dev, in dpaa2_eth_update_cls_rule()
[all …]
Ddpaa2-eth.c1076 struct net_device *net_dev) in __dpaa2_eth_tx()
1205 static netdev_tx_t dpaa2_eth_tx(struct sk_buff *skb, struct net_device *net_dev) in dpaa2_eth_tx()
1728 static int dpaa2_eth_open(struct net_device *net_dev) in dpaa2_eth_open()
1833 static int dpaa2_eth_stop(struct net_device *net_dev) in dpaa2_eth_stop()
1884 static int dpaa2_eth_set_addr(struct net_device *net_dev, void *addr) in dpaa2_eth_set_addr()
1909 static void dpaa2_eth_get_stats(struct net_device *net_dev, in dpaa2_eth_get_stats()
1930 static void dpaa2_eth_add_uc_hw_addr(const struct net_device *net_dev, in dpaa2_eth_add_uc_hw_addr()
1949 static void dpaa2_eth_add_mc_hw_addr(const struct net_device *net_dev, in dpaa2_eth_add_mc_hw_addr()
1965 static void dpaa2_eth_set_rx_mode(struct net_device *net_dev) in dpaa2_eth_set_rx_mode()
2063 static int dpaa2_eth_set_features(struct net_device *net_dev, in dpaa2_eth_set_features()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c39 static u32 hns_nic_get_link(struct net_device *net_dev) in hns_nic_get_link()
62 static void hns_get_mdix_mode(struct net_device *net_dev, in hns_get_mdix_mode()
114 static int hns_nic_get_link_ksettings(struct net_device *net_dev, in hns_nic_get_link_ksettings()
201 static int hns_nic_set_link_ksettings(struct net_device *net_dev, in hns_nic_set_link_ksettings()
643 static void hns_nic_get_drvinfo(struct net_device *net_dev, in hns_nic_get_drvinfo()
668 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()
737 static int hns_get_coalesce(struct net_device *net_dev, in hns_get_coalesce()
781 static int hns_set_coalesce(struct net_device *net_dev, in hns_set_coalesce()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/
Dlantiq_xrx200.c71 struct net_device *net_dev; member
115 static int xrx200_open(struct net_device *net_dev) in xrx200_open()
140 static int xrx200_close(struct net_device *net_dev) in xrx200_close()
194 struct net_device *net_dev = priv->net_dev; in xrx200_hw_receive() local
249 struct net_device *net_dev = ch->priv->net_dev; in xrx200_tx_housekeeping() local
290 struct net_device *net_dev) in xrx200_start_xmit()
442 struct net_device *net_dev; in xrx200_probe() local
536 struct net_device *net_dev = priv->net_dev; in xrx200_remove() local
/kernel/linux/linux-5.10/net/atm/
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
787 const struct net_device *net_dev = brdev->net_dev; in br2684_seq_show() local
839 struct net_device *net_dev; in br2684_exit() local
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
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 …]

12345