Home
last modified time | relevance | path

Searched refs:netdev (Results 151 - 175 of 1721) sorted by relevance

12345678910>>...69

/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_ddp.c193 * @netdev: net device structure (for logging purposes)
201 static bool i40e_ddp_is_pkg_hdr_valid(struct net_device *netdev, in i40e_ddp_is_pkg_hdr_valid() argument
215 netdev_err(netdev, "Unsupported DDP profile version %u.%u.%u.%u", in i40e_ddp_is_pkg_hdr_valid()
220 netdev_err(netdev, "Invalid DDP profile - size is bigger than 4G"); in i40e_ddp_is_pkg_hdr_valid()
225 netdev_err(netdev, "Invalid DDP profile - size is too small."); in i40e_ddp_is_pkg_hdr_valid()
231 netdev_err(netdev, "Invalid DDP profile - too many segments"); in i40e_ddp_is_pkg_hdr_valid()
238 netdev_err(netdev, in i40e_ddp_is_pkg_hdr_valid()
244 netdev_err(netdev, in i40e_ddp_is_pkg_hdr_valid()
256 * @netdev: net device structure
264 int i40e_ddp_load(struct net_device *netdev, cons argument
393 struct net_device *netdev = pf->vsi[pf->lan_vsi]->netdev; i40e_ddp_restore() local
415 i40e_ddp_flash(struct net_device *netdev, struct ethtool_flash *flash) i40e_ddp_flash() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_ethtool.c68 * @netdev: Network interface device structure
74 static int pch_gbe_get_link_ksettings(struct net_device *netdev, in pch_gbe_get_link_ksettings() argument
77 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_get_link_ksettings()
95 if (!netif_carrier_ok(adapter->netdev)) in pch_gbe_get_link_ksettings()
103 * @netdev: Network interface device structure
109 static int pch_gbe_set_link_ksettings(struct net_device *netdev, in pch_gbe_set_link_ksettings() argument
112 struct pch_gbe_adapter *adapter = netdev_priv(netdev); in pch_gbe_set_link_ksettings()
132 netdev_err(netdev, "Error: mii_ethtool_set_link_ksettings\n"); in pch_gbe_set_link_ksettings()
143 if (netif_running(adapter->netdev)) { in pch_gbe_set_link_ksettings()
154 * @netdev
157 pch_gbe_get_regs_len(struct net_device *netdev) pch_gbe_get_regs_len() argument
167 pch_gbe_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) pch_gbe_get_drvinfo() argument
184 pch_gbe_get_regs(struct net_device *netdev, struct ethtool_regs *regs, void *p) pch_gbe_get_regs() argument
208 pch_gbe_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) pch_gbe_get_wol() argument
234 pch_gbe_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) pch_gbe_set_wol() argument
262 pch_gbe_nway_reset(struct net_device *netdev) pch_gbe_nway_reset() argument
276 pch_gbe_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) pch_gbe_get_ringparam() argument
301 pch_gbe_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) pch_gbe_set_ringparam() argument
380 pch_gbe_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) pch_gbe_get_pauseparam() argument
407 pch_gbe_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) pch_gbe_set_pauseparam() argument
444 pch_gbe_get_strings(struct net_device *netdev, u32 stringset, u8 *data) pch_gbe_get_strings() argument
467 pch_gbe_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats *stats, u64 *data) pch_gbe_get_ethtool_stats() argument
483 pch_gbe_get_sset_count(struct net_device *netdev, int sset) pch_gbe_get_sset_count() argument
512 pch_gbe_set_ethtool_ops(struct net_device *netdev) pch_gbe_set_ethtool_ops() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/octeon/
H A Docteon_mgmt.c118 struct net_device *netdev; member
211 static void octeon_mgmt_rx_fill_ring(struct net_device *netdev) in octeon_mgmt_rx_fill_ring() argument
213 struct octeon_mgmt *p = netdev_priv(netdev); in octeon_mgmt_rx_fill_ring()
221 size = netdev->mtu + OCTEON_MGMT_RX_HEADROOM + 8 + NET_IP_ALIGN; in octeon_mgmt_rx_fill_ring()
223 skb = netdev_alloc_skb(netdev, size); in octeon_mgmt_rx_fill_ring()
314 if (cleaned && netif_queue_stopped(p->netdev)) in octeon_mgmt_clean_tx_buffers()
315 netif_wake_queue(p->netdev); in octeon_mgmt_clean_tx_buffers()
325 static void octeon_mgmt_update_rx_stats(struct net_device *netdev) in octeon_mgmt_update_rx_stats() argument
327 struct octeon_mgmt *p = netdev_priv(netdev); in octeon_mgmt_update_rx_stats()
338 netdev in octeon_mgmt_update_rx_stats()
344 octeon_mgmt_update_tx_stats(struct net_device *netdev) octeon_mgmt_update_tx_stats() argument
393 struct net_device *netdev = p->netdev; octeon_mgmt_receive_one() local
501 struct net_device *netdev = p->netdev; octeon_mgmt_napi_poll() local
561 octeon_mgmt_set_rx_filtering(struct net_device *netdev) octeon_mgmt_set_rx_filtering() argument
635 octeon_mgmt_set_mac_address(struct net_device *netdev, void *addr) octeon_mgmt_set_mac_address() argument
647 octeon_mgmt_change_mtu(struct net_device *netdev, int new_mtu) octeon_mgmt_change_mtu() argument
671 struct net_device *netdev = dev_id; octeon_mgmt_interrupt() local
693 octeon_mgmt_ioctl_hwtstamp(struct net_device *netdev, struct ifreq *rq, int cmd) octeon_mgmt_ioctl_hwtstamp() argument
790 octeon_mgmt_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) octeon_mgmt_ioctl() argument
907 octeon_mgmt_adjust_link(struct net_device *netdev) octeon_mgmt_adjust_link() argument
948 octeon_mgmt_init_phy(struct net_device *netdev) octeon_mgmt_init_phy() argument
969 octeon_mgmt_open(struct net_device *netdev) octeon_mgmt_open() argument
1243 octeon_mgmt_stop(struct net_device *netdev) octeon_mgmt_stop() argument
1279 octeon_mgmt_xmit(struct sk_buff *skb, struct net_device *netdev) octeon_mgmt_xmit() argument
1336 octeon_mgmt_poll_controller(struct net_device *netdev) octeon_mgmt_poll_controller() argument
1345 octeon_mgmt_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) octeon_mgmt_get_drvinfo() argument
1385 struct net_device *netdev; octeon_mgmt_probe() local
1533 struct net_device *netdev = platform_get_drvdata(pdev); octeon_mgmt_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/octeon/
H A Docteon_mgmt.c118 struct net_device *netdev; member
211 static void octeon_mgmt_rx_fill_ring(struct net_device *netdev) in octeon_mgmt_rx_fill_ring() argument
213 struct octeon_mgmt *p = netdev_priv(netdev); in octeon_mgmt_rx_fill_ring()
221 size = netdev->mtu + OCTEON_MGMT_RX_HEADROOM + 8 + NET_IP_ALIGN; in octeon_mgmt_rx_fill_ring()
223 skb = netdev_alloc_skb(netdev, size); in octeon_mgmt_rx_fill_ring()
314 if (cleaned && netif_queue_stopped(p->netdev)) in octeon_mgmt_clean_tx_buffers()
315 netif_wake_queue(p->netdev); in octeon_mgmt_clean_tx_buffers()
325 static void octeon_mgmt_update_rx_stats(struct net_device *netdev) in octeon_mgmt_update_rx_stats() argument
327 struct octeon_mgmt *p = netdev_priv(netdev); in octeon_mgmt_update_rx_stats()
338 netdev in octeon_mgmt_update_rx_stats()
344 octeon_mgmt_update_tx_stats(struct net_device *netdev) octeon_mgmt_update_tx_stats() argument
393 struct net_device *netdev = p->netdev; octeon_mgmt_receive_one() local
501 struct net_device *netdev = p->netdev; octeon_mgmt_napi_poll() local
561 octeon_mgmt_set_rx_filtering(struct net_device *netdev) octeon_mgmt_set_rx_filtering() argument
635 octeon_mgmt_set_mac_address(struct net_device *netdev, void *addr) octeon_mgmt_set_mac_address() argument
647 octeon_mgmt_change_mtu(struct net_device *netdev, int new_mtu) octeon_mgmt_change_mtu() argument
671 struct net_device *netdev = dev_id; octeon_mgmt_interrupt() local
693 octeon_mgmt_ioctl_hwtstamp(struct net_device *netdev, struct ifreq *rq, int cmd) octeon_mgmt_ioctl_hwtstamp() argument
787 octeon_mgmt_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd) octeon_mgmt_ioctl() argument
904 octeon_mgmt_adjust_link(struct net_device *netdev) octeon_mgmt_adjust_link() argument
945 octeon_mgmt_init_phy(struct net_device *netdev) octeon_mgmt_init_phy() argument
966 octeon_mgmt_open(struct net_device *netdev) octeon_mgmt_open() argument
1240 octeon_mgmt_stop(struct net_device *netdev) octeon_mgmt_stop() argument
1276 octeon_mgmt_xmit(struct sk_buff *skb, struct net_device *netdev) octeon_mgmt_xmit() argument
1333 octeon_mgmt_poll_controller(struct net_device *netdev) octeon_mgmt_poll_controller() argument
1342 octeon_mgmt_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *info) octeon_mgmt_get_drvinfo() argument
1382 struct net_device *netdev; octeon_mgmt_probe() local
1526 struct net_device *netdev = platform_get_drvdata(pdev); octeon_mgmt_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/can/softing/
H A Dsofting_main.c18 * test is a specific CAN netdev
21 static inline int canif_is_active(struct net_device *netdev) in canif_is_active() argument
23 struct can_priv *can = netdev_priv(netdev); in canif_is_active()
25 if (!netif_running(netdev)) in canif_is_active()
132 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg, in softing_netdev_rx() argument
138 skb = alloc_can_skb(netdev, &cf); in softing_netdev_rx()
152 struct net_device *netdev; in softing_handle_1() local
178 netdev = card->net[j]; in softing_handle_1()
179 if (!netdev) in softing_handle_1()
181 if (!canif_is_active(netdev)) in softing_handle_1()
320 struct net_device *netdev; softing_irq_thread() local
635 struct net_device *netdev; softing_netdev_create() local
664 softing_netdev_register(struct net_device *netdev) softing_netdev_register() argument
679 softing_netdev_cleanup(struct net_device *netdev) softing_netdev_cleanup() argument
756 struct net_device *netdev; softing_pdev_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/net/can/usb/
H A Ducan.c280 struct net_device *netdev; member
337 netdev_err(up->netdev, in ucan_alloc_context_array()
374 netif_stop_queue(up->netdev); in ucan_alloc_context()
402 netif_wake_queue(up->netdev); in ucan_release_context()
488 struct net_device_stats *net_stats = &up->netdev->stats; in ucan_handle_error_frame()
546 can_bus_off(up->netdev); in ucan_handle_error_frame()
571 struct net_device_stats *stats = &up->netdev->stats; in ucan_rx_can_msg()
578 netdev_warn(up->netdev, "invalid input message len: %d\n", len); in ucan_rx_can_msg()
601 netdev_warn(up->netdev, in ucan_rx_can_msg()
609 skb = alloc_can_skb(up->netdev, in ucan_rx_can_msg()
690 struct net_device *netdev = up->netdev; ucan_read_bulk_callback() local
960 ucan_open(struct net_device *netdev) ucan_open() argument
1111 ucan_start_xmit(struct sk_buff *skb, struct net_device *netdev) ucan_start_xmit() argument
1195 ucan_close(struct net_device *netdev) ucan_close() argument
1242 ucan_set_bittiming(struct net_device *netdev) ucan_set_bittiming() argument
1266 ucan_set_mode(struct net_device *netdev, enum can_mode mode) ucan_set_mode() argument
1304 struct net_device *netdev; ucan_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c211 struct net_device *netdev; in nfp_tunnel_keep_alive() local
234 netdev = nfp_app_dev_get(app, port, NULL); in nfp_tunnel_keep_alive()
235 if (!netdev) in nfp_tunnel_keep_alive()
238 n = neigh_lookup(&arp_tbl, &ipv4_addr, netdev); in nfp_tunnel_keep_alive()
253 struct net_device *netdev; in nfp_tunnel_keep_alive_v6() local
276 netdev = nfp_app_dev_get(app, port, NULL); in nfp_tunnel_keep_alive_v6()
277 if (!netdev) in nfp_tunnel_keep_alive_v6()
280 n = neigh_lookup(&nd_tbl, ipv6_add, netdev); in nfp_tunnel_keep_alive_v6()
466 nfp_tun_write_neigh(struct net_device *netdev, struct nfp_app *app, in nfp_tun_write_neigh() argument
480 port_id = nfp_flower_get_port_id_from_netdev(app, netdev); in nfp_tun_write_neigh()
753 struct net_device *netdev; nfp_tunnel_request_route_v4() local
801 struct net_device *netdev; nfp_tunnel_request_route_v6() local
1055 nfp_tunnel_offloaded_macs_inc_ref_and_link(struct nfp_tun_offloaded_mac *entry, struct net_device *netdev, bool mod) nfp_tunnel_offloaded_macs_inc_ref_and_link() argument
1078 nfp_tunnel_add_shared_mac(struct nfp_app *app, struct net_device *netdev, int port, bool mod) nfp_tunnel_add_shared_mac() argument
1164 nfp_tunnel_del_shared_mac(struct nfp_app *app, struct net_device *netdev, const u8 *mac, bool mod) nfp_tunnel_del_shared_mac() argument
1250 nfp_tunnel_offload_mac(struct nfp_app *app, struct net_device *netdev, enum nfp_flower_mac_offload_cmd cmd) nfp_tunnel_offload_mac() argument
1357 nfp_tunnel_mac_event_handler(struct nfp_app *app, struct net_device *netdev, unsigned long event, void *ptr) nfp_tunnel_mac_event_handler() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.c127 struct net_device *netdev = lif->netdev; in ionic_link_status_check() local
138 if (lif->netdev->flags & IFF_UP && netif_running(lif->netdev)) { in ionic_link_status_check()
144 if (!netif_carrier_ok(netdev)) { in ionic_link_status_check()
149 netdev_info(netdev, "Link up - %d Gbps\n", in ionic_link_status_check()
151 netif_carrier_on(netdev); in ionic_link_status_check()
154 if (netif_carrier_ok(netdev)) { in ionic_link_status_check()
155 netdev_info(netdev, "Link down\n"); in ionic_link_status_check()
156 netif_carrier_off(netdev); in ionic_link_status_check()
833 struct net_device *netdev; ionic_notifyq_service() local
922 ionic_get_stats64(struct net_device *netdev, struct rtnl_link_stats64 *ns) ionic_get_stats64() argument
1091 ionic_addr_add(struct net_device *netdev, const u8 *addr) ionic_addr_add() argument
1096 ionic_ndo_addr_add(struct net_device *netdev, const u8 *addr) ionic_ndo_addr_add() argument
1101 ionic_addr_del(struct net_device *netdev, const u8 *addr) ionic_addr_del() argument
1110 ionic_ndo_addr_del(struct net_device *netdev, const u8 *addr) ionic_ndo_addr_del() argument
1152 ionic_set_rx_mode(struct net_device *netdev, bool can_sleep) ionic_set_rx_mode() argument
1218 ionic_ndo_set_rx_mode(struct net_device *netdev) ionic_ndo_set_rx_mode() argument
1335 struct net_device *netdev = lif->netdev; ionic_init_nic_features() local
1402 ionic_set_features(struct net_device *netdev, netdev_features_t features) ionic_set_features() argument
1416 ionic_set_mac_address(struct net_device *netdev, void *sa) ionic_set_mac_address() argument
1471 ionic_change_mtu(struct net_device *netdev, int new_mtu) ionic_change_mtu() argument
1514 ionic_tx_timeout(struct net_device *netdev, unsigned int txqueue) ionic_tx_timeout() argument
1521 ionic_vlan_rx_add_vid(struct net_device *netdev, __be16 proto, u16 vid) ionic_vlan_rx_add_vid() argument
1544 ionic_vlan_rx_kill_vid(struct net_device *netdev, __be16 proto, u16 vid) ionic_vlan_rx_kill_vid() argument
1852 ionic_open(struct net_device *netdev) ionic_open() argument
1898 ionic_stop(struct net_device *netdev) ionic_stop() argument
1912 ionic_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *ivf) ionic_get_vf_config() argument
1941 ionic_get_vf_stats(struct net_device *netdev, int vf, struct ifla_vf_stats *vf_stats) ionic_get_vf_stats() argument
1978 ionic_set_vf_mac(struct net_device *netdev, int vf, u8 *mac) ionic_set_vf_mac() argument
2004 ionic_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos, __be16 proto) ionic_set_vf_vlan() argument
2039 ionic_set_vf_rate(struct net_device *netdev, int vf, int tx_min, int tx_max) ionic_set_vf_rate() argument
2068 ionic_set_vf_spoofchk(struct net_device *netdev, int vf, bool set) ionic_set_vf_spoofchk() argument
2093 ionic_set_vf_trust(struct net_device *netdev, int vf, bool set) ionic_set_vf_trust() argument
2118 ionic_set_vf_link_state(struct net_device *netdev, int vf, int set) ionic_set_vf_link_state() argument
2408 struct net_device *netdev; ionic_lif_alloc() local
2771 struct net_device *netdev = lif->netdev; ionic_station_set() local
2932 ionic_netdev_lif(struct net_device *netdev) ionic_netdev_lif() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c207 * @t: timer list containing pointer to netdev cast into an unsigned long
231 struct net_device *netdev = adapter->netdev; in atl1c_check_link_status() local
245 netif_carrier_off(netdev); in atl1c_check_link_status()
273 atl1c_driver_name, netdev->name, in atl1c_check_link_status()
278 if (!netif_carrier_ok(netdev)) in atl1c_check_link_status()
279 netif_carrier_on(netdev); in atl1c_check_link_status()
285 struct net_device *netdev = adapter->netdev; in atl1c_link_chg_event() local
297 if (netif_carrier_ok(netdev)) { in atl1c_link_chg_event()
315 struct net_device *netdev; atl1c_common_task() local
350 atl1c_tx_timeout(struct net_device *netdev, unsigned int txqueue) atl1c_tx_timeout() argument
368 atl1c_set_multi(struct net_device *netdev) atl1c_set_multi() argument
412 atl1c_vlan_mode(struct net_device *netdev, netdev_features_t features) atl1c_vlan_mode() argument
445 atl1c_set_mac_addr(struct net_device *netdev, void *p) atl1c_set_mac_addr() argument
478 atl1c_fix_features(struct net_device *netdev, netdev_features_t features) atl1c_fix_features() argument
496 atl1c_set_features(struct net_device *netdev, netdev_features_t features) atl1c_set_features() argument
507 atl1c_set_max_mtu(struct net_device *netdev) atl1c_set_max_mtu() argument
534 atl1c_change_mtu(struct net_device *netdev, int new_mtu) atl1c_change_mtu() argument
556 atl1c_mdio_read(struct net_device *netdev, int phy_id, int reg_num) atl1c_mdio_read() argument
565 atl1c_mdio_write(struct net_device *netdev, int phy_id, int reg_num, int val) atl1c_mdio_write() argument
573 atl1c_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl1c_mii_ioctl() argument
623 atl1c_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl1c_ioctl() argument
1430 struct net_device *netdev = adapter->netdev; atl1c_configure() local
1480 atl1c_get_stats(struct net_device *netdev) atl1c_get_stats() argument
1577 struct net_device *netdev = data; atl1c_intr() local
1792 struct net_device *netdev = adapter->netdev; atl1c_clean_rx_irq() local
1896 atl1c_netpoll(struct net_device *netdev) atl1c_netpoll() argument
2197 atl1c_xmit_frame(struct sk_buff *skb, struct net_device *netdev) atl1c_xmit_frame() argument
2255 struct net_device *netdev = adapter->netdev; atl1c_free_irq() local
2266 struct net_device *netdev = adapter->netdev; atl1c_request_irq() local
2309 struct net_device *netdev = adapter->netdev; atl1c_up() local
2336 struct net_device *netdev = adapter->netdev; atl1c_down() local
2370 atl1c_open(struct net_device *netdev) atl1c_open() argument
2408 atl1c_close(struct net_device *netdev) atl1c_close() argument
2422 struct net_device *netdev = dev_get_drvdata(dev); atl1c_suspend() local
2446 struct net_device *netdev = dev_get_drvdata(dev); atl1c_resume() local
2466 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_shutdown() local
2492 atl1c_init_netdev(struct net_device *netdev, struct pci_dev *pdev) atl1c_init_netdev() argument
2526 struct net_device *netdev; atl1c_probe() local
2669 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_remove() local
2695 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_io_error_detected() local
2721 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_io_slot_reset() local
2750 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_io_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/net/can/softing/
H A Dsofting_main.c17 * test is a specific CAN netdev
20 static inline int canif_is_active(struct net_device *netdev) in canif_is_active() argument
22 struct can_priv *can = netdev_priv(netdev); in canif_is_active()
24 if (!netif_running(netdev)) in canif_is_active()
131 int softing_netdev_rx(struct net_device *netdev, const struct can_frame *msg, in softing_netdev_rx() argument
137 skb = alloc_can_skb(netdev, &cf); in softing_netdev_rx()
151 struct net_device *netdev; in softing_handle_1() local
177 netdev = card->net[j]; in softing_handle_1()
178 if (!netdev) in softing_handle_1()
180 if (!canif_is_active(netdev)) in softing_handle_1()
321 struct net_device *netdev; softing_irq_thread() local
635 struct net_device *netdev; softing_netdev_create() local
663 softing_netdev_register(struct net_device *netdev) softing_netdev_register() argument
678 softing_netdev_cleanup(struct net_device *netdev) softing_netdev_cleanup() argument
756 struct net_device *netdev; softing_pdev_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
H A Dethsw.c48 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_is_up() local
56 netdev_err(netdev, "dpsw_if_get_link_state() err %d\n", err); in dpaa2_switch_port_is_up()
68 struct net_device *netdev = port_priv->netdev; in dpaa2_switch_port_set_pvid() local
76 netdev_err(netdev, "dpsw_if_get_tci err %d\n", err); in dpaa2_switch_port_set_pvid()
89 netdev_err(netdev, "dpsw_if_disable err %d\n", err); in dpaa2_switch_port_set_pvid()
97 netdev_err(netdev, "dpsw_if_set_tci err %d\n", err); in dpaa2_switch_port_set_pvid()
112 netdev_err(netdev, "dpsw_if_enable err %d\n", ret); in dpaa2_switch_port_set_pvid()
124 struct net_device *netdev in dpaa2_switch_port_add_vlan() local
361 dpaa2_switch_port_get_stats(struct net_device *netdev, struct rtnl_link_stats64 *stats) dpaa2_switch_port_get_stats() argument
427 dpaa2_switch_port_has_offload_stats(const struct net_device *netdev, int attr_id) dpaa2_switch_port_has_offload_stats() argument
433 dpaa2_switch_port_get_offload_stats(int attr_id, const struct net_device *netdev, void *sp) dpaa2_switch_port_get_offload_stats() argument
446 dpaa2_switch_port_change_mtu(struct net_device *netdev, int mtu) dpaa2_switch_port_change_mtu() argument
466 dpaa2_switch_port_carrier_state_sync(struct net_device *netdev) dpaa2_switch_port_carrier_state_sync() argument
499 dpaa2_switch_port_open(struct net_device *netdev) dpaa2_switch_port_open() argument
539 dpaa2_switch_port_stop(struct net_device *netdev) dpaa2_switch_port_stop() argument
555 dpaa2_switch_port_dropframe(struct sk_buff *skb, struct net_device *netdev) dpaa2_switch_port_dropframe() argument
575 dpaa2_switch_port_get_phys_name(struct net_device *netdev, char *name, size_t len) dpaa2_switch_port_get_phys_name() argument
776 dpaa2_switch_port_dev_check(const struct net_device *netdev, struct notifier_block *nb) dpaa2_switch_port_dev_check() argument
903 dpaa2_switch_port_attr_stp_state_set(struct net_device *netdev, struct switchdev_trans *trans, u8 state) dpaa2_switch_port_attr_stp_state_set() argument
915 dpaa2_switch_port_attr_br_flags_pre_set(struct net_device *netdev, struct switchdev_trans *trans, unsigned long flags) dpaa2_switch_port_attr_br_flags_pre_set() argument
925 dpaa2_switch_port_attr_br_flags_set(struct net_device *netdev, struct switchdev_trans *trans, unsigned long flags) dpaa2_switch_port_attr_br_flags_set() argument
947 dpaa2_switch_port_attr_set(struct net_device *netdev, const struct switchdev_attr *attr, struct switchdev_trans *trans) dpaa2_switch_port_attr_set() argument
977 dpaa2_switch_port_vlans_add(struct net_device *netdev, const struct switchdev_obj_port_vlan *vlan, struct switchdev_trans *trans) dpaa2_switch_port_vlans_add() argument
1021 dpaa2_switch_port_lookup_address(struct net_device *netdev, int is_uc, const unsigned char *addr) dpaa2_switch_port_lookup_address() argument
1038 dpaa2_switch_port_mdb_add(struct net_device *netdev, const struct switchdev_obj_port_mdb *mdb, struct switchdev_trans *trans) dpaa2_switch_port_mdb_add() argument
1065 dpaa2_switch_port_obj_add(struct net_device *netdev, const struct switchdev_obj *obj, struct switchdev_trans *trans) dpaa2_switch_port_obj_add() argument
1093 struct net_device *netdev = port_priv->netdev; dpaa2_switch_port_del_vlan() local
1147 dpaa2_switch_port_vlans_del(struct net_device *netdev, const struct switchdev_obj_port_vlan *vlan) dpaa2_switch_port_vlans_del() argument
1165 dpaa2_switch_port_mdb_del(struct net_device *netdev, const struct switchdev_obj_port_mdb *mdb) dpaa2_switch_port_mdb_del() argument
1187 dpaa2_switch_port_obj_del(struct net_device *netdev, const struct switchdev_obj *obj) dpaa2_switch_port_obj_del() argument
1206 dpaa2_switch_port_attr_set_event(struct net_device *netdev, struct switchdev_notifier_port_attr_info *port_attr_info) dpaa2_switch_port_attr_set_event() argument
1220 dpaa2_switch_port_bridge_join(struct net_device *netdev, struct net_device *upper_dev) dpaa2_switch_port_bridge_join() argument
1258 dpaa2_switch_port_bridge_leave(struct net_device *netdev) dpaa2_switch_port_bridge_leave() argument
1274 struct net_device *netdev = netdev_notifier_info_to_dev(ptr); dpaa2_switch_port_netdevice_event() local
1399 dpaa2_switch_port_obj_event(unsigned long event, struct net_device *netdev, struct switchdev_notifier_port_obj_info *port_obj_info) dpaa2_switch_port_obj_event() argument
1585 struct net_device *netdev = port_priv->netdev; dpaa2_switch_port_init() local
[all...]
/kernel/linux/linux-5.10/drivers/net/can/sja1000/
H A Dpeak_pcmcia.c131 struct net_device *netdev; member
379 struct net_device *netdev; in pcan_led_timer() local
389 netdev = card->channel[i].netdev; in pcan_led_timer()
390 if (!netdev || !(netdev->flags & IFF_UP)) in pcan_led_timer()
400 if (netdev->stats.rx_bytes != card->channel[i].prev_rx_bytes) { in pcan_led_timer()
401 card->channel[i].prev_rx_bytes = netdev->stats.rx_bytes; in pcan_led_timer()
405 if (netdev->stats.tx_bytes != card->channel[i].prev_tx_bytes) { in pcan_led_timer()
406 card->channel[i].prev_tx_bytes = netdev in pcan_led_timer()
436 struct net_device *netdev; pcan_isr() local
473 struct net_device *netdev; pcan_free_channels() local
532 struct net_device *netdev; pcan_add_channels() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c30 nfp_abm_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_abm_setup_tc() argument
33 struct nfp_repr *repr = netdev_priv(netdev); in nfp_abm_setup_tc()
36 port = nfp_port_from_netdev(netdev); in nfp_abm_setup_tc()
42 return nfp_abm_setup_root(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
44 return nfp_abm_setup_tc_mq(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
46 return nfp_abm_setup_tc_red(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
48 return nfp_abm_setup_tc_gred(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
50 return nfp_abm_setup_cls_block(netdev, repr, type_data); in nfp_abm_setup_tc()
80 struct net_device *netdev; in nfp_abm_spawn_repr() local
96 netdev in nfp_abm_spawn_repr()
151 struct net_device *netdev; nfp_abm_kill_repr() local
[all...]
/kernel/linux/linux-6.6/drivers/net/can/sja1000/
H A Dpeak_pcmcia.c130 struct net_device *netdev; member
378 struct net_device *netdev; in pcan_led_timer() local
388 netdev = card->channel[i].netdev; in pcan_led_timer()
389 if (!netdev || !(netdev->flags & IFF_UP)) in pcan_led_timer()
399 if (netdev->stats.rx_bytes != card->channel[i].prev_rx_bytes) { in pcan_led_timer()
400 card->channel[i].prev_rx_bytes = netdev->stats.rx_bytes; in pcan_led_timer()
404 if (netdev->stats.tx_bytes != card->channel[i].prev_tx_bytes) { in pcan_led_timer()
405 card->channel[i].prev_tx_bytes = netdev in pcan_led_timer()
435 struct net_device *netdev; pcan_isr() local
472 struct net_device *netdev; pcan_free_channels() local
531 struct net_device *netdev; pcan_add_channels() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c30 nfp_abm_setup_tc(struct nfp_app *app, struct net_device *netdev, in nfp_abm_setup_tc() argument
33 struct nfp_repr *repr = netdev_priv(netdev); in nfp_abm_setup_tc()
36 port = nfp_port_from_netdev(netdev); in nfp_abm_setup_tc()
42 return nfp_abm_setup_root(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
44 return nfp_abm_setup_tc_mq(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
46 return nfp_abm_setup_tc_red(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
48 return nfp_abm_setup_tc_gred(netdev, repr->app_priv, type_data); in nfp_abm_setup_tc()
50 return nfp_abm_setup_cls_block(netdev, repr, type_data); in nfp_abm_setup_tc()
80 struct net_device *netdev; in nfp_abm_spawn_repr() local
96 netdev in nfp_abm_spawn_repr()
151 struct net_device *netdev; nfp_abm_kill_repr() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c31 static int ice_q_stats_len(struct net_device *netdev) in ice_q_stats_len() argument
33 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_q_stats_len()
94 * The PF_STATs are appended to the netdev stats only when ethtool -S
95 * is queried on the base PF netdev.
349 __ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo, in __ice_get_drvinfo() argument
374 ice_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) in ice_get_drvinfo() argument
376 struct ice_netdev_priv *np = netdev_priv(netdev); in ice_get_drvinfo()
378 __ice_get_drvinfo(netdev, drvinfo, np->vsi); in ice_get_drvinfo()
382 static int ice_get_regs_len(struct net_device __always_unused *netdev) in ice_get_regs_len() argument
388 ice_get_regs(struct net_device *netdev, struc argument
402 ice_get_msglevel(struct net_device *netdev) ice_get_msglevel() argument
416 ice_set_msglevel(struct net_device *netdev, u32 data) ice_set_msglevel() argument
431 ice_get_eeprom_len(struct net_device *netdev) ice_get_eeprom_len() argument
440 ice_get_eeprom(struct net_device *netdev, struct ethtool_eeprom *eeprom, u8 *bytes) ice_get_eeprom() argument
515 ice_link_test(struct net_device *netdev) ice_link_test() argument
542 ice_eeprom_test(struct net_device *netdev) ice_eeprom_test() argument
599 ice_reg_test(struct net_device *netdev) ice_reg_test() argument
857 ice_loopback_test(struct net_device *netdev) ice_loopback_test() argument
952 ice_intr_test(struct net_device *netdev) ice_intr_test() argument
980 ice_self_test(struct net_device *netdev, struct ethtool_test *eth_test, u64 *data) ice_self_test() argument
1054 __ice_get_strings(struct net_device *netdev, u32 stringset, u8 *data, struct ice_vsi *vsi) __ice_get_strings() argument
1107 ice_get_strings(struct net_device *netdev, u32 stringset, u8 *data) ice_get_strings() argument
1115 ice_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) ice_set_phys_id() argument
1142 ice_set_fec_cfg(struct net_device *netdev, enum ice_fec_mode req_fec) ice_set_fec_cfg() argument
1187 ice_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fecparam) ice_set_fecparam() argument
1222 ice_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fecparam) ice_get_fecparam() argument
1284 ice_nway_reset(struct net_device *netdev) ice_nway_reset() argument
1309 ice_get_priv_flags(struct net_device *netdev) ice_get_priv_flags() argument
1333 ice_set_priv_flags(struct net_device *netdev, u32 flags) ice_set_priv_flags() argument
1487 ice_get_sset_count(struct net_device *netdev, int sset) ice_get_sset_count() argument
1520 __ice_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats __always_unused *stats, u64 *data, struct ice_vsi *vsi) __ice_get_ethtool_stats() argument
1591 ice_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats __always_unused *stats, u64 *data) ice_get_ethtool_stats() argument
1689 ice_phy_type_to_ethtool(struct net_device *netdev, struct ethtool_link_ksettings *ks) ice_phy_type_to_ethtool() argument
1785 ice_get_settings_link_up(struct ethtool_link_ksettings *ks, struct net_device *netdev) ice_get_settings_link_up() argument
1871 ice_get_settings_link_down(struct ethtool_link_ksettings *ks, struct net_device *netdev) ice_get_settings_link_down() argument
1892 ice_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *ks) ice_get_link_ksettings() argument
2100 ice_setup_autoneg(struct ice_port_info *p, struct ethtool_link_ksettings *ks, struct ice_aqc_set_phy_cfg_data *config, u8 autoneg_enabled, u8 *autoneg_changed, struct net_device *netdev) ice_setup_autoneg() argument
2191 ice_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *ks) ice_set_link_ksettings() argument
2609 ice_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) ice_set_rxnfc() argument
2636 ice_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 __always_unused *rule_locs) ice_get_rxnfc() argument
2675 ice_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) ice_get_ringparam() argument
2700 ice_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) ice_set_ringparam() argument
2947 ice_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) ice_get_pauseparam() argument
2993 ice_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pause) ice_set_pauseparam() argument
3097 ice_get_rxfh_key_size(struct net_device __always_unused *netdev) ice_get_rxfh_key_size() argument
3108 ice_get_rxfh_indir_size(struct net_device *netdev) ice_get_rxfh_indir_size() argument
3116 ice_get_rxfh_context(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc, u32 rss_context) ice_get_rxfh_context() argument
3192 ice_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) ice_get_rxfh() argument
3208 ice_set_rxfh(struct net_device *netdev, const u32 *indir, const u8 *key, const u8 hfunc) ice_set_rxfh() argument
3531 ice_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) ice_get_wol() argument
3554 ice_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) ice_set_wol() argument
3658 __ice_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int q_num) __ice_get_coalesce() argument
3673 ice_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) ice_get_coalesce() argument
3682 ice_get_per_q_coalesce(struct net_device *netdev, u32 q_num, struct ethtool_coalesce *ec) ice_get_per_q_coalesce() argument
3830 ice_print_if_odd_usecs(struct net_device *netdev, u16 itr_setting, u32 use_adaptive_coalesce, u32 coalesce_usecs, const char *c_type_str) ice_print_if_odd_usecs() argument
3853 __ice_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, int q_num) __ice_set_coalesce() argument
3898 ice_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *ec, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) ice_set_coalesce() argument
3907 ice_set_per_q_coalesce(struct net_device *netdev, u32 q_num, struct ethtool_coalesce *ec) ice_set_per_q_coalesce() argument
3914 ice_repr_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) ice_repr_get_drvinfo() argument
3926 ice_repr_get_strings(struct net_device *netdev, u32 stringset, u8 *data) ice_repr_get_strings() argument
3939 ice_repr_get_ethtool_stats(struct net_device *netdev, struct ethtool_stats __always_unused *stats, u64 *data) ice_repr_get_ethtool_stats() argument
3951 ice_repr_get_sset_count(struct net_device *netdev, int sset) ice_repr_get_sset_count() argument
3979 ice_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) ice_get_module_info() argument
4053 ice_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) ice_get_module_eeprom() argument
4210 ice_set_ethtool_safe_mode_ops(struct net_device *netdev) ice_set_ethtool_safe_mode_ops() argument
4227 ice_set_ethtool_repr_ops(struct net_device *netdev) ice_set_ethtool_repr_ops() argument
4238 ice_set_ethtool_ops(struct net_device *netdev) ice_set_ethtool_ops() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/can/
H A Dled.c22 void can_led_event(struct net_device *netdev, enum can_led_event event) in can_led_event() argument
24 struct can_priv *priv = netdev_priv(netdev); in can_led_event()
70 void devm_can_led_init(struct net_device *netdev) in devm_can_led_init() argument
72 struct can_priv *priv = netdev_priv(netdev); in devm_can_led_init()
77 netdev_err(netdev, "cannot register LED triggers\n"); in devm_can_led_init()
82 "%s-tx", netdev->name); in devm_can_led_init()
84 "%s-rx", netdev->name); in devm_can_led_init()
86 "%s-rxtx", netdev->name); in devm_can_led_init()
95 devres_add(&netdev->dev, res); in devm_can_led_init()
103 struct net_device *netdev in can_led_notifier() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth-trace.h26 TP_PROTO(struct net_device *netdev,
30 TP_ARGS(netdev, fd),
41 __string(name, netdev->name)
51 __assign_str(name, netdev->name);
70 TP_PROTO(struct net_device *netdev,
73 TP_ARGS(netdev, fd)
78 TP_PROTO(struct net_device *netdev,
81 TP_ARGS(netdev, fd)
86 TP_PROTO(struct net_device *netdev,
89 TP_ARGS(netdev, f
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c230 * @t: timer list containing pointer to netdev cast into an unsigned long
254 struct net_device *netdev = adapter->netdev; in atl1c_check_link_status() local
267 netif_carrier_off(netdev); in atl1c_check_link_status()
295 atl1c_driver_name, netdev->name, in atl1c_check_link_status()
300 if (!netif_carrier_ok(netdev)) in atl1c_check_link_status()
301 netif_carrier_on(netdev); in atl1c_check_link_status()
307 struct net_device *netdev = adapter->netdev; in atl1c_link_chg_event() local
316 if (netif_carrier_ok(netdev)) { in atl1c_link_chg_event()
334 struct net_device *netdev; atl1c_common_task() local
369 atl1c_tx_timeout(struct net_device *netdev, unsigned int txqueue) atl1c_tx_timeout() argument
387 atl1c_set_multi(struct net_device *netdev) atl1c_set_multi() argument
431 atl1c_vlan_mode(struct net_device *netdev, netdev_features_t features) atl1c_vlan_mode() argument
464 atl1c_set_mac_addr(struct net_device *netdev, void *p) atl1c_set_mac_addr() argument
492 atl1c_fix_features(struct net_device *netdev, netdev_features_t features) atl1c_fix_features() argument
515 atl1c_set_features(struct net_device *netdev, netdev_features_t features) atl1c_set_features() argument
526 atl1c_set_max_mtu(struct net_device *netdev) atl1c_set_max_mtu() argument
556 atl1c_change_mtu(struct net_device *netdev, int new_mtu) atl1c_change_mtu() argument
578 atl1c_mdio_read(struct net_device *netdev, int phy_id, int reg_num) atl1c_mdio_read() argument
587 atl1c_mdio_write(struct net_device *netdev, int phy_id, int reg_num, int val) atl1c_mdio_write() argument
595 atl1c_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl1c_mii_ioctl() argument
645 atl1c_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) atl1c_ioctl() argument
1470 struct net_device *netdev = adapter->netdev; atl1c_configure() local
1534 atl1c_get_stats(struct net_device *netdev) atl1c_get_stats() argument
1671 struct net_device *netdev = data; atl1c_intr() local
1876 struct net_device *netdev = adapter->netdev; atl1c_clean_rx() local
1968 atl1c_netpoll(struct net_device *netdev) atl1c_netpoll() argument
2268 atl1c_xmit_frame(struct sk_buff *skb, struct net_device *netdev) atl1c_xmit_frame() argument
2331 struct net_device *netdev = adapter->netdev; atl1c_free_irq() local
2342 struct net_device *netdev = adapter->netdev; atl1c_request_irq() local
2387 struct net_device *netdev = adapter->netdev; atl1c_up() local
2419 struct net_device *netdev = adapter->netdev; atl1c_down() local
2457 atl1c_open(struct net_device *netdev) atl1c_open() argument
2495 atl1c_close(struct net_device *netdev) atl1c_close() argument
2509 struct net_device *netdev = dev_get_drvdata(dev); atl1c_suspend() local
2533 struct net_device *netdev = dev_get_drvdata(dev); atl1c_resume() local
2553 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_shutdown() local
2579 atl1c_init_netdev(struct net_device *netdev, struct pci_dev *pdev) atl1c_init_netdev() argument
2613 struct net_device *netdev; atl1c_probe() local
2772 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_remove() local
2798 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_io_error_detected() local
2824 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_io_slot_reset() local
2853 struct net_device *netdev = pci_get_drvdata(pdev); atl1c_io_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_ethtool.c428 static int hns3_get_sset_count(struct net_device *netdev, int stringset) in hns3_get_sset_count() argument
430 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_sset_count()
492 static void hns3_get_strings(struct net_device *netdev, u32 stringset, u8 *data) in hns3_get_strings() argument
494 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_strings()
544 * @netdev: net device
548 static void hns3_get_stats(struct net_device *netdev, in hns3_get_stats() argument
551 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_stats()
554 if (hns3_nic_resetting(netdev)) { in hns3_get_stats()
555 netdev_err(netdev, "dev resetting, could not get stats\n"); in hns3_get_stats()
560 netdev_err(netdev, "coul in hns3_get_stats()
573 hns3_get_drvinfo(struct net_device *netdev, struct ethtool_drvinfo *drvinfo) hns3_get_drvinfo() argument
607 hns3_get_link(struct net_device *netdev) hns3_get_link() argument
617 hns3_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *param) hns3_get_ringparam() argument
636 hns3_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *param) hns3_get_pauseparam() argument
646 hns3_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *param) hns3_set_pauseparam() argument
686 hns3_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *cmd) hns3_get_link_ksettings() argument
745 hns3_check_ksettings_param(const struct net_device *netdev, const struct ethtool_link_ksettings *cmd) hns3_check_ksettings_param() argument
791 hns3_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *cmd) hns3_set_link_ksettings() argument
846 hns3_get_rss_key_size(struct net_device *netdev) hns3_get_rss_key_size() argument
856 hns3_get_rss_indir_size(struct net_device *netdev) hns3_get_rss_indir_size() argument
866 hns3_get_rss(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) hns3_get_rss() argument
877 hns3_set_rss(struct net_device *netdev, const u32 *indir, const u8 *key, const u8 hfunc) hns3_set_rss() argument
902 hns3_get_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs) hns3_get_rxnfc() argument
1054 hns3_set_rxnfc(struct net_device *netdev, struct ethtool_rxnfc *cmd) hns3_set_rxnfc() argument
1076 hns3_nway_reset(struct net_device *netdev) hns3_nway_reset() argument
1110 hns3_get_channels(struct net_device *netdev, struct ethtool_channels *ch) hns3_get_channels() argument
1119 hns3_get_coalesce_per_queue(struct net_device *netdev, u32 queue, struct ethtool_coalesce *cmd) hns3_get_coalesce_per_queue() argument
1154 hns3_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *cmd) hns3_get_coalesce() argument
1160 hns3_check_gl_coalesce_para(struct net_device *netdev, struct ethtool_coalesce *cmd) hns3_check_gl_coalesce_para() argument
1196 hns3_check_rl_coalesce_para(struct net_device *netdev, struct ethtool_coalesce *cmd) hns3_check_rl_coalesce_para() argument
1224 hns3_check_coalesce_para(struct net_device *netdev, struct ethtool_coalesce *cmd) hns3_check_coalesce_para() argument
1254 hns3_set_coalesce_per_queue(struct net_device *netdev, struct ethtool_coalesce *cmd, u32 queue) hns3_set_coalesce_per_queue() argument
1283 hns3_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *cmd) hns3_set_coalesce() argument
1307 hns3_get_regs_len(struct net_device *netdev) hns3_get_regs_len() argument
1317 hns3_get_regs(struct net_device *netdev, struct ethtool_regs *cmd, void *data) hns3_get_regs() argument
1328 hns3_set_phys_id(struct net_device *netdev, enum ethtool_phys_id_state state) hns3_set_phys_id() argument
1339 hns3_get_msglevel(struct net_device *netdev) hns3_get_msglevel() argument
1346 hns3_set_msglevel(struct net_device *netdev, u32 msg_level) hns3_set_msglevel() argument
1390 hns3_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) hns3_get_fecparam() argument
1413 hns3_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fec) hns3_set_fecparam() argument
1433 hns3_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) hns3_get_module_info() argument
1485 hns3_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) hns3_get_module_eeprom() argument
1571 hns3_ethtool_set_ops(struct net_device *netdev) hns3_ethtool_set_ops() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/
H A Dethoc.c188 * @netdev: pointer to network device structure
213 struct net_device *netdev; member
376 struct net_device *netdev = dev->netdev; in ethoc_update_rx_stats() local
380 dev_err(&netdev->dev, "RX: frame too long\n"); in ethoc_update_rx_stats()
381 netdev->stats.rx_length_errors++; in ethoc_update_rx_stats()
386 dev_err(&netdev->dev, "RX: frame too short\n"); in ethoc_update_rx_stats()
387 netdev->stats.rx_length_errors++; in ethoc_update_rx_stats()
392 dev_err(&netdev->dev, "RX: dribble nibble\n"); in ethoc_update_rx_stats()
393 netdev in ethoc_update_rx_stats()
482 struct net_device *netdev = dev->netdev; ethoc_update_tx_stats() local
934 ethoc_get_regs_len(struct net_device *netdev) ethoc_get_regs_len() argument
1026 struct net_device *netdev = NULL; ethoc_probe() local
1262 struct net_device *netdev = platform_get_drvdata(pdev); ethoc_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/
H A Dethoc.c188 * @netdev: pointer to network device structure
213 struct net_device *netdev; member
376 struct net_device *netdev = dev->netdev; in ethoc_update_rx_stats() local
380 dev_err(&netdev->dev, "RX: frame too long\n"); in ethoc_update_rx_stats()
381 netdev->stats.rx_length_errors++; in ethoc_update_rx_stats()
386 dev_err(&netdev->dev, "RX: frame too short\n"); in ethoc_update_rx_stats()
387 netdev->stats.rx_length_errors++; in ethoc_update_rx_stats()
392 dev_err(&netdev->dev, "RX: dribble nibble\n"); in ethoc_update_rx_stats()
393 netdev in ethoc_update_rx_stats()
482 struct net_device *netdev = dev->netdev; ethoc_update_tx_stats() local
930 ethoc_get_regs_len(struct net_device *netdev) ethoc_get_regs_len() argument
1026 struct net_device *netdev = NULL; ethoc_probe() local
1259 struct net_device *netdev = platform_get_drvdata(pdev); ethoc_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
H A Dprism2mgmt.c145 netdev_err(wlandev->netdev, in prism2mgmt_scan()
159 netdev_err(wlandev->netdev, in prism2mgmt_scan()
171 netdev_err(wlandev->netdev, in prism2mgmt_scan()
193 netdev_warn(wlandev->netdev, in prism2mgmt_scan()
221 netdev_err(wlandev->netdev, in prism2mgmt_scan()
234 netdev_err(wlandev->netdev, in prism2mgmt_scan()
250 netdev_err(wlandev->netdev, "Failed to set OwnSSID.\n"); in prism2mgmt_scan()
259 netdev_err(wlandev->netdev, in prism2mgmt_scan()
270 netdev_err(wlandev->netdev, in prism2mgmt_scan()
281 netdev_err(wlandev->netdev, in prism2mgmt_scan()
[all...]
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/
H A Dprism2mgmt.c124 netdev_err(wlandev->netdev, in prism2mgmt_scan()
138 netdev_err(wlandev->netdev, in prism2mgmt_scan()
150 netdev_err(wlandev->netdev, in prism2mgmt_scan()
172 netdev_warn(wlandev->netdev, in prism2mgmt_scan()
200 netdev_err(wlandev->netdev, in prism2mgmt_scan()
213 netdev_err(wlandev->netdev, in prism2mgmt_scan()
229 netdev_err(wlandev->netdev, "Failed to set OwnSSID.\n"); in prism2mgmt_scan()
238 netdev_err(wlandev->netdev, in prism2mgmt_scan()
249 netdev_err(wlandev->netdev, in prism2mgmt_scan()
260 netdev_err(wlandev->netdev, in prism2mgmt_scan()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c235 typedef int (*mlx5e_pflag_handler)(struct net_device *netdev, bool enable);
356 netdev_info(priv->netdev, "%s: rx_jumbo_pending not supported\n", in mlx5e_ethtool_set_ringparam()
361 netdev_info(priv->netdev, "%s: rx_mini_pending not supported\n", in mlx5e_ethtool_set_ringparam()
367 netdev_info(priv->netdev, "%s: rx_pending (%d) < min (%d)\n", in mlx5e_ethtool_set_ringparam()
374 netdev_info(priv->netdev, "%s: tx_pending (%d) < min (%d)\n", in mlx5e_ethtool_set_ringparam()
444 netdev_info(priv->netdev, "%s: combined_count=0 not supported\n", in mlx5e_ethtool_set_channels()
460 netdev_err(priv->netdev, "%s: HTB offload is active, cannot change the number of channels\n", in mlx5e_ethtool_set_channels()
471 netdev_err(priv->netdev, "%s: Non-default RSS contexts exist (%d), cannot change the number of channels\n", in mlx5e_ethtool_set_channels()
481 netdev_err(priv->netdev, "%s: MQPRIO mode channel offload is active, cannot change the number of channels\n", in mlx5e_ethtool_set_channels()
491 arfs_enabled = opened && (priv->netdev in mlx5e_ethtool_set_channels()
548 mlx5e_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) mlx5e_get_coalesce() argument
698 mlx5e_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal, struct kernel_ethtool_coalesce *kernel_coal, struct netlink_ext_ack *extack) mlx5e_set_coalesce() argument
891 get_speed_duplex(struct net_device *netdev, u32 eth_proto_oper, bool force_legacy, u16 data_rate_oper, struct ethtool_link_ksettings *link_ksettings) get_speed_duplex() argument
1087 mlx5e_get_link_ksettings(struct net_device *netdev, struct ethtool_link_ksettings *link_ksettings) mlx5e_get_link_ksettings() argument
1095 mlx5e_speed_validate(struct net_device *netdev, bool ext, const unsigned long link_modes, u8 autoneg) mlx5e_speed_validate() argument
1233 mlx5e_set_link_ksettings(struct net_device *netdev, const struct ethtool_link_ksettings *link_ksettings) mlx5e_set_link_ksettings() argument
1246 mlx5e_get_rxfh_key_size(struct net_device *netdev) mlx5e_get_rxfh_key_size() argument
1258 mlx5e_get_rxfh_indir_size(struct net_device *netdev) mlx5e_get_rxfh_indir_size() argument
1306 mlx5e_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key, u8 *hfunc) mlx5e_get_rxfh() argument
1333 mlx5e_get_pfc_prevention_tout(struct net_device *netdev, u16 *pfc_prevention_tout) mlx5e_get_pfc_prevention_tout() argument
1346 mlx5e_set_pfc_prevention_tout(struct net_device *netdev, u16 pfc_preven) mlx5e_set_pfc_prevention_tout() argument
1416 mlx5e_get_pause_stats(struct net_device *netdev, struct ethtool_pause_stats *pause_stats) mlx5e_get_pause_stats() argument
1438 mlx5e_get_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pauseparam) mlx5e_get_pauseparam() argument
1469 mlx5e_set_pauseparam(struct net_device *netdev, struct ethtool_pauseparam *pauseparam) mlx5e_set_pauseparam() argument
1593 mlx5e_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) mlx5e_get_wol() argument
1614 mlx5e_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) mlx5e_set_wol() argument
1632 mlx5e_get_fec_stats(struct net_device *netdev, struct ethtool_fec_stats *fec_stats) mlx5e_get_fec_stats() argument
1640 mlx5e_get_fecparam(struct net_device *netdev, struct ethtool_fecparam *fecparam) mlx5e_get_fecparam() argument
1666 mlx5e_set_fecparam(struct net_device *netdev, struct ethtool_fecparam *fecparam) mlx5e_set_fecparam() argument
1721 mlx5e_get_module_info(struct net_device *netdev, struct ethtool_modinfo *modinfo) mlx5e_get_module_info() argument
1763 mlx5e_get_module_eeprom(struct net_device *netdev, struct ethtool_eeprom *ee, u8 *data) mlx5e_get_module_eeprom() argument
1799 mlx5e_get_module_eeprom_by_page(struct net_device *netdev, const struct ethtool_module_eeprom *page_data, struct netlink_ext_ack *extack) mlx5e_get_module_eeprom_by_page() argument
1876 set_pflag_cqe_based_moder(struct net_device *netdev, bool enable, bool is_rx_cq) set_pflag_cqe_based_moder() argument
1904 set_pflag_tx_cqe_based_moder(struct net_device *netdev, bool enable) set_pflag_tx_cqe_based_moder() argument
1909 set_pflag_rx_cqe_based_moder(struct net_device *netdev, bool enable) set_pflag_rx_cqe_based_moder() argument
1957 set_pflag_rx_cqe_compress(struct net_device *netdev, bool enable) set_pflag_rx_cqe_compress() argument
1978 set_pflag_rx_striding_rq(struct net_device *netdev, bool enable) set_pflag_rx_striding_rq() argument
2014 set_pflag_rx_no_csum_complete(struct net_device *netdev, bool enable) set_pflag_rx_no_csum_complete() argument
2036 set_pflag_tx_mpwqe_common(struct net_device *netdev, u32 flag, bool enable) set_pflag_tx_mpwqe_common() argument
2052 set_pflag_xdp_tx_mpwqe(struct net_device *netdev, bool enable) set_pflag_xdp_tx_mpwqe() argument
2057 set_pflag_skb_tx_mpwqe(struct net_device *netdev, bool enable) set_pflag_skb_tx_mpwqe() argument
2062 set_pflag_tx_port_ts(struct net_device *netdev, bool enable) set_pflag_tx_port_ts() argument
2120 mlx5e_handle_pflag(struct net_device *netdev, u32 wanted_flags, enum mlx5e_priv_flag flag) mlx5e_handle_pflag() argument
2143 mlx5e_set_priv_flags(struct net_device *netdev, u32 pflags) mlx5e_set_priv_flags() argument
2165 mlx5e_get_priv_flags(struct net_device *netdev) mlx5e_get_priv_flags() argument
2367 mlx5e_get_eth_phy_stats(struct net_device *netdev, struct ethtool_eth_phy_stats *phy_stats) mlx5e_get_eth_phy_stats() argument
2375 mlx5e_get_eth_mac_stats(struct net_device *netdev, struct ethtool_eth_mac_stats *mac_stats) mlx5e_get_eth_mac_stats() argument
2383 mlx5e_get_eth_ctrl_stats(struct net_device *netdev, struct ethtool_eth_ctrl_stats *ctrl_stats) mlx5e_get_eth_ctrl_stats() argument
2391 mlx5e_get_rmon_stats(struct net_device *netdev, struct ethtool_rmon_stats *rmon_stats, const struct ethtool_rmon_hist_range **ranges) mlx5e_get_rmon_stats() argument
[all...]

Completed in 28 milliseconds

12345678910>>...69