Lines Matching refs:phb_index
330 static int get_phb_index(struct device_node *np, u32 *phb_index) in get_phb_index() argument
332 if (of_property_read_u32(np, "ibm,phb-index", phb_index)) in get_phb_index()
337 static u64 get_capp_unit_id(struct device_node *np, u32 phb_index) in get_capp_unit_id() argument
350 if (phb_index == 0) in get_capp_unit_id()
353 if (phb_index == 1) in get_capp_unit_id()
364 if (phb_index == 0) in get_capp_unit_id()
367 if (phb_index == 3) in get_capp_unit_id()
375 u32 *phb_index, u64 *capp_unit_id) in cxl_calc_capp_routing() argument
391 rc = get_phb_index(np, phb_index); in cxl_calc_capp_routing()
398 *capp_unit_id = get_capp_unit_id(np, *phb_index); in cxl_calc_capp_routing()
402 *chipid, *phb_index); in cxl_calc_capp_routing()
492 u32 phb_index; in init_implementation_adapter_regs_psl9() local
497 rc = cxl_calc_capp_routing(dev, &chipid, &phb_index, &capp_unit_id); in init_implementation_adapter_regs_psl9()
531 if (phb_index == 3) { in init_implementation_adapter_regs_psl9()
559 u32 phb_index; in init_implementation_adapter_regs_psl8() local
563 rc = cxl_calc_capp_routing(dev, &chipid, &phb_index, &capp_unit_id); in init_implementation_adapter_regs_psl8()