Lines Matching refs:num_tcs
271 for (m = tcs->offset; m < tcs->offset + tcs->num_tcs; m++) in tcs_invalidate()
329 if (msg->state == RPMH_ACTIVE_ONLY_STATE && !tcs->num_tcs) in get_tcs_for_msg()
461 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done()
474 if (!drv->tcs[ACTIVE_TCS].num_tcs) in tcs_tx_done()
555 for_each_set_bit_from(i, drv->tcs_in_use, tcs->offset + tcs->num_tcs) { in check_for_req_inflight()
583 unsigned long max = tcs->offset + tcs->num_tcs; in find_free_tcs()
715 if (slot >= tcs->num_tcs * tcs->ncpt) in find_slots()
787 if (!tcs->num_tcs) in rpmh_rsc_ctrlr_is_busy()
790 max = tcs->offset + tcs->num_tcs; in rpmh_rsc_ctrlr_is_busy()
809 if (!drv->tcs[CONTROL_TCS].num_tcs || !drv->genpd_nb.notifier_call) in rpmh_rsc_write_next_wakeup()
1014 tcs->num_tcs = tcs_cfg[i].n; in rpmh_probe_tcs_config()
1017 if (!tcs->num_tcs || tcs->type == CONTROL_TCS) in rpmh_probe_tcs_config()
1020 if (st + tcs->num_tcs > max_tcs || in rpmh_probe_tcs_config()
1021 st + tcs->num_tcs >= BITS_PER_BYTE * sizeof(tcs->mask)) in rpmh_probe_tcs_config()
1024 tcs->mask = ((1 << tcs->num_tcs) - 1) << st; in rpmh_probe_tcs_config()
1026 st += tcs->num_tcs; in rpmh_probe_tcs_config()
1029 drv->num_tcs = st; in rpmh_probe_tcs_config()