Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_mr.c211 u8 ridx = 0; in _search_ld_sta_wrole() local
221 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in _search_ld_sta_wrole()
222 if (chanctx->role_map & BIT(ridx)) { in _search_ld_sta_wrole()
223 wr = &phl_com->wifi_roles[ridx]; in _search_ld_sta_wrole()
1618 u8 ridx = MAX_WIFI_ROLE_NUMBER; in phl_mr_ctrl_init() local
1637 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_mr_ctrl_init()
1638 role = &(phl_com->wifi_roles[ridx]); in phl_mr_ctrl_init()
1641 role->id = ridx; in phl_mr_ctrl_init()
1675 u8 ridx = MAX_WIFI_ROLE_NUMBER; in phl_mr_ctrl_deinit() local
1683 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_mr_ctrl_deinit()
[all …]
H A Dphl_role.c31 int ridx; in _phl_alloc_hw_resource() local
36 ridx = wrole->id; in _phl_alloc_hw_resource()
61 PHL_INFO("%s WID:%d - assigne wmm_id to 0\n", __func__, ridx); in _phl_alloc_hw_resource()
72 band_ctrl->role_map |= BIT(ridx); in _phl_alloc_hw_resource()
79 PHL_INFO("%s wridx:%d success\n", __func__, ridx); in _phl_alloc_hw_resource()
94 int ridx = wrole->id; in _phl_free_hw_resource() local
116 band_ctrl->role_map &= ~BIT(ridx); in _phl_free_hw_resource()
120 PHL_INFO("%s wr-id:%d success\n", __func__, ridx); in _phl_free_hw_resource()
145 u8 ridx = MAX_WIFI_ROLE_NUMBER; in _phl_search_roleidx_by_addr() local
148 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in _phl_search_roleidx_by_addr()
[all …]
H A Dphl_p2pps.c161 u8 ridx = 0; in _phl_get_role_by_band_port() local
163 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in _phl_get_role_by_band_port()
164 if (!(band_ctrl->role_map & BIT(ridx))) in _phl_get_role_by_band_port()
166 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, ridx); in _phl_get_role_by_band_port()
171 ridx, wrole->hw_band, wrole->hw_port); in _phl_get_role_by_band_port()
601 u8 ridx = 0; in phl_p2pps_noa_all_role_resume() local
603 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_p2pps_noa_all_role_resume()
604 if (!(band_ctrl->role_map & BIT(ridx))) in phl_p2pps_noa_all_role_resume()
606 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, ridx); in phl_p2pps_noa_all_role_resume()
610 ridx); in phl_p2pps_noa_all_role_resume()
[all …]
H A Dphl_chan.c226 void (*chg_opch_done)(void *priv, u8 ridx, enum rtw_phl_status status)) in rtw_phl_cmd_chg_op_chdef() argument
577 u8 ridx = wifi_role->id; in _phl_chanctx_rmap_set() local
583 if (chanctx->role_map & BIT(ridx)) in _phl_chanctx_rmap_set()
585 ridx, chanctx->role_map); in _phl_chanctx_rmap_set()
587 chanctx->role_map |= BIT(ridx); in _phl_chanctx_rmap_set()
615 u8 ridx = wifi_role->id; in _phl_chanctx_rmap_clr() local
621 if (!(chanctx->role_map & BIT(ridx))) in _phl_chanctx_rmap_clr()
622 PHL_ERR("ridx(%d) hasn't in chanctx->role_map(0x%02x)\n", ridx, chanctx->role_map); in _phl_chanctx_rmap_clr()
625 chanctx->role_map &= ~BIT(ridx); in _phl_chanctx_rmap_clr()
H A Dphl_sta.c590 u8 ridx = MAX_WIFI_ROLE_NUMBER; in phl_dump_stactrl() local
600 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_dump_stactrl()
601 role = &(phl_com->wifi_roles[ridx]); in phl_dump_stactrl()
603 ridx, role->assoc_sta_queue.cnt); in phl_dump_stactrl()
2348 u8 ridx = MAX_WIFI_ROLE_NUMBER; in phl_bcn_watchdog() local
2353 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_bcn_watchdog()
2354 wrole = rtw_phl_get_wrole_by_ridx(phl->phl_com, ridx); in phl_bcn_watchdog()
H A Dphl_scan.h138 u8 (*scan_issue_null_data)(void *priv, u8 ridx, bool ps);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_mr.c211 u8 ridx = 0; in _search_ld_sta_wrole() local
221 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in _search_ld_sta_wrole()
222 if (chanctx->role_map & BIT(ridx)) { in _search_ld_sta_wrole()
223 wr = &phl_com->wifi_roles[ridx]; in _search_ld_sta_wrole()
1618 u8 ridx = MAX_WIFI_ROLE_NUMBER; in phl_mr_ctrl_init() local
1637 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_mr_ctrl_init()
1638 role = &(phl_com->wifi_roles[ridx]); in phl_mr_ctrl_init()
1641 role->id = ridx; in phl_mr_ctrl_init()
1675 u8 ridx = MAX_WIFI_ROLE_NUMBER; in phl_mr_ctrl_deinit() local
1683 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_mr_ctrl_deinit()
[all …]
H A Dphl_role.c31 int ridx; in _phl_alloc_hw_resource() local
36 ridx = wrole->id; in _phl_alloc_hw_resource()
61 PHL_INFO("%s WID:%d - assigne wmm_id to 0\n", __func__, ridx); in _phl_alloc_hw_resource()
72 band_ctrl->role_map |= BIT(ridx); in _phl_alloc_hw_resource()
79 PHL_INFO("%s wridx:%d success\n", __func__, ridx); in _phl_alloc_hw_resource()
94 int ridx = wrole->id; in _phl_free_hw_resource() local
116 band_ctrl->role_map &= ~BIT(ridx); in _phl_free_hw_resource()
120 PHL_INFO("%s wr-id:%d success\n", __func__, ridx); in _phl_free_hw_resource()
145 u8 ridx = MAX_WIFI_ROLE_NUMBER; in _phl_search_roleidx_by_addr() local
148 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in _phl_search_roleidx_by_addr()
[all …]
H A Dphl_p2pps.c161 u8 ridx = 0; in _phl_get_role_by_band_port() local
163 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in _phl_get_role_by_band_port()
164 if (!(band_ctrl->role_map & BIT(ridx))) in _phl_get_role_by_band_port()
166 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, ridx); in _phl_get_role_by_band_port()
171 ridx, wrole->hw_band, wrole->hw_port); in _phl_get_role_by_band_port()
601 u8 ridx = 0; in phl_p2pps_noa_all_role_resume() local
603 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_p2pps_noa_all_role_resume()
604 if (!(band_ctrl->role_map & BIT(ridx))) in phl_p2pps_noa_all_role_resume()
606 wrole = rtw_phl_get_wrole_by_ridx(phl_info->phl_com, ridx); in phl_p2pps_noa_all_role_resume()
610 ridx); in phl_p2pps_noa_all_role_resume()
[all …]
H A Dphl_chan.c226 void (*chg_opch_done)(void *priv, u8 ridx, enum rtw_phl_status status)) in rtw_phl_cmd_chg_op_chdef() argument
577 u8 ridx = wifi_role->id; in _phl_chanctx_rmap_set() local
583 if (chanctx->role_map & BIT(ridx)) in _phl_chanctx_rmap_set()
585 ridx, chanctx->role_map); in _phl_chanctx_rmap_set()
587 chanctx->role_map |= BIT(ridx); in _phl_chanctx_rmap_set()
615 u8 ridx = wifi_role->id; in _phl_chanctx_rmap_clr() local
621 if (!(chanctx->role_map & BIT(ridx))) in _phl_chanctx_rmap_clr()
622 PHL_ERR("ridx(%d) hasn't in chanctx->role_map(0x%02x)\n", ridx, chanctx->role_map); in _phl_chanctx_rmap_clr()
625 chanctx->role_map &= ~BIT(ridx); in _phl_chanctx_rmap_clr()
H A Dphl_sta.c593 u8 ridx = MAX_WIFI_ROLE_NUMBER; in phl_dump_stactrl() local
603 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_dump_stactrl()
604 role = &(phl_com->wifi_roles[ridx]); in phl_dump_stactrl()
606 ridx, role->assoc_sta_queue.cnt); in phl_dump_stactrl()
2384 u8 ridx = MAX_WIFI_ROLE_NUMBER; in phl_bcn_watchdog() local
2389 for (ridx = 0; ridx < MAX_WIFI_ROLE_NUMBER; ridx++) { in phl_bcn_watchdog()
2390 wrole = rtw_phl_get_wrole_by_ridx(phl->phl_com, ridx); in phl_bcn_watchdog()
H A Dphl_scan.h138 u8 (*scan_issue_null_data)(void *priv, u8 ridx, bool ps);
/OK3568_Linux_fs/kernel/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.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()
/OK3568_Linux_fs/kernel/drivers/net/can/rcar/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H 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()
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 …]
/OK3568_Linux_fs/kernel/net/mac80211/
H A 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 …]
/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/kernel/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()
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()
/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H 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()
H A Dintern.h46 int ridx; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/p54/
H 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A 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()
/OK3568_Linux_fs/kernel/net/wireless/
H A 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()

123