Home
last modified time | relevance | path

Searched refs:cap_array (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/kernel/
Dumh.c502 unsigned long cap_array[2]; in proc_cap_handler() local
518 cap_array[0] = (u32) cap->val; in proc_cap_handler()
519 cap_array[1] = cap->val >> 32; in proc_cap_handler()
523 t.data = &cap_array; in proc_cap_handler()
533 new_cap.val = (u32)cap_array[0]; in proc_cap_handler()
534 new_cap.val += (u64)cap_array[1] << 32; in proc_cap_handler()
/Linux-v6.6/drivers/cxl/core/
Dregs.c42 u32 cap_array; in cxl_probe_component_regs() local
52 cap_array = readl(base + CXL_CM_CAP_HDR_OFFSET); in cxl_probe_component_regs()
54 if (FIELD_GET(CXL_CM_CAP_HDR_ID_MASK, cap_array) != CM_CAP_HDR_CAP_ID) { in cxl_probe_component_regs()
61 cap_count = FIELD_GET(CXL_CM_CAP_HDR_ARRAY_SIZE_MASK, cap_array); in cxl_probe_component_regs()
123 u64 cap_array; in cxl_probe_device_regs() local
127 cap_array = readq(base + CXLDEV_CAP_ARRAY_OFFSET); in cxl_probe_device_regs()
128 if (FIELD_GET(CXLDEV_CAP_ARRAY_ID_MASK, cap_array) != in cxl_probe_device_regs()
132 cap_count = FIELD_GET(CXLDEV_CAP_ARRAY_COUNT_MASK, cap_array); in cxl_probe_device_regs()