Lines Matching defs:index
342 rc = of_property_read_u32(child, "ibm,my-drc-index",
362 u32 index;
387 index = drc.drc_index_start;
389 if (drc_index == index)
392 index += drc.sequential_inc;
402 int rc, index;
409 * of drc values so we start looking at index = 1.
411 index = 1;
416 index++, &drc);
433 pr_debug("Attempting to add CPU, drc index: %x\n", drc_index);
443 pr_warn("CPU with drc index %x already exists\n", drc_index);
449 pr_warn("Cannot find CPU (drc index %x) to add.\n", drc_index);
455 pr_warn("Failed to acquire DRC, rc: %d, drc index: %x\n",
463 pr_warn("Failed call to configure-connector, drc index: %x\n",
477 pr_warn("Failed to attach node %pOFn, rc: %d, drc index: %x\n",
492 pr_warn("Failed to online cpu %pOFn, rc: %d, drc index: %x\n",
502 pr_debug("Successfully added CPU %pOFn, drc index: %x\n", dn,
511 pr_debug("Attempting to remove CPU %pOFn, drc index: %x\n",
541 pr_debug("Successfully removed CPU, drc index: %x\n", drc_index);
552 rc = of_property_read_u32(dn, "ibm,my-drc-index", &my_index);
570 pr_warn("Cannot find CPU (drc index %x) to remove\n",
597 /* Note that cpus_found is always 1 ahead of the index
600 rc = of_property_read_u32(dn, "ibm,my-drc-index",
603 pr_warn("Error occurred getting drc-index for %pOFn\n",
705 int index, rc;
711 * of drc values so we start looking at index = 1.
713 index = 1;
716 index++, &drc_index);
853 rc = of_property_read_u32(dn, "ibm,my-drc-index", &drc_index);