Lines Matching defs:size
49 #define FARADAY_PCI_MEM1_BASE_SIZE 0x50 /* Memory base and size #1 */
50 #define FARADAY_PCI_MEM2_BASE_SIZE 0x54 /* Memory base and size #2 */
51 #define FARADAY_PCI_MEM3_BASE_SIZE 0x58 /* Memory base and size #3 */
81 * Bit 19..16 (4 bits) defines the size per below
182 pr_debug("Translated pci base @%pap, size %pap to config %08x\n",
190 unsigned int fn, int config, int size,
202 if (size == 1)
204 else if (size == 2)
211 int config, int size, u32 *value)
217 PCI_SLOT(fn), PCI_FUNC(fn), config, size, *value);
219 return faraday_raw_pci_read_config(p, bus->number, fn, config, size, value);
223 unsigned int fn, int config, int size,
235 switch (size) {
253 int config, int size, u32 value)
259 PCI_SLOT(fn), PCI_FUNC(fn), config, size, value);
261 return faraday_raw_pci_write_config(p, bus->number, fn, config, size,
400 "DMA range %d: illegal MEM resource size\n", i);
461 /* setup I/O space size */
464 dev_err(dev, "illegal IO mem size\n");