Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/cxl/core/
Dmbox.c736 le64_to_cpu(pi.active_volatile_cap) * CXL_CAPACITY_MULTIPLIER; in cxl_mem_get_partition_info()
738 le64_to_cpu(pi.active_persistent_cap) * CXL_CAPACITY_MULTIPLIER; in cxl_mem_get_partition_info()
740 le64_to_cpu(pi.next_volatile_cap) * CXL_CAPACITY_MULTIPLIER; in cxl_mem_get_partition_info()
742 le64_to_cpu(pi.next_volatile_cap) * CXL_CAPACITY_MULTIPLIER; in cxl_mem_get_partition_info()
768 le64_to_cpu(id.total_capacity) * CXL_CAPACITY_MULTIPLIER; in cxl_dev_state_identify()
770 le64_to_cpu(id.volatile_capacity) * CXL_CAPACITY_MULTIPLIER; in cxl_dev_state_identify()
772 le64_to_cpu(id.persistent_capacity) * CXL_CAPACITY_MULTIPLIER; in cxl_dev_state_identify()
774 le64_to_cpu(id.partition_align) * CXL_CAPACITY_MULTIPLIER; in cxl_dev_state_identify()
/linux-5.19.10/tools/testing/cxl/test/
Dmem.c120 capacity += resource_size(res) / CXL_CAPACITY_MULTIPLIER; in mock_id()
127 resource_size(res) / CXL_CAPACITY_MULTIPLIER); in mock_id()
130 resource_size(res) / CXL_CAPACITY_MULTIPLIER); in mock_id()
/linux-5.19.10/drivers/cxl/
Dcxlmem.h149 #define CXL_CAPACITY_MULTIPLIER SZ_256M macro