Lines Matching defs:phb_index
326 static int get_phb_index(struct device_node *np, u32 *phb_index)
328 if (of_property_read_u32(np, "ibm,phb-index", phb_index))
333 static u64 get_capp_unit_id(struct device_node *np, u32 phb_index)
346 if (phb_index == 0)
349 if (phb_index == 1)
360 if (phb_index == 0)
363 if (phb_index == 3)
371 u32 *phb_index, u64 *capp_unit_id)
387 rc = get_phb_index(np, phb_index);
394 *capp_unit_id = get_capp_unit_id(np, *phb_index);
398 *chipid, *phb_index);
488 u32 phb_index;
493 rc = cxl_calc_capp_routing(dev, &chipid, &phb_index, &capp_unit_id);
527 if (phb_index == 3) {
555 u32 phb_index;
559 rc = cxl_calc_capp_routing(dev, &chipid, &phb_index, &capp_unit_id);