Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/radeon/
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()
A 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()
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()
A 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()
A 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()
/linux-6.3-rc2/arch/ia64/kernel/
A 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()
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()
400 ridx = rotate_reg(sor, rrb_gr, ridx); in get_rse_reg()
[all …]
/linux-6.3-rc2/drivers/net/can/rcar/
A Drcar_canfd.c799 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_configure_afl_rules() local
833 RCANFD_GAFLP1_GAFLFDP(ridx)); in rcar_canfd_configure_afl_rules()
847 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_configure_rx() local
955 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_global_error() local
1174 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_handle_global_receive() local
1185 RCANFD_RFCC(gpriv, ridx), in rcar_canfd_handle_global_receive()
1379 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_start() local
1450 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_stop() local
1568 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_rx_pkt() local
1583 id = rcar_canfd_read(priv->base, RCANFD_C_RFID(ridx)); in rcar_canfd_rx_pkt()
[all …]
/linux-6.3-rc2/net/mac80211/
A 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()
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()
514 ridx = (*rate_idx + 1) >> 4; in rate_idx_match_vht_mcs_mask()
[all …]
/linux-6.3-rc2/sound/pci/ctxfi/
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()
A Dctresource.h66 int mgr_get_resource(struct rsc_mgr *mgr, unsigned int n, unsigned int *ridx);
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/
A 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.3-rc2/drivers/crypto/caam/
A 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()
A Dintern.h54 int ridx; member
/linux-6.3-rc2/drivers/net/wireless/intersil/p54/
A 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.3-rc2/drivers/infiniband/hw/qib/
A 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()
A 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.3-rc2/net/wireless/
A Dwext-compat.c1277 int band, ridx, ret; in cfg80211_wext_siwrate() local
1299 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in cfg80211_wext_siwrate()
1300 struct ieee80211_rate *srate = &sband->bitrates[ridx]; in cfg80211_wext_siwrate()
1302 mask.control[band].legacy = 1 << ridx; in cfg80211_wext_siwrate()
1307 mask.control[band].legacy |= 1 << ridx; in cfg80211_wext_siwrate()
A Dnl80211.c4908 int ridx; in rateset_to_mask() local
4910 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in rateset_to_mask()
4912 &sband->bitrates[ridx]; in rateset_to_mask()
4914 mask |= 1 << ridx; in rateset_to_mask()
4918 if (ridx == sband->n_bitrates) in rateset_to_mask()
4934 int ridx, rbit; in ht_rateset_to_mask() local
4936 ridx = rates[i] / 8; in ht_rateset_to_mask()
4940 if ((ridx < 0) || (ridx >= IEEE80211_HT_MCS_MASK_LEN)) in ht_rateset_to_mask()
4944 ridx = array_index_nospec(ridx, IEEE80211_HT_MCS_MASK_LEN); in ht_rateset_to_mask()
4945 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit) in ht_rateset_to_mask()
[all …]
/linux-6.3-rc2/drivers/dma/
A 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.3-rc2/drivers/parisc/
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-6.3-rc2/drivers/net/ethernet/intel/iavf/
A 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.3-rc2/arch/ia64/hp/common/
A 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.3-rc2/drivers/net/ethernet/microchip/vcap/
A Dvcap_api.c1039 int idx, ridx, wstart, nidx; in vcap_copy_from_w32be() local
1042 for (idx = 0, ridx = size - 1; idx < size; ++idx, --ridx) { in vcap_copy_from_w32be()
1047 dst[nidx] = src[ridx]; in vcap_copy_from_w32be()
/linux-6.3-rc2/arch/mips/include/asm/octeon/
A Dcvmx-pko-defs.h339 uint64_t ridx:17; member
341 uint64_t ridx:17;
/linux-6.3-rc2/drivers/irqchip/
A 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()

Completed in 127 milliseconds

12