Lines Matching refs:tpds
299 unsigned int init, targ, total_size, ipds, tpds; in hmat_parse_locality() local
313 tpds = hmat_loc->number_of_target_Pds; in hmat_parse_locality()
314 total_size = sizeof(*hmat_loc) + sizeof(*entries) * ipds * tpds + in hmat_parse_locality()
315 sizeof(*inits) * ipds + sizeof(*targs) * tpds; in hmat_parse_locality()
323 hmat_loc->flags, hmat_data_type(type), ipds, tpds, in hmat_parse_locality()
328 entries = (u16 *)(targs + tpds); in hmat_parse_locality()
331 for (targ = 0; targ < tpds; targ++) { in hmat_parse_locality()
332 value = hmat_normalize(entries[init * tpds + targ], in hmat_parse_locality()
498 unsigned int ipds, tpds, i, idx = 0, tdx = 0; in hmat_initiator_perf() local
503 tpds = hmat_loc->number_of_target_Pds; in hmat_initiator_perf()
506 entries = (u16 *)(targs + tpds); in hmat_initiator_perf()
518 for (i = 0; i < tpds; i++) { in hmat_initiator_perf()
524 if (i == tpds) in hmat_initiator_perf()
527 return hmat_normalize(entries[idx * tpds + tdx], in hmat_initiator_perf()