Lines Matching refs:num_tcs
233 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) { in tcs_invalidate()
292 if (msg->state == RPMH_ACTIVE_ONLY_STATE && !tcs->num_tcs) in get_tcs_for_msg()
440 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done()
454 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done()
536 for (i = 0; i < tcs->num_tcs; i++, tcs_id++) { in check_for_req_inflight()
567 for (i = 0; i < tcs->num_tcs; i++) { in find_free_tcs()
698 if (slot >= tcs->num_tcs * tcs->ncpt) in find_slots()
769 if (!tcs->num_tcs) in rpmh_rsc_ctrlr_is_busy()
772 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) { in rpmh_rsc_ctrlr_is_busy()
913 tcs->num_tcs = tcs_cfg[i].n; in rpmh_probe_tcs_config()
916 if (!tcs->num_tcs || tcs->type == CONTROL_TCS) in rpmh_probe_tcs_config()
919 if (st + tcs->num_tcs > max_tcs || in rpmh_probe_tcs_config()
920 st + tcs->num_tcs >= BITS_PER_BYTE * sizeof(tcs->mask)) in rpmh_probe_tcs_config()
923 tcs->mask = ((1 << tcs->num_tcs) - 1) << st; in rpmh_probe_tcs_config()
925 st += tcs->num_tcs; in rpmh_probe_tcs_config()
928 drv->num_tcs = st; in rpmh_probe_tcs_config()