| /linux-6.15/drivers/net/ethernet/sfc/ |
| H A D | efx.h | 18 int efx_net_open(struct net_device *net_dev); 19 int efx_net_stop(struct net_device *net_dev); 24 struct net_device *net_dev); 205 struct net_device *dev = efx->net_dev; in efx_device_detach_sync() 222 netif_device_attach(efx->net_dev); in efx_device_attach_if_not_resetting()
|
| H A D | mcdi_functions.c | 53 netif_dbg(efx, drv, efx->net_dev, "base VI is A0x%03x\n", in efx_mcdi_alloc_vis() 127 netif_dbg(efx, drv, efx->net_dev, in efx_mcdi_ev_init() 187 netif_dbg(efx, hw, efx->net_dev, "pushing TXQ %d. %zu entries (%llx)\n", in efx_mcdi_tx_init() 223 netif_warn(efx, probe, efx->net_dev, in efx_mcdi_tx_init() 311 netif_dbg(efx, hw, efx->net_dev, "pushing RXQ %d. %zu entries (%llx)\n", in efx_mcdi_rx_init() 322 netdev_WARN(efx->net_dev, "failed to initialise RXQ %d\n", in efx_mcdi_rx_init() 384 netif_err(efx, hw, efx->net_dev, "failed to flush %d queues\n", in efx_fini_dmaq() 406 netif_err(efx, probe, efx->net_dev, in efx_mcdi_window_mode_to_stride() 411 netif_dbg(efx, probe, efx->net_dev, "vi_stride = %u\n", in efx_mcdi_window_mode_to_stride()
|
| H A D | io.h | 87 netif_vdbg(efx, hw, efx->net_dev, in efx_writeo() 108 netif_vdbg(efx, hw, efx->net_dev, in efx_writed() 129 netif_vdbg(efx, hw, efx->net_dev, in efx_reado() 139 netif_vdbg(efx, hw, efx->net_dev, in efx_readd() 178 netif_vdbg(efx, hw, efx->net_dev, in _efx_writeo_page()
|
| H A D | mcdi.c | 324 netif_err(efx, hw, efx->net_dev, in efx_mcdi_read_response_header() 575 netif_err(efx, hw, efx->net_dev, in efx_mcdi_ev_cpl() 664 netif_err(efx, hw, efx->net_dev, in _efx_mcdi_rpc_finish() 669 netif_err(efx, hw, efx->net_dev, in _efx_mcdi_rpc_finish() 786 netif_dbg(efx, hw, efx->net_dev, in efx_mcdi_proxy_wait() 827 netif_dbg(efx, hw, efx->net_dev, in _efx_mcdi_rpc() 877 netif_dbg(efx, hw, efx->net_dev, in _efx_mcdi_rpc_evb_retry() 1300 netif_err(efx, hw, efx->net_dev, in efx_mcdi_process_event() 1323 netif_dbg(efx, hw, efx->net_dev, in efx_mcdi_process_event() 1360 netif_err(efx, hw, efx->net_dev, in efx_mcdi_process_event() [all …]
|
| H A D | tc_counters.c | 164 netif_warn(efx, hw, efx->net_dev, in efx_tc_flower_allocate_counter() 181 netif_warn(efx, hw, efx->net_dev, in efx_tc_flower_release_counter() 274 netif_warn(efx, drv, efx->net_dev, in efx_tc_handle_no_channel() 306 netif_warn(efx, drv, efx->net_dev, in efx_tc_stop_channel() 338 netif_dbg(efx, drv, efx->net_dev, in efx_tc_counter_update() 446 netif_err(efx, drv, efx->net_dev, in efx_tc_rx_version_2() 457 netif_err(efx, drv, efx->net_dev, in efx_tc_rx_version_2() 493 netdev_warn_once(efx->net_dev, in efx_tc_rx_version_2() 532 netif_err(efx, drv, efx->net_dev, in efx_tc_rx()
|
| H A D | ef100_tx.c | 36 netdev_get_tx_queue(tx_queue->efx->net_dev, in ef100_tx_init() 48 netdev_WARN(tx_queue->efx->net_dev, in ef100_tx_init() 64 if (!(efx->net_dev->features & NETIF_F_TSO)) in ef100_tx_can_tso() 178 if (likely(efx->net_dev->features & NETIF_F_HW_CSUM)) in ef100_make_send_desc() 180 if (efx->net_dev->features & NETIF_F_HW_VLAN_CTAG_TX && in ef100_make_send_desc() 205 if (efx->net_dev->features & NETIF_F_HW_VLAN_CTAG_TX) in ef100_make_tso_desc() 387 netif_stop_queue(efx->net_dev); in __ef100_enqueue_skb()
|
| H A D | tx_common.c | 34 netif_dbg(efx, probe, efx->net_dev, in efx_probe_tx_queue() 72 netif_dbg(efx, drv, efx->net_dev, in efx_init_tx_queue() 107 netif_dbg(tx_queue->efx, drv, tx_queue->efx->net_dev, in efx_fini_tx_queue() 139 netif_dbg(tx_queue->efx, drv, tx_queue->efx->net_dev, in efx_remove_tx_queue() 202 netif_vdbg(tx_queue->efx, tx_done, tx_queue->efx->net_dev, in efx_dequeue_buffer() 240 netif_err(efx, tx_err, efx->net_dev, in efx_dequeue_buffers() 294 likely(netif_device_present(efx->net_dev))) { in efx_xmit_done()
|
| H A D | tx.c | 442 HARD_TX_LOCK(efx->net_dev, tx_queue->core_txq, cpu); in efx_xdp_tx_buffers() 493 HARD_TX_UNLOCK(efx->net_dev, tx_queue->core_txq); in efx_xdp_tx_buffers() 505 struct net_device *net_dev) in efx_hard_start_xmit() argument 507 struct efx_nic *efx = efx_netdev_priv(net_dev); in efx_hard_start_xmit() 511 EFX_WARN_ON_PARANOID(!netif_device_present(net_dev)); in efx_hard_start_xmit() 562 netif_err(efx, hw, efx->net_dev, in efx_xmit_done_single() 596 netdev_get_tx_queue(efx->net_dev, in efx_init_tx_queue_core_txq()
|
| H A D | tc_encap_actions.c | 418 netif_err(efx, drv, efx->net_dev, in efx_gen_encap_header() 450 netif_err(efx, drv, efx->net_dev, in efx_tc_update_encap() 454 netif_dbg(efx, drv, efx->net_dev, "Updated (f) rule %08x\n", in efx_tc_update_encap() 476 netif_err(efx, drv, efx->net_dev, in efx_tc_update_encap() 481 netif_dbg(efx, drv, efx->net_dev, "Updated encap hdr %08x\n", in efx_tc_update_encap() 495 netif_err(efx, drv, efx->net_dev, in efx_tc_update_encap() 499 netif_dbg(efx, drv, efx->net_dev, "Updated rule %08x\n", in efx_tc_update_encap() 540 netif_warn(efx, drv, efx->net_dev, "neigh_event with no parms!\n"); in efx_neigh_event() 545 netif_warn(efx, drv, efx->net_dev, "neigh_event with bad key_len %u\n", in efx_neigh_event() 715 void efx_tc_unregister_egdev(struct efx_nic *efx, struct net_device *net_dev) in efx_tc_unregister_egdev() argument [all …]
|
| /linux-6.15/drivers/net/can/sja1000/ |
| H A D | f81601.c | 38 struct net_device *net_dev[F81601_PCI_MAX_CHAN]; member 79 for (i = 0; i < ARRAY_SIZE(card->net_dev); i++) { in f81601_pci_remove() 80 dev = card->net_dev[i]; in f81601_pci_remove() 145 count = ARRAY_SIZE(card->net_dev); in f81601_pci_probe() 186 card->net_dev[i] = dev; in f81601_pci_probe()
|
| H A D | ems_pcmcia.c | 31 struct net_device *net_dev[EMS_PCMCIA_MAX_CHAN]; member 97 dev = card->net_dev[i]; in ems_pcmcia_interrupt() 139 dev = card->net_dev[i]; in ems_pcmcia_del_card() 201 card->net_dev[i] = dev; in ems_pcmcia_add_card()
|
| /linux-6.15/drivers/net/ethernet/sfc/falcon/ |
| H A D | nic.c | 86 netif_err(efx, drv, efx->net_dev, in ef4_nic_init_interrupt() 96 efx->net_dev->rx_cpu_rmap = in ef4_nic_init_interrupt() 98 if (!efx->net_dev->rx_cpu_rmap) { in ef4_nic_init_interrupt() 113 netif_err(efx, drv, efx->net_dev, in ef4_nic_init_interrupt() 122 rc = irq_cpu_rmap_add(efx->net_dev->rx_cpu_rmap, in ef4_nic_init_interrupt() 134 free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); in ef4_nic_init_interrupt() 135 efx->net_dev->rx_cpu_rmap = NULL; in ef4_nic_init_interrupt() 151 free_irq_cpu_rmap(efx->net_dev->rx_cpu_rmap); in ef4_nic_fini_interrupt() 152 efx->net_dev->rx_cpu_rmap = NULL; in ef4_nic_fini_interrupt()
|
| H A D | mdio_10g.h | 24 return efx->mdio.mdio_read(efx->net_dev, efx->mdio.prtad, devad, addr); in ef4_mdio_read() 30 efx->mdio.mdio_write(efx->net_dev, efx->mdio.prtad, devad, addr, value); in ef4_mdio_write() 51 netif_dbg(efx, hw, efx->net_dev, "XGXS lane status: %x\n", in ef4_mdio_phyxgxs_lane_sync()
|
| H A D | falcon_boards.c | 161 netif_err(efx, hw, efx->net_dev, in ef4_check_lm87() 301 netif_info(efx, hw, efx->net_dev, "power-cycling PHY\n"); in sfe4001_poweron() 327 netif_info(efx, hw, efx->net_dev, in sfe4001_poweron() 350 netif_info(efx, hw, efx->net_dev, "timed out waiting for DSP boot\n"); in sfe4001_poweron() 380 } else if (efx->state != STATE_READY || netif_running(efx->net_dev)) { in phy_flash_cfg_store() 405 netif_info(efx, drv, efx->net_dev, "%s\n", __func__); in sfe4001_fini() 490 netif_info(efx, hw, efx->net_dev, "PHY is powered on\n"); in sfe4001_init() 757 netif_err(efx, probe, efx->net_dev, "unknown board type %d\n", in falcon_probe_board()
|
| /linux-6.15/drivers/crypto/caam/ |
| H A D | qi.c | 60 struct net_device *net_dev; member 147 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev->dev); in caam_fq_ern_cb() 533 free_netdev(per_cpu(pcpu_qipriv.net_dev, i)); in caam_qi_shutdown() 577 struct device *qidev = &(raw_cpu_ptr(&pcpu_qipriv)->net_dev->dev); in caam_rsp_fq_dqrr_cb() 729 free_netdev(priv->net_dev); in free_caam_qi_pcpu_netdev() 769 struct net_device *net_dev; in caam_qi_init() local 771 net_dev = alloc_netdev_dummy(0); in caam_qi_init() 772 if (!net_dev) { in caam_qi_init() 777 priv->net_dev = net_dev; in caam_qi_init() 778 net_dev->dev = *qidev; in caam_qi_init() [all …]
|
| /linux-6.15/drivers/net/ethernet/sfc/siena/ |
| H A D | efx.h | 18 struct net_device *net_dev); 26 int efx_siena_setup_tc(struct net_device *net_dev, enum tc_setup_type type, 189 struct net_device *dev = efx->net_dev; in efx_device_detach_sync() 203 netif_device_attach(efx->net_dev); in efx_device_attach_if_not_resetting()
|
| H A D | siena_sriov.c | 335 netif_warn(efx, hw, efx->net_dev, in efx_siena_sriov_reset_tx_filter() 375 netif_warn(efx, hw, efx->net_dev, in efx_siena_sriov_reset_rx_filter() 543 netif_err(efx, hw, efx->net_dev, in efx_vfdi_init_evq() 586 netif_err(efx, hw, efx->net_dev, in efx_vfdi_init_rxq() 627 netif_err(efx, hw, efx->net_dev, in efx_vfdi_init_txq() 906 netif_dbg(efx, hw, efx->net_dev, in efx_siena_sriov_vfdi() 1023 netif_err(efx, drv, efx->net_dev, in efx_siena_sriov_handle_no_channel() 1289 struct net_device *net_dev = efx->net_dev; in efx_siena_sriov_init() local 1346 netif_info(efx, probe, net_dev, in efx_siena_sriov_init() 1417 netif_vdbg(efx, hw, efx->net_dev, in efx_siena_sriov_event() [all …]
|
| H A D | tx_common.c | 34 netif_dbg(efx, probe, efx->net_dev, in efx_siena_probe_tx_queue() 72 netif_dbg(efx, drv, efx->net_dev, in efx_siena_init_tx_queue() 105 netif_dbg(tx_queue->efx, drv, tx_queue->efx->net_dev, in efx_siena_remove_tx_queue() 159 netif_vdbg(tx_queue->efx, tx_done, tx_queue->efx->net_dev, in efx_dequeue_buffer() 174 netif_dbg(tx_queue->efx, drv, tx_queue->efx->net_dev, in efx_siena_fini_tx_queue() 213 netif_err(efx, tx_err, efx->net_dev, in efx_dequeue_buffers() 261 likely(netif_device_present(efx->net_dev))) { in efx_siena_xmit_done()
|
| /linux-6.15/net/batman-adv/ |
| H A D | bridge_loop_avoidance.c | 370 primary_if->net_dev->dev_addr, in batadv_bla_send_claim() 572 primary_if->net_dev->dev_addr, in batadv_bla_update_own_backbone_gw() 605 primary_if->net_dev->dev_addr, in batadv_bla_answer_request() 1296 primary_if->net_dev->dev_addr)) in batadv_bla_purge_claims() 1363 oldif->net_dev->dev_addr)) in batadv_bla_update_orig_address() 1367 primary_if->net_dev->dev_addr); in batadv_bla_update_orig_address() 1476 primary_if->net_dev->dev_addr)) in batadv_bla_periodic_work() 1862 primary_if->net_dev->dev_addr, in batadv_bla_loopdetect_check() 1959 primary_if->net_dev->dev_addr, in batadv_bla_rx() 1992 primary_if->net_dev->dev_addr, in batadv_bla_rx() [all …]
|
| H A D | distributed-arp-table.h | 26 void batadv_dat_status_update(struct net_device *net_dev); 68 addr = batadv_choose_orig(primary_if->net_dev->dev_addr, in batadv_dat_init_own_addr() 102 static inline void batadv_dat_status_update(struct net_device *net_dev) in batadv_dat_status_update() argument
|
| H A D | send.c | 76 if (unlikely(!hard_iface->net_dev)) in batadv_send_skb_packet() 79 if (!(hard_iface->net_dev->flags & IFF_UP)) { in batadv_send_skb_packet() 81 hard_iface->net_dev->name); in batadv_send_skb_packet() 92 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet() 99 skb->dev = hard_iface->net_dev; in batadv_send_skb_packet() 195 skb->len > neigh_node->if_incoming->net_dev->mtu) { in batadv_send_skb_to_orig() 305 ether_addr_copy(uc_4addr_packet->src, primary_if->net_dev->dev_addr); in batadv_send_skb_prepare_unicast_4addr() 896 if_out->net_dev->name, type); in batadv_send_no_broadcast() 1116 __func__, hard_iface->net_dev->name); in batadv_purge_outstanding_packets()
|
| H A D | bat_v_ogm.c | 165 unsigned int max = min_t(unsigned int, hard_iface->net_dev->mtu, in batadv_v_ogm_queue_left() 330 hard_iface->net_dev->name, type); in batadv_v_ogm_send_meshif() 340 hard_iface->net_dev->name, in batadv_v_ogm_send_meshif() 341 hard_iface->net_dev->dev_addr); in batadv_v_ogm_send_meshif() 446 ether_addr_copy(ogm_packet->orig, primary_iface->net_dev->dev_addr); in batadv_v_ogm_primary_iface_set() 567 skb = netdev_alloc_skb_ip_align(if_outgoing->net_dev, in batadv_v_ogm_forward() 582 if_outgoing->net_dev->name, ntohl(ogm_forward->throughput), in batadv_v_ogm_forward() 583 ogm_forward->ttl, if_incoming->net_dev->name); in batadv_v_ogm_forward() 871 ethhdr->h_source, if_incoming->net_dev->name, in batadv_v_ogm_process() 872 if_incoming->net_dev->dev_addr, ogm_packet->orig, in batadv_v_ogm_process() [all …]
|
| H A D | bat_v_elp.c | 115 real_netdev = batadv_get_real_netdev(hard_iface->net_dev); in batadv_v_elp_get_throughput() 165 ret = __ethtool_get_link_ksettings(hard_iface->net_dev, &link_settings); in batadv_v_elp_get_throughput() 185 hard_iface->net_dev->name, in batadv_v_elp_get_throughput() 269 hard_iface->net_dev->name, neigh->addr); in batadv_v_elp_wifi_neigh_probe() 323 hard_iface->net_dev->name, in batadv_v_elp_periodic_work() 464 primary_iface->net_dev->dev_addr); in batadv_v_elp_iface_activate()
|
| /linux-6.15/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_eth.h | 36 struct net_device *net_dev; member 106 struct net_device *net_dev; member 137 struct net_device *net_dev; member
|
| /linux-6.15/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-xsk.c | 66 err = xdp_do_redirect(priv->net_dev, xdp_buff, xdp_prog); in dpaa2_xsk_run_xdp() 85 bpf_warn_invalid_xdp_action(priv->net_dev, xdp_prog, xdp_act); in dpaa2_xsk_run_xdp() 88 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa2_xsk_run_xdp() 116 trace_dpaa2_rx_xsk_fd(priv->net_dev, fd); in dpaa2_xsk_rx() 244 err = xsk_pool_dma_map(pool, priv->net_dev->dev.parent, 0); in dpaa2_xsk_enable_pool() 337 struct device *dev = priv->net_dev->dev.parent; in dpaa2_xsk_tx_build_fd() 422 trace_dpaa2_tx_xsk_fd(priv->net_dev, &fds[i]); in dpaa2_xsk_tx()
|