Home
last modified time | relevance | path

Searched refs:phb_index (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/misc/cxl/
H A Dcxllib.c25 u32 phb_index; in cxllib_slot_is_supported() local
42 rc = cxl_calc_capp_routing(dev, &chip_id, &phb_index, &capp_unit_id); in cxllib_slot_is_supported()
79 u32 phb_index; in cxllib_get_xsl_config() local
95 rc = cxl_calc_capp_routing(dev, &chip_id, &phb_index, &capp_unit_id); in cxllib_get_xsl_config()
H A Dpci.c317 static int get_phb_index(struct device_node *np, u32 *phb_index) in get_phb_index() argument
319 if (of_property_read_u32(np, "ibm,phb-index", phb_index)) in get_phb_index()
324 static u64 get_capp_unit_id(struct device_node *np, u32 phb_index) in get_capp_unit_id() argument
337 if (phb_index == 0) in get_capp_unit_id()
340 if (phb_index == 1) in get_capp_unit_id()
351 if (phb_index == 0) in get_capp_unit_id()
354 if (phb_index == 3) in get_capp_unit_id()
362 u32 *phb_index, u64 *capp_unit_id) in cxl_calc_capp_routing() argument
378 rc = get_phb_index(np, phb_index); in cxl_calc_capp_routing()
385 *capp_unit_id = get_capp_unit_id(np, *phb_index); in cxl_calc_capp_routing()
[all …]
H A Dcxl.h1025 u32 *phb_index, u64 *capp_unit_id);
/openbmc/qemu/include/hw/ppc/
H A Dspapr.h834 #define SPAPR_PCI_LIOBN(phb_index, window_num) \ argument
835 (0x80000000 | ((phb_index) << 8) | (window_num))