Home
last modified time | relevance | path

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

12345678910>>...28

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/
H A De100.c540 struct net_device *netdev; member
902 static int mdio_read(struct net_device *netdev, int addr, int reg) in mdio_read()
908 static void mdio_write(struct net_device *netdev, int addr, int reg, int data) in mdio_write()
1073 struct net_device *netdev = nic->netdev; in e100_configure() local
1436 struct net_device *netdev = nic->netdev; in e100_phy_init() local
1562 struct net_device *netdev = nic->netdev; in e100_multi() local
1578 static void e100_set_multicast_list(struct net_device *netdev) in e100_set_multicast_list()
1771 struct net_device *netdev) in e100_xmit_frame()
2194 struct net_device *netdev = dev_id; in e100_intr() local
2240 static void e100_netpoll(struct net_device *netdev) in e100_netpoll()
[all …]
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dat91_emac.c156 struct eth_device *netdev; in get_emacbase_by_name() local
185 static int at91emac_phy_reset(struct eth_device *netdev) in at91emac_phy_reset()
219 static int at91emac_phy_init(struct eth_device *netdev) in at91emac_phy_init()
317 static int at91emac_init(struct eth_device *netdev, bd_t *bd) in at91emac_init()
383 static void at91emac_halt(struct eth_device *netdev) in at91emac_halt()
393 static int at91emac_send(struct eth_device *netdev, void *packet, int length) in at91emac_send()
410 static int at91emac_recv(struct eth_device *netdev) in at91emac_recv()
452 static int at91emac_write_hwaddr(struct eth_device *netdev) in at91emac_write_hwaddr()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/synopsys/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c272 static int hns3_nic_set_real_num_queue(struct net_device *netdev) in hns3_nic_set_real_num_queue()
345 static void hns3_free_rx_cpu_rmap(struct net_device *netdev) in hns3_free_rx_cpu_rmap()
353 static int hns3_set_rx_cpu_rmap(struct net_device *netdev) in hns3_set_rx_cpu_rmap()
379 static int hns3_nic_net_up(struct net_device *netdev) in hns3_nic_net_up()
437 static int hns3_nic_net_open(struct net_device *netdev) in hns3_nic_net_open()
492 static void hns3_nic_net_down(struct net_device *netdev) in hns3_nic_net_down()
522 static int hns3_nic_net_stop(struct net_device *netdev) in hns3_nic_net_stop()
543 static int hns3_nic_uc_sync(struct net_device *netdev, in hns3_nic_uc_sync()
554 static int hns3_nic_uc_unsync(struct net_device *netdev, in hns3_nic_uc_unsync()
572 static int hns3_nic_mc_sync(struct net_device *netdev, in hns3_nic_mc_sync()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/netxen/
H A 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()
1039 struct net_device *netdev = adapter->netdev; in netxen_nic_request_irq() local
1094 __netxen_nic_up(struct netxen_adapter *adapter, struct net_device *netdev) in __netxen_nic_up()
1138 netxen_nic_up(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_nic_up()
1152 __netxen_nic_down(struct netxen_adapter *adapter, struct net_device *netdev) in __netxen_nic_down()
1183 netxen_nic_down(struct netxen_adapter *adapter, struct net_device *netdev) in netxen_nic_down()
1195 struct net_device *netdev = adapter->netdev; in netxen_nic_attach() local
1297 struct net_device *netdev = adapter->netdev; in netxen_nic_reset_context() local
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/wlan-ng/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/usb/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib.c76 struct net_device *netdev, in mlx5i_init()
469 static int mlx5i_change_mtu(struct net_device *netdev, int new_mtu) in mlx5i_change_mtu()
541 static int mlx5i_open(struct net_device *netdev) in mlx5i_open()
584 static int mlx5i_close(struct net_device *netdev) in mlx5i_close()
611 static int mlx5i_attach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_attach_mcast()
636 static int mlx5i_detach_mcast(struct net_device *netdev, struct ib_device *hca, in mlx5i_detach_mcast()
668 static void mlx5i_set_pkey_index(struct net_device *netdev, int id) in mlx5i_set_pkey_index()
688 static void mlx5_rdma_netdev_free(struct net_device *netdev) in mlx5_rdma_netdev_free()
716 struct net_device *netdev, void *param) in mlx5_rdma_setup_rn()
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/can/softing/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/ethernet/atheros/alx/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_core.c235 struct net_device *netdev = urb->context; in kvaser_usb_send_cmd_callback() local
247 struct net_device *netdev = priv->netdev; in kvaser_usb_send_cmd_async() local
271 int kvaser_usb_can_rx_over_error(struct net_device *netdev) in kvaser_usb_can_rx_over_error()
408 static int kvaser_usb_open(struct net_device *netdev) in kvaser_usb_open()
480 static int kvaser_usb_close(struct net_device *netdev) in kvaser_usb_close()
517 struct net_device *netdev; in kvaser_usb_write_bulk_callback() local
535 struct net_device *netdev) in kvaser_usb_start_xmit()
669 struct net_device *netdev; in kvaser_usb_init_one() local
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ethtool.c836 static void hns_get_ethtool_stats(struct net_device *netdev, in hns_get_ethtool_stats()
894 static void hns_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns_get_strings()
984 static int hns_get_sset_count(struct net_device *netdev, int stringset) in hns_get_sset_count()
1018 static int hns_phy_led_set(struct net_device *netdev, int value) in hns_phy_led_set()
1041 hns_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) in hns_set_phys_id()
1162 static int hns_nic_nway_reset(struct net_device *netdev) in hns_nic_nway_reset()
1179 hns_get_rss_key_size(struct net_device *netdev) in hns_get_rss_key_size()
1195 hns_get_rss_indir_size(struct net_device *netdev) in hns_get_rss_indir_size()
1211 hns_get_rss(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) in hns_get_rss()
1231 hns_set_rss(struct net_device *netdev, const u32 *indir, const u8 *key, in hns_set_rss()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/flower/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/can/usb/
H A Dmcba_usb.c77 struct net_device *netdev; member
226 struct net_device *netdev; in mcba_usb_write_bulk_callback() local
312 struct net_device *netdev) in mcba_usb_start_xmit()
571 struct net_device *netdev; in mcba_usb_read_bulk_callback() local
629 struct net_device *netdev = priv->netdev; in mcba_usb_start() local
697 static int mcba_usb_open(struct net_device *netdev) in mcba_usb_open()
730 static int mcba_usb_close(struct net_device *netdev) in mcba_usb_close()
752 static int mcba_net_set_mode(struct net_device *netdev, enum can_mode mode) in mcba_net_set_mode()
757 static int mcba_net_get_berr_counter(const struct net_device *netdev, in mcba_net_get_berr_counter()
778 static int mcba_net_set_bittiming(struct net_device *netdev) in mcba_net_set_bittiming()
[all …]
H A Dusb_8dev.c127 struct net_device *netdev; member
203 struct net_device *netdev; in usb_8dev_send_cmd() local
316 static int usb_8dev_set_mode(struct net_device *netdev, enum can_mode mode) in usb_8dev_set_mode()
504 struct net_device *netdev; in usb_8dev_read_bulk_callback() local
567 struct net_device *netdev; in usb_8dev_write_bulk_callback() local
602 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
808 static int usb_8dev_open(struct net_device *netdev) in usb_8dev_open()
857 static int usb_8dev_close(struct net_device *netdev) in usb_8dev_close()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/fm10k/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igc/
H A Digc_main.c845 static int igc_set_mac(struct net_device *netdev, void *p) in igc_set_mac()
872 static int igc_write_mc_addr_list(struct net_device *netdev) in igc_write_mc_addr_list()
1014 struct net_device *netdev = tx_ring->netdev; in __igc_maybe_stop_tx() local
1410 struct net_device *netdev) in igc_xmit_frame()
1752 struct net_device *netdev = rx_ring->netdev; in igc_cleanup_headers() local
2583 static int igc_uc_sync(struct net_device *netdev, const unsigned char *addr) in igc_uc_sync()
2590 static int igc_uc_unsync(struct net_device *netdev, const unsigned char *addr) in igc_uc_unsync()
2607 static void igc_set_rx_mode(struct net_device *netdev) in igc_set_rx_mode()
2655 struct net_device *netdev = adapter->netdev; in igc_configure() local
3530 struct net_device *netdev = adapter->netdev; in igc_sw_init() local
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A 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
/OK3568_Linux_fs/kernel/net/bluetooth/
H A 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 …]

12345678910>>...28