Home
last modified time | relevance | path

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

/linux/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()
A 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/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/net/mac80211/
A Drate.c449 int ridx, rbit; in rate_idx_match_mcs_mask() local
451 ridx = *rate_idx / 8; in rate_idx_match_mcs_mask()
455 if (ridx < 0 || ridx >= IEEE80211_HT_MCS_MASK_LEN) in rate_idx_match_mcs_mask()
459 for (i = ridx; i >= 0; i--) { in rate_idx_match_mcs_mask()
469 ridx = (*rate_idx + 1) / 8; in rate_idx_match_mcs_mask()
486 int ridx, rbit; in rate_idx_match_vht_mcs_mask() local
488 ridx = *rate_idx >> 4; in rate_idx_match_vht_mcs_mask()
491 if (ridx < 0 || ridx >= NL80211_VHT_NSS_MAX) in rate_idx_match_vht_mcs_mask()
495 for (i = ridx; i >= 0; i--) { in rate_idx_match_vht_mcs_mask()
506 ridx = (*rate_idx + 1) >> 4; in rate_idx_match_vht_mcs_mask()
[all …]
/linux/drivers/net/can/rcar/
A Drcar_canfd.c727 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_configure_afl_rules() local
759 RCANFD_GAFLP1_GAFLFDP(ridx)); in rcar_canfd_configure_afl_rules()
773 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_configure_rx() local
881 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_global_error() local
907 rcar_canfd_write(priv->base, RCANFD_RFSTS(ridx), in rcar_canfd_global_error()
1108 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_handle_global_receive() local
1117 RCANFD_RFCC(ridx), in rcar_canfd_handle_global_receive()
1306 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_start() local
1377 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_stop() local
1495 u32 ridx = ch + RCANFD_RFFIFO_IDX; in rcar_canfd_rx_pkt() local
[all …]
/linux/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/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/drivers/net/wireless/intersil/p54/
A 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()
/linux/drivers/crypto/caam/
A 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()
A Dintern.h54 int ridx; member
/linux/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.c7321 static void set_txdds(struct qib_pportdata *ppd, int ridx, in set_txdds() argument
7329 regidx = KREG_IBPORT_IDX(IBSD_DDS_MAP_TABLE) + ridx; in set_txdds()
/linux/net/wireless/
A Dwext-compat.c1233 int band, ridx, ret; in cfg80211_wext_siwrate() local
1255 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in cfg80211_wext_siwrate()
1256 struct ieee80211_rate *srate = &sband->bitrates[ridx]; in cfg80211_wext_siwrate()
1258 mask.control[band].legacy = 1 << ridx; in cfg80211_wext_siwrate()
1263 mask.control[band].legacy |= 1 << ridx; in cfg80211_wext_siwrate()
A Dnl80211.c4626 int ridx; in rateset_to_mask() local
4628 for (ridx = 0; ridx < sband->n_bitrates; ridx++) { in rateset_to_mask()
4630 &sband->bitrates[ridx]; in rateset_to_mask()
4632 mask |= 1 << ridx; in rateset_to_mask()
4636 if (ridx == sband->n_bitrates) in rateset_to_mask()
4652 int ridx, rbit; in ht_rateset_to_mask() local
4654 ridx = rates[i] / 8; in ht_rateset_to_mask()
4658 if ((ridx < 0) || (ridx >= IEEE80211_HT_MCS_MASK_LEN)) in ht_rateset_to_mask()
4662 ridx = array_index_nospec(ridx, IEEE80211_HT_MCS_MASK_LEN); in ht_rateset_to_mask()
4663 if (sband->ht_cap.mcs.rx_mask[ridx] & rbit) in ht_rateset_to_mask()
[all …]
/linux/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/drivers/net/ethernet/intel/iavf/
A Diavf_main.c393 int ridx = 0, vidx = 0; in iavf_map_rings_to_vectors() local
398 for (; ridx < rings_remaining; ridx++) { in iavf_map_rings_to_vectors()
399 iavf_map_vector_to_rxq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
400 iavf_map_vector_to_txq(adapter, vidx, ridx); in iavf_map_rings_to_vectors()
/linux/drivers/parisc/
A 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()
/linux/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/arch/mips/include/asm/octeon/
A Dcvmx-pko-defs.h339 uint64_t ridx:17; member
341 uint64_t ridx:17;
/linux/drivers/irqchip/
A Dirq-gic-v3-its.c980 int ridx; in its_queue_full() local
983 ridx = readl_relaxed(its->base + GITS_CREADR) / sizeof(struct its_cmd_block); in its_queue_full()
986 if (((widx + 1) % ITS_CMD_QUEUE_NR_ENTRIES) == ridx) in its_queue_full()

Completed in 139 milliseconds