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