Home
last modified time | relevance | path

Searched refs:rx_pending (Results 1 – 25 of 118) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dethtool.c163 ring->rx_pending = efx->rxq_entries; in efx_ethtool_get_ringparam()
174 ring->rx_pending > EFX_MAX_DMAQ_SIZE || in efx_ethtool_set_ringparam()
178 if (ring->rx_pending < EFX_RXQ_MIN_ENT) { in efx_ethtool_set_ringparam()
191 return efx_realloc_channels(efx, ring->rx_pending, txq_entries); in efx_ethtool_set_ringparam()
Def100_ethtool.c30 ring->rx_pending = efx->rxq_entries; in ef100_ethtool_get_ringparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c186 ring->rx_pending = c->rq_desc_count; in enic_get_ringparam()
197 unsigned int rx_pending; in enic_set_ringparam() local
211 rx_pending = c->rq_desc_count; in enic_set_ringparam()
213 if (ring->rx_pending > ENIC_MAX_RQ_DESCS || in enic_set_ringparam()
214 ring->rx_pending < ENIC_MIN_RQ_DESCS) { in enic_set_ringparam()
216 ring->rx_pending, ENIC_MIN_RQ_DESCS, in enic_set_ringparam()
230 ring->rx_pending & 0xffffffe0; /* must be aligned to groups of 32 */ in enic_set_ringparam()
249 c->rq_desc_count = rx_pending; in enic_set_ringparam()
/kernel/linux/linux-5.10/net/ethtool/
Drings.c66 ringparam->rx_pending))) || in rings_fill_reply()
139 ethnl_update_u32(&ringparam.rx_pending, tb[ETHTOOL_A_RINGS_RX], &mod); in ethnl_set_rings()
150 if (ringparam.rx_pending > ringparam.rx_max_pending) in ethnl_set_rings()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c221 ring->rx_pending = ug_info->bdRingLenRx[queue]; in uec_get_ringparam()
235 if (ring->rx_pending < UCC_GETH_RX_BD_RING_SIZE_MIN) { in uec_set_ringparam()
240 if (ring->rx_pending % UCC_GETH_RX_BD_RING_SIZE_ALIGNMENT) { in uec_set_ringparam()
254 ug_info->bdRingLenRx[queue] = ring->rx_pending; in uec_set_ringparam()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dhci_h5.c69 size_t rx_pending; /* Expecting more bytes */ member
425 h5->rx_pending = 2; in h5_rx_payload()
464 h5->rx_pending = H5_HDR_LEN(hdr); in h5_rx_3wire_hdr()
477 h5->rx_pending = 4; in h5_rx_pkt_start()
527 h5->rx_pending--; in h5_unslip_one_byte()
529 BT_DBG("unslipped 0x%02hhx, rx_pending %zu", *byte, h5->rx_pending); in h5_unslip_one_byte()
540 h5->rx_pending = 0; in h5_reset_rx()
549 BT_DBG("%s pending %zu count %d", hu->hdev->name, h5->rx_pending, in h5_recv()
555 if (h5->rx_pending > 0) { in h5_recv()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_ethtool.c594 ring->rx_pending = adapter->rx_desc_count; in iavf_get_ringparam()
617 ring->rx_pending > IAVF_MAX_RXD || in iavf_set_ringparam()
618 ring->rx_pending < IAVF_MIN_RXD) { in iavf_set_ringparam()
620 ring->tx_pending, ring->rx_pending, IAVF_MIN_TXD, in iavf_set_ringparam()
630 new_rx_count = ALIGN(ring->rx_pending, IAVF_REQ_DESCRIPTOR_MULTIPLE); in iavf_set_ringparam()
631 if (new_rx_count != ring->rx_pending) in iavf_set_ringparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_ethtool.c517 ring->rx_pending = lif->nrxq_descs; in ionic_get_ringparam()
535 !is_power_of_2(ring->rx_pending)) { in ionic_set_ringparam()
542 ring->rx_pending == lif->nrxq_descs) in ionic_set_ringparam()
549 if (ring->rx_pending != lif->nrxq_descs) in ionic_set_ringparam()
551 lif->nrxq_descs, ring->rx_pending); in ionic_set_ringparam()
556 lif->nrxq_descs = ring->rx_pending; in ionic_set_ringparam()
561 qparam.nrxq_descs = ring->rx_pending; in ionic_set_ringparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/
Demac-ethtool.c142 ring->rx_pending = adpt->rx_desc_cnt; in emac_get_ringparam()
161 clamp_val(ring->rx_pending, EMAC_MIN_RX_DESCS, EMAC_MAX_RX_DESCS); in emac_set_ringparam()
/kernel/linux/linux-5.10/drivers/usb/isp1760/
Disp1760-udc.h42 bool rx_pending; member
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_ethtool.c666 ering->rx_pending = cpdma_get_num_rx_descs(cpsw->dma); in cpsw_get_ringparam()
678 ering->rx_pending < CPSW_MAX_QUEUES || in cpsw_set_ringparam()
679 ering->rx_pending > (cpsw->descs_pool_size - CPSW_MAX_QUEUES)) in cpsw_set_ringparam()
683 if (ering->rx_pending == descs_num) in cpsw_set_ringparam()
688 ret = cpdma_set_num_rx_descs(cpsw->dma, ering->rx_pending); in cpsw_set_ringparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c411 ringparam->rx_pending = bnad->rxq_depth; in bnad_get_ringparam()
424 if (ringparam->rx_pending == bnad->rxq_depth && in bnad_set_ringparam()
430 if (ringparam->rx_pending < BNAD_MIN_Q_DEPTH || in bnad_set_ringparam()
431 ringparam->rx_pending > BNAD_MAX_RXQ_DEPTH || in bnad_set_ringparam()
432 !is_power_of_2(ringparam->rx_pending)) { in bnad_set_ringparam()
443 if (ringparam->rx_pending != bnad->rxq_depth) { in bnad_set_ringparam()
444 bnad->rxq_depth = ringparam->rx_pending; in bnad_set_ringparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/
Dqca_debug.c254 ring->rx_pending = 4; in qcaspi_get_ringparam()
264 if ((ring->rx_pending) || in qcaspi_set_ringparam()
/kernel/linux/linux-5.10/drivers/firmware/
Darm_scpi.c237 struct list_head rx_pending; member
359 if (list_empty(&ch->rx_pending)) { in scpi_process_cmd()
369 match = list_first_entry(&ch->rx_pending, struct scpi_xfer, in scpi_process_cmd()
373 list_for_each_entry(t, &ch->rx_pending, node) in scpi_process_cmd()
440 list_add_tail(&t->node, &ch->rx_pending); in scpi_tx_prepare()
960 INIT_LIST_HEAD(&pchan->rx_pending); in scpi_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c627 ringparam->rx_pending = pdata->rx_desc_count; in xgbe_get_ringparam()
642 if ((ringparam->rx_pending < XGBE_RX_DESC_CNT_MIN) || in xgbe_set_ringparam()
643 (ringparam->rx_pending > XGBE_RX_DESC_CNT_MAX)) { in xgbe_set_ringparam()
658 rx = __rounddown_pow_of_two(ringparam->rx_pending); in xgbe_set_ringparam()
659 if (rx != ringparam->rx_pending) in xgbe_set_ringparam()
/kernel/linux/linux-5.10/net/mac80211/
Dethtool.c24 return drv_set_ringparam(local, rp->tx_pending, rp->rx_pending); in ieee80211_set_ringparam()
35 &rp->rx_pending, &rp->rx_max_pending); in ieee80211_get_ringparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/pasemi/
Dpasemi_mac_ethtool.c79 ering->rx_pending = RING_USED(mac->rx)/4; in pasemi_mac_ethtool_get_ringparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c450 ring->rx_pending = priv->dma_rx_size; in stmmac_get_ringparam()
458 ring->rx_pending < DMA_MIN_RX_SIZE || in stmmac_set_ringparam()
459 ring->rx_pending > DMA_MAX_RX_SIZE || in stmmac_set_ringparam()
460 !is_power_of_2(ring->rx_pending) || in stmmac_set_ringparam()
466 return stmmac_reinit_ringparam(netdev, ring->rx_pending, in stmmac_set_ringparam()
/kernel/linux/linux-5.10/net/nfc/
Dllcp_core.c161 kfree_skb(local->rx_pending); in local_cleanup()
1476 skb = local->rx_pending; in nfc_llcp_rx_work()
1489 kfree_skb(local->rx_pending); in nfc_llcp_rx_work()
1490 local->rx_pending = NULL; in nfc_llcp_rx_work()
1495 local->rx_pending = skb; in __nfc_llcp_recv()
1585 local->rx_pending = NULL; in nfc_llcp_register_device()
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dspider_net_ethtool.c120 ering->rx_pending = card->rx_chain.num_desc; in spider_net_ethtool_get_ringparam()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dmain.c203 atomic_dec(&adapter->rx_pending); in mwifiex_process_rx()
206 (atomic_read(&adapter->rx_pending) < LOW_RX_PENDING)) { in mwifiex_process_rx()
272 if (atomic_read(&adapter->rx_pending) >= HIGH_RX_PENDING && in mwifiex_main_process()
1132 atomic_read(&adapter->rx_pending)); in mwifiex_drv_info_dump()
1427 if (atomic_read(&adapter->rx_pending) || in mwifiex_uninit_sw()
1433 atomic_read(&adapter->rx_pending), in mwifiex_uninit_sw()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igbvf/
Dethtool.c186 ring->rx_pending = rx_ring->count; in igbvf_get_ringparam()
201 new_rx_count = max_t(u32, ring->rx_pending, IGBVF_MIN_RXD); in igbvf_set_ringparam()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Db44.c1141 for (i = 0; i < bp->rx_pending; i++) { in b44_init_rings()
1435 bw32(bp, B44_DMARX_PTR, bp->rx_pending); in b44_init_hw()
1436 bp->rx_prod = bp->rx_pending; in b44_init_hw()
1967 ering->rx_pending = bp->rx_pending; in b44_get_ringparam()
1977 if ((ering->rx_pending > B44_RX_RING_SIZE - 1) || in b44_set_ringparam()
1985 bp->rx_pending = ering->rx_pending; in b44_set_ringparam()
2368 bp->rx_pending = B44_DEF_RX_RING_PENDING; in b44_init_one()
/kernel/linux/linux-5.10/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c281 ring->rx_pending = rxdr->count; in pch_gbe_get_ringparam()
326 clamp_val(ring->rx_pending, PCH_GBE_MIN_RXD, PCH_GBE_MAX_RXD); in pch_gbe_set_ringparam()
/kernel/linux/linux-5.10/drivers/phy/ti/
Dphy-ti-pipe3.c342 bool rx_pending = false; in ti_pipe3_power_on() local
366 rx_pending = true; in ti_pipe3_power_on()
374 if (rx_pending) { in ti_pipe3_power_on()

12345