Lines Matching defs:phb_index
317 static int get_phb_index(struct device_node *np, u32 *phb_index)
319 if (of_property_read_u32(np, "ibm,phb-index", phb_index))
324 static u64 get_capp_unit_id(struct device_node *np, u32 phb_index)
337 if (phb_index == 0)
340 if (phb_index == 1)
351 if (phb_index == 0)
354 if (phb_index == 3)
362 u32 *phb_index, u64 *capp_unit_id)
378 rc = get_phb_index(np, phb_index);
385 *capp_unit_id = get_capp_unit_id(np, *phb_index);
389 *chipid, *phb_index);
479 u32 phb_index;
484 rc = cxl_calc_capp_routing(dev, &chipid, &phb_index, &capp_unit_id);
518 if (phb_index == 3) {
546 u32 phb_index;
550 rc = cxl_calc_capp_routing(dev, &chipid, &phb_index, &capp_unit_id);