Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/cxl/
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()
Dpci.c326 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()
[all …]
Dcxl.h1025 u32 *phb_index, u64 *capp_unit_id);