Lines Matching defs:where
49 #define PCIE_CONF_ADDR(bus, devfn, where) \
51 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where) | \
236 u32 devfn, int where, int size, u32 *val)
240 mvebu_writel(port, PCIE_CONF_ADDR(bus->number, devfn, where),
245 *val = readb_relaxed(conf_data + (where & 3));
248 *val = readw_relaxed(conf_data + (where & 2));
260 u32 devfn, int where, int size, u32 val)
264 mvebu_writel(port, PCIE_CONF_ADDR(bus->number, devfn, where),
269 writeb(val, conf_data + (where & 3));
272 writew(val, conf_data + (where & 2));
630 int where, int size, u32 val)
642 return pci_bridge_emul_conf_write(&port->bridge, where,
650 where, size, val);
656 static int mvebu_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where,
671 return pci_bridge_emul_conf_read(&port->bridge, where,
681 where, size, val);