Lines Matching refs:num_tcs
234 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) { in tcs_invalidate()
293 if (msg->state == RPMH_ACTIVE_ONLY_STATE && !tcs->num_tcs) in get_tcs_for_msg()
441 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done()
455 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done()
537 for (i = 0; i < tcs->num_tcs; i++, tcs_id++) { in check_for_req_inflight()
568 for (i = 0; i < tcs->num_tcs; i++) { in find_free_tcs()
699 if (slot >= tcs->num_tcs * tcs->ncpt) in find_slots()
770 if (!tcs->num_tcs) in rpmh_rsc_ctrlr_is_busy()
773 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) { in rpmh_rsc_ctrlr_is_busy()
914 tcs->num_tcs = tcs_cfg[i].n; in rpmh_probe_tcs_config()
917 if (!tcs->num_tcs || tcs->type == CONTROL_TCS) in rpmh_probe_tcs_config()
920 if (st + tcs->num_tcs > max_tcs || in rpmh_probe_tcs_config()
921 st + tcs->num_tcs >= BITS_PER_BYTE * sizeof(tcs->mask)) in rpmh_probe_tcs_config()
924 tcs->mask = ((1 << tcs->num_tcs) - 1) << st; in rpmh_probe_tcs_config()
926 st += tcs->num_tcs; in rpmh_probe_tcs_config()
929 drv->num_tcs = st; in rpmh_probe_tcs_config()