Lines Matching refs:num_tcs
118 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) { in tcs_invalidate()
176 if (msg->state == RPMH_ACTIVE_ONLY_STATE && !tcs->num_tcs) { in get_tcs_for_msg()
178 if (tcs->num_tcs) { in get_tcs_for_msg()
316 for (i = 0; i < tcs->num_tcs; i++, tcs_id++) { in check_for_req_inflight()
338 for (i = 0; i < tcs->num_tcs; i++) { in find_free_tcs()
429 if (i + len >= tcs->num_tcs * tcs->ncpt) in find_match()
460 if (slot == tcs->num_tcs * tcs->ncpt) in find_slots()
583 tcs->num_tcs = tcs_cfg[i].n; in rpmh_probe_tcs_config()
587 if (!tcs->num_tcs || tcs->type == CONTROL_TCS) in rpmh_probe_tcs_config()
590 if (st + tcs->num_tcs > max_tcs || in rpmh_probe_tcs_config()
591 st + tcs->num_tcs >= BITS_PER_BYTE * sizeof(tcs->mask)) in rpmh_probe_tcs_config()
594 tcs->mask = ((1 << tcs->num_tcs) - 1) << st; in rpmh_probe_tcs_config()
596 st += tcs->num_tcs; in rpmh_probe_tcs_config()
606 tcs->num_tcs * ncpt, sizeof(u32), in rpmh_probe_tcs_config()
612 drv->num_tcs = st; in rpmh_probe_tcs_config()