Home
last modified time | relevance | path

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

1234

/Linux-v5.4/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) 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
817 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400m_reset() local
849 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400m_setup() local
/Linux-v5.4/drivers/net/ethernet/sfc/
Dethtool.c100 static int efx_ethtool_phys_id(struct net_device *net_dev, in efx_ethtool_phys_id()
126 efx_ethtool_get_link_ksettings(struct net_device *net_dev, in efx_ethtool_get_link_ksettings()
156 efx_ethtool_set_link_ksettings(struct net_device *net_dev, in efx_ethtool_set_link_ksettings()
176 static void efx_ethtool_get_drvinfo(struct net_device *net_dev, in efx_ethtool_get_drvinfo()
188 static int efx_ethtool_get_regs_len(struct net_device *net_dev) in efx_ethtool_get_regs_len()
193 static void efx_ethtool_get_regs(struct net_device *net_dev, in efx_ethtool_get_regs()
202 static u32 efx_ethtool_get_msglevel(struct net_device *net_dev) in efx_ethtool_get_msglevel()
208 static void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable) in efx_ethtool_set_msglevel()
405 static int efx_ethtool_get_sset_count(struct net_device *net_dev, in efx_ethtool_get_sset_count()
423 static void efx_ethtool_get_strings(struct net_device *net_dev, in efx_ethtool_get_strings()
[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()
Defx.c2149 static int efx_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) in efx_ioctl()
2213 int efx_net_open(struct net_device *net_dev) in efx_net_open()
2244 int efx_net_stop(struct net_device *net_dev) in efx_net_stop()
2258 static void efx_net_stats(struct net_device *net_dev, in efx_net_stats()
2269 static void efx_watchdog(struct net_device *net_dev) in efx_watchdog()
2282 static int efx_change_mtu(struct net_device *net_dev, int new_mtu) in efx_change_mtu()
2306 static int efx_set_mac_address(struct net_device *net_dev, void *data) in efx_set_mac_address()
2341 static void efx_set_rx_mode(struct net_device *net_dev) in efx_set_rx_mode()
2350 static int efx_set_features(struct net_device *net_dev, netdev_features_t data) in efx_set_features()
2376 static int efx_get_phys_port_id(struct net_device *net_dev, in efx_get_phys_port_id()
[all …]
/Linux-v5.4/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 …]
Defx.c2000 static int ef4_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) in ef4_ioctl()
2059 int ef4_net_open(struct net_device *net_dev) in ef4_net_open()
2086 int ef4_net_stop(struct net_device *net_dev) in ef4_net_stop()
2100 static void ef4_net_stats(struct net_device *net_dev, in ef4_net_stats()
2111 static void ef4_watchdog(struct net_device *net_dev) in ef4_watchdog()
2124 static int ef4_change_mtu(struct net_device *net_dev, int new_mtu) in ef4_change_mtu()
2148 static int ef4_set_mac_address(struct net_device *net_dev, void *data) in ef4_set_mac_address()
2183 static void ef4_set_rx_mode(struct net_device *net_dev) in ef4_set_rx_mode()
2192 static int ef4_set_features(struct net_device *net_dev, netdev_features_t data) in ef4_set_features()
2243 struct net_device *net_dev = netdev_notifier_info_to_dev(ptr); in ef4_netdev_event() local
[all …]
/Linux-v5.4/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()
896 static int mdio_read(struct net_device *net_dev, int phy_id, int location) in mdio_read()
941 static void mdio_write(struct net_device *net_dev, int phy_id, int location, in mdio_write()
[all …]
/Linux-v5.4/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()
184 static bool batadv_is_valid_iface(const struct net_device *net_dev) in batadv_is_valid_iface()
499 static void batadv_check_known_mac_addr(const struct net_device *net_dev) in batadv_check_known_mac_addr()
904 batadv_hardif_add_interface(struct net_device *net_dev) in batadv_hardif_add_interface()
1002 struct net_device *net_dev) in batadv_hard_if_event_softif()
1023 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()
Dlog.h121 #define batadv_info(net_dev, fmt, arg...) \ argument
135 #define batadv_err(net_dev, fmt, arg...) \ argument
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa/
Ddpaa_ethtool.c78 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()
108 static void dpaa_get_drvinfo(struct net_device *net_dev, in dpaa_get_drvinfo()
128 static u32 dpaa_get_msglevel(struct net_device *net_dev) in dpaa_get_msglevel()
133 static void dpaa_set_msglevel(struct net_device *net_dev, in dpaa_set_msglevel()
139 static int dpaa_nway_reset(struct net_device *net_dev) in dpaa_nway_reset()
159 static void dpaa_get_pauseparam(struct net_device *net_dev, in dpaa_get_pauseparam()
178 static int dpaa_set_pauseparam(struct net_device *net_dev, in dpaa_set_pauseparam()
221 static int dpaa_get_sset_count(struct net_device *net_dev, int type) in dpaa_get_sset_count()
271 static void dpaa_get_ethtool_stats(struct net_device *net_dev, in dpaa_get_ethtool_stats()
[all …]
Ddpaa_eth.c214 static int dpaa_netdev_init(struct net_device *net_dev, in dpaa_netdev_init()
278 static int dpaa_stop(struct net_device *net_dev) in dpaa_stop()
311 static void dpaa_tx_timeout(struct net_device *net_dev) in dpaa_tx_timeout()
328 static void dpaa_get_stats64(struct net_device *net_dev, in dpaa_get_stats64()
349 static int dpaa_setup_tc(struct net_device *net_dev, enum tc_setup_type type, in dpaa_setup_tc()
410 static int dpaa_set_mac_address(struct net_device *net_dev, void *addr) in dpaa_set_mac_address()
443 static void dpaa_set_rx_mode(struct net_device *net_dev) in dpaa_set_rx_mode()
1318 static void dpaa_fd_release(const struct net_device *net_dev, in dpaa_fd_release()
1855 struct net_device *net_dev = priv->net_dev; in skb_to_contig_fd() local
1909 struct net_device *net_dev = priv->net_dev; in skb_to_sg_fd() local
[all …]
/Linux-v5.4/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c68 static void dpaa2_eth_get_drvinfo(struct net_device *net_dev, in dpaa2_eth_get_drvinfo()
83 dpaa2_eth_get_link_ksettings(struct net_device *net_dev, in dpaa2_eth_get_link_ksettings()
96 static void dpaa2_eth_get_pauseparam(struct net_device *net_dev, in dpaa2_eth_get_pauseparam()
108 static int dpaa2_eth_set_pauseparam(struct net_device *net_dev, in dpaa2_eth_set_pauseparam()
169 static int dpaa2_eth_get_sset_count(struct net_device *net_dev, int sset) in dpaa2_eth_get_sset_count()
181 static void dpaa2_eth_get_ethtool_stats(struct net_device *net_dev, in dpaa2_eth_get_ethtool_stats()
494 static int do_cls_rule(struct net_device *net_dev, in do_cls_rule()
591 static int update_cls_rule(struct net_device *net_dev, in update_cls_rule()
633 static int dpaa2_eth_get_rxnfc(struct net_device *net_dev, in dpaa2_eth_get_rxnfc()
683 static int dpaa2_eth_set_rxnfc(struct net_device *net_dev, in dpaa2_eth_set_rxnfc()
Ddpaa2-eth.c749 static netdev_tx_t dpaa2_eth_tx(struct sk_buff *skb, struct net_device *net_dev) in dpaa2_eth_tx()
1283 static int dpaa2_eth_open(struct net_device *net_dev) in dpaa2_eth_open()
1391 static int dpaa2_eth_stop(struct net_device *net_dev) in dpaa2_eth_stop()
1435 static int dpaa2_eth_set_addr(struct net_device *net_dev, void *addr) in dpaa2_eth_set_addr()
1460 static void dpaa2_eth_get_stats(struct net_device *net_dev, in dpaa2_eth_get_stats()
1481 static void add_uc_hw_addr(const struct net_device *net_dev, in add_uc_hw_addr()
1500 static void add_mc_hw_addr(const struct net_device *net_dev, in add_mc_hw_addr()
1516 static void dpaa2_eth_set_rx_mode(struct net_device *net_dev) in dpaa2_eth_set_rx_mode()
1614 static int dpaa2_eth_set_features(struct net_device *net_dev, in dpaa2_eth_set_features()
1846 static int dpaa2_eth_xdp_xmit_frame(struct net_device *net_dev, in dpaa2_eth_xdp_xmit_frame()
[all …]
/Linux-v5.4/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()
639 static void hns_nic_get_drvinfo(struct net_device *net_dev, in hns_nic_get_drvinfo()
664 static void hns_get_ringparam(struct net_device *net_dev, in hns_get_ringparam()
689 static void hns_get_pauseparam(struct net_device *net_dev, in hns_get_pauseparam()
709 static int hns_set_pauseparam(struct net_device *net_dev, in hns_set_pauseparam()
733 static int hns_get_coalesce(struct net_device *net_dev, in hns_get_coalesce()
777 static int hns_set_coalesce(struct net_device *net_dev, in hns_set_coalesce()
[all …]
/Linux-v5.4/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()
190 struct net_device *net_dev = priv->net_dev; in xrx200_hw_receive() local
244 struct net_device *net_dev = ch->priv->net_dev; in xrx200_tx_housekeeping() local
279 static int xrx200_start_xmit(struct sk_buff *skb, struct net_device *net_dev) in xrx200_start_xmit()
429 struct net_device *net_dev; in xrx200_probe() local
523 struct net_device *net_dev = priv->net_dev; in xrx200_remove() local
Dec_bhf.c123 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
575 struct net_device *net_dev = pci_get_drvdata(dev); in ec_bhf_remove() local
/Linux-v5.4/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
/Linux-v5.4/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_ioctl(struct net_device *net_dev, struct ifreq *ifr, int cmd) in bgmac_ioctl()
1394 static void bgmac_get_drvinfo(struct net_device *net_dev, in bgmac_get_drvinfo()
1414 void bgmac_adjust_link(struct net_device *net_dev) in bgmac_adjust_link()
1468 struct net_device *net_dev; in bgmac_alloc() local
[all …]
/Linux-v5.4/include/net/
Dwimax.h396 struct net_device *net_dev; member
431 struct wimax_dev *net_dev_to_wimax(struct net_device *net_dev) in net_dev_to_wimax()
/Linux-v5.4/net/wimax/
Ddebugfs.c18 struct net_device *net_dev = wimax_dev->net_dev; in wimax_debugfs_add() local

1234