Lines Matching full:drc

352 	for_each_node_with_property(np, "ibm,my-drc-index") {  in get_device_node_with_drc_index()
353 rc = of_property_read_u32(np, "ibm,my-drc-index", in get_device_node_with_drc_index()
357 __func__, np, "ibm,my-drc-index", rc); in get_device_node_with_drc_index()
373 struct of_drc_info drc; in get_device_node_with_drc_info() local
379 for_each_node_with_property(np, "ibm,drc-info") { in get_device_node_with_drc_info()
380 info = of_find_property(np, "ibm,drc-info", NULL); in get_device_node_with_drc_info()
391 if (of_read_drc_info_cell(&info, &value, &drc)) in get_device_node_with_drc_info()
393 if (index > drc.last_drc_index) in get_device_node_with_drc_info()
395 node_index = drc.drc_index_start; in get_device_node_with_drc_info()
396 for (j = 0; j < drc.num_sequential_elems; j++) { in get_device_node_with_drc_info()
399 node_index += drc.sequential_inc; in get_device_node_with_drc_info()
414 for_each_node_with_property(np, "ibm,drc-indexes") { in get_device_node_with_drc_indexes()
417 * DRC indexes returned. in get_device_node_with_drc_indexes()
419 rc = of_property_read_u32_index(np, "ibm,drc-indexes", in get_device_node_with_drc_indexes()
425 * Retrieve DRC index from the list and return the in get_device_node_with_drc_indexes()
429 rc = of_property_read_u32_index(np, "ibm,drc-indexes", in get_device_node_with_drc_indexes()
466 * Recent FW provides ibm,drc-info property. So search in dlpar_hp_dt_add()
467 * for the user specified DRC index from ibm,drc-info in dlpar_hp_dt_add()
469 * in the indexes array from ibm,drc-indexes property. in dlpar_hp_dt_add()
534 for_each_node_with_property(np, "ibm,my-drc-index") { in dlpar_hp_dt_remove()
535 rc = of_property_read_u32(np, "ibm,my-drc-index", &index); in dlpar_hp_dt_remove()
538 __func__, np, "ibm,my-drc-index", rc); in dlpar_hp_dt_remove()
701 pr_err("No DRC count specified.\n"); in dlpar_parse_id_type()
706 pr_err("Invalid DRC count specified.\n"); in dlpar_parse_id_type()
712 pr_err("No DRC Index specified.\n"); in dlpar_parse_id_type()
717 pr_err("Invalid DRC Index specified.\n"); in dlpar_parse_id_type()
727 pr_err("No DRC Index specified.\n"); in dlpar_parse_id_type()
732 pr_err("Invalid DRC Index specified.\n"); in dlpar_parse_id_type()
741 pr_err("No DRC count specified.\n"); in dlpar_parse_id_type()
746 pr_err("Invalid DRC count specified.\n"); in dlpar_parse_id_type()