Searched refs:bar_size (Results 1 – 2 of 2) sorted by relevance
927 uint32 accessible, bar_size, tmp = 0; in Radeon_DetectRAM() local950 bar_size = di->pcii.u.h0.base_register_sizes[0]; in Radeon_DetectRAM()951 if (bar_size == 0) in Radeon_DetectRAM()952 bar_size = 0x200000; in Radeon_DetectRAM()953 if (accessible > bar_size) in Radeon_DetectRAM()954 accessible = bar_size; in Radeon_DetectRAM()962 bar_size / 1024); in Radeon_DetectRAM()
723 uint64_t size, unit_size, offset, bar_size, bar_phys_addr; in nvme_ctrlr_map_cmb() local745 &bar_size); in nvme_ctrlr_map_cmb()747 if (offset > bar_size) in nvme_ctrlr_map_cmb()750 if (size > bar_size - offset) in nvme_ctrlr_map_cmb()