Lines Matching refs:size
153 * @size_unit: inbound mapping region size unit, could be SZ_1K, SZ_1M, or
156 * GB, depending on the size unit
569 int where, int size, u32 *val)
579 ret = pci_generic_config_read32(bus, devfn, where, size, val);
594 if (size <= 2)
595 *val = (data >> (8 * (where & 3))) & ((1 << (size * 8)) - 1);
656 int size, u32 *val)
666 if (size <= 2)
667 *val = (*val >> (8 * (where & 3))) & ((1 << (size * 8)) - 1);
674 int size, u32 val)
683 if (size == 4) {
688 mask = ~(((1 << (size * 8)) - 1) << ((where & 0x3) * 8));
697 int where, int size, u32 *val)
704 ret = iproc_pcie_config_read(bus, devfn, where, size, val);
706 ret = pci_generic_config_read32(bus, devfn, where, size, val);
713 int where, int size, u32 val)
718 ret = pci_generic_config_write32(bus, devfn, where, size, val);
906 u64 pci_addr, resource_size_t size)
948 * with the minimal window size at index zero. In this
950 * minimum window size that can be supported
952 if (size < window_size) {
958 * window size that can be supported on the
963 size = window_size;
983 size -= window_size;
984 if (size == 0)
1001 "axi %pap, axi offset %pap, pci %pap, res size %pap\n",
1002 &axi_addr, &ob->axi_offset, &pci_addr, &size);
1057 u64 pci_addr, resource_size_t size)
1092 size >>= ilog2(nr_windows);
1106 axi_addr += size;
1122 resource_size_t size = resource_size(entry->res);
1142 if (size != region_size)
1156 pci_addr, size);
1168 dev_err(dev, "axi %pap, pci %pap, res size %pap\n",
1169 &axi_addr, &pci_addr, &size);
1285 /* use a default 8K window size */