Lines Matching refs:num_tcs
118 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) { in tcs_invalidate()
177 if (msg->state == RPMH_ACTIVE_ONLY_STATE && !tcs->num_tcs) { in get_tcs_for_msg()
179 if (tcs->num_tcs) { in get_tcs_for_msg()
318 for (i = 0; i < tcs->num_tcs; i++, tcs_id++) { in check_for_req_inflight()
340 for (i = 0; i < tcs->num_tcs; i++) { in find_free_tcs()
431 if (i + len >= tcs->num_tcs * tcs->ncpt) in find_match()
462 if (slot >= tcs->num_tcs * tcs->ncpt) in find_slots()
585 tcs->num_tcs = tcs_cfg[i].n; in rpmh_probe_tcs_config()
589 if (!tcs->num_tcs || tcs->type == CONTROL_TCS) in rpmh_probe_tcs_config()
592 if (st + tcs->num_tcs > max_tcs || in rpmh_probe_tcs_config()
593 st + tcs->num_tcs >= BITS_PER_BYTE * sizeof(tcs->mask)) in rpmh_probe_tcs_config()
596 tcs->mask = ((1 << tcs->num_tcs) - 1) << st; in rpmh_probe_tcs_config()
598 st += tcs->num_tcs; in rpmh_probe_tcs_config()
608 tcs->num_tcs * ncpt, sizeof(u32), in rpmh_probe_tcs_config()
614 drv->num_tcs = st; in rpmh_probe_tcs_config()