Lines Matching refs:idx
51 int idx, mdesc_dimm_count;
69 for (idx = 0; idx < mdesc_dimm_count; idx++) {
71 if (md_get_prop_str(mdp, listp[idx], "nac", &unum) < 0)
73 if (md_get_prop_str(mdp, listp[idx], "serial#",
76 if (md_get_prop_str(mdp, listp[idx], "part#",
114 for (idx = 0; idx < mdesc_dimm_count; idx++) {
116 if (md_get_prop_val(mdp, listp[idx], "size", &size) == 0)
164 idx = 0;
259 int bc, idx, mdesc_dimm_count, mdesc_bank_count;
273 for (idx = 0; idx < num_comps; idx++) {
274 if (md_get_prop_str(mdp, listp[idx], "type", &type) < 0)
280 if (md_get_prop_str(mdp, listp[idx], "nac",
283 if (md_get_prop_str(mdp, listp[idx], "label",
286 if (md_get_prop_str(mdp, listp[idx],
289 if (md_get_prop_str(mdp, listp[idx],
292 if (md_get_prop_str(mdp, listp[idx],
352 for (idx = 0; idx < mdesc_bank_count; idx++) {
353 if (md_get_prop_val(mdp, listp[idx], "mask", &mask) < 0)
355 if (md_get_prop_val(mdp, listp[idx], "match", &match) < 0)
364 n = md_scan_dag(mdp, listp[idx],
370 bclist[idx] = listp[idx];
371 *(banklist+idx) = bmp;
392 for (idx = 0; idx < n; idx++) {
393 if (md_get_prop_val(mdp, listp[idx], "base", &base) < 0)
395 if (md_get_prop_val(mdp, listp[idx], "size", &size) < 0)
397 bc = md_scan_dag(mdp, listp[idx],