Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_semaphore.c58 bool radeon_semaphore_emit_signal(struct radeon_device *rdev, int ridx, in radeon_semaphore_emit_signal() argument
61 struct radeon_ring *ring = &rdev->ring[ridx]; in radeon_semaphore_emit_signal()
63 trace_radeon_semaphore_signale(ridx, semaphore); in radeon_semaphore_emit_signal()
65 if (radeon_semaphore_ring_emit(rdev, ridx, ring, semaphore, false)) { in radeon_semaphore_emit_signal()
75 bool radeon_semaphore_emit_wait(struct radeon_device *rdev, int ridx, in radeon_semaphore_emit_wait() argument
78 struct radeon_ring *ring = &rdev->ring[ridx]; in radeon_semaphore_emit_wait()
80 trace_radeon_semaphore_wait(ridx, semaphore); in radeon_semaphore_emit_wait()
82 if (radeon_semaphore_ring_emit(rdev, ridx, ring, semaphore, true)) { in radeon_semaphore_emit_wait()
Dradeon_ring.c521 static const char *radeon_debugfs_ring_idx_to_name(uint32_t ridx) in radeon_debugfs_ring_idx_to_name() argument
523 switch (ridx) { in radeon_debugfs_ring_idx_to_name()
Dcik_sdma.c169 int ridx) in cik_sdma_hdp_flush_ring_emit() argument
171 struct radeon_ring *ring = &rdev->ring[ridx]; in cik_sdma_hdp_flush_ring_emit()
176 if (ridx == R600_RING_TYPE_DMA_INDEX) in cik_sdma_hdp_flush_ring_emit()
Dradeon_ttm.c148 int r, ridx; in radeon_move_blit() local
151 ridx = radeon_copy_ring_index(rdev); in radeon_move_blit()
177 if (!rdev->ring[ridx].ready) { in radeon_move_blit()
Dni.c1613 static const int ridx[] = { in cayman_cp_resume() local
1680 ring = &rdev->ring[ridx[i]]; in cayman_cp_resume()
1696 ring = &rdev->ring[ridx[i]]; in cayman_cp_resume()
1702 ring = &rdev->ring[ridx[i]]; in cayman_cp_resume()
Dcik.c3495 int ridx) in cik_hdp_flush_cp_ring_emit() argument
3497 struct radeon_ring *ring = &rdev->ring[ridx]; in cik_hdp_flush_cp_ring_emit()
/linux-6.1.9/arch/ia64/kernel/
Dunaligned.c318 long ridx = r1 - 32; in set_rse_reg() local
320 if (ridx >= sof) { in set_rse_reg()
326 if (ridx < sor) in set_rse_reg()
327 ridx = rotate_reg(sor, rrb_gr, ridx); in set_rse_reg()
330 r1, sw->ar_bspstore, regs->ar_bspstore, sof, (regs->cr_ifs >> 7) & 0x7f, ridx); in set_rse_reg()
333 addr = ia64_rse_skip_regs((unsigned long *) sw->ar_bspstore, -sof + ridx); in set_rse_reg()
357 addr = ia64_rse_skip_regs(bsp, ridx); in set_rse_reg()
391 long ridx = r1 - 32; in get_rse_reg() local
393 if (ridx >= sof) { in get_rse_reg()
399 if (ridx < sor) in get_rse_reg()
[all …]
/linux-6.1.9/drivers/net/can/rcar/
Drcar_canfd.c779 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_configure_afl_rules() local
813 RCANFD_GAFLP1_GAFLFDP(ridx)); in rcar_canfd_configure_afl_rules()
827 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_configure_rx() local
837 rcar_canfd_write(gpriv->base, RCANFD_RFCC(gpriv, ridx), cfg); in rcar_canfd_configure_rx()
935 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_global_error() local
953 sts = rcar_canfd_read(priv->base, RCANFD_RFSTS(gpriv, ridx)); in rcar_canfd_global_error()
957 rcar_canfd_write(priv->base, RCANFD_RFSTS(gpriv, ridx), in rcar_canfd_global_error()
1154 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_handle_global_receive() local
1158 sts = rcar_canfd_read(priv->base, RCANFD_RFSTS(gpriv, ridx)); in rcar_canfd_handle_global_receive()
1159 cc = rcar_canfd_read(priv->base, RCANFD_RFCC(gpriv, ridx)); in rcar_canfd_handle_global_receive()
[all …]
/linux-6.1.9/net/mac80211/
Drate.c457 int ridx, rbit; in rate_idx_match_mcs_mask() local
459 ridx = *rate_idx / 8; in rate_idx_match_mcs_mask()
463 if (ridx < 0 || ridx >= IEEE80211_HT_MCS_MASK_LEN) in rate_idx_match_mcs_mask()
467 for (i = ridx; i >= 0; i--) { in rate_idx_match_mcs_mask()
477 ridx = (*rate_idx + 1) / 8; in rate_idx_match_mcs_mask()
480 for (i = ridx; i < IEEE80211_HT_MCS_MASK_LEN; i++) { in rate_idx_match_mcs_mask()
494 int ridx, rbit; in rate_idx_match_vht_mcs_mask() local
496 ridx = *rate_idx >> 4; in rate_idx_match_vht_mcs_mask()
499 if (ridx < 0 || ridx >= NL80211_VHT_NSS_MAX) in rate_idx_match_vht_mcs_mask()
503 for (i = ridx; i >= 0; i--) { in rate_idx_match_vht_mcs_mask()
[all …]
/linux-6.1.9/sound/pci/ctxfi/
Dctresource.c24 unsigned int multi, unsigned int *ridx) in get_resource() argument
53 *ridx = i + 1; in get_resource()
73 int mgr_get_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int *ridx) in mgr_get_resource() argument
80 err = get_resource(mgr->rscs, mgr->amount, n, ridx); in mgr_get_resource()
Dctresource.h66 int mgr_get_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int *ridx);
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Ddynack.c215 u8 ridx; in ath_dynack_sample_tx_ts() local
246 ridx = ts->ts_rateindex; in ath_dynack_sample_tx_ts()
256 if (!(info->status.rates[ridx].flags & IEEE80211_TX_RC_MCS)) { in ath_dynack_sample_tx_ts()
261 rate = &common->sbands[info->band].bitrates[rates[ridx].idx]; in ath_dynack_sample_tx_ts()
/linux-6.1.9/drivers/crypto/caam/
Djr.c94 dev_err(dev, "failed to flush job ring %d\n", jrp->ridx); in caam_reset_hw_jr()
105 dev_err(dev, "failed to reset job ring %d\n", jrp->ridx); in caam_reset_hw_jr()
494 jrp->ridx, jrp->irq); in caam_jr_init()
527 jrpriv->ridx = total_jobrs++; in caam_jr_probe()
Dintern.h54 int ridx; member
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Dtxrx.c786 int i, j, ridx; in p54_tx_80211() local
868 ridx = 0; in p54_tx_80211()
869 for (i = 0; i < nrates && ridx < 8; i++) { in p54_tx_80211()
890 for (j = 0; j < calculated_tries[i] && ridx < 8; j++) { in p54_tx_80211()
891 txhdr->rateset[ridx] = rate; in p54_tx_80211()
892 ridx++; in p54_tx_80211()
901 hdr->tries = ridx; in p54_tx_80211()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_sd7220.c1216 int ridx; in set_rxeq_vals() local
1219 for (ridx = 0; ridx < cnt; ++ridx) { in set_rxeq_vals()
1222 elt = rxeq_init_vals[ridx].rdesc & 0xF; in set_rxeq_vals()
1223 reg = rxeq_init_vals[ridx].rdesc >> 4; in set_rxeq_vals()
1225 val = rxeq_init_vals[ridx].rdata[vsel]; in set_rxeq_vals()
Dqib_iba7322.c7314 static void set_txdds(struct qib_pportdata *ppd, int ridx, in set_txdds() argument
7322 regidx = KREG_IBPORT_IDX(IBSD_DDS_MAP_TABLE) + ridx; in set_txdds()
/linux-6.1.9/net/wireless/
Dwext-compat.c1259 int band, ridx, ret; in cfg80211_wext_siwrate() local
1281 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in cfg80211_wext_siwrate()
1282 struct ieee80211_rate *srate = &sband->bitrates[ridx]; in cfg80211_wext_siwrate()
1284 mask.control[band].legacy = 1 << ridx; in cfg80211_wext_siwrate()
1289 mask.control[band].legacy |= 1 << ridx; in cfg80211_wext_siwrate()
Dnl80211.c4885 int ridx; in rateset_to_mask() local
4887 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in rateset_to_mask()
4889 &sband->bitrates[ridx]; in rateset_to_mask()
4891 mask |= 1 << ridx; in rateset_to_mask()
4895 if (ridx == sband->n_bitrates) in rateset_to_mask()
4911 int ridx, rbit; in ht_rateset_to_mask() local
4913 ridx = rates[i] / 8; in ht_rateset_to_mask()
4917 if ((ridx < 0) || (ridx >= IEEE80211_HT_MCS_MASK_LEN)) in ht_rateset_to_mask()
4921 ridx = array_index_nospec(ridx, IEEE80211_HT_MCS_MASK_LEN); in ht_rateset_to_mask()
4922 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit) in ht_rateset_to_mask()
[all …]
/linux-6.1.9/drivers/dma/
Dfsl_raid.c751 u8 ridx = 0; in fsl_re_probe() local
837 fsl_re_chan_probe(ofdev, child, ridx++, off); in fsl_re_probe()
/linux-6.1.9/drivers/parisc/
Dsba_iommu.c498 unsigned int ridx = pide >> 3; /* convert bit to byte address */ in sba_free_range() local
499 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[ridx & ~RESMAP_IDX_MASK]); in sba_free_range()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_main.c500 int ridx = 0, vidx = 0; in iavf_map_rings_to_vectors() local
505 for (; ridx < rings_remaining; ridx++) { in iavf_map_rings_to_vectors()
506 iavf_map_vector_to_rxq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
507 iavf_map_vector_to_txq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
/linux-6.1.9/arch/ia64/hp/common/
Dsba_iommu.c724 unsigned int ridx = pide >> 3; /* convert bit to byte address */ in sba_free_range() local
725 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[ridx & ~RESMAP_IDX_MASK]); in sba_free_range()
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h339 uint64_t ridx:17; member
341 uint64_t ridx:17;
/linux-6.1.9/drivers/irqchip/
Dirq-gic-v3-its.c984 int ridx; in its_queue_full() local
987 ridx = readl_relaxed(its->base + GITS_CREADR) / sizeof(struct its_cmd_block); in its_queue_full()
990 if (((widx + 1) % ITS_CMD_QUEUE_NR_ENTRIES) == ridx) in its_queue_full()