/Linux-v5.10/drivers/net/wimax/i2400m/ |
D | netdev.c | 86 int i2400m_open(struct net_device *net_dev) in i2400m_open() argument 89 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); in i2400m_open() 92 d_fnstart(3, dev, "(net_dev %p [i2400m %p])\n", net_dev, i2400m); in i2400m_open() 101 net_dev, i2400m, result); in i2400m_open() 107 int i2400m_stop(struct net_device *net_dev) in i2400m_stop() argument 109 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); in i2400m_stop() 112 d_fnstart(3, dev, "(net_dev %p [i2400m %p])\n", net_dev, i2400m); in i2400m_stop() 114 d_fnend(3, dev, "(net_dev %p [i2400m %p]) = 0\n", net_dev, i2400m); in i2400m_stop() 142 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400m_wake_tx_work() local 161 if (unlikely(!netif_carrier_ok(net_dev))) in i2400m_wake_tx_work() [all …]
|
/Linux-v5.10/drivers/net/ethernet/sis/ |
D | sis900.c | 119 static void sis900_read_mode(struct net_device *net_dev, int *speed, int *duplex); 217 static int sis900_open(struct net_device *net_dev); 218 static int sis900_mii_probe (struct net_device * net_dev); 219 static void sis900_init_rxfilter (struct net_device * net_dev); 221 static int mdio_read(struct net_device *net_dev, int phy_id, int location); 222 static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val); 224 static void sis900_check_mode (struct net_device *net_dev, struct mii_phy *mii_phy); 225 static void sis900_tx_timeout(struct net_device *net_dev, unsigned int txqueue); 226 static void sis900_init_tx_ring(struct net_device *net_dev); 227 static void sis900_init_rx_ring(struct net_device *net_dev); [all …]
|
/Linux-v5.10/drivers/net/ethernet/sfc/ |
D | ethtool_common.h | 14 void efx_ethtool_get_drvinfo(struct net_device *net_dev, 16 u32 efx_ethtool_get_msglevel(struct net_device *net_dev); 17 void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable); 18 void efx_ethtool_self_test(struct net_device *net_dev, 20 void efx_ethtool_get_pauseparam(struct net_device *net_dev, 22 int efx_ethtool_set_pauseparam(struct net_device *net_dev, 27 int efx_ethtool_get_sset_count(struct net_device *net_dev, int string_set); 28 void efx_ethtool_get_strings(struct net_device *net_dev, u32 string_set, 30 void efx_ethtool_get_stats(struct net_device *net_dev, 33 int efx_ethtool_get_link_ksettings(struct net_device *net_dev, [all …]
|
D | ef100_netdev.c | 28 strcpy(efx->name, efx->net_dev->name); in ef100_update_name() 66 netif_err(efx, probe, efx->net_dev, in ef100_remap_bar() 80 static int ef100_net_stop(struct net_device *net_dev) in ef100_net_stop() argument 82 struct efx_nic *efx = netdev_priv(net_dev); in ef100_net_stop() 84 netif_dbg(efx, ifdown, efx->net_dev, "closing on CPU %d\n", in ef100_net_stop() 87 netif_stop_queue(net_dev); in ef100_net_stop() 103 static int ef100_net_open(struct net_device *net_dev) in ef100_net_open() argument 105 struct efx_nic *efx = netdev_priv(net_dev); in ef100_net_open() 110 netif_dbg(efx, ifup, net_dev, "opening device on CPU %d\n", in ef100_net_open() 178 ef100_net_stop(net_dev); in ef100_net_open() [all …]
|
D | efx.c | 128 netif_dbg(efx, probe, efx->net_dev, "create port\n"); in efx_probe_port() 139 ether_addr_copy(efx->net_dev->dev_addr, efx->net_dev->perm_addr); in efx_probe_port() 148 netif_dbg(efx, drv, efx->net_dev, "init port\n"); in efx_init_port() 169 netif_dbg(efx, drv, efx->net_dev, "shut down port\n"); in efx_fini_port() 182 netif_dbg(efx, drv, efx->net_dev, "destroying port\n"); in efx_remove_port() 210 netif_dbg(efx, probe, efx->net_dev, "adding to primary list\n"); in efx_associate() 217 netif_dbg(other, probe, other->net_dev, in efx_associate() 220 efx->net_dev->name); in efx_associate() 231 netif_dbg(efx, probe, efx->net_dev, in efx_associate() 234 other->net_dev->name); in efx_associate() [all …]
|
D | efx_common.c | 167 int efx_set_mac_address(struct net_device *net_dev, void *data) in efx_set_mac_address() argument 169 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_mac_address() 176 netif_err(efx, drv, efx->net_dev, in efx_set_mac_address() 183 ether_addr_copy(old_addr, net_dev->dev_addr); in efx_set_mac_address() 184 ether_addr_copy(net_dev->dev_addr, new_addr); in efx_set_mac_address() 188 ether_addr_copy(net_dev->dev_addr, old_addr); in efx_set_mac_address() 202 void efx_set_rx_mode(struct net_device *net_dev) in efx_set_rx_mode() argument 204 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_rx_mode() 211 int efx_set_features(struct net_device *net_dev, netdev_features_t data) in efx_set_features() argument 213 struct efx_nic *efx = netdev_priv(net_dev); in efx_set_features() [all …]
|
D | ethtool.c | 33 static int efx_ethtool_phys_id(struct net_device *net_dev, in efx_ethtool_phys_id() argument 36 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_phys_id() 56 static int efx_ethtool_get_regs_len(struct net_device *net_dev) in efx_ethtool_get_regs_len() argument 58 return efx_nic_get_regs_len(netdev_priv(net_dev)); in efx_ethtool_get_regs_len() 61 static void efx_ethtool_get_regs(struct net_device *net_dev, in efx_ethtool_get_regs() argument 64 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_regs() 99 static int efx_ethtool_get_coalesce(struct net_device *net_dev, in efx_ethtool_get_coalesce() argument 102 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_coalesce() 117 static int efx_ethtool_set_coalesce(struct net_device *net_dev, in efx_ethtool_set_coalesce() argument 120 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_coalesce() [all …]
|
D | ef100.c | 73 netif_dbg(efx, probe, efx->net_dev, in ef100_pci_parse_ef100_entry() 78 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_ef100_entry() 85 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_ef100_entry() 127 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_continue_entry() 137 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_continue_entry() 148 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_continue_entry() 166 netif_err(efx, probe, efx->net_dev, in ef100_pci_parse_continue_entry() 196 netif_dbg(efx, probe, efx->net_dev, in ef100_pci_walk_xilinx_table() 201 netif_err(efx, probe, efx->net_dev, in ef100_pci_walk_xilinx_table() 210 netif_err(efx, probe, efx->net_dev, in ef100_pci_walk_xilinx_table() [all …]
|
D | sriov.c | 11 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac) in efx_sriov_set_vf_mac() argument 13 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_mac() 21 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan, in efx_sriov_set_vf_vlan() argument 24 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_vlan() 40 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_spoofchk() argument 43 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_spoofchk() 51 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i, in efx_sriov_get_vf_config() argument 54 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_get_vf_config() 62 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i, in efx_sriov_set_vf_link_state() argument 65 struct efx_nic *efx = netdev_priv(net_dev); in efx_sriov_set_vf_link_state()
|
D | efx_common.h | 18 struct net_device *net_dev); 34 void efx_net_stats(struct net_device *net_dev, struct rtnl_link_stats64 *stats); 56 void efx_watchdog(struct net_device *net_dev, unsigned int txqueue); 68 netif_err(efx, drv, efx->net_dev, in efx_check_disabled() 77 netif_vdbg(channel->efx, intr, channel->efx->net_dev, in efx_schedule_channel() 99 int efx_set_mac_address(struct net_device *net_dev, void *data); 100 void efx_set_rx_mode(struct net_device *net_dev); 101 int efx_set_features(struct net_device *net_dev, netdev_features_t data); 104 int efx_change_mtu(struct net_device *net_dev, int new_mtu); 111 int efx_get_phys_port_id(struct net_device *net_dev, [all …]
|
/Linux-v5.10/net/batman-adv/ |
D | hard-interface.c | 54 dev_put(hard_iface->net_dev); in batadv_hardif_release() 66 batadv_hardif_get_by_netdev(const struct net_device *net_dev) in batadv_hardif_get_by_netdev() argument 72 if (hard_iface->net_dev == net_dev && in batadv_hardif_get_by_netdev() 149 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface() argument 151 struct net *net = dev_net(net_dev); in batadv_is_on_batman_iface() 157 if (batadv_softif_is_valid(net_dev)) in batadv_is_on_batman_iface() 161 if (dev_get_iflink(net_dev) == 0 || in batadv_is_on_batman_iface() 162 dev_get_iflink(net_dev) == net_dev->ifindex) in batadv_is_on_batman_iface() 165 parent_net = batadv_getlink_net(net_dev, net); in batadv_is_on_batman_iface() 169 dev_get_iflink(net_dev)); in batadv_is_on_batman_iface() [all …]
|
D | debugfs.c | 62 struct net_device *net_dev = (struct net_device *)inode->i_private; in neighbors_open() local 66 return single_open(file, batadv_hardif_neigh_seq_print_text, net_dev); in neighbors_open() 71 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_open() local 75 return single_open(file, batadv_orig_seq_print_text, net_dev); in batadv_originators_open() 89 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_originators_hardif_open() local 93 return single_open(file, batadv_orig_hardif_seq_print_text, net_dev); in batadv_originators_hardif_open() 98 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_gateways_open() local 102 return single_open(file, batadv_gw_client_seq_print_text, net_dev); in batadv_gateways_open() 107 struct net_device *net_dev = (struct net_device *)inode->i_private; in batadv_transtable_global_open() local 111 return single_open(file, batadv_tt_global_seq_print_text, net_dev); in batadv_transtable_global_open() [all …]
|
D | sysfs.c | 65 struct net_device *net_dev = batadv_kobj_to_netdev(obj); in batadv_kobj_to_batpriv() local 67 return netdev_priv(net_dev); in batadv_kobj_to_batpriv() 141 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ 142 struct batadv_priv *bat_priv = netdev_priv(net_dev); \ 147 &bat_priv->_name, net_dev); \ 180 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ 181 struct batadv_priv *bat_priv = netdev_priv(net_dev); \ 187 &bat_priv->_var, net_dev, \ 264 struct net_device *net_dev = batadv_kobj_to_netdev(kobj); \ 270 hard_iface = batadv_hardif_get_by_netdev(net_dev); \ [all …]
|
/Linux-v5.10/drivers/net/ethernet/ |
D | lantiq_xrx200.c | 71 struct net_device *net_dev; member 115 static int xrx200_open(struct net_device *net_dev) in xrx200_open() argument 117 struct xrx200_priv *priv = netdev_priv(net_dev); in xrx200_open() 135 netif_wake_queue(net_dev); in xrx200_open() 140 static int xrx200_close(struct net_device *net_dev) in xrx200_close() argument 142 struct xrx200_priv *priv = netdev_priv(net_dev); in xrx200_close() 144 netif_stop_queue(net_dev); in xrx200_close() 159 ch->skb[ch->dma.desc] = netdev_alloc_skb_ip_align(ch->priv->net_dev, in xrx200_alloc_skb() 190 struct net_device *net_dev = priv->net_dev; in xrx200_hw_receive() local 199 netdev_err(net_dev, "failed to allocate new rx buffer\n"); in xrx200_hw_receive() [all …]
|
D | ec_bhf.c | 123 struct net_device *net_dev; member 185 if (unlikely(netif_queue_stopped(priv->net_dev))) { in ec_bhf_process_tx() 190 netif_wake_queue(priv->net_dev); in ec_bhf_process_tx() 215 skb = netdev_alloc_skb_ip_align(priv->net_dev, pkt_size); in ec_bhf_process_rx() 218 skb->protocol = eth_type_trans(skb, priv->net_dev); in ec_bhf_process_rx() 244 if (!netif_running(priv->net_dev)) in ec_bhf_timer_fun() 283 struct net_device *net_dev) in ec_bhf_start_xmit() argument 285 struct ec_bhf_priv *priv = netdev_priv(net_dev); in ec_bhf_start_xmit() 308 netif_stop_queue(net_dev); in ec_bhf_start_xmit() 392 static int ec_bhf_open(struct net_device *net_dev) in ec_bhf_open() argument [all …]
|
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/ |
D | efx.c | 218 netif_err(efx, drv, efx->net_dev, in ef4_check_disabled() 304 netif_vdbg(efx, intr, efx->net_dev, in ef4_poll() 341 netif_dbg(efx, probe, efx->net_dev, in ef4_probe_eventq() 361 netif_dbg(efx, drv, efx->net_dev, in ef4_init_eventq() 376 netif_dbg(channel->efx, ifup, channel->efx->net_dev, in ef4_start_eventq() 402 netif_dbg(channel->efx, drv, channel->efx->net_dev, in ef4_fini_eventq() 411 netif_dbg(channel->efx, drv, channel->efx->net_dev, in ef4_remove_eventq() 499 netif_dbg(channel->efx, probe, channel->efx->net_dev, in ef4_probe_channel() 574 netif_err(efx, probe, efx->net_dev, in ef4_probe_channels() 595 netdev_features_t old_features = efx->net_dev->features; in ef4_start_datapath() [all …]
|
D | ethtool.c | 90 static int ef4_ethtool_phys_id(struct net_device *net_dev, in ef4_ethtool_phys_id() argument 93 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_phys_id() 116 ef4_ethtool_get_link_ksettings(struct net_device *net_dev, in ef4_ethtool_get_link_ksettings() argument 119 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_link_ksettings() 140 ef4_ethtool_set_link_ksettings(struct net_device *net_dev, in ef4_ethtool_set_link_ksettings() argument 143 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_set_link_ksettings() 149 netif_dbg(efx, drv, efx->net_dev, in ef4_ethtool_set_link_ksettings() 160 static void ef4_ethtool_get_drvinfo(struct net_device *net_dev, in ef4_ethtool_get_drvinfo() argument 163 struct ef4_nic *efx = netdev_priv(net_dev); in ef4_ethtool_get_drvinfo() 170 static int ef4_ethtool_get_regs_len(struct net_device *net_dev) in ef4_ethtool_get_regs_len() argument [all …]
|
D | selftest.c | 137 netif_dbg(efx, drv, efx->net_dev, "testing interrupts\n"); in ef4_test_interrupts() 142 netif_dbg(efx, drv, efx->net_dev, in ef4_test_interrupts() 152 netif_dbg(efx, drv, efx->net_dev, "waiting for test interrupt\n"); in ef4_test_interrupts() 161 netif_err(efx, drv, efx->net_dev, "timed out waiting for interrupt\n"); in ef4_test_interrupts() 165 netif_dbg(efx, drv, efx->net_dev, "%s test interrupt seen on CPU%d\n", in ef4_test_interrupts() 225 netif_dbg(efx, drv, efx->net_dev, in ef4_test_eventq_irq() 234 netif_err(efx, drv, efx->net_dev, in ef4_test_eventq_irq() 238 netif_err(efx, drv, efx->net_dev, in ef4_test_eventq_irq() 243 netif_err(efx, drv, efx->net_dev, in ef4_test_eventq_irq() 267 netif_info(efx, drv, efx->net_dev, in ef4_test_phy() [all …]
|
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 223 static int dpaa_netdev_init(struct net_device *net_dev, in dpaa_netdev_init() argument 227 struct dpaa_priv *priv = netdev_priv(net_dev); in dpaa_netdev_init() 228 struct device *dev = net_dev->dev.parent; in dpaa_netdev_init() 238 percpu_priv->net_dev = net_dev; in dpaa_netdev_init() 241 net_dev->netdev_ops = dpaa_ops; in dpaa_netdev_init() 244 net_dev->mem_start = priv->mac_dev->res->start; in dpaa_netdev_init() 245 net_dev->mem_end = priv->mac_dev->res->end; in dpaa_netdev_init() 247 net_dev->min_mtu = ETH_MIN_MTU; in dpaa_netdev_init() 248 net_dev->max_mtu = dpaa_get_max_mtu(); in dpaa_netdev_init() 250 net_dev->hw_features |= (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | in dpaa_netdev_init() [all …]
|
D | dpaa_ethtool.c | 80 static int dpaa_get_link_ksettings(struct net_device *net_dev, in dpaa_get_link_ksettings() argument 83 if (!net_dev->phydev) in dpaa_get_link_ksettings() 86 phy_ethtool_ksettings_get(net_dev->phydev, cmd); in dpaa_get_link_ksettings() 91 static int dpaa_set_link_ksettings(struct net_device *net_dev, in dpaa_set_link_ksettings() argument 96 if (!net_dev->phydev) in dpaa_set_link_ksettings() 99 err = phy_ethtool_ksettings_set(net_dev->phydev, cmd); in dpaa_set_link_ksettings() 101 netdev_err(net_dev, "phy_ethtool_ksettings_set() = %d\n", err); in dpaa_set_link_ksettings() 106 static void dpaa_get_drvinfo(struct net_device *net_dev, in dpaa_get_drvinfo() argument 111 strlcpy(drvinfo->bus_info, dev_name(net_dev->dev.parent->parent), in dpaa_get_drvinfo() 115 static u32 dpaa_get_msglevel(struct net_device *net_dev) in dpaa_get_msglevel() argument [all …]
|
/Linux-v5.10/drivers/net/ethernet/broadcom/ |
D | bgmac.c | 136 struct net_device *net_dev = bgmac->net_dev; in bgmac_dma_tx_add() local 144 netdev_err(bgmac->net_dev, "Too long skb (%d)\n", skb->len); in bgmac_dma_tx_add() 157 netdev_err(bgmac->net_dev, "TX ring is full, queue should be stopped!\n"); in bgmac_dma_tx_add() 158 netif_stop_queue(net_dev); in bgmac_dma_tx_add() 193 netdev_sent_queue(net_dev, skb->len); in bgmac_dma_tx_add() 206 netif_stop_queue(net_dev); in bgmac_dma_tx_add() 224 netdev_err(bgmac->net_dev, "Mapping error of skb on ring 0x%X\n", in bgmac_dma_tx_add() 229 net_dev->stats.tx_dropped++; in bgmac_dma_tx_add() 230 net_dev->stats.tx_errors++; in bgmac_dma_tx_add() 269 bgmac->net_dev->stats.tx_bytes += slot->skb->len; in bgmac_dma_tx_free() [all …]
|
/Linux-v5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 54 if (!(priv->net_dev->features & NETIF_F_RXCSUM)) in dpaa2_eth_validate_rx_csum() 73 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_free_rx_fd() 133 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_build_frag_skb() 214 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_free_bufs() 386 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa2_eth_run_xdp() 393 dma_unmap_page(priv->net_dev->dev.parent, addr, in dpaa2_eth_run_xdp() 401 err = xdp_do_redirect(priv->net_dev, &xdp, xdp_prog); in dpaa2_eth_run_xdp() 427 struct device *dev = priv->net_dev->dev.parent; in dpaa2_eth_rx() 434 trace_dpaa2_rx_fd(priv->net_dev, fd); in dpaa2_eth_rx() 496 skb->protocol = eth_type_trans(skb, priv->net_dev); in dpaa2_eth_rx() [all …]
|
D | dpaa2-eth-dcb.c | 6 static int dpaa2_eth_dcbnl_ieee_getpfc(struct net_device *net_dev, in dpaa2_eth_dcbnl_ieee_getpfc() argument 9 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_dcbnl_ieee_getpfc() 52 netdev_err(priv->net_dev, in dpaa2_eth_set_pfc_cn() 61 static int dpaa2_eth_dcbnl_ieee_setpfc(struct net_device *net_dev, in dpaa2_eth_dcbnl_ieee_setpfc() argument 64 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_dcbnl_ieee_setpfc() 81 netdev_warn(net_dev, "Pause support must be enabled in order for PFC to work!\n"); in dpaa2_eth_dcbnl_ieee_setpfc() 91 netdev_err(net_dev, "dpni_set_link_cfg failed\n"); in dpaa2_eth_dcbnl_ieee_setpfc() 108 static u8 dpaa2_eth_dcbnl_getdcbx(struct net_device *net_dev) in dpaa2_eth_dcbnl_getdcbx() argument 110 struct dpaa2_eth_priv *priv = netdev_priv(net_dev); in dpaa2_eth_dcbnl_getdcbx() 115 static u8 dpaa2_eth_dcbnl_setdcbx(struct net_device *net_dev, u8 mode) in dpaa2_eth_dcbnl_setdcbx() argument [all …]
|
/Linux-v5.10/net/atm/ |
D | br2684.c | 84 struct net_device *net_dev; member 103 static inline struct br2684_dev *BRPRIV(const struct net_device *net_dev) in BRPRIV() argument 105 return netdev_priv(net_dev); in BRPRIV() 110 return list_entry(le, struct br2684_dev, br2684_devs)->net_dev; in list_entry_brdev() 127 struct net_device *net_dev; in br2684_find_dev() local 131 net_dev = list_entry_brdev(lh); in br2684_find_dev() 132 if (BRPRIV(net_dev)->number == s->spec.devnum) in br2684_find_dev() 133 return net_dev; in br2684_find_dev() 138 net_dev = list_entry_brdev(lh); in br2684_find_dev() 139 if (!strncmp(net_dev->name, s->spec.ifname, IFNAMSIZ)) in br2684_find_dev() [all …]
|
/Linux-v5.10/drivers/net/ethernet/qualcomm/ |
D | qca_spi.c | 88 netdev_dbg(qca->net_dev, "interrupts: 0x%04x\n", *intr_cause); in start_spi_intr_handling() 101 netdev_dbg(qca->net_dev, "acking int: 0x%04x\n", intr_cause); in end_spi_intr_handling() 281 struct net_device_stats *n_stats = &qca->net_dev->stats; in qcaspi_transmit() 323 netif_tx_lock_bh(qca->net_dev); in qcaspi_transmit() 331 if (netif_queue_stopped(qca->net_dev)) in qcaspi_transmit() 332 netif_wake_queue(qca->net_dev); in qcaspi_transmit() 333 netif_tx_unlock_bh(qca->net_dev); in qcaspi_transmit() 342 struct net_device *net_dev = qca->net_dev; in qcaspi_receive() local 343 struct net_device_stats *n_stats = &net_dev->stats; in qcaspi_receive() 350 qca->rx_skb = netdev_alloc_skb_ip_align(net_dev, in qcaspi_receive() [all …]
|