/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
A D | ethtool.c | 170 ring->rx_pending = efx->rxq_entries; in efx_ethtool_get_ringparam() 184 ring->rx_pending > EFX_MAX_DMAQ_SIZE || in efx_ethtool_set_ringparam() 188 if (ring->rx_pending < EFX_RXQ_MIN_ENT) { in efx_ethtool_set_ringparam() 201 return efx_siena_realloc_channels(efx, ring->rx_pending, txq_entries); in efx_ethtool_set_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | ethtool.c | 170 ring->rx_pending = efx->rxq_entries; in efx_ethtool_get_ringparam() 184 ring->rx_pending > EFX_MAX_DMAQ_SIZE || in efx_ethtool_set_ringparam() 188 if (ring->rx_pending < EFX_RXQ_MIN_ENT) { in efx_ethtool_set_ringparam() 201 return efx_realloc_channels(efx, ring->rx_pending, txq_entries); in efx_ethtool_set_ringparam()
|
A D | ef100_ethtool.c | 33 ring->rx_pending = efx->rxq_entries; in ef100_ethtool_get_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/cisco/enic/ |
A D | enic_ethtool.c | 173 ring->rx_pending = c->rq_desc_count; in enic_get_ringparam() 186 unsigned int rx_pending; in enic_set_ringparam() local 200 rx_pending = c->rq_desc_count; in enic_set_ringparam() 202 if (ring->rx_pending > ENIC_MAX_RQ_DESCS || in enic_set_ringparam() 203 ring->rx_pending < ENIC_MIN_RQ_DESCS) { in enic_set_ringparam() 205 ring->rx_pending, ENIC_MIN_RQ_DESCS, in enic_set_ringparam() 219 ring->rx_pending & 0xffffffe0; /* must be aligned to groups of 32 */ in enic_set_ringparam() 238 c->rq_desc_count = rx_pending; in enic_set_ringparam()
|
/linux-6.3-rc2/drivers/net/can/flexcan/ |
A D | flexcan-ethtool.c | 31 ring->rx_pending = priv->offload.mb_last - in flexcan_get_ringparam() 34 ring->rx_pending = 6; /* RX-FIFO depth is fixed */ in flexcan_get_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/ |
A D | ucc_geth_ethtool.c | 223 ring->rx_pending = ug_info->bdRingLenRx[queue]; in uec_get_ringparam() 239 if (ring->rx_pending < UCC_GETH_RX_BD_RING_SIZE_MIN) { in uec_set_ringparam() 244 if (ring->rx_pending % UCC_GETH_RX_BD_RING_SIZE_ALIGNMENT) { in uec_set_ringparam() 258 ug_info->bdRingLenRx[queue] = ring->rx_pending; in uec_set_ringparam()
|
/linux-6.3-rc2/net/ethtool/ |
A D | rings.c | 77 ringparam->rx_pending))) || in rings_fill_reply() 178 ethnl_update_u32(&ringparam.rx_pending, tb[ETHTOOL_A_RINGS_RX], &mod); in ethnl_set_rings() 196 if (ringparam.rx_pending > ringparam.rx_max_pending) in ethnl_set_rings()
|
/linux-6.3-rc2/drivers/bluetooth/ |
A D | hci_h5.c | 74 size_t rx_pending; /* Expecting more bytes */ member 439 h5->rx_pending = 2; in h5_rx_payload() 478 h5->rx_pending = H5_HDR_LEN(hdr); in h5_rx_3wire_hdr() 491 h5->rx_pending = 4; in h5_rx_pkt_start() 541 h5->rx_pending--; in h5_unslip_one_byte() 543 BT_DBG("unslipped 0x%02hhx, rx_pending %zu", *byte, h5->rx_pending); in h5_unslip_one_byte() 554 h5->rx_pending = 0; in h5_reset_rx() 563 BT_DBG("%s pending %zu count %d", hu->hdev->name, h5->rx_pending, in h5_recv() 569 if (h5->rx_pending > 0) { in h5_recv()
|
/linux-6.3-rc2/drivers/net/can/spi/mcp251xfd/ |
A D | mcp251xfd-ethtool.c | 28 ring->rx_pending = priv->rx_obj_num; in mcp251xfd_ring_get_ringparam() 94 .rx_pending = priv->rx_obj_num, in mcp251xfd_ring_set_coalesce()
|
/linux-6.3-rc2/drivers/net/can/c_can/ |
A D | c_can_ethtool.c | 23 ring->rx_pending = priv->msg_obj_rx_num; in c_can_get_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/qualcomm/emac/ |
A D | emac-ethtool.c | 144 ring->rx_pending = adpt->rx_desc_cnt; in emac_get_ringparam() 165 clamp_val(ring->rx_pending, EMAC_MIN_RX_DESCS, EMAC_MAX_RX_DESCS); in emac_set_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/ |
A D | bnad_ethtool.c | 417 ringparam->rx_pending = bnad->rxq_depth; in bnad_get_ringparam() 432 if (ringparam->rx_pending == bnad->rxq_depth && in bnad_set_ringparam() 438 if (ringparam->rx_pending < BNAD_MIN_Q_DEPTH || in bnad_set_ringparam() 439 ringparam->rx_pending > BNAD_MAX_RXQ_DEPTH || in bnad_set_ringparam() 440 !is_power_of_2(ringparam->rx_pending)) { in bnad_set_ringparam() 451 if (ringparam->rx_pending != bnad->rxq_depth) { in bnad_set_ringparam() 452 bnad->rxq_depth = ringparam->rx_pending; in bnad_set_ringparam()
|
/linux-6.3-rc2/drivers/usb/isp1760/ |
A D | isp1760-udc.h | 46 bool rx_pending; member
|
/linux-6.3-rc2/drivers/firmware/ |
A D | arm_scpi.c | 237 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() 972 INIT_LIST_HEAD(&pchan->rx_pending); in scpi_probe()
|
/linux-6.3-rc2/drivers/net/netdevsim/ |
A D | ethtool.c | 84 ns->ethtool.ring.rx_pending = ring->rx_pending; in nsim_set_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/qualcomm/ |
A D | qca_debug.c | 257 ring->rx_pending = 4; in qcaspi_get_ringparam() 269 if ((ring->rx_pending) || in qcaspi_set_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-ethtool.c | 632 ringparam->rx_pending = pdata->rx_desc_count; in xgbe_get_ringparam() 649 if ((ringparam->rx_pending < XGBE_RX_DESC_CNT_MIN) || in xgbe_set_ringparam() 650 (ringparam->rx_pending > XGBE_RX_DESC_CNT_MAX)) { in xgbe_set_ringparam() 665 rx = __rounddown_pow_of_two(ringparam->rx_pending); in xgbe_set_ringparam() 666 if (rx != ringparam->rx_pending) in xgbe_set_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | cpsw_ethtool.c | 670 ering->rx_pending = cpdma_get_num_rx_descs(cpsw->dma); in cpsw_get_ringparam() 684 ering->rx_pending < CPSW_MAX_QUEUES || in cpsw_set_ringparam() 685 ering->rx_pending > (cpsw->descs_pool_size - CPSW_MAX_QUEUES)) in cpsw_set_ringparam() 689 if (ering->rx_pending == descs_num) in cpsw_set_ringparam() 694 ret = cpdma_set_num_rx_descs(cpsw->dma, ering->rx_pending); in cpsw_set_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_ethtool.c | 605 ring->rx_pending = lif->nrxq_descs; in ionic_get_ringparam() 630 !is_power_of_2(ring->rx_pending)) { in ionic_set_ringparam() 637 ring->rx_pending == lif->nrxq_descs && in ionic_set_ringparam() 643 qparam.nrxq_descs = ring->rx_pending; in ionic_set_ringparam() 663 if (ring->rx_pending != lif->nrxq_descs) in ionic_set_ringparam() 665 lif->nrxq_descs, ring->rx_pending); in ionic_set_ringparam() 670 lif->nrxq_descs = ring->rx_pending; in ionic_set_ringparam()
|
/linux-6.3-rc2/net/mac80211/ |
A D | ethtool.c | 26 return drv_set_ringparam(local, rp->tx_pending, rp->rx_pending); in ieee80211_set_ringparam() 39 &rp->rx_pending, &rp->rx_max_pending); in ieee80211_get_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/ |
A D | funeth_ethtool.c | 566 ring->rx_pending = fp->rq_depth; in fun_get_ringparam() 585 if (!is_power_of_2(ring->rx_pending) || in fun_set_ringparam() 589 if (ring->rx_pending < FUNETH_MIN_QDEPTH || in fun_set_ringparam() 594 fp->rq_depth == ring->rx_pending) in fun_set_ringparam() 599 .cq_depth = 2 * ring->rx_pending, in fun_set_ringparam() 600 .rq_depth = ring->rx_pending, in fun_set_ringparam() 610 fp->rq_depth = ring->rx_pending; in fun_set_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/pasemi/ |
A D | pasemi_mac_ethtool.c | 81 ering->rx_pending = RING_USED(mac->rx)/4; in pasemi_mac_ethtool_get_ringparam()
|
/linux-6.3-rc2/net/nfc/ |
A D | llcp_core.c | 159 kfree_skb(local->rx_pending); in local_cleanup() 160 local->rx_pending = NULL; in local_cleanup() 1472 skb = local->rx_pending; in nfc_llcp_rx_work() 1485 kfree_skb(local->rx_pending); in nfc_llcp_rx_work() 1486 local->rx_pending = NULL; in nfc_llcp_rx_work() 1491 local->rx_pending = skb; in __nfc_llcp_recv() 1580 local->rx_pending = NULL; in nfc_llcp_register_device()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxbf_gige/ |
A D | mlxbf_gige_ethtool.c | 44 ering->rx_pending = priv->rx_q_entries; in mlxbf_gige_get_ringparam()
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_ethtool.c | 488 ring->rx_pending = priv->dma_conf.dma_rx_size; in stmmac_get_ringparam() 498 ring->rx_pending < DMA_MIN_RX_SIZE || in stmmac_set_ringparam() 499 ring->rx_pending > DMA_MAX_RX_SIZE || in stmmac_set_ringparam() 500 !is_power_of_2(ring->rx_pending) || in stmmac_set_ringparam() 506 return stmmac_reinit_ringparam(netdev, ring->rx_pending, in stmmac_set_ringparam()
|