Lines Matching refs:size
277 * This is to convert the size of the inbound "BAR" region to the
280 static int brcm_pcie_encode_ibar_size(u64 size)
282 int log2_in = ilog2(size);
392 u64 pcie_addr, u64 size)
405 limit_addr_mb = (cpu_addr + size - 1) / SZ_1M;
786 u64 size = 0;
791 size += entry->res->end - entry->res->start + 1;
807 pcie->memc_size[0] = 1ULL << fls64(size - 1);
813 for (i = 0, size = 0; i < pcie->num_memc; i++)
814 size += pcie->memc_size[i];
819 *rc_bar2_size = 1ULL << fls64(size - 1);
833 * addition, its size mut be a power of two. To further complicate
835 * on a multiple of its size. If a portion of the viewport does not
852 * multiple of its size
856 dev_err(dev, "Invalid rc_bar2_offset/size: size 0x%llx, off 0x%llx\n",
1007 /* bmips PCIe outbound windows have a 128MB max size */
1099 const size_t size = sizeof(struct subdev_regulators) +
1104 sr = devm_kzalloc(dev, size, GFP_KERNEL);