Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/radeon/
H A 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()
H A Dradeon_ring.c523 static const char *radeon_debugfs_ring_idx_to_name(uint32_t ridx) in radeon_debugfs_ring_idx_to_name() argument
525 switch (ridx) { in radeon_debugfs_ring_idx_to_name()
H A 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()
H A Dradeon_ttm.c142 int r, ridx; in radeon_move_blit() local
145 ridx = radeon_copy_ring_index(rdev); in radeon_move_blit()
171 if (!rdev->ring[ridx].ready) { in radeon_move_blit()
H A Dni.c1600 static const int ridx[] = { in cayman_cp_resume() local
1667 ring = &rdev->ring[ridx[i]]; in cayman_cp_resume()
1683 ring = &rdev->ring[ridx[i]]; in cayman_cp_resume()
1689 ring = &rdev->ring[ridx[i]]; in cayman_cp_resume()
/linux/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py102 def get_bounds(self, lb, ub, error, alias={}, ridx: int = 0) -> list:
115 def get_bound_value(bound, initval, ridx): argument
123 vall = self.get_value(alias[ub], ridx)
134 ubv = get_bound_value(ub, -1, ridx)
135 lbv = get_bound_value(lb, float('inf'), ridx)
136 t = get_bound_value(error, self.tolerance, ridx)
143 def get_value(self, name: str, ridx: int = 0) -> list:
153 data = self.results[ridx] if ridx in self.results else self.results[0]
208 def evaluate_formula(self, formula: str, alias: dict, ridx: int = 0):
227 v = self.get_value(s, ridx)
[all …]
/linux/net/mac80211/
H A Drate.c482 int ridx, rbit; in rate_idx_match_mcs_mask() local
484 ridx = *rate_idx / 8; in rate_idx_match_mcs_mask()
488 if (ridx < 0 || ridx >= IEEE80211_HT_MCS_MASK_LEN) in rate_idx_match_mcs_mask()
492 for (i = ridx; i >= 0; i--) { in rate_idx_match_mcs_mask()
502 ridx = (*rate_idx + 1) / 8; in rate_idx_match_mcs_mask()
505 for (i = ridx; i < IEEE80211_HT_MCS_MASK_LEN; i++) { in rate_idx_match_mcs_mask()
519 int ridx, rbit; in rate_idx_match_vht_mcs_mask() local
521 ridx = *rate_idx >> 4; in rate_idx_match_vht_mcs_mask()
524 if (ridx < 0 || ridx >= NL80211_VHT_NSS_MAX) in rate_idx_match_vht_mcs_mask()
528 for (i = ridx; i >= 0; i--) { in rate_idx_match_vht_mcs_mask()
[all …]
/linux/sound/pci/ctxfi/
H A 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()
H A Dctresource.h66 int mgr_get_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int *ridx);
/linux/drivers/net/wireless/ath/ath9k/
H A Ddynack.c216 u8 ridx; in ath_dynack_sample_tx_ts() local
247 ridx = ts->ts_rateindex; in ath_dynack_sample_tx_ts()
257 if (!(info->status.rates[ridx].flags & IEEE80211_TX_RC_MCS)) { in ath_dynack_sample_tx_ts()
262 rate = &common->sbands[info->band].bitrates[rates[ridx].idx]; in ath_dynack_sample_tx_ts()
/linux/scripts/
H A Dverify_builtin_ranges.awk111 if (++ridx > rcnt)
114 $0 = ranges[ridx];
/linux/drivers/dma/amd/qdma/
H A Dqdma.c43 idx = qdev->qintr_rings[qdev->qintr_ring_idx++].ridx; in qdma_get_intr_ring_idx()
417 u16 ridx, u16 cidx) in qdma_update_cidx() argument
422 ((u32)ridx << 16) | cidx); in qdma_update_cidx()
907 qdma_dbg(qdev, "update intr ring%d %d", intr->ridx, index); in qdma_queue_isr()
915 ret = qdma_update_cidx(q, intr->ridx, index); in qdma_queue_isr()
969 ring->ridx = i; in qdmam_alloc_qintr_rings()
984 QDMA_CTXT_CLEAR, ring->ridx, NULL); in qdmam_alloc_qintr_rings()
992 QDMA_CTXT_WRITE, ring->ridx, ctxt); in qdmam_alloc_qintr_rings()
H A Dqdma.h230 u16 ridx; member
/linux/net/wireless/
H A Dwext-compat.c1191 int band, ridx; in cfg80211_wext_siwrate() local
1212 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in cfg80211_wext_siwrate()
1213 struct ieee80211_rate *srate = &sband->bitrates[ridx]; in cfg80211_wext_siwrate()
1215 mask.control[band].legacy = 1 << ridx; in cfg80211_wext_siwrate()
1220 mask.control[band].legacy |= 1 << ridx; in cfg80211_wext_siwrate()
H A Dnl80211.c5607 int ridx; in rateset_to_mask() local
5609 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in rateset_to_mask()
5611 &sband->bitrates[ridx]; in rateset_to_mask()
5613 mask |= 1 << ridx; in rateset_to_mask()
5617 if (ridx == sband->n_bitrates) in rateset_to_mask()
5633 int ridx, rbit; in ht_rateset_to_mask() local
5635 ridx = rates[i] / 8; in ht_rateset_to_mask()
5639 if ((ridx < 0) || (ridx >= IEEE80211_HT_MCS_MASK_LEN)) in ht_rateset_to_mask()
5643 ridx = array_index_nospec(ridx, IEEE80211_HT_MCS_MASK_LEN); in ht_rateset_to_mask()
5644 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit) in ht_rateset_to_mask()
[all …]
/linux/drivers/dma/
H A Dfsl_raid.c751 u8 ridx = 0; in fsl_re_probe() local
836 fsl_re_chan_probe(ofdev, child, ridx++, off); in fsl_re_probe()
/linux/drivers/parisc/
H A 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/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c487 int ridx = 0, vidx = 0; in iavf_map_rings_to_vectors() local
492 for (; ridx < rings_remaining; ridx++) { in iavf_map_rings_to_vectors()
493 iavf_map_vector_to_rxq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
494 iavf_map_vector_to_txq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko-defs.h339 uint64_t ridx:17; member
341 uint64_t ridx:17;
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api.c1072 int idx, ridx, wstart, nidx; in vcap_copy_from_w32be() local
1075 for (idx = 0, ridx = size - 1; idx < size; ++idx, --ridx) { in vcap_copy_from_w32be()
1080 dst[nidx] = src[ridx]; in vcap_copy_from_w32be()
/linux/drivers/irqchip/
H A Dirq-gic-v3-its.c1103 int ridx; in its_queue_full() local
1106 ridx = readl_relaxed(its->base + GITS_CREADR) / sizeof(struct its_cmd_block); in its_queue_full()
1109 if (((widx + 1) % ITS_CMD_QUEUE_NR_ENTRIES) == ridx) in its_queue_full()