Home
last modified time | relevance | path

Searched refs:netdev (Results 26 - 50 of 1721) sorted by relevance

12345678910>>...69

/kernel/linux/linux-6.6/drivers/net/ethernet/micrel/
H A Dks8842.c157 struct net_device *netdev; member
257 static void ks8842_update_link_status(struct net_device *netdev, in ks8842_update_link_status() argument
262 netif_carrier_on(netdev); in ks8842_update_link_status()
263 netif_wake_queue(netdev); in ks8842_update_link_status()
265 netif_stop_queue(netdev); in ks8842_update_link_status()
266 netif_carrier_off(netdev); in ks8842_update_link_status()
359 eth_hw_addr_set(adapter->netdev, addr); in ks8842_init_mac_addr()
421 static int ks8842_tx_frame_dma(struct sk_buff *skb, struct net_device *netdev) in ks8842_tx_frame_dma() argument
423 struct ks8842_adapter *adapter = netdev_priv(netdev); in ks8842_tx_frame_dma()
428 netdev_dbg(netdev, " in ks8842_tx_frame_dma()
467 ks8842_tx_frame(struct sk_buff *skb, struct net_device *netdev) ks8842_tx_frame() argument
518 ks8842_update_rx_err_counters(struct net_device *netdev, u32 status) ks8842_update_rx_err_counters() argument
531 ks8842_update_rx_counters(struct net_device *netdev, u32 status, int len) ks8842_update_rx_counters() argument
542 __ks8842_start_new_rx_dma(struct net_device *netdev) __ks8842_start_new_rx_dma() argument
595 struct net_device *netdev = adapter->netdev; ks8842_rx_frame_dma_tasklet() local
632 ks8842_rx_frame(struct net_device *netdev, struct ks8842_adapter *adapter) ks8842_rx_frame() argument
696 ks8842_handle_rx(struct net_device *netdev, struct ks8842_adapter *adapter) ks8842_handle_rx() argument
707 ks8842_handle_tx(struct net_device *netdev, struct ks8842_adapter *adapter) ks8842_handle_tx() argument
717 ks8842_handle_rx_overrun(struct net_device *netdev, struct ks8842_adapter *adapter) ks8842_handle_rx_overrun() argument
728 struct net_device *netdev = adapter->netdev; ks8842_tasklet() local
799 struct net_device *netdev = devid; ks8842_irq() local
834 struct net_device *netdev = data; ks8842_dma_rx_cb() local
845 struct net_device *netdev = data; ks8842_dma_tx_cb() local
914 ks8842_alloc_dma_bufs(struct net_device *netdev) ks8842_alloc_dma_bufs() argument
968 ks8842_open(struct net_device *netdev) ks8842_open() argument
1011 ks8842_close(struct net_device *netdev) ks8842_close() argument
1031 ks8842_xmit_frame(struct sk_buff *skb, struct net_device *netdev) ks8842_xmit_frame() argument
1058 ks8842_set_mac(struct net_device *netdev, void *p) ks8842_set_mac() argument
1079 struct net_device *netdev = adapter->netdev; ks8842_tx_timeout_work() local
1107 ks8842_tx_timeout(struct net_device *netdev, unsigned int txqueue) ks8842_tx_timeout() argument
1133 struct net_device *netdev; ks8842_probe() local
1233 struct net_device *netdev = platform_get_drvdata(pdev); ks8842_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c12 * @netdev: device associated with interface that needs reset
14 static void ice_dcbnl_devreset(struct net_device *netdev) in ice_dcbnl_devreset() argument
16 struct ice_pf *pf = ice_netdev_to_pf(netdev); in ice_dcbnl_devreset()
21 dev_close(netdev); in ice_dcbnl_devreset()
22 netdev_state_change(netdev); in ice_dcbnl_devreset()
23 dev_open(netdev, NULL); in ice_dcbnl_devreset()
24 netdev_state_change(netdev); in ice_dcbnl_devreset()
29 * @netdev: the relevant netdev
32 static int ice_dcbnl_getets(struct net_device *netdev, struc argument
62 ice_dcbnl_setets(struct net_device *netdev, struct ieee_ets *ets) ice_dcbnl_setets() argument
147 ice_dcbnl_getdcbx(struct net_device *netdev) ice_dcbnl_getdcbx() argument
159 ice_dcbnl_setdcbx(struct net_device *netdev, u8 mode) ice_dcbnl_setdcbx() argument
205 ice_dcbnl_get_perm_hw_addr(struct net_device *netdev, u8 *perm_addr) ice_dcbnl_get_perm_hw_addr() argument
238 ice_dcbnl_getpfc(struct net_device *netdev, struct ieee_pfc *pfc) ice_dcbnl_getpfc() argument
264 ice_dcbnl_setpfc(struct net_device *netdev, struct ieee_pfc *pfc) ice_dcbnl_setpfc() argument
306 ice_dcbnl_get_pfc_cfg(struct net_device *netdev, int prio, u8 *setting) ice_dcbnl_get_pfc_cfg() argument
329 ice_dcbnl_set_pfc_cfg(struct net_device *netdev, int prio, u8 set) ice_dcbnl_set_pfc_cfg() argument
362 ice_dcbnl_getpfcstate(struct net_device *netdev) ice_dcbnl_getpfcstate() argument
378 ice_dcbnl_getstate(struct net_device *netdev) ice_dcbnl_getstate() argument
394 ice_dcbnl_setstate(struct net_device *netdev, u8 state) ice_dcbnl_setstate() argument
433 ice_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) ice_dcbnl_get_pg_tc_cfg_tx() argument
463 ice_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 __always_unused prio_type, u8 __always_unused bwg_id, u8 __always_unused bw_pct, u8 up_map) ice_dcbnl_set_pg_tc_cfg_tx() argument
502 ice_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 *bw_pct) ice_dcbnl_get_pg_bwg_cfg_tx() argument
526 ice_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, u8 bw_pct) ice_dcbnl_set_pg_bwg_cfg_tx() argument
558 ice_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 __always_unused *prio_type, u8 *pgid, u8 __always_unused *bw_pct, u8 __always_unused *up_map) ice_dcbnl_get_pg_tc_cfg_rx() argument
588 ice_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int __always_unused prio, u8 __always_unused prio_type, u8 __always_unused pgid, u8 __always_unused bw_pct, u8 __always_unused up_map) ice_dcbnl_set_pg_tc_cfg_rx() argument
607 ice_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 *bw_pct) ice_dcbnl_get_pg_bwg_cfg_rx() argument
628 ice_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int __always_unused pgid, u8 __always_unused bw_pct) ice_dcbnl_set_pg_bwg_cfg_rx() argument
642 ice_dcbnl_get_cap(struct net_device *netdev, int capid, u8 *cap) ice_dcbnl_get_cap() argument
690 ice_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) ice_dcbnl_getapp() argument
733 ice_dcbnl_setapp(struct net_device *netdev, struct dcb_app *app) ice_dcbnl_setapp() argument
867 ice_dcbnl_delapp(struct net_device *netdev, struct dcb_app *app) ice_dcbnl_delapp() argument
975 ice_dcbnl_cee_set_all(struct net_device *netdev) ice_dcbnl_cee_set_all() argument
1040 struct net_device *netdev = vsi->netdev; ice_dcbnl_set_all() local
1137 struct net_device *netdev = vsi->netdev; ice_dcbnl_setup() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ipa/
H A Dipa_modem.c42 * @work: Work structure used to wake the modem netdev TX queue
50 static int ipa_open(struct net_device *netdev) in ipa_open() argument
52 struct ipa_priv *priv = netdev_priv(netdev); in ipa_open()
70 netif_start_queue(netdev); in ipa_open()
86 static int ipa_stop(struct net_device *netdev) in ipa_stop() argument
88 struct ipa_priv *priv = netdev_priv(netdev); in ipa_stop()
98 netif_stop_queue(netdev); in ipa_stop()
118 ipa_start_xmit(struct sk_buff *skb, struct net_device *netdev) in ipa_start_xmit() argument
120 struct net_device_stats *stats = &netdev->stats; in ipa_start_xmit()
121 struct ipa_priv *priv = netdev_priv(netdev); in ipa_start_xmit()
182 ipa_modem_skb_rx(struct net_device *netdev, struct sk_buff *skb) ipa_modem_skb_rx() argument
205 ipa_modem_netdev_setup(struct net_device *netdev) ipa_modem_netdev_setup() argument
234 ipa_modem_suspend(struct net_device *netdev) ipa_modem_suspend() argument
269 ipa_modem_resume(struct net_device *netdev) ipa_modem_resume() argument
287 struct net_device *netdev; ipa_modem_start() local
334 struct net_device *netdev = ipa->modem_netdev; ipa_modem_stop() local
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/
H A Dmcba_usb.c76 struct net_device *netdev; member
200 netif_stop_queue(priv->netdev); in mcba_usb_get_free_ctx()
216 netif_wake_queue(ctx->priv->netdev); in mcba_usb_free_ctx()
222 struct net_device *netdev; in mcba_usb_write_bulk_callback() local
226 netdev = ctx->priv->netdev; in mcba_usb_write_bulk_callback()
233 if (!netif_device_present(netdev)) in mcba_usb_write_bulk_callback()
236 netdev->stats.tx_packets++; in mcba_usb_write_bulk_callback()
237 netdev->stats.tx_bytes += can_get_echo_skb(netdev, ct in mcba_usb_write_bulk_callback()
305 mcba_usb_start_xmit(struct sk_buff *skb, struct net_device *netdev) mcba_usb_start_xmit() argument
565 struct net_device *netdev; mcba_usb_read_bulk_callback() local
623 struct net_device *netdev = priv->netdev; mcba_usb_start() local
691 mcba_usb_open(struct net_device *netdev) mcba_usb_open() argument
723 mcba_usb_close(struct net_device *netdev) mcba_usb_close() argument
744 mcba_net_set_mode(struct net_device *netdev, enum can_mode mode) mcba_net_set_mode() argument
749 mcba_net_get_berr_counter(const struct net_device *netdev, struct can_berr_counter *bec) mcba_net_get_berr_counter() argument
774 mcba_net_set_bittiming(struct net_device *netdev) mcba_net_set_bittiming() argument
784 mcba_set_termination(struct net_device *netdev, u16 term) mcba_set_termination() argument
804 struct net_device *netdev; mcba_usb_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-main.c175 struct net_device *netdev; in xgbe_alloc_pdata() local
177 netdev = alloc_etherdev_mq(sizeof(struct xgbe_prv_data), in xgbe_alloc_pdata()
179 if (!netdev) { in xgbe_alloc_pdata()
183 SET_NETDEV_DEV(netdev, dev); in xgbe_alloc_pdata()
184 pdata = netdev_priv(netdev); in xgbe_alloc_pdata()
185 pdata->netdev = netdev; in xgbe_alloc_pdata()
206 struct net_device *netdev = pdata->netdev; in xgbe_free_pdata() local
208 free_netdev(netdev); in xgbe_free_pdata()
264 struct net_device *netdev = pdata->netdev; xgbe_config_netdev() local
417 struct net_device *netdev = pdata->netdev; xgbe_deconfig_netdev() local
432 struct net_device *netdev = netdev_notifier_info_to_dev(data); xgbe_netdev_event() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-main.c175 struct net_device *netdev; in xgbe_alloc_pdata() local
177 netdev = alloc_etherdev_mq(sizeof(struct xgbe_prv_data), in xgbe_alloc_pdata()
179 if (!netdev) { in xgbe_alloc_pdata()
183 SET_NETDEV_DEV(netdev, dev); in xgbe_alloc_pdata()
184 pdata = netdev_priv(netdev); in xgbe_alloc_pdata()
185 pdata->netdev = netdev; in xgbe_alloc_pdata()
206 struct net_device *netdev = pdata->netdev; in xgbe_free_pdata() local
208 free_netdev(netdev); in xgbe_free_pdata()
264 struct net_device *netdev = pdata->netdev; xgbe_config_netdev() local
417 struct net_device *netdev = pdata->netdev; xgbe_deconfig_netdev() local
432 struct net_device *netdev = netdev_notifier_info_to_dev(data); xgbe_netdev_event() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dktls.c9 static int mlx5e_ktls_add(struct net_device *netdev, struct sock *sk, in mlx5e_ktls_add() argument
14 struct mlx5e_priv *priv = netdev_priv(netdev); in mlx5e_ktls_add()
22 err = mlx5e_ktls_add_tx(netdev, sk, crypto_info, start_offload_tcp_sn); in mlx5e_ktls_add()
24 err = mlx5e_ktls_add_rx(netdev, sk, crypto_info, start_offload_tcp_sn); in mlx5e_ktls_add()
29 static void mlx5e_ktls_del(struct net_device *netdev, in mlx5e_ktls_del() argument
34 mlx5e_ktls_del_tx(netdev, tls_ctx); in mlx5e_ktls_del()
36 mlx5e_ktls_del_rx(netdev, tls_ctx); in mlx5e_ktls_del()
39 static int mlx5e_ktls_resync(struct net_device *netdev, in mlx5e_ktls_resync() argument
46 mlx5e_ktls_rx_resync(netdev, sk, seq, rcd_sn); in mlx5e_ktls_resync()
58 struct net_device *netdev in mlx5e_ktls_build_netdev() local
72 mlx5e_ktls_set_feature_rx(struct net_device *netdev, bool enable) mlx5e_ktls_set_feature_rx() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_main.c114 if (netif_running(wx->netdev)) in txgbe_intr()
129 if (netif_running(wx->netdev)) in txgbe_intr()
143 struct net_device *netdev = wx->netdev; in txgbe_request_msix_irqs() local
152 "%s-TxRx-%d", netdev->name, entry->entry); in txgbe_request_msix_irqs()
187 struct net_device *netdev = wx->netdev; in txgbe_request_irq() local
195 netdev->name, wx); in txgbe_request_irq()
198 netdev->name, wx); in txgbe_request_irq()
208 struct net_device *netdev in txgbe_up_complete() local
233 struct net_device *netdev = wx->netdev; txgbe_reset() local
250 struct net_device *netdev = wx->netdev; txgbe_disable_device() local
401 txgbe_open(struct net_device *netdev) txgbe_open() argument
463 txgbe_close(struct net_device *netdev) txgbe_close() argument
478 struct net_device *netdev; txgbe_dev_shutdown() local
531 struct net_device *netdev; txgbe_probe() local
774 struct net_device *netdev; txgbe_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.c60 struct net_device *netdev = to_net_dev(dev); in can_channel_id_show() local
61 struct peak_usb_device *peak_dev = netdev_priv(netdev); in can_channel_id_show()
236 struct net_device *netdev; in peak_usb_read_bulk_callback() local
239 netdev = dev->netdev; in peak_usb_read_bulk_callback()
241 if (!netif_device_present(netdev)) in peak_usb_read_bulk_callback()
258 netdev_err(netdev, in peak_usb_read_bulk_callback()
289 netif_device_detach(netdev); in peak_usb_read_bulk_callback()
291 netdev_err(netdev, "failed resubmitting read bulk urb: %d\n", in peak_usb_read_bulk_callback()
302 struct net_device *netdev; in peak_usb_write_bulk_callback() local
352 peak_usb_ndo_start_xmit(struct sk_buff *skb, struct net_device *netdev) peak_usb_ndo_start_xmit() argument
437 struct net_device *netdev = dev->netdev; peak_usb_start() local
573 peak_usb_ndo_open(struct net_device *netdev) peak_usb_ndo_open() argument
631 peak_usb_ndo_stop(struct net_device *netdev) peak_usb_ndo_stop() argument
723 peak_usb_set_mode(struct net_device *netdev, enum can_mode mode) peak_usb_set_mode() argument
746 peak_usb_set_bittiming(struct net_device *netdev) peak_usb_set_bittiming() argument
767 peak_usb_set_data_bittiming(struct net_device *netdev) peak_usb_set_data_bittiming() argument
787 peak_eth_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) peak_eth_ioctl() argument
823 peak_usb_get_eeprom_len(struct net_device *netdev) peak_usb_get_eeprom_len() argument
831 peak_usb_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *data) peak_usb_get_eeprom() argument
860 peak_usb_set_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *data) peak_usb_set_eeprom() argument
925 struct net_device *netdev; peak_usb_create_dev() local
1051 struct net_device *netdev = dev->netdev; peak_usb_disconnect() local
1131 struct net_device *netdev = dev->netdev; peak_usb_do_device_exit() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/faraday/
H A Dftgmac100.c84 struct net_device *netdev; member
116 struct net_device *netdev = priv->netdev; in ftgmac100_reset_mac() local
133 netdev_err(netdev, "Hardware reset failed\n"); in ftgmac100_reset_mac()
154 netdev_err(priv->netdev, "Unknown speed %d !\n", in ftgmac100_reset_and_config_mac()
187 err = of_get_ethdev_address(priv->dev->of_node, priv->netdev); in ftgmac100_initial_mac()
192 priv->netdev->dev_addr); in ftgmac100_initial_mac()
207 eth_hw_addr_set(priv->netdev, mac); in ftgmac100_initial_mac()
210 eth_hw_addr_random(priv->netdev); in ftgmac100_initial_mac()
212 priv->netdev in ftgmac100_initial_mac()
368 ftgmac100_set_rx_mode(struct net_device *netdev) ftgmac100_set_rx_mode() argument
390 struct net_device *netdev = priv->netdev; ftgmac100_alloc_rx_buf() local
440 struct net_device *netdev = priv->netdev; ftgmac100_rx_packet_error() local
456 struct net_device *netdev = priv->netdev; ftgmac100_rx_packet() local
640 struct net_device *netdev = priv->netdev; ftgmac100_tx_complete_packet() local
666 struct net_device *netdev = priv->netdev; ftgmac100_tx_complete() local
708 ftgmac100_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev) ftgmac100_hard_start_xmit() argument
1000 struct net_device *netdev = bus->priv; ftgmac100_mdiobus_read() local
1036 struct net_device *netdev = bus->priv; ftgmac100_mdiobus_write() local
1069 ftgmac100_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) ftgmac100_get_drvinfo() argument
1077 ftgmac100_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ering, struct kernel_ethtool_ringparam *kernel_ering, struct netlink_ext_ack *extack) ftgmac100_get_ringparam() argument
1092 ftgmac100_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ering, struct kernel_ethtool_ringparam *kernel_ering, struct netlink_ext_ack *extack) ftgmac100_set_ringparam() argument
1115 ftgmac100_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) ftgmac100_get_pauseparam() argument
1125 ftgmac100_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) ftgmac100_set_pauseparam() argument
1160 struct net_device *netdev = dev_id; ftgmac100_interrupt() local
1310 struct net_device *netdev = priv->netdev; ftgmac100_reset() local
1363 ftgmac100_adjust_link(struct net_device *netdev) ftgmac100_adjust_link() argument
1424 ftgmac100_mii_probe(struct net_device *netdev) ftgmac100_mii_probe() argument
1483 ftgmac100_open(struct net_device *netdev) ftgmac100_open() argument
1560 ftgmac100_stop(struct net_device *netdev) ftgmac100_stop() argument
1591 ftgmac100_tx_timeout(struct net_device *netdev, unsigned int txqueue) ftgmac100_tx_timeout() argument
1602 ftgmac100_set_features(struct net_device *netdev, netdev_features_t features) ftgmac100_set_features() argument
1627 ftgmac100_poll_controller(struct net_device *netdev) ftgmac100_poll_controller() argument
1654 ftgmac100_setup_mdio(struct net_device *netdev) ftgmac100_setup_mdio() argument
1708 ftgmac100_phy_disconnect(struct net_device *netdev) ftgmac100_phy_disconnect() argument
1720 ftgmac100_destroy_mdio(struct net_device *netdev) ftgmac100_destroy_mdio() argument
1794 struct net_device *netdev; ftgmac100_probe() local
2017 struct net_device *netdev; ftgmac100_remove() local
[all...]
H A Dftmac100.c66 struct net_device *netdev; member
116 struct net_device *netdev = priv->netdev; in ftmac100_reset() local
139 netdev_err(netdev, "software reset failed\n"); in ftmac100_reset()
157 netdev_for_each_mc_addr(ha, priv->netdev) { in ftmac100_setup_mc_ht()
169 struct net_device *netdev = priv->netdev; in ftmac100_set_rx_bits() local
176 if (netdev->flags & IFF_PROMISC) in ftmac100_set_rx_bits()
178 if (netdev->flags & IFF_ALLMULTI) in ftmac100_set_rx_bits()
180 else if (netdev_mc_count(netdev)) { in ftmac100_set_rx_bits()
197 struct net_device *netdev = priv->netdev; ftmac100_start_hw() local
359 struct net_device *netdev = priv->netdev; ftmac100_rx_packet_error() local
402 struct net_device *netdev = priv->netdev; ftmac100_rx_drop_packet() local
423 struct net_device *netdev = priv->netdev; ftmac100_rx_packet() local
612 struct net_device *netdev = priv->netdev; ftmac100_tx_complete_packet() local
664 struct net_device *netdev = priv->netdev; ftmac100_xmit() local
699 struct net_device *netdev = priv->netdev; ftmac100_alloc_rx_page() local
789 ftmac100_mdio_read(struct net_device *netdev, int phy_id, int reg) ftmac100_mdio_read() argument
814 ftmac100_mdio_write(struct net_device *netdev, int phy_id, int reg, int data) ftmac100_mdio_write() argument
845 ftmac100_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) ftmac100_get_drvinfo() argument
852 ftmac100_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) ftmac100_get_link_ksettings() argument
862 ftmac100_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) ftmac100_set_link_ksettings() argument
869 ftmac100_nway_reset(struct net_device *netdev) ftmac100_nway_reset() argument
875 ftmac100_get_link(struct net_device *netdev) ftmac100_get_link() argument
894 struct net_device *netdev = dev_id; ftmac100_interrupt() local
911 struct net_device *netdev = priv->netdev; ftmac100_poll() local
985 ftmac100_open(struct net_device *netdev) ftmac100_open() argument
1026 ftmac100_stop(struct net_device *netdev) ftmac100_stop() argument
1041 ftmac100_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev) ftmac100_hard_start_xmit() argument
1070 ftmac100_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) ftmac100_do_ioctl() argument
1078 ftmac100_change_mtu(struct net_device *netdev, int mtu) ftmac100_change_mtu() argument
1100 ftmac100_set_rx_mode(struct net_device *netdev) ftmac100_set_rx_mode() argument
1127 struct net_device *netdev; ftmac100_probe() local
1224 struct net_device *netdev; ftmac100_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/etas_es58x/
H A Des58x_core.c169 * @netdev: CAN network device.
175 static void es58x_set_skb_timestamp(struct net_device *netdev, in es58x_set_skb_timestamp() argument
178 struct es58x_device *es58x_dev = es58x_priv(netdev)->es58x_dev; in es58x_set_skb_timestamp()
243 * @netdev: CAN network device.
259 static bool es58x_is_can_state_active(struct net_device *netdev) in es58x_is_can_state_active() argument
261 return es58x_priv(netdev)->can.state < CAN_STATE_BUS_OFF; in es58x_is_can_state_active()
289 * @netdev: CAN network device.
294 static void es58x_can_free_echo_skb_tail(struct net_device *netdev) in es58x_can_free_echo_skb_tail() argument
296 struct es58x_priv *priv = es58x_priv(netdev); in es58x_can_free_echo_skb_tail()
300 can_free_echo_skb(netdev, pri in es58x_can_free_echo_skb_tail()
320 es58x_can_get_echo_skb_recovery(struct net_device *netdev, u32 rcv_packet_idx) es58x_can_get_echo_skb_recovery() argument
382 es58x_can_get_echo_skb(struct net_device *netdev, u32 rcv_packet_idx, u64 *tstamps, unsigned int pkts) es58x_can_get_echo_skb() argument
471 es58x_can_reset_echo_fifo(struct net_device *netdev) es58x_can_reset_echo_fifo() argument
492 es58x_flush_pending_tx_msg(struct net_device *netdev) es58x_flush_pending_tx_msg() argument
533 es58x_tx_ack_msg(struct net_device *netdev, u16 tx_free_entries, enum es58x_ret_u32 rx_cmd_ret_u32) es58x_tx_ack_msg() argument
569 es58x_rx_can_msg(struct net_device *netdev, u64 timestamp, const u8 *data, canid_t can_id, enum es58x_flag es58x_flags, u8 dlc) es58x_rx_can_msg() argument
658 es58x_rx_err_msg(struct net_device *netdev, enum es58x_err error, enum es58x_event event, u64 timestamp) es58x_rx_err_msg() argument
970 es58x_rx_cmd_ret_u32(struct net_device *netdev, enum es58x_ret_type cmd_ret_type, enum es58x_ret_u32 rx_cmd_ret_u32) es58x_rx_cmd_ret_u32() argument
1492 struct net_device *netdev = urb->context; es58x_write_bulk_callback() local
1625 es58x_submit_urb(struct es58x_device *es58x_dev, struct urb *urb, struct net_device *netdev) es58x_submit_urb() argument
1664 struct net_device *netdev; es58x_send_msg() local
1779 es58x_open(struct net_device *netdev) es58x_open() argument
1826 es58x_stop(struct net_device *netdev) es58x_stop() argument
1859 es58x_xmit_commit(struct net_device *netdev) es58x_xmit_commit() argument
1909 es58x_start_xmit(struct sk_buff *skb, struct net_device *netdev) es58x_start_xmit() argument
1998 es58x_set_mode(struct net_device *netdev, enum can_mode mode) es58x_set_mode() argument
2085 struct net_device *netdev; es58x_init_netdev() local
2133 struct net_device *netdev = es58x_dev->netdev[i]; es58x_free_netdevs() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c21 struct net_device *netdev; member
54 const struct net_device *netdev) in mlx5e_lookup_rep_bond_slave_entry()
60 if (cur->netdev == netdev) { in mlx5e_lookup_rep_bond_slave_entry()
80 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev, in mlx5e_rep_bond_enslave() argument
94 /* First netdev becomes slave, no metadata presents the lag_dev. Create one */ in mlx5e_rep_bond_enslave()
119 s_entry->netdev = netdev; in mlx5e_rep_bond_enslave()
120 priv = netdev_priv(netdev); in mlx5e_rep_bond_enslave()
130 netdev_dbg(netdev, "enslav in mlx5e_rep_bond_enslave()
53 mlx5e_lookup_rep_bond_slave_entry(struct mlx5e_rep_bond_metadata *mdata, const struct net_device *netdev) mlx5e_lookup_rep_bond_slave_entry() argument
144 mlx5e_rep_bond_unslave(struct mlx5_eswitch *esw, const struct net_device *netdev, const struct net_device *lag_dev) mlx5e_rep_bond_unslave() argument
184 mlx5e_rep_is_lag_netdev(struct net_device *netdev) mlx5e_rep_is_lag_netdev() argument
189 mlx5e_rep_changelowerstate_event(struct net_device *netdev, void *ptr) mlx5e_rep_changelowerstate_event() argument
248 mlx5e_rep_changeupper_event(struct net_device *netdev, void *ptr) mlx5e_rep_changeupper_event() argument
278 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); mlx5e_rep_esw_bond_netevent() local
310 struct net_device *netdev = rpriv->netdev; mlx5e_rep_bond_init() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbond.c21 struct net_device *netdev; member
54 const struct net_device *netdev) in mlx5e_lookup_rep_bond_slave_entry()
60 if (cur->netdev == netdev) { in mlx5e_lookup_rep_bond_slave_entry()
80 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev, in mlx5e_rep_bond_enslave() argument
94 /* First netdev becomes slave, no metadata presents the lag_dev. Create one */ in mlx5e_rep_bond_enslave()
119 s_entry->netdev = netdev; in mlx5e_rep_bond_enslave()
120 priv = netdev_priv(netdev); in mlx5e_rep_bond_enslave()
130 netdev_dbg(netdev, "enslav in mlx5e_rep_bond_enslave()
53 mlx5e_lookup_rep_bond_slave_entry(struct mlx5e_rep_bond_metadata *mdata, const struct net_device *netdev) mlx5e_lookup_rep_bond_slave_entry() argument
144 mlx5e_rep_bond_unslave(struct mlx5_eswitch *esw, const struct net_device *netdev, const struct net_device *lag_dev) mlx5e_rep_bond_unslave() argument
184 mlx5e_rep_is_lag_netdev(struct net_device *netdev) mlx5e_rep_is_lag_netdev() argument
189 mlx5e_rep_changelowerstate_event(struct net_device *netdev, void *ptr) mlx5e_rep_changelowerstate_event() argument
248 mlx5e_rep_changeupper_event(struct net_device *netdev, void *ptr) mlx5e_rep_changeupper_event() argument
278 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); mlx5e_rep_esw_bond_netevent() local
310 struct net_device *netdev = rpriv->netdev; mlx5e_rep_bond_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
H A Dspider_net_ethtool.c37 spider_net_ethtool_get_link_ksettings(struct net_device *netdev, in spider_net_ethtool_get_link_ksettings() argument
41 card = netdev_priv(netdev); in spider_net_ethtool_get_link_ksettings()
59 spider_net_ethtool_get_drvinfo(struct net_device *netdev, in spider_net_ethtool_get_drvinfo() argument
63 card = netdev_priv(netdev); in spider_net_ethtool_get_drvinfo()
76 spider_net_ethtool_get_wol(struct net_device *netdev, in spider_net_ethtool_get_wol() argument
85 spider_net_ethtool_get_msglevel(struct net_device *netdev) in spider_net_ethtool_get_msglevel() argument
88 card = netdev_priv(netdev); in spider_net_ethtool_get_msglevel()
93 spider_net_ethtool_set_msglevel(struct net_device *netdev, in spider_net_ethtool_set_msglevel() argument
97 card = netdev_priv(netdev); in spider_net_ethtool_set_msglevel()
102 spider_net_ethtool_nway_reset(struct net_device *netdev) in spider_net_ethtool_nway_reset() argument
112 spider_net_ethtool_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ering) spider_net_ethtool_get_ringparam() argument
123 spider_net_get_sset_count(struct net_device *netdev, int sset) spider_net_get_sset_count() argument
133 spider_net_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) spider_net_get_ethtool_stats() argument
153 spider_net_get_strings(struct net_device *netdev, u32 stringset, u8 *data) spider_net_get_strings() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/toshiba/
H A Dspider_net_ethtool.c37 spider_net_ethtool_get_link_ksettings(struct net_device *netdev, in spider_net_ethtool_get_link_ksettings() argument
41 card = netdev_priv(netdev); in spider_net_ethtool_get_link_ksettings()
59 spider_net_ethtool_get_drvinfo(struct net_device *netdev, in spider_net_ethtool_get_drvinfo() argument
63 card = netdev_priv(netdev); in spider_net_ethtool_get_drvinfo()
76 spider_net_ethtool_get_wol(struct net_device *netdev, in spider_net_ethtool_get_wol() argument
85 spider_net_ethtool_get_msglevel(struct net_device *netdev) in spider_net_ethtool_get_msglevel() argument
88 card = netdev_priv(netdev); in spider_net_ethtool_get_msglevel()
93 spider_net_ethtool_set_msglevel(struct net_device *netdev, in spider_net_ethtool_set_msglevel() argument
97 card = netdev_priv(netdev); in spider_net_ethtool_set_msglevel()
102 spider_net_ethtool_nway_reset(struct net_device *netdev) in spider_net_ethtool_nway_reset() argument
112 spider_net_ethtool_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ering, struct kernel_ethtool_ringparam *kernel_ering, struct netlink_ext_ack *extack) spider_net_ethtool_get_ringparam() argument
125 spider_net_get_sset_count(struct net_device *netdev, int sset) spider_net_get_sset_count() argument
135 spider_net_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) spider_net_get_ethtool_stats() argument
155 spider_net_get_strings(struct net_device *netdev, u32 stringset, u8 *data) spider_net_get_strings() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
H A Diavf_ethtool.c267 * @netdev: network interface device structure
273 static int iavf_get_link_ksettings(struct net_device *netdev, in iavf_get_link_ksettings() argument
276 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_get_link_ksettings()
327 * @netdev: network interface device structure
332 static int iavf_get_sset_count(struct net_device *netdev, int sset) in iavf_get_sset_count() argument
345 * @netdev: network interface device structure
351 static void iavf_get_ethtool_stats(struct net_device *netdev, in iavf_get_ethtool_stats() argument
354 struct iavf_adapter *adapter = netdev_priv(netdev); in iavf_get_ethtool_stats()
378 * @netdev: network interface device structure
383 static void iavf_get_priv_flag_strings(struct net_device *netdev, u argument
401 iavf_get_stat_strings(struct net_device *netdev, u8 *data) iavf_get_stat_strings() argument
426 iavf_get_strings(struct net_device *netdev, u32 sset, u8 *data) iavf_get_strings() argument
450 iavf_get_priv_flags(struct net_device *netdev) iavf_get_priv_flags() argument
472 iavf_set_priv_flags(struct net_device *netdev, u32 flags) iavf_set_priv_flags() argument
537 iavf_get_msglevel(struct net_device *netdev) iavf_get_msglevel() argument
552 iavf_set_msglevel(struct net_device *netdev, u32 data) iavf_set_msglevel() argument
568 iavf_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) iavf_get_drvinfo() argument
587 iavf_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) iavf_get_ringparam() argument
606 iavf_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) iavf_set_ringparam() argument
672 __iavf_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int queue) __iavf_get_coalesce() argument
715 iavf_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec) iavf_get_coalesce() argument
729 iavf_get_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) iavf_get_per_queue_coalesce() argument
801 __iavf_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int queue) __iavf_set_coalesce() argument
853 iavf_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec) iavf_set_coalesce() argument
867 iavf_set_per_queue_coalesce(struct net_device *netdev, u32 queue, struct ethtool_coalesce *ec) iavf_set_per_queue_coalesce() argument
881 iavf_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) iavf_get_rxnfc() argument
910 iavf_get_channels(struct net_device *netdev, struct ethtool_channels *ch) iavf_get_channels() argument
933 iavf_set_channels(struct net_device *netdev, struct ethtool_channels *ch) iavf_set_channels() argument
984 iavf_get_rxfh_key_size(struct net_device *netdev) iavf_get_rxfh_key_size() argument
997 iavf_get_rxfh_indir_size(struct net_device *netdev) iavf_get_rxfh_indir_size() argument
1013 iavf_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) iavf_get_rxfh() argument
1042 iavf_set_rxfh(struct net_device *netdev, const u32 *indir, const u8 *key, const u8 hfunc) iavf_set_rxfh() argument
1102 iavf_set_ethtool_ops(struct net_device *netdev) iavf_set_ethtool_ops() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
H A Dp80211netdev.c95 static int p80211knetdev_init(struct net_device *netdev);
96 static int p80211knetdev_open(struct net_device *netdev);
97 static int p80211knetdev_stop(struct net_device *netdev);
99 struct net_device *netdev);
104 static void p80211knetdev_tx_timeout(struct net_device *netdev, unsigned int txqueue);
128 static int p80211knetdev_init(struct net_device *netdev) in p80211knetdev_init() argument
146 * netdev Linux network device structure
152 static int p80211knetdev_open(struct net_device *netdev) in p80211knetdev_open() argument
155 struct wlandevice *wlandev = netdev->ml_priv; in p80211knetdev_open()
165 netif_start_queue(wlandev->netdev); in p80211knetdev_open()
188 p80211knetdev_stop(struct net_device *netdev) p80211knetdev_stop() argument
324 p80211knetdev_hard_start_xmit(struct sk_buff *skb, struct net_device *netdev) p80211knetdev_hard_start_xmit() argument
720 struct net_device *netdev; wlan_setup() local
1076 p80211knetdev_tx_timeout(struct net_device *netdev, unsigned int txqueue) p80211knetdev_tx_timeout() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c201 if (netif_running(wx->netdev)) in ngbe_intr()
213 if (netif_running(wx->netdev)) in ngbe_intr()
224 if (netif_running(wx->netdev)) in ngbe_msix_other()
239 struct net_device *netdev = wx->netdev; in ngbe_request_msix_irqs() local
248 "%s-TxRx-%d", netdev->name, entry->entry); in ngbe_request_msix_irqs()
263 ngbe_msix_other, 0, netdev->name, wx); in ngbe_request_msix_irqs()
291 struct net_device *netdev = wx->netdev; in ngbe_request_irq() local
299 netdev in ngbe_request_irq()
312 struct net_device *netdev = wx->netdev; ngbe_disable_device() local
372 ngbe_open(struct net_device *netdev) ngbe_open() argument
424 ngbe_close(struct net_device *netdev) ngbe_close() argument
440 struct net_device *netdev; ngbe_dev_shutdown() local
509 struct net_device *netdev; ngbe_probe() local
711 struct net_device *netdev; ngbe_remove() local
736 struct net_device *netdev; ngbe_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c101 static int pch_gbe_mdio_read(struct net_device *netdev, int addr, int reg);
102 static void pch_gbe_mdio_write(struct net_device *netdev, int addr, int reg,
104 static void pch_gbe_set_multi(struct net_device *netdev);
203 static int hwtstamp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in hwtstamp_ioctl() argument
206 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in hwtstamp_ioctl()
284 netdev_dbg(adapter->netdev, "hw->mac.addr : %pM\n", hw->mac.addr); in pch_gbe_mac_read_mac_addr()
316 netdev_dbg(adapter->netdev, "index : 0x%x\n", index); in pch_gbe_mac_mar_set()
406 netdev_dbg(adapter->netdev, "mac->fc = %u\n", mac->fc); in pch_gbe_mac_force_mac_fc()
428 netdev_err(adapter->netdev, in pch_gbe_mac_force_mac_fc()
435 netdev_dbg(adapter->netdev, in pch_gbe_mac_force_mac_fc()
598 struct net_device *netdev = adapter->netdev; pch_gbe_init_phy() local
646 pch_gbe_mdio_read(struct net_device *netdev, int addr, int reg) pch_gbe_mdio_read() argument
662 pch_gbe_mdio_write(struct net_device *netdev, int addr, int reg, int data) pch_gbe_mdio_write() argument
701 struct net_device *netdev = adapter->netdev; pch_gbe_reset() local
727 struct net_device *netdev = adapter->netdev; pch_gbe_free_irq() local
1003 struct net_device *netdev = adapter->netdev; pch_gbe_set_mode() local
1036 struct net_device *netdev = adapter->netdev; pch_gbe_watchdog() local
1202 struct net_device *netdev = adapter->netdev; pch_gbe_update_stats() local
1274 struct net_device *netdev = data; pch_gbe_intr() local
1350 struct net_device *netdev = adapter->netdev; pch_gbe_alloc_rx_buffers() local
1614 struct net_device *netdev = adapter->netdev; pch_gbe_clean_rx() local
1843 struct net_device *netdev = adapter->netdev; pch_gbe_request_irq() local
1871 struct net_device *netdev = adapter->netdev; pch_gbe_up() local
1928 struct net_device *netdev = adapter->netdev; pch_gbe_down() local
1968 struct net_device *netdev = adapter->netdev; pch_gbe_sw_init() local
2001 pch_gbe_open(struct net_device *netdev) pch_gbe_open() argument
2040 pch_gbe_stop(struct net_device *netdev) pch_gbe_stop() argument
2061 pch_gbe_xmit_frame(struct sk_buff *skb, struct net_device *netdev) pch_gbe_xmit_frame() argument
2083 pch_gbe_set_multi(struct net_device *netdev) pch_gbe_set_multi() argument
2148 pch_gbe_set_mac(struct net_device *netdev, void *addr) pch_gbe_set_mac() argument
2179 pch_gbe_change_mtu(struct net_device *netdev, int new_mtu) pch_gbe_change_mtu() argument
2226 pch_gbe_set_features(struct net_device *netdev, netdev_features_t features) pch_gbe_set_features() argument
2252 pch_gbe_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) pch_gbe_ioctl() argument
2269 pch_gbe_tx_timeout(struct net_device *netdev, unsigned int txqueue) pch_gbe_tx_timeout() argument
2329 pch_gbe_netpoll(struct net_device *netdev) pch_gbe_netpoll() argument
2357 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_io_error_detected() local
2370 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_io_slot_reset() local
2390 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_io_resume() local
2405 struct net_device *netdev = pci_get_drvdata(pdev); __pch_gbe_suspend() local
2443 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_resume() local
2478 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_remove() local
2493 struct net_device *netdev; pch_gbe_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cortina/
H A Dgemini.c109 struct net_device *netdev; member
223 static void gmac_dump_dma_state(struct net_device *netdev);
225 static void gmac_update_config0_reg(struct net_device *netdev, in gmac_update_config0_reg() argument
228 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_update_config0_reg()
241 static void gmac_enable_tx_rx(struct net_device *netdev) in gmac_enable_tx_rx() argument
243 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_enable_tx_rx()
256 static void gmac_disable_tx_rx(struct net_device *netdev) in gmac_disable_tx_rx() argument
258 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_disable_tx_rx()
273 static void gmac_set_flow_control(struct net_device *netdev, bool tx, bool rx) in gmac_set_flow_control() argument
275 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_set_flow_control()
292 gmac_speed_set(struct net_device *netdev) gmac_speed_set() argument
362 gmac_setup_phy(struct net_device *netdev) gmac_setup_phy() argument
466 gmac_init(struct net_device *netdev) gmac_init() argument
546 gmac_setup_txqs(struct net_device *netdev) gmac_setup_txqs() argument
604 gmac_clean_txq(struct net_device *netdev, struct gmac_txq *txq, unsigned int r) gmac_clean_txq() argument
676 gmac_cleanup_txqs(struct net_device *netdev) gmac_cleanup_txqs() argument
702 gmac_setup_rxq(struct net_device *netdev) gmac_setup_rxq() argument
754 gmac_cleanup_rxq(struct net_device *netdev) gmac_cleanup_rxq() argument
1042 struct net_device *netdev = port->netdev; geth_resize_freeq() local
1107 gmac_tx_irq_enable(struct net_device *netdev, unsigned int txq, int en) gmac_tx_irq_enable() argument
1126 gmac_tx_irq(struct net_device *netdev, unsigned int txq_num) gmac_tx_irq() argument
1134 gmac_map_tx_bufs(struct net_device *netdev, struct sk_buff *skb, struct gmac_txq *txq, unsigned short *desc) gmac_map_tx_bufs() argument
1247 gmac_start_xmit(struct sk_buff *skb, struct net_device *netdev) gmac_start_xmit() argument
1321 gmac_tx_timeout(struct net_device *netdev, unsigned int txqueue) gmac_tx_timeout() argument
1327 gmac_enable_irq(struct net_device *netdev, int enable) gmac_enable_irq() argument
1356 gmac_enable_rx_irq(struct net_device *netdev, int enable) gmac_enable_rx_irq() argument
1415 gmac_rx(struct net_device *netdev, unsigned int budget) gmac_rx() argument
1556 gmac_dump_dma_state(struct net_device *netdev) gmac_dump_dma_state() argument
1627 gmac_update_hw_stats(struct net_device *netdev) gmac_update_hw_stats() argument
1663 gmac_get_intr_flags(struct net_device *netdev, int i) gmac_get_intr_flags() argument
1694 struct net_device *netdev = data; gmac_irq() local
1786 gmac_open(struct net_device *netdev) gmac_open() argument
1844 gmac_stop(struct net_device *netdev) gmac_stop() argument
1865 gmac_set_rx_mode(struct net_device *netdev) gmac_set_rx_mode() argument
1900 gmac_write_mac_address(struct net_device *netdev) gmac_write_mac_address() argument
1913 gmac_set_mac_address(struct net_device *netdev, void *addr) gmac_set_mac_address() argument
1923 gmac_clear_hw_stats(struct net_device *netdev) gmac_clear_hw_stats() argument
1935 gmac_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) gmac_get_stats64() argument
1984 gmac_change_mtu(struct net_device *netdev, int new_mtu) gmac_change_mtu() argument
2004 gmac_set_features(struct net_device *netdev, netdev_features_t features) gmac_set_features() argument
2022 gmac_get_sset_count(struct net_device *netdev, int sset) gmac_get_sset_count() argument
2027 gmac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) gmac_get_strings() argument
2035 gmac_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *estats, u64 *values) gmac_get_ethtool_stats() argument
2085 gmac_get_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) gmac_get_ksettings() argument
2095 gmac_set_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) gmac_set_ksettings() argument
2103 gmac_nway_reset(struct net_device *netdev) gmac_nway_reset() argument
2110 gmac_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pparam) gmac_get_pauseparam() argument
2123 gmac_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *rp) gmac_get_ringparam() argument
2141 gmac_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *rp) gmac_set_ringparam() argument
2162 gmac_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ecmd) gmac_get_coalesce() argument
2174 gmac_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ecmd) gmac_set_coalesce() argument
2190 gmac_get_msglevel(struct net_device *netdev) gmac_get_msglevel() argument
2197 gmac_set_msglevel(struct net_device *netdev, u32 level) gmac_set_msglevel() argument
2204 gmac_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) gmac_get_drvinfo() argument
2373 struct net_device *netdev; gemini_ethernet_port_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/cortina/
H A Dgemini.c108 struct net_device *netdev; member
222 static void gmac_dump_dma_state(struct net_device *netdev);
224 static void gmac_update_config0_reg(struct net_device *netdev, in gmac_update_config0_reg() argument
227 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_update_config0_reg()
240 static void gmac_enable_tx_rx(struct net_device *netdev) in gmac_enable_tx_rx() argument
242 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_enable_tx_rx()
255 static void gmac_disable_tx_rx(struct net_device *netdev) in gmac_disable_tx_rx() argument
257 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_disable_tx_rx()
272 static void gmac_set_flow_control(struct net_device *netdev, bool tx, bool rx) in gmac_set_flow_control() argument
274 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_set_flow_control()
291 gmac_speed_set(struct net_device *netdev) gmac_speed_set() argument
361 gmac_setup_phy(struct net_device *netdev) gmac_setup_phy() argument
465 gmac_init(struct net_device *netdev) gmac_init() argument
545 gmac_setup_txqs(struct net_device *netdev) gmac_setup_txqs() argument
603 gmac_clean_txq(struct net_device *netdev, struct gmac_txq *txq, unsigned int r) gmac_clean_txq() argument
675 gmac_cleanup_txqs(struct net_device *netdev) gmac_cleanup_txqs() argument
701 gmac_setup_rxq(struct net_device *netdev) gmac_setup_rxq() argument
753 gmac_cleanup_rxq(struct net_device *netdev) gmac_cleanup_rxq() argument
1041 struct net_device *netdev = port->netdev; geth_resize_freeq() local
1106 gmac_tx_irq_enable(struct net_device *netdev, unsigned int txq, int en) gmac_tx_irq_enable() argument
1125 gmac_tx_irq(struct net_device *netdev, unsigned int txq_num) gmac_tx_irq() argument
1133 gmac_map_tx_bufs(struct net_device *netdev, struct sk_buff *skb, struct gmac_txq *txq, unsigned short *desc) gmac_map_tx_bufs() argument
1246 gmac_start_xmit(struct sk_buff *skb, struct net_device *netdev) gmac_start_xmit() argument
1320 gmac_tx_timeout(struct net_device *netdev, unsigned int txqueue) gmac_tx_timeout() argument
1326 gmac_enable_irq(struct net_device *netdev, int enable) gmac_enable_irq() argument
1355 gmac_enable_rx_irq(struct net_device *netdev, int enable) gmac_enable_rx_irq() argument
1414 gmac_rx(struct net_device *netdev, unsigned int budget) gmac_rx() argument
1555 gmac_dump_dma_state(struct net_device *netdev) gmac_dump_dma_state() argument
1626 gmac_update_hw_stats(struct net_device *netdev) gmac_update_hw_stats() argument
1662 gmac_get_intr_flags(struct net_device *netdev, int i) gmac_get_intr_flags() argument
1693 struct net_device *netdev = data; gmac_irq() local
1785 gmac_open(struct net_device *netdev) gmac_open() argument
1843 gmac_stop(struct net_device *netdev) gmac_stop() argument
1864 gmac_set_rx_mode(struct net_device *netdev) gmac_set_rx_mode() argument
1899 gmac_write_mac_address(struct net_device *netdev) gmac_write_mac_address() argument
1912 gmac_set_mac_address(struct net_device *netdev, void *addr) gmac_set_mac_address() argument
1922 gmac_clear_hw_stats(struct net_device *netdev) gmac_clear_hw_stats() argument
1934 gmac_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *stats) gmac_get_stats64() argument
1983 gmac_change_mtu(struct net_device *netdev, int new_mtu) gmac_change_mtu() argument
2003 gmac_set_features(struct net_device *netdev, netdev_features_t features) gmac_set_features() argument
2021 gmac_get_sset_count(struct net_device *netdev, int sset) gmac_get_sset_count() argument
2026 gmac_get_strings(struct net_device *netdev, u32 stringset, u8 *data) gmac_get_strings() argument
2034 gmac_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *estats, u64 *values) gmac_get_ethtool_stats() argument
2084 gmac_get_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) gmac_get_ksettings() argument
2094 gmac_set_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) gmac_set_ksettings() argument
2102 gmac_nway_reset(struct net_device *netdev) gmac_nway_reset() argument
2109 gmac_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pparam) gmac_get_pauseparam() argument
2122 gmac_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *rp, struct kernel_ethtool_ringparam *kernel_rp, struct netlink_ext_ack *extack) gmac_get_ringparam() argument
2142 gmac_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *rp, struct kernel_ethtool_ringparam *kernel_rp, struct netlink_ext_ack *extack) gmac_set_ringparam() argument
2165 gmac_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ecmd, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) gmac_get_coalesce() argument
2179 gmac_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ecmd, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) gmac_set_coalesce() argument
2197 gmac_get_msglevel(struct net_device *netdev) gmac_get_msglevel() argument
2204 gmac_set_msglevel(struct net_device *netdev, u32 level) gmac_set_msglevel() argument
2211 gmac_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) gmac_get_drvinfo() argument
2381 struct net_device *netdev; gemini_ethernet_port_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c99 static int pch_gbe_mdio_read(struct net_device *netdev, int addr, int reg);
100 static void pch_gbe_mdio_write(struct net_device *netdev, int addr, int reg,
102 static void pch_gbe_set_multi(struct net_device *netdev);
201 static int hwtstamp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) in hwtstamp_ioctl() argument
204 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in hwtstamp_ioctl()
279 netdev_dbg(adapter->netdev, "hw->mac.addr : %pM\n", hw->mac.addr); in pch_gbe_mac_read_mac_addr()
308 netdev_dbg(adapter->netdev, "index : 0x%x\n", index); in pch_gbe_mac_mar_set()
398 netdev_dbg(adapter->netdev, "mac->fc = %u\n", mac->fc); in pch_gbe_mac_force_mac_fc()
420 netdev_err(adapter->netdev, in pch_gbe_mac_force_mac_fc()
427 netdev_dbg(adapter->netdev, in pch_gbe_mac_force_mac_fc()
581 struct net_device *netdev = adapter->netdev; pch_gbe_init_phy() local
629 pch_gbe_mdio_read(struct net_device *netdev, int addr, int reg) pch_gbe_mdio_read() argument
645 pch_gbe_mdio_write(struct net_device *netdev, int addr, int reg, int data) pch_gbe_mdio_write() argument
684 struct net_device *netdev = adapter->netdev; pch_gbe_reset() local
710 struct net_device *netdev = adapter->netdev; pch_gbe_free_irq() local
986 struct net_device *netdev = adapter->netdev; pch_gbe_set_mode() local
1019 struct net_device *netdev = adapter->netdev; pch_gbe_watchdog() local
1179 struct net_device *netdev = adapter->netdev; pch_gbe_update_stats() local
1251 struct net_device *netdev = data; pch_gbe_intr() local
1327 struct net_device *netdev = adapter->netdev; pch_gbe_alloc_rx_buffers() local
1591 struct net_device *netdev = adapter->netdev; pch_gbe_clean_rx() local
1822 struct net_device *netdev = adapter->netdev; pch_gbe_request_irq() local
1850 struct net_device *netdev = adapter->netdev; pch_gbe_up() local
1907 struct net_device *netdev = adapter->netdev; pch_gbe_down() local
1947 struct net_device *netdev = adapter->netdev; pch_gbe_sw_init() local
1980 pch_gbe_open(struct net_device *netdev) pch_gbe_open() argument
2019 pch_gbe_stop(struct net_device *netdev) pch_gbe_stop() argument
2040 pch_gbe_xmit_frame(struct sk_buff *skb, struct net_device *netdev) pch_gbe_xmit_frame() argument
2062 pch_gbe_set_multi(struct net_device *netdev) pch_gbe_set_multi() argument
2127 pch_gbe_set_mac(struct net_device *netdev, void *addr) pch_gbe_set_mac() argument
2158 pch_gbe_change_mtu(struct net_device *netdev, int new_mtu) pch_gbe_change_mtu() argument
2205 pch_gbe_set_features(struct net_device *netdev, netdev_features_t features) pch_gbe_set_features() argument
2231 pch_gbe_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) pch_gbe_ioctl() argument
2248 pch_gbe_tx_timeout(struct net_device *netdev, unsigned int txqueue) pch_gbe_tx_timeout() argument
2308 pch_gbe_netpoll(struct net_device *netdev) pch_gbe_netpoll() argument
2336 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_io_error_detected() local
2349 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_io_slot_reset() local
2369 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_io_resume() local
2384 struct net_device *netdev = pci_get_drvdata(pdev); __pch_gbe_suspend() local
2421 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_resume() local
2456 struct net_device *netdev = pci_get_drvdata(pdev); pch_gbe_remove() local
2471 struct net_device *netdev; pch_gbe_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
H A Ducc_geth_ethtool.c104 uec_get_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) in uec_get_ksettings() argument
106 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_ksettings()
118 uec_set_ksettings(struct net_device *netdev, in uec_set_ksettings() argument
121 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_ksettings()
131 uec_get_pauseparam(struct net_device *netdev, in uec_get_pauseparam() argument
134 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_pauseparam()
145 uec_set_pauseparam(struct net_device *netdev, in uec_set_pauseparam() argument
148 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_pauseparam()
155 if (netif_running(netdev)) { in uec_set_pauseparam()
157 netdev_info(netdev, "Pleas in uec_set_pauseparam()
176 uec_get_msglevel(struct net_device *netdev) uec_get_msglevel() argument
183 uec_set_msglevel(struct net_device *netdev, uint32_t data) uec_set_msglevel() argument
190 uec_get_regs_len(struct net_device *netdev) uec_get_regs_len() argument
196 uec_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) uec_get_regs() argument
209 uec_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) uec_get_ringparam() argument
228 uec_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring) uec_set_ringparam() argument
260 uec_get_sset_count(struct net_device *netdev, int sset) uec_get_sset_count() argument
282 uec_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) uec_get_strings() argument
302 uec_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, uint64_t *data) uec_get_ethtool_stats() argument
333 uec_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) uec_get_drvinfo() argument
342 uec_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) uec_get_wol() argument
355 uec_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) uec_set_wol() argument
400 uec_set_ethtool_ops(struct net_device *netdev) uec_set_ethtool_ops() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/
H A Ducc_geth_ethtool.c104 uec_get_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) in uec_get_ksettings() argument
106 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_ksettings()
118 uec_set_ksettings(struct net_device *netdev, in uec_set_ksettings() argument
121 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_ksettings()
131 uec_get_pauseparam(struct net_device *netdev, in uec_get_pauseparam() argument
134 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_get_pauseparam()
145 uec_set_pauseparam(struct net_device *netdev, in uec_set_pauseparam() argument
148 struct ucc_geth_private *ugeth = netdev_priv(netdev); in uec_set_pauseparam()
155 if (netif_running(netdev)) { in uec_set_pauseparam()
157 netdev_info(netdev, "Pleas in uec_set_pauseparam()
176 uec_get_msglevel(struct net_device *netdev) uec_get_msglevel() argument
183 uec_set_msglevel(struct net_device *netdev, uint32_t data) uec_set_msglevel() argument
190 uec_get_regs_len(struct net_device *netdev) uec_get_regs_len() argument
196 uec_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) uec_get_regs() argument
209 uec_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) uec_get_ringparam() argument
230 uec_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) uec_set_ringparam() argument
264 uec_get_sset_count(struct net_device *netdev, int sset) uec_get_sset_count() argument
286 uec_get_strings(struct net_device *netdev, u32 stringset, u8 *buf) uec_get_strings() argument
306 uec_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, uint64_t *data) uec_get_ethtool_stats() argument
337 uec_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) uec_get_drvinfo() argument
346 uec_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) uec_get_wol() argument
359 uec_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) uec_set_wol() argument
404 uec_set_ethtool_ops(struct net_device *netdev) uec_set_ethtool_ops() argument
[all...]

Completed in 23 milliseconds

12345678910>>...69