Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c469 int ridx = *(int*)node->info_ent->data; in radeon_debugfs_ring_info() local
470 struct radeon_ring *ring = &rdev->ring[ridx]; in radeon_debugfs_ring_info()
549 int ridx = *(int*)radeon_debugfs_ring_info_list[i].data; in radeon_debugfs_ring_init() local
552 if (&rdev->ring[ridx] != ring) in radeon_debugfs_ring_init()
Dcik_sdma.c170 int ridx) in cik_sdma_hdp_flush_ring_emit() argument
172 struct radeon_ring *ring = &rdev->ring[ridx]; in cik_sdma_hdp_flush_ring_emit()
177 if (ridx == R600_RING_TYPE_DMA_INDEX) in cik_sdma_hdp_flush_ring_emit()
Dradeon_ttm.c162 int r, ridx; in radeon_move_blit() local
165 ridx = radeon_copy_ring_index(rdev); in radeon_move_blit()
191 if (!rdev->ring[ridx].ready) { in radeon_move_blit()
Dni.c1626 static const int ridx[] = { in cayman_cp_resume() local
1693 ring = &rdev->ring[ridx[i]]; in cayman_cp_resume()
1709 ring = &rdev->ring[ridx[i]]; in cayman_cp_resume()
1715 ring = &rdev->ring[ridx[i]]; in cayman_cp_resume()
/kernel/linux/linux-5.10/drivers/net/can/rcar/
Drcar_canfd.c718 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_configure_afl_rules() local
750 RCANFD_GAFLP1_GAFLFDP(ridx)); in rcar_canfd_configure_afl_rules()
764 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_configure_rx() local
774 rcar_canfd_write(gpriv->base, RCANFD_RFCC(ridx), cfg); in rcar_canfd_configure_rx()
872 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_global_error() local
894 sts = rcar_canfd_read(priv->base, RCANFD_RFSTS(ridx)); in rcar_canfd_global_error()
898 rcar_canfd_write(priv->base, RCANFD_RFSTS(ridx), in rcar_canfd_global_error()
1079 u32 ch, ridx; in rcar_canfd_global_interrupt() local
1087 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_global_interrupt()
1095 sts = rcar_canfd_read(priv->base, RCANFD_RFSTS(ridx)); in rcar_canfd_global_interrupt()
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Drate.c453 int ridx, rbit; in rate_idx_match_mcs_mask() local
455 ridx = *rate_idx / 8; in rate_idx_match_mcs_mask()
459 if (ridx < 0 || ridx >= IEEE80211_HT_MCS_MASK_LEN) in rate_idx_match_mcs_mask()
463 for (i = ridx; i >= 0; i--) { in rate_idx_match_mcs_mask()
473 ridx = (*rate_idx + 1) / 8; in rate_idx_match_mcs_mask()
476 for (i = ridx; i < IEEE80211_HT_MCS_MASK_LEN; i++) { in rate_idx_match_mcs_mask()
490 int ridx, rbit; in rate_idx_match_vht_mcs_mask() local
492 ridx = *rate_idx >> 4; in rate_idx_match_vht_mcs_mask()
495 if (ridx < 0 || ridx >= NL80211_VHT_NSS_MAX) in rate_idx_match_vht_mcs_mask()
499 for (i = ridx; i >= 0; i--) { in rate_idx_match_vht_mcs_mask()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Ddynack.c216 u8 ridx; in ath_dynack_sample_tx_ts() local
247 ridx = ts->ts_rateindex; in ath_dynack_sample_tx_ts()
253 if (!(info->status.rates[ridx].flags & IEEE80211_TX_RC_MCS)) { in ath_dynack_sample_tx_ts()
258 rate = &common->sbands[info->band].bitrates[rates[ridx].idx]; in ath_dynack_sample_tx_ts()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Djr.c93 dev_err(dev, "failed to flush job ring %d\n", jrp->ridx); in caam_reset_hw_jr()
104 dev_err(dev, "failed to reset job ring %d\n", jrp->ridx); in caam_reset_hw_jr()
493 jrp->ridx, jrp->irq); in caam_jr_init()
526 jrpriv->ridx = total_jobrs++; in caam_jr_probe()
Dintern.h46 int ridx; member
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/
Dtxrx.c790 int i, j, ridx; in p54_tx_80211() local
872 ridx = 0; in p54_tx_80211()
873 for (i = 0; i < nrates && ridx < 8; i++) { in p54_tx_80211()
894 for (j = 0; j < calculated_tries[i] && ridx < 8; j++) { in p54_tx_80211()
895 txhdr->rateset[ridx] = rate; in p54_tx_80211()
896 ridx++; in p54_tx_80211()
905 hdr->tries = ridx; in p54_tx_80211()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
Dqib_sd7220.c1217 int ridx; in set_rxeq_vals() local
1220 for (ridx = 0; ridx < cnt; ++ridx) { in set_rxeq_vals()
1223 elt = rxeq_init_vals[ridx].rdesc & 0xF; in set_rxeq_vals()
1224 reg = rxeq_init_vals[ridx].rdesc >> 4; in set_rxeq_vals()
1226 val = rxeq_init_vals[ridx].rdata[vsel]; in set_rxeq_vals()
Dqib_iba7322.c7343 static void set_txdds(struct qib_pportdata *ppd, int ridx, in set_txdds() argument
7351 regidx = KREG_IBPORT_IDX(IBSD_DDS_MAP_TABLE) + ridx; in set_txdds()
/kernel/linux/linux-5.10/net/wireless/
Dwext-compat.c1206 int band, ridx; in cfg80211_wext_siwrate() local
1228 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in cfg80211_wext_siwrate()
1229 struct ieee80211_rate *srate = &sband->bitrates[ridx]; in cfg80211_wext_siwrate()
1231 mask.control[band].legacy = 1 << ridx; in cfg80211_wext_siwrate()
1236 mask.control[band].legacy |= 1 << ridx; in cfg80211_wext_siwrate()
Dnl80211.c4423 int ridx; in rateset_to_mask() local
4425 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in rateset_to_mask()
4427 &sband->bitrates[ridx]; in rateset_to_mask()
4429 mask |= 1 << ridx; in rateset_to_mask()
4433 if (ridx == sband->n_bitrates) in rateset_to_mask()
4449 int ridx, rbit; in ht_rateset_to_mask() local
4451 ridx = rates[i] / 8; in ht_rateset_to_mask()
4455 if ((ridx < 0) || (ridx >= IEEE80211_HT_MCS_MASK_LEN)) in ht_rateset_to_mask()
4459 ridx = array_index_nospec(ridx, IEEE80211_HT_MCS_MASK_LEN); in ht_rateset_to_mask()
4460 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit) in ht_rateset_to_mask()
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dwalt.c624 int ridx, widx; in update_history() local
635 ridx = widx - samples; in update_history()
636 for (; ridx >= 0; --widx, --ridx) { in update_history()
637 hist[widx] = hist[ridx]; in update_history()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_main.c374 int ridx = 0, vidx = 0; in iavf_map_rings_to_vectors() local
379 for (; ridx < rings_remaining; ridx++) { in iavf_map_rings_to_vectors()
380 iavf_map_vector_to_rxq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
381 iavf_map_vector_to_txq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
/kernel/linux/linux-5.10/drivers/parisc/
Dsba_iommu.c492 unsigned int ridx = pide >> 3; /* convert bit to byte address */ in sba_free_range() local
493 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[ridx & ~RESMAP_IDX_MASK]); in sba_free_range()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h339 uint64_t ridx:17; member
341 uint64_t ridx:17;
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-gic-v3-its.c975 int ridx; in its_queue_full() local
978 ridx = readl_relaxed(its->base + GITS_CREADR) / sizeof(struct its_cmd_block); in its_queue_full()
981 if (((widx + 1) % ITS_CMD_QUEUE_NR_ENTRIES) == ridx) in its_queue_full()

12