Lines Matching refs:where
53 #define PCIE_CONF_ADDR(bus, devfn, where) \
55 PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where) | \
348 static int mvebu_pcie_child_rd_conf(struct pci_bus *bus, u32 devfn, int where,
364 mvebu_writel(port, PCIE_CONF_ADDR(bus->number, devfn, where),
369 *val = readb_relaxed(conf_data + (where & 3));
372 *val = readw_relaxed(conf_data + (where & 2));
385 int where, int size, u32 val)
400 mvebu_writel(port, PCIE_CONF_ADDR(bus->number, devfn, where),
405 writeb(val, conf_data + (where & 3));
408 writew(val, conf_data + (where & 2));
986 int where, int size, u32 val)
995 return pci_bridge_emul_conf_write(&port->bridge, where, size, val);
999 static int mvebu_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where,
1009 return pci_bridge_emul_conf_read(&port->bridge, where, size, val);
1565 * where each host bridge has one PCIe Root Port (which acts as