Home
last modified time | relevance | path

Searched defs:netdev (Results 101 – 125 of 550) sorted by relevance

12345678910>>...22

/Linux-v5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c36 struct net_device *netdev = pdata->netdev; in xlgmac_read_mac_addr() local
70 struct net_device *netdev = pdata->netdev; in xlgmac_init() local
231 struct net_device *netdev; in xlgmac_drv_probe() local
276 struct net_device *netdev = dev_get_drvdata(dev); in xlgmac_drv_remove() local
332 void xlgmac_print_pkt(struct net_device *netdev, in xlgmac_print_pkt()
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_app.c38 struct nfp_app *nfp_app_from_netdev(struct net_device *netdev) in nfp_app_from_netdev()
64 int nfp_app_ndo_init(struct net_device *netdev) in nfp_app_ndo_init()
73 void nfp_app_ndo_uninit(struct net_device *netdev) in nfp_app_ndo_uninit()
142 nfp_app_netdev_feat_change(struct nfp_app *app, struct net_device *netdev) in nfp_app_netdev_feat_change()
176 struct net_device *netdev; in nfp_app_netdev_event() local
/Linux-v5.10/drivers/staging/wlan-ng/
Dp80211netdev.c128 static int p80211knetdev_init(struct net_device *netdev) in p80211knetdev_init()
152 static int p80211knetdev_open(struct net_device *netdev) in p80211knetdev_open()
188 static int p80211knetdev_stop(struct net_device *netdev) in p80211knetdev_stop()
325 struct net_device *netdev) in p80211knetdev_hard_start_xmit()
720 struct net_device *netdev; in wlan_setup() local
1076 static void p80211knetdev_tx_timeout(struct net_device *netdev, unsigned int txqueue) in p80211knetdev_tx_timeout()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c271 static int hns3_nic_set_real_num_queue(struct net_device *netdev) in hns3_nic_set_real_num_queue()
344 static void hns3_free_rx_cpu_rmap(struct net_device *netdev) in hns3_free_rx_cpu_rmap()
352 static int hns3_set_rx_cpu_rmap(struct net_device *netdev) in hns3_set_rx_cpu_rmap()
378 static int hns3_nic_net_up(struct net_device *netdev) in hns3_nic_net_up()
436 static int hns3_nic_net_open(struct net_device *netdev) in hns3_nic_net_open()
486 static void hns3_nic_net_down(struct net_device *netdev) in hns3_nic_net_down()
516 static int hns3_nic_net_stop(struct net_device *netdev) in hns3_nic_net_stop()
537 static int hns3_nic_uc_sync(struct net_device *netdev, in hns3_nic_uc_sync()
548 static int hns3_nic_uc_unsync(struct net_device *netdev, in hns3_nic_uc_unsync()
566 static int hns3_nic_mc_sync(struct net_device *netdev, in hns3_nic_mc_sync()
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c44 int ixgbe_fcoe_ddp_put(struct net_device *netdev, u16 xid) in ixgbe_fcoe_ddp_put()
133 static int ixgbe_fcoe_ddp_setup(struct net_device *netdev, u16 xid, in ixgbe_fcoe_ddp_setup()
344 int ixgbe_fcoe_ddp_get(struct net_device *netdev, u16 xid, in ixgbe_fcoe_ddp_get()
365 int ixgbe_fcoe_ddp_target(struct net_device *netdev, u16 xid, in ixgbe_fcoe_ddp_target()
835 int ixgbe_fcoe_enable(struct net_device *netdev) in ixgbe_fcoe_enable()
882 int ixgbe_fcoe_disable(struct net_device *netdev) in ixgbe_fcoe_disable()
927 int ixgbe_fcoe_get_wwn(struct net_device *netdev, u64 *wwn, int type) in ixgbe_fcoe_get_wwn()
967 int ixgbe_fcoe_get_hbainfo(struct net_device *netdev, in ixgbe_fcoe_get_hbainfo()
/Linux-v5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c165 netxen_napi_add(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_napi_add()
464 struct net_device *netdev = adapter->netdev; in netxen_read_mac_addr() local
489 static int netxen_nic_set_mac(struct net_device *netdev, void *p) in netxen_nic_set_mac()
1044 struct net_device *netdev = adapter->netdev; in netxen_nic_request_irq() local
1099 __netxen_nic_up(struct netxen_adapter *adapter, struct net_device *netdev) in __netxen_nic_up()
1143 netxen_nic_up(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_nic_up()
1157 __netxen_nic_down(struct netxen_adapter *adapter, struct net_device *netdev) in __netxen_nic_down()
1188 netxen_nic_down(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_nic_down()
1200 struct net_device *netdev = adapter->netdev; in netxen_nic_attach() local
1302 struct net_device *netdev = adapter->netdev; in netxen_nic_reset_context() local
[all …]
/Linux-v5.10/drivers/net/can/
Dled.c22 void can_led_event(struct net_device *netdev, enum can_led_event event) in can_led_event()
70 void devm_can_led_init(struct net_device *netdev) in devm_can_led_init()
103 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); in can_led_notifier() local
/Linux-v5.10/drivers/net/can/softing/
Dsofting_main.c20 static inline int canif_is_active(struct net_device *netdev) in canif_is_active()
131 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg, in softing_netdev_rx()
151 struct net_device *netdev; in softing_handle_1() local
321 struct net_device *netdev; in softing_irq_thread() local
635 struct net_device *netdev; in softing_netdev_create() local
663 static int softing_netdev_register(struct net_device *netdev) in softing_netdev_register()
678 static void softing_netdev_cleanup(struct net_device *netdev) in softing_netdev_cleanup()
756 struct net_device *netdev; in softing_pdev_probe() local
/Linux-v5.10/drivers/net/can/usb/kvaser_usb/
Dkvaser_usb_core.c205 struct net_device *netdev = urb->context; in kvaser_usb_send_cmd_callback() local
217 struct net_device *netdev = priv->netdev; in kvaser_usb_send_cmd_async() local
241 int kvaser_usb_can_rx_over_error(struct net_device *netdev) in kvaser_usb_can_rx_over_error()
377 static int kvaser_usb_open(struct net_device *netdev) in kvaser_usb_open()
448 static int kvaser_usb_close(struct net_device *netdev) in kvaser_usb_close()
484 struct net_device *netdev; in kvaser_usb_write_bulk_callback() local
502 struct net_device *netdev) in kvaser_usb_start_xmit()
636 struct net_device *netdev; in kvaser_usb_init_one() local
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c76 struct net_device *netdev, in mlx5i_init()
483 static int mlx5i_change_mtu(struct net_device *netdev, int new_mtu) in mlx5i_change_mtu()
555 static int mlx5i_open(struct net_device *netdev) in mlx5i_open()
598 static int mlx5i_close(struct net_device *netdev) in mlx5i_close()
625 static int mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_attach_mcast()
650 static int mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_detach_mcast()
682 static void mlx5i_set_pkey_index(struct net_device *netdev, int id) in mlx5i_set_pkey_index()
702 static void mlx5_rdma_netdev_free(struct net_device *netdev) in mlx5_rdma_netdev_free()
730 struct net_device *netdev, void *param) in mlx5_rdma_setup_rn()
Dethtool.c101 static int mlx5i_set_coalesce(struct net_device *netdev, in mlx5i_set_coalesce()
109 static int mlx5i_get_coalesce(struct net_device *netdev, in mlx5i_get_coalesce()
117 static int mlx5i_get_ts_info(struct net_device *netdev, in mlx5i_get_ts_info()
125 static int mlx5i_flash_device(struct net_device *netdev, in mlx5i_flash_device()
183 static int mlx5i_get_link_ksettings(struct net_device *netdev, in mlx5i_get_link_ksettings()
/Linux-v5.10/drivers/net/usb/
Drtl8150.c128 struct net_device *netdev; member
273 static int rtl8150_set_mac_address(struct net_device *netdev, void *p) in rtl8150_set_mac_address()
375 struct net_device *netdev; in read_bulk_callback() local
646 static void rtl8150_tx_timeout(struct net_device *netdev, unsigned int txqueue) in rtl8150_tx_timeout()
654 static void rtl8150_set_multicast(struct net_device *netdev) in rtl8150_set_multicast()
677 struct net_device *netdev) in rtl8150_start_xmit()
707 static void set_carrier(struct net_device *netdev) in set_carrier()
719 static int rtl8150_open(struct net_device *netdev) in rtl8150_open()
756 static int rtl8150_close(struct net_device *netdev) in rtl8150_close()
768 static void rtl8150_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) in rtl8150_get_drvinfo()
[all …]
/Linux-v5.10/drivers/net/ethernet/atheros/alx/
Dmain.c569 static void __alx_set_rx_mode(struct net_device *netdev) in __alx_set_rx_mode()
593 static void alx_set_rx_mode(struct net_device *netdev) in alx_set_rx_mode()
598 static int alx_set_mac_address(struct net_device *netdev, void *data) in alx_set_mac_address()
855 struct net_device *netdev = alx->dev; in alx_request_msix() local
1099 static netdev_features_t alx_fix_features(struct net_device *netdev, in alx_fix_features()
1170 static int alx_change_mtu(struct net_device *netdev, int mtu) in alx_change_mtu()
1339 static int alx_open(struct net_device *netdev) in alx_open()
1344 static int alx_stop(struct net_device *netdev) in alx_stop()
1551 struct net_device *netdev) in alx_start_xmit()
1564 static int alx_mdio_read(struct net_device *netdev, in alx_mdio_read()
[all …]
/Linux-v5.10/drivers/net/can/usb/
Dmcba_usb.c77 struct net_device *netdev; member
222 struct net_device *netdev; in mcba_usb_write_bulk_callback() local
310 struct net_device *netdev) in mcba_usb_start_xmit()
570 struct net_device *netdev; in mcba_usb_read_bulk_callback() local
628 struct net_device *netdev = priv->netdev; in mcba_usb_start() local
690 static int mcba_usb_open(struct net_device *netdev) in mcba_usb_open()
716 static int mcba_usb_close(struct net_device *netdev) in mcba_usb_close()
738 static int mcba_net_set_mode(struct net_device *netdev, enum can_mode mode) in mcba_net_set_mode()
743 static int mcba_net_get_berr_counter(const struct net_device *netdev, in mcba_net_get_berr_counter()
764 static int mcba_net_set_bittiming(struct net_device *netdev) in mcba_net_set_bittiming()
[all …]
Dusb_8dev.c127 struct net_device *netdev; member
202 struct net_device *netdev; in usb_8dev_send_cmd() local
315 static int usb_8dev_set_mode(struct net_device *netdev, enum can_mode mode) in usb_8dev_set_mode()
502 struct net_device *netdev; in usb_8dev_read_bulk_callback() local
565 struct net_device *netdev; in usb_8dev_write_bulk_callback() local
600 struct net_device *netdev) in usb_8dev_start_xmit()
716 static int usb_8dev_get_berr_counter(const struct net_device *netdev, in usb_8dev_get_berr_counter()
730 struct net_device *netdev = priv->netdev; in usb_8dev_start() local
802 static int usb_8dev_open(struct net_device *netdev) in usb_8dev_open()
847 static int usb_8dev_close(struct net_device *netdev) in usb_8dev_close()
[all …]
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Dqos_conf.c61 nfp_flower_install_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_install_rate_limiter()
137 nfp_flower_remove_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_remove_rate_limiter()
188 struct net_device *netdev; in nfp_flower_stats_rlim_reply() local
255 struct net_device *netdev; in nfp_flower_stats_rlim_request_all() local
290 nfp_flower_stats_rate_limiter(struct nfp_app *app, struct net_device *netdev, in nfp_flower_stats_rate_limiter()
343 int nfp_flower_setup_qos_offload(struct nfp_app *app, struct net_device *netdev, in nfp_flower_setup_qos_offload()
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_vf.c336 static int otx2vf_open(struct net_device *netdev) in otx2vf_open()
356 static int otx2vf_stop(struct net_device *netdev) in otx2vf_stop()
361 static netdev_tx_t otx2vf_xmit(struct sk_buff *skb, struct net_device *netdev) in otx2vf_xmit()
386 static int otx2vf_change_mtu(struct net_device *netdev, int new_mtu) in otx2vf_change_mtu()
453 struct net_device *netdev; in otx2vf_probe() local
615 struct net_device *netdev = pci_get_drvdata(pdev); in otx2vf_remove() local
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c832 static void hns_get_ethtool_stats(struct net_device *netdev, in hns_get_ethtool_stats()
890 static void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns_get_strings()
980 static int hns_get_sset_count(struct net_device *netdev, int stringset) in hns_get_sset_count()
1014 static int hns_phy_led_set(struct net_device *netdev, int value) in hns_phy_led_set()
1037 hns_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) in hns_set_phys_id()
1158 static int hns_nic_nway_reset(struct net_device *netdev) in hns_nic_nway_reset()
1175 hns_get_rss_key_size(struct net_device *netdev) in hns_get_rss_key_size()
1191 hns_get_rss_indir_size(struct net_device *netdev) in hns_get_rss_indir_size()
1207 hns_get_rss(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) in hns_get_rss()
1227 hns_set_rss(struct net_device *netdev, const u32 *indir, const u8 *key, in hns_set_rss()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dtls.c102 static int mlx5e_tls_add(struct net_device *netdev, struct sock *sk, in mlx5e_tls_add()
148 static void mlx5e_tls_del(struct net_device *netdev, in mlx5e_tls_del()
163 static int mlx5e_tls_resync(struct net_device *netdev, struct sock *sk, in mlx5e_tls_resync()
192 struct net_device *netdev = priv->netdev; in mlx5e_tls_build_netdev() local
/Linux-v5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_pci.c60 struct net_device *netdev = interface->netdev; in fm10k_read_reg() local
222 struct net_device *netdev = interface->netdev; in fm10k_prepare_for_reset() local
259 struct net_device *netdev = interface->netdev; in fm10k_handle_reset() local
342 struct net_device *netdev = interface->netdev; in fm10k_detach_subtask() local
425 struct net_device *netdev = interface->netdev; in fm10k_configure_swpri_map() local
501 struct net_device *netdev = interface->netdev; in fm10k_watchdog_host_is_ready() local
519 struct net_device *netdev = interface->netdev; in fm10k_watchdog_host_not_ready() local
1883 struct net_device *netdev = interface->netdev; in fm10k_down() local
1974 struct net_device *netdev = interface->netdev; in fm10k_sw_init() local
2097 struct net_device *netdev; in fm10k_probe() local
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/igc/
Digc_main.c839 static int igc_set_mac(struct net_device *netdev, void *p) in igc_set_mac()
866 static int igc_write_mc_addr_list(struct net_device *netdev) in igc_write_mc_addr_list()
1008 struct net_device *netdev = tx_ring->netdev; in __igc_maybe_stop_tx() local
1404 struct net_device *netdev) in igc_xmit_frame()
1746 struct net_device *netdev = rx_ring->netdev; in igc_cleanup_headers() local
2577 static int igc_uc_sync(struct net_device *netdev, const unsigned char *addr) in igc_uc_sync()
2584 static int igc_uc_unsync(struct net_device *netdev, const unsigned char *addr) in igc_uc_unsync()
2601 static void igc_set_rx_mode(struct net_device *netdev) in igc_set_rx_mode()
2649 struct net_device *netdev = adapter->netdev; in igc_configure() local
3524 struct net_device *netdev = adapter->netdev; in igc_sw_init() local
[all …]
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c779 static u8 qlcnic_dcb_get_state(struct net_device *netdev) in qlcnic_dcb_get_state()
786 static void qlcnic_dcb_get_perm_hw_addr(struct net_device *netdev, u8 *addr) in qlcnic_dcb_get_perm_hw_addr()
792 qlcnic_dcb_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, in qlcnic_dcb_get_pg_tc_cfg_tx()
829 static void qlcnic_dcb_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in qlcnic_dcb_get_pg_bwg_cfg_tx()
853 static void qlcnic_dcb_get_pfc_cfg(struct net_device *netdev, int prio, in qlcnic_dcb_get_pfc_cfg()
879 static u8 qlcnic_dcb_get_capability(struct net_device *netdev, int capid, in qlcnic_dcb_get_capability()
908 static int qlcnic_dcb_get_num_tcs(struct net_device *netdev, int attr, u8 *num) in qlcnic_dcb_get_num_tcs()
928 static int qlcnic_dcb_get_app(struct net_device *netdev, u8 idtype, u16 id) in qlcnic_dcb_get_app()
942 static u8 qlcnic_dcb_get_pfc_state(struct net_device *netdev) in qlcnic_dcb_get_pfc_state()
953 static u8 qlcnic_dcb_get_dcbx(struct net_device *netdev) in qlcnic_dcb_get_dcbx()
[all …]
/Linux-v5.10/net/bluetooth/
D6lowpan.c69 struct net_device *netdev; member
78 lowpan_btle_dev(const struct net_device *netdev) in lowpan_btle_dev()
275 static int iphc_decompress(struct sk_buff *skb, struct net_device *netdev, in iphc_decompress()
396 static int setup_header(struct sk_buff *skb, struct net_device *netdev, in setup_header()
446 static int header_create(struct sk_buff *skb, struct net_device *netdev, in header_create()
458 struct net_device *netdev) in send_pkt()
488 static int send_mcast_pkt(struct sk_buff *skb, struct net_device *netdev) in send_mcast_pkt()
527 static netdev_tx_t bt_xmit(struct sk_buff *skb, struct net_device *netdev) in bt_xmit()
608 static void ifup(struct net_device *netdev) in ifup()
619 static void ifdown(struct net_device *netdev) in ifdown()
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c251 static void ixgbevf_tx_timeout(struct net_device *netdev, unsigned int __always_unused txqueue) in ixgbevf_tx_timeout()
743 struct net_device *netdev = rx_ring->netdev; in ixgbevf_cleanup_headers() local
1546 struct net_device *netdev = adapter->netdev; in ixgbevf_request_msix_irqs() local
1982 struct net_device *netdev = adapter->netdev; in ixgbevf_set_rx_buffer_len() local
2011 struct net_device *netdev = adapter->netdev; in ixgbevf_configure_rx() local
2037 static int ixgbevf_vlan_rx_add_vid(struct net_device *netdev, in ixgbevf_vlan_rx_add_vid()
2063 static int ixgbevf_vlan_rx_kill_vid(struct net_device *netdev, in ixgbevf_vlan_rx_kill_vid()
2091 static int ixgbevf_write_uc_addr_list(struct net_device *netdev) in ixgbevf_write_uc_addr_list()
2123 static void ixgbevf_set_rx_mode(struct net_device *netdev) in ixgbevf_set_rx_mode()
2297 struct net_device *netdev = adapter->netdev; in ixgbevf_up_complete() local
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_main.c354 struct net_device *netdev = adapter->netdev; in igb_dump() local
744 struct net_device *netdev = igb->netdev; in igb_rd32() local
934 struct net_device *netdev = adapter->netdev; in igb_request_msix() local
1404 struct net_device *netdev = adapter->netdev; in igb_request_irq() local
1591 struct net_device *netdev = adapter->netdev; in enable_fqtss() local
1682 struct net_device *netdev = adapter->netdev; in igb_config_tx_modes() local
1899 struct net_device *netdev = adapter->netdev; in igb_setup_tx_mode() local
1982 struct net_device *netdev = adapter->netdev; in igb_configure() local
2157 struct net_device *netdev = adapter->netdev; in igb_down() local
2428 static netdev_features_t igb_fix_features(struct net_device *netdev, in igb_fix_features()
[all …]

12345678910>>...22