/linux-6.1.9/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-ram.c | 66 u8 num_rx, num_tx; in can_ram_get_layout() local 77 num_rx = ram_free / config->rx.size[fd_mode]; in can_ram_get_layout() 79 layout->default_rx = can_ram_rounddown_pow_of_two(config, &config->rx, 0, num_rx); in can_ram_get_layout() 86 num_rx = ram_free / config->rx.size[fd_mode]; in can_ram_get_layout() 92 layout->max_rx = can_ram_rounddown_pow_of_two(config, &config->rx, 0, num_rx); in can_ram_get_layout() 100 num_rx = can_ram_rounddown_pow_of_two(config, &config->rx, 0, ring->rx_pending); in can_ram_get_layout() 110 max = min_t(u8, num_rx / 2, config->fifo_depth); in can_ram_get_layout() 116 num_rx = can_ram_rounddown_pow_of_two(config, &config->rx, in can_ram_get_layout() 117 num_rx_coalesce, num_rx); in can_ram_get_layout() 120 ram_free = config->size - config->rx.size[fd_mode] * num_rx; in can_ram_get_layout() [all …]
|
/linux-6.1.9/drivers/net/wireless/silabs/wfx/ |
D | bh.c | 238 int num_tx, num_rx; in bh_work() local 246 num_rx = bh_work_rx(wdev, 32, &stats_cnf); in bh_work() 247 stats_ind += num_rx; in bh_work() 248 if (num_rx) in bh_work() 250 } while (num_rx || num_tx); in bh_work()
|
/linux-6.1.9/drivers/net/ethernet/ti/ |
D | cpsw_priv.c | 182 int num_rx, cur_budget, ch; in cpsw_rx_mq_poll() local 188 for (ch = 0, num_rx = 0; ch_map; ch_map >>= 1, ch++) { in cpsw_rx_mq_poll() 193 if (unlikely(rxv->budget > budget - num_rx)) in cpsw_rx_mq_poll() 194 cur_budget = budget - num_rx; in cpsw_rx_mq_poll() 198 num_rx += cpdma_chan_process(rxv->ch, cur_budget); in cpsw_rx_mq_poll() 199 if (num_rx >= budget) in cpsw_rx_mq_poll() 203 if (num_rx < budget) { in cpsw_rx_mq_poll() 204 napi_complete_done(napi_rx, num_rx); in cpsw_rx_mq_poll() 208 return num_rx; in cpsw_rx_mq_poll() 214 int num_rx; in cpsw_rx_poll() local [all …]
|
D | am65-cpsw-nuss.c | 778 int num_rx = 0; in am65_cpsw_nuss_rx_poll() local 782 cur_budget = budget - num_rx; in am65_cpsw_nuss_rx_poll() 788 num_rx++; in am65_cpsw_nuss_rx_poll() 791 if (num_rx >= budget) in am65_cpsw_nuss_rx_poll() 795 dev_dbg(common->dev, "%s num_rx:%d %d\n", __func__, num_rx, budget); in am65_cpsw_nuss_rx_poll() 797 if (num_rx < budget && napi_complete_done(napi_rx, num_rx)) { in am65_cpsw_nuss_rx_poll() 804 return num_rx; in am65_cpsw_nuss_rx_poll()
|
/linux-6.1.9/drivers/net/ethernet/ |
D | ethoc.c | 208 unsigned int num_rx; member 332 for (i = 0; i < dev->num_rx; i++) { in ethoc_init_ring() 333 if (i == dev->num_rx - 1) in ethoc_init_ring() 473 if (++priv->cur_rx == priv->num_rx) in ethoc_rx() 959 ring->rx_pending = priv->num_rx; in ethoc_get_ringparam() 986 priv->num_rx = ring->rx_pending; in ethoc_set_ringparam() 1134 priv->num_rx = num_bd - priv->num_tx; in ethoc_probe() 1137 priv->num_tx, priv->num_rx); in ethoc_probe()
|
/linux-6.1.9/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 458 for (i = 0; i < bnad->num_rx; i++) { in bnad_set_ringparam() 629 for (i = 0; i < bnad->num_rx; i++) { in bnad_get_strings() 637 for (i = 0; i < bnad->num_rx; i++) { in bnad_get_strings() 683 for (i = 0; i < bnad->num_rx; i++) { in bnad_get_stats_count_locked() 710 for (i = 0; i < bnad->num_rx; i++) { in bnad_per_q_stats_fill() 735 for (i = 0; i < bnad->num_rx; i++) { in bnad_per_q_stats_fill()
|
D | bnad.h | 97 #define BNAD_NUM_RXP (bnad->num_rx * bnad->num_rxp_per_rx) 294 u32 num_rx; member
|
D | bnad.c | 833 for (i = 0; i < bnad->num_rx; i++) { in bnad_isr() 1755 for (i = 0; i < bnad->num_rx; i++) { in bnad_dim_timeout() 2108 for (rx_id = 0; rx_id < bnad->num_rx; rx_id++) { in bnad_reinit_rx() 2119 for (rx_id = 0; rx_id < bnad->num_rx; rx_id++) { in bnad_reinit_rx() 2312 for (i = 0; i < bnad->num_rx; i++) { in bnad_rx_coalescing_timeo_set() 2389 for (i = 0; i < bnad->num_rx; i++) { in bnad_netdev_qstats_fill() 2529 bnad->num_rx = 1; in bnad_q_num_init() 3388 for (i = 0; i < bnad->num_rx; i++) { in bnad_netpoll() 3485 (bnad->num_rx * bnad->num_rxp_per_rx) + in bnad_init()
|
/linux-6.1.9/drivers/net/ethernet/freescale/ |
D | fec_main.c | 3798 fec_enet_get_queue_num(struct platform_device *pdev, int *num_tx, int *num_rx) in fec_enet_get_queue_num() argument 3802 *num_tx = *num_rx = 1; in fec_enet_get_queue_num() 3810 of_property_read_u32(np, "fsl,num-rx-queues", num_rx); in fec_enet_get_queue_num() 3819 if (*num_rx < 1 || *num_rx > FEC_ENET_MAX_RX_QS) { in fec_enet_get_queue_num() 3821 *num_rx); in fec_enet_get_queue_num() 3822 *num_rx = 1; in fec_enet_get_queue_num()
|
/linux-6.1.9/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.h | 1588 u32 num_rx; member
|