where 93 arch/alpha/kernel/core_apecs.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, where 101 arch/alpha/kernel/core_apecs.c bus, device_fn, where, pci_addr, type1)); where 115 arch/alpha/kernel/core_apecs.c addr = (device_fn << 8) | (where); where 119 arch/alpha/kernel/core_apecs.c addr = (bus << 16) | (device_fn << 8) | (where); where 275 arch/alpha/kernel/core_apecs.c apecs_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 283 arch/alpha/kernel/core_apecs.c if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) where 287 arch/alpha/kernel/core_apecs.c shift = (where & 3) * 8; where 294 arch/alpha/kernel/core_apecs.c apecs_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 301 arch/alpha/kernel/core_apecs.c if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) where 306 arch/alpha/kernel/core_apecs.c conf_write(addr, value << ((where & 3) * 8), type1); where 90 arch/alpha/kernel/core_cia.c mk_conf_addr(struct pci_bus *bus_dev, unsigned int device_fn, int where, where 96 arch/alpha/kernel/core_cia.c *pci_addr = (bus << 16) | (device_fn << 8) | where; where 100 arch/alpha/kernel/core_cia.c bus, device_fn, where, *pci_addr)); where 209 arch/alpha/kernel/core_cia.c cia_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, where 217 arch/alpha/kernel/core_cia.c if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) where 221 arch/alpha/kernel/core_cia.c shift = (where & 3) * 8; where 228 arch/alpha/kernel/core_cia.c cia_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, where 235 arch/alpha/kernel/core_cia.c if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) where 240 arch/alpha/kernel/core_cia.c conf_write(addr, value << ((where & 3) * 8), type1); where 82 arch/alpha/kernel/core_irongate.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, where 90 arch/alpha/kernel/core_irongate.c bus, device_fn, where, pci_addr, type1)); where 94 arch/alpha/kernel/core_irongate.c addr = (bus << 16) | (device_fn << 8) | where; where 103 arch/alpha/kernel/core_irongate.c irongate_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 109 arch/alpha/kernel/core_irongate.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 128 arch/alpha/kernel/core_irongate.c irongate_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 134 arch/alpha/kernel/core_irongate.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 102 arch/alpha/kernel/core_lca.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, where 119 arch/alpha/kernel/core_lca.c addr = (1 << (11 + device)) | (func << 8) | where; where 123 arch/alpha/kernel/core_lca.c addr = (bus << 16) | (device_fn << 8) | where; where 202 arch/alpha/kernel/core_lca.c lca_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 209 arch/alpha/kernel/core_lca.c if (mk_conf_addr(bus, devfn, where, &pci_addr)) where 212 arch/alpha/kernel/core_lca.c shift = (where & 3) * 8; where 220 arch/alpha/kernel/core_lca.c lca_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, where 226 arch/alpha/kernel/core_lca.c if (mk_conf_addr(bus, devfn, where, &pci_addr)) where 231 arch/alpha/kernel/core_lca.c conf_write(addr, value << ((where & 3) * 8)); where 507 arch/alpha/kernel/core_marvel.c unsigned int devfn, int where) where 509 arch/alpha/kernel/core_marvel.c return (hose->config_space_base | (bus << 16) | (devfn << 8) | where); where 513 arch/alpha/kernel/core_marvel.c mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where) where 535 arch/alpha/kernel/core_marvel.c addr = build_conf_addr(hose, bus, devfn, where); where 542 arch/alpha/kernel/core_marvel.c marvel_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 547 arch/alpha/kernel/core_marvel.c if (0 == (addr = mk_conf_addr(bus, devfn, where))) where 568 arch/alpha/kernel/core_marvel.c marvel_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 573 arch/alpha/kernel/core_marvel.c if (0 == (addr = mk_conf_addr(bus, devfn, where))) where 170 arch/alpha/kernel/core_mcpcia.c mk_conf_addr(struct pci_bus *pbus, unsigned int devfn, int where, where 179 arch/alpha/kernel/core_mcpcia.c bus, devfn, hose->index, where, pci_addr, type1)); where 186 arch/alpha/kernel/core_mcpcia.c addr = (bus << 16) | (devfn << 8) | (where); where 196 arch/alpha/kernel/core_mcpcia.c mcpcia_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 203 arch/alpha/kernel/core_mcpcia.c if (mk_conf_addr(bus, devfn, where, hose, &addr, &type1)) where 210 arch/alpha/kernel/core_mcpcia.c *value = __kernel_extbl(w, where & 3); where 213 arch/alpha/kernel/core_mcpcia.c *value = __kernel_extwl(w, where & 3); where 223 arch/alpha/kernel/core_mcpcia.c mcpcia_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 230 arch/alpha/kernel/core_mcpcia.c if (mk_conf_addr(bus, devfn, where, hose, &addr, &type1)) where 234 arch/alpha/kernel/core_mcpcia.c value = __kernel_insql(value, where & 3); where 67 arch/alpha/kernel/core_polaris.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, where 73 arch/alpha/kernel/core_polaris.c *pci_addr = (bus << 16) | (device_fn << 8) | (where) | where 78 arch/alpha/kernel/core_polaris.c bus, device_fn, where, *pci_addr)); where 84 arch/alpha/kernel/core_polaris.c polaris_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 90 arch/alpha/kernel/core_polaris.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 110 arch/alpha/kernel/core_polaris.c polaris_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 116 arch/alpha/kernel/core_polaris.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 141 arch/alpha/kernel/core_t2.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, where 149 arch/alpha/kernel/core_t2.c bus, device_fn, where, pci_addr, type1)); where 163 arch/alpha/kernel/core_t2.c addr = (0x0800L << device) | ((device_fn & 7) << 8) | (where); where 167 arch/alpha/kernel/core_t2.c addr = (bus << 16) | (device_fn << 8) | (where); where 284 arch/alpha/kernel/core_t2.c t2_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 292 arch/alpha/kernel/core_t2.c if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) where 296 arch/alpha/kernel/core_t2.c shift = (where & 3) * 8; where 303 arch/alpha/kernel/core_t2.c t2_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, where 310 arch/alpha/kernel/core_t2.c if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1)) where 315 arch/alpha/kernel/core_t2.c conf_write(addr, value << ((where & 3) * 8), type1); where 116 arch/alpha/kernel/core_titan.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, where 125 arch/alpha/kernel/core_titan.c bus, device_fn, where, pci_addr, type1)); where 131 arch/alpha/kernel/core_titan.c addr = (bus << 16) | (device_fn << 8) | where; where 140 arch/alpha/kernel/core_titan.c titan_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 146 arch/alpha/kernel/core_titan.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 165 arch/alpha/kernel/core_titan.c titan_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 171 arch/alpha/kernel/core_titan.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 92 arch/alpha/kernel/core_tsunami.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, where 101 arch/alpha/kernel/core_tsunami.c bus, device_fn, where, pci_addr, type1)); where 107 arch/alpha/kernel/core_tsunami.c addr = (bus << 16) | (device_fn << 8) | where; where 116 arch/alpha/kernel/core_tsunami.c tsunami_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 122 arch/alpha/kernel/core_tsunami.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 141 arch/alpha/kernel/core_tsunami.c tsunami_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 147 arch/alpha/kernel/core_tsunami.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 358 arch/alpha/kernel/core_wildfire.c mk_conf_addr(struct pci_bus *pbus, unsigned int device_fn, int where, where 367 arch/alpha/kernel/core_wildfire.c bus, device_fn, where, pci_addr, type1)); where 373 arch/alpha/kernel/core_wildfire.c addr = (bus << 16) | (device_fn << 8) | where; where 382 arch/alpha/kernel/core_wildfire.c wildfire_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 388 arch/alpha/kernel/core_wildfire.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 407 arch/alpha/kernel/core_wildfire.c wildfire_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 413 arch/alpha/kernel/core_wildfire.c if (mk_conf_addr(bus, devfn, where, &addr, &type1)) where 176 arch/alpha/kernel/sys_marvel.c unsigned int where) where 182 arch/alpha/kernel/sys_marvel.c val |= ((unsigned long)where << 24); /* set the new target pid */ where 190 arch/alpha/kernel/sys_marvel.c io7_redirect_one_lsi(struct io7 *io7, unsigned int which, unsigned int where) where 199 arch/alpha/kernel/sys_marvel.c val |= ((unsigned long)where << 14); /* set the new target pid */ where 207 arch/alpha/kernel/sys_marvel.c io7_redirect_one_msi(struct io7 *io7, unsigned int which, unsigned int where) where 216 arch/alpha/kernel/sys_marvel.c val |= ((unsigned long)where << 14); /* set the new target pid */ where 224 arch/alpha/kernel/sys_marvel.c init_one_io7_lsi(struct io7 *io7, unsigned int which, unsigned int where) where 229 arch/alpha/kernel/sys_marvel.c io7->csrs->PO7_LSI_CTL[which].csr = ((unsigned long)where << 14); where 235 arch/alpha/kernel/sys_marvel.c init_one_io7_msi(struct io7 *io7, unsigned int which, unsigned int where) where 240 arch/alpha/kernel/sys_marvel.c io7->csrs->PO7_MSI_CTL[which].csr = ((unsigned long)where << 14); where 145 arch/arc/include/asm/entry-arcv2.h ; - K mode: add the offset from current SP where H/w starts auto push where 46 arch/arc/include/asm/tlb-mmu1.h ; Slower in thrash case (where it matters) because more code is executed where 108 arch/arc/include/asm/unwind.h ((raItem).where == Memory && !((raItem).value * (dataAlign) + 4)) where 135 arch/arc/kernel/unwind.c } where; where 675 arch/arc/kernel/unwind.c static void set_rule(uleb128_t reg, enum item_location where, uleb128_t value, where 679 arch/arc/kernel/unwind.c state->regs[reg].where = where; where 684 arch/arc/kernel/unwind.c switch (where) { where 1162 arch/arc/kernel/unwind.c switch (state.regs[i].where) { where 1199 arch/arc/kernel/unwind.c if (state.regs[i].where == Nowhere) where 1203 arch/arc/kernel/unwind.c switch (state.regs[i].where) { where 1244 arch/arc/kernel/unwind.c switch (state.regs[i].where) { where 209 arch/arm/common/dmabounce.c dma_addr_t dma_addr, const char *where) where 214 arch/arm/common/dmabounce.c dev_err(dev, "Trying to %s invalid mapping\n", where); where 175 arch/arm/common/it8152.c unsigned int devfn, int where, where 182 arch/arm/common/it8152.c shift = (where & 3); where 184 arch/arm/common/it8152.c __raw_writel((addr + where), IT8152_PCI_CFG_ADDR); where 193 arch/arm/common/it8152.c unsigned int devfn, int where, where 205 arch/arm/common/it8152.c shift = (where & 3); where 207 arch/arm/common/it8152.c __raw_writel((addr + where), IT8152_PCI_CFG_ADDR); where 216 arch/arm/common/it8152.c __raw_writel((addr + where), IT8152_PCI_CFG_ADDR); where 32 arch/arm/include/asm/traps.h extern void dump_backtrace_entry(unsigned long where, unsigned long from, unsigned long frame); where 65 arch/arm/kernel/traps.c void dump_backtrace_entry(unsigned long where, unsigned long from, unsigned long frame) where 68 arch/arm/kernel/traps.c printk("[<%08lx>] (%ps) from [<%08lx>] (%pS)\n", where, (void *)where, from, (void *)from); where 70 arch/arm/kernel/traps.c printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from); where 491 arch/arm/kernel/unwind.c unsigned long where = frame.pc; where 496 arch/arm/kernel/unwind.c dump_backtrace_entry(where, frame.pc, frame.sp - 4); where 52 arch/arm/mach-cns3xxx/pcie.c unsigned int devfn, int where) where 83 arch/arm/mach-cns3xxx/pcie.c return base + where + (devfn << 12); where 87 arch/arm/mach-cns3xxx/pcie.c int where, int size, u32 *val) where 91 arch/arm/mach-cns3xxx/pcie.c int shift = (where % 4) * 8; where 93 arch/arm/mach-cns3xxx/pcie.c ret = pci_generic_config_read(bus, devfn, where, size, val); where 96 arch/arm/mach-cns3xxx/pcie.c (where & 0xffc) == PCI_CLASS_REVISION) where 213 arch/arm/mach-cns3xxx/pcie.c int where, int size, u32 val) where 215 arch/arm/mach-cns3xxx/pcie.c void __iomem *base = cnspci->host_regs + (where & 0xffc); where 218 arch/arm/mach-cns3xxx/pcie.c int shift = (where % 4) * 8; where 95 arch/arm/mach-dove/pcie.c static int pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, where 109 arch/arm/mach-dove/pcie.c ret = orion_pcie_rd_conf(pp->base, bus, devfn, where, size, val); where 116 arch/arm/mach-dove/pcie.c int where, int size, u32 val) where 127 arch/arm/mach-dove/pcie.c ret = orion_pcie_wr_conf(pp->base, bus, devfn, where, size, val); where 60 arch/arm/mach-footbridge/dc21285.c dc21285_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 70 arch/arm/mach-footbridge/dc21285.c : "=r" (v) : "r" (addr), "r" (where) : "cc"); where 74 arch/arm/mach-footbridge/dc21285.c : "=r" (v) : "r" (addr), "r" (where) : "cc"); where 78 arch/arm/mach-footbridge/dc21285.c : "=r" (v) : "r" (addr), "r" (where) : "cc"); where 94 arch/arm/mach-footbridge/dc21285.c dc21285_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 104 arch/arm/mach-footbridge/dc21285.c : : "r" (value), "r" (addr), "r" (where) where 109 arch/arm/mach-footbridge/dc21285.c : : "r" (value), "r" (addr), "r" (where) where 114 arch/arm/mach-footbridge/dc21285.c : : "r" (value), "r" (addr), "r" (where) where 36 arch/arm/mach-iop32x/pci.c static u32 iop3xx_cfg_address(struct pci_bus *bus, int devfn, int where) where 46 arch/arm/mach-iop32x/pci.c addr |= PCI_FUNC(devfn) << 8 | (where & ~3); where 110 arch/arm/mach-iop32x/pci.c iop3xx_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 113 arch/arm/mach-iop32x/pci.c unsigned long addr = iop3xx_cfg_address(bus, devfn, where); where 114 arch/arm/mach-iop32x/pci.c u32 val = iop3xx_read(addr) >> ((where & 3) * 8); where 125 arch/arm/mach-iop32x/pci.c iop3xx_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 128 arch/arm/mach-iop32x/pci.c unsigned long addr = iop3xx_cfg_address(bus, devfn, where); where 136 arch/arm/mach-iop32x/pci.c where = (where & 3) * 8; where 139 arch/arm/mach-iop32x/pci.c val &= ~(0xff << where); where 141 arch/arm/mach-iop32x/pci.c val &= ~(0xffff << where); where 143 arch/arm/mach-iop32x/pci.c *IOP3XX_OCCDR = val | value << where; where 165 arch/arm/mach-ixp4xx/common-pci.c static u32 ixp4xx_config_addr(u8 bus_num, u16 devfn, int where) where 171 arch/arm/mach-ixp4xx/common-pci.c (where & ~3); where 175 arch/arm/mach-ixp4xx/common-pci.c ((PCI_FUNC(devfn)) << 8) | (where & ~3) | 1; where 203 arch/arm/mach-ixp4xx/common-pci.c static int local_read_config(int where, int size, u32 *value) where 206 arch/arm/mach-ixp4xx/common-pci.c pr_debug("local_read_config from %d size %d\n", where, size); where 207 arch/arm/mach-ixp4xx/common-pci.c n = where % 4; where 208 arch/arm/mach-ixp4xx/common-pci.c crp_read(where & ~3, &data); where 214 arch/arm/mach-ixp4xx/common-pci.c static int local_write_config(int where, int size, u32 value) where 217 arch/arm/mach-ixp4xx/common-pci.c pr_debug("local_write_config %#x to %d size %d\n", value, where, size); where 218 arch/arm/mach-ixp4xx/common-pci.c n = where % 4; where 223 arch/arm/mach-ixp4xx/common-pci.c crp_write((where & ~3) | byte_enables, data); where 238 arch/arm/mach-ixp4xx/common-pci.c static int ixp4xx_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) where 243 arch/arm/mach-ixp4xx/common-pci.c pr_debug("read_config from %d size %d dev %d:%d:%d\n", where, size, where 247 arch/arm/mach-ixp4xx/common-pci.c n = where % 4; where 252 arch/arm/mach-ixp4xx/common-pci.c addr = ixp4xx_config_addr(bus_num, devfn, where); where 261 arch/arm/mach-ixp4xx/common-pci.c static int ixp4xx_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) where 266 arch/arm/mach-ixp4xx/common-pci.c pr_debug("write_config_byte %#x to %d size %d dev %d:%d:%d\n", value, where, where 269 arch/arm/mach-ixp4xx/common-pci.c n = where % 4; where 274 arch/arm/mach-ixp4xx/common-pci.c addr = ixp4xx_config_addr(bus_num, devfn, where); where 137 arch/arm/mach-mv78xx0/pcie.c static int pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, where 151 arch/arm/mach-mv78xx0/pcie.c ret = orion_pcie_rd_conf(pp->base, bus, devfn, where, size, val); where 158 arch/arm/mach-mv78xx0/pcie.c int where, int size, u32 val) where 169 arch/arm/mach-mv78xx0/pcie.c ret = orion_pcie_wr_conf(pp->base, bus, devfn, where, size, val); where 76 arch/arm/mach-orion5x/pci.c static int pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, where 88 arch/arm/mach-orion5x/pci.c ret = orion_pcie_rd_conf(PCIE_BASE, bus, devfn, where, size, val); where 95 arch/arm/mach-orion5x/pci.c int where, int size, u32 *val) where 109 arch/arm/mach-orion5x/pci.c if (where >= 0x100) { where 115 arch/arm/mach-orion5x/pci.c bus, devfn, where, size, val); where 121 arch/arm/mach-orion5x/pci.c int where, int size, u32 val) where 130 arch/arm/mach-orion5x/pci.c ret = orion_pcie_wr_conf(PCIE_BASE, bus, devfn, where, size, val); where 274 arch/arm/mach-orion5x/pci.c u32 where, u32 size, u32 *val) where 280 arch/arm/mach-orion5x/pci.c PCI_CONF_DEV(dev) | PCI_CONF_REG(where) | where 286 arch/arm/mach-orion5x/pci.c *val = (*val >> (8*(where & 0x3))) & 0xff; where 288 arch/arm/mach-orion5x/pci.c *val = (*val >> (8*(where & 0x3))) & 0xffff; where 296 arch/arm/mach-orion5x/pci.c u32 where, u32 size, u32 val) where 304 arch/arm/mach-orion5x/pci.c PCI_CONF_DEV(dev) | PCI_CONF_REG(where) | where 310 arch/arm/mach-orion5x/pci.c __raw_writew(val, PCI_CONF_DATA + (where & 0x3)); where 312 arch/arm/mach-orion5x/pci.c __raw_writeb(val, PCI_CONF_DATA + (where & 0x3)); where 343 arch/arm/mach-orion5x/pci.c int where, int size, u32 *val) where 351 arch/arm/mach-orion5x/pci.c PCI_FUNC(devfn), where, size, val); where 355 arch/arm/mach-orion5x/pci.c int where, int size, u32 val) where 361 arch/arm/mach-orion5x/pci.c PCI_FUNC(devfn), where, size, val); where 20 arch/arm/mach-sa1100/pci-nanoengine.c unsigned int devfn, int where) where 26 arch/arm/mach-sa1100/pci-nanoengine.c ((bus->number << 16) | (devfn << 8) | (where & ~3)); where 25 arch/arm/plat-orion/include/plat/pcie.h u32 devfn, int where, int size, u32 *val); where 27 arch/arm/plat-orion/include/plat/pcie.h u32 devfn, int where, int size, u32 *val); where 29 arch/arm/plat-orion/include/plat/pcie.h u32 devfn, int where, int size, u32 *val); where 31 arch/arm/plat-orion/include/plat/pcie.h u32 devfn, int where, int size, u32 val); where 209 arch/arm/plat-orion/pcie.c u32 devfn, int where, int size, u32 *val) where 214 arch/arm/plat-orion/pcie.c PCIE_CONF_REG(where) | PCIE_CONF_ADDR_EN, where 220 arch/arm/plat-orion/pcie.c *val = (*val >> (8 * (where & 3))) & 0xff; where 222 arch/arm/plat-orion/pcie.c *val = (*val >> (8 * (where & 3))) & 0xffff; where 228 arch/arm/plat-orion/pcie.c u32 devfn, int where, int size, u32 *val) where 233 arch/arm/plat-orion/pcie.c PCIE_CONF_REG(where) | PCIE_CONF_ADDR_EN, where 243 arch/arm/plat-orion/pcie.c *val = (*val >> (8 * (where & 3))) & 0xff; where 245 arch/arm/plat-orion/pcie.c *val = (*val >> (8 * (where & 3))) & 0xffff; where 251 arch/arm/plat-orion/pcie.c u32 devfn, int where, int size, u32 *val) where 256 arch/arm/plat-orion/pcie.c PCIE_CONF_REG(where))); where 259 arch/arm/plat-orion/pcie.c *val = (*val >> (8 * (where & 3))) & 0xff; where 261 arch/arm/plat-orion/pcie.c *val = (*val >> (8 * (where & 3))) & 0xffff; where 267 arch/arm/plat-orion/pcie.c u32 devfn, int where, int size, u32 val) where 274 arch/arm/plat-orion/pcie.c PCIE_CONF_REG(where) | PCIE_CONF_ADDR_EN, where 280 arch/arm/plat-orion/pcie.c writew(val, base + PCIE_CONF_DATA_OFF + (where & 3)); where 282 arch/arm/plat-orion/pcie.c writeb(val, base + PCIE_CONF_DATA_OFF + (where & 3)); where 55 arch/arm64/kernel/traps.c static void dump_backtrace_entry(unsigned long where) where 57 arch/arm64/kernel/traps.c printk(" %pS\n", (void *)where); where 707 arch/ia64/kernel/unwind.c set_reg (struct unw_reg_info *reg, enum unw_where where, int when, unsigned long val) where 710 arch/ia64/kernel/unwind.c reg->where = where; where 722 arch/ia64/kernel/unwind.c if (reg->where == UNW_WHERE_SPILL_HOME) { where 723 arch/ia64/kernel/unwind.c reg->where = UNW_WHERE_PSPREL; where 736 arch/ia64/kernel/unwind.c if (reg->where == UNW_WHERE_SPILL_HOME) { where 758 arch/ia64/kernel/unwind.c if (reg->where == UNW_WHERE_GR_SAVE) { where 759 arch/ia64/kernel/unwind.c reg->where = UNW_WHERE_GR; where 1004 arch/ia64/kernel/unwind.c if (reg->where == UNW_WHERE_NONE) where 1005 arch/ia64/kernel/unwind.c reg->where = UNW_WHERE_GR_SAVE; where 1093 arch/ia64/kernel/unwind.c r->where = UNW_WHERE_NONE; where 1102 arch/ia64/kernel/unwind.c enum unw_where where = UNW_WHERE_GR; where 1109 arch/ia64/kernel/unwind.c where = UNW_WHERE_BR; where 1111 arch/ia64/kernel/unwind.c where = UNW_WHERE_FR; where 1114 arch/ia64/kernel/unwind.c r->where = where; where 1129 arch/ia64/kernel/unwind.c r->where = UNW_WHERE_PSPREL; where 1144 arch/ia64/kernel/unwind.c r->where = UNW_WHERE_SPREL; where 1364 arch/ia64/kernel/unwind.c switch (r->where) { where 1392 arch/ia64/kernel/unwind.c __func__, r->where); where 1410 arch/ia64/kernel/unwind.c if (r->where == UNW_WHERE_NONE || r->when >= sr->when_target) where 1417 arch/ia64/kernel/unwind.c switch (r->where) { where 1477 arch/ia64/kernel/unwind.c __func__, i, r->where); where 1588 arch/ia64/kernel/unwind.c sr.curr.reg[UNW_REG_RP].where = UNW_WHERE_BR; where 1613 arch/ia64/kernel/unwind.c sr.curr.reg[UNW_REG_PSP].where = UNW_WHERE_NONE; where 1616 arch/ia64/kernel/unwind.c if ((r->where == UNW_WHERE_PSPREL && r->val <= 0x10) where 1617 arch/ia64/kernel/unwind.c || r->where == UNW_WHERE_SPREL) where 1620 arch/ia64/kernel/unwind.c r->where = UNW_WHERE_NONE; where 1632 arch/ia64/kernel/unwind.c sr.curr.reg[UNW_REG_RP].where = UNW_WHERE_BR; where 1636 arch/ia64/kernel/unwind.c __func__, ip, sr.curr.reg[UNW_REG_RP].where, where 1644 arch/ia64/kernel/unwind.c if (r->where != UNW_WHERE_NONE || r->when != UNW_WHEN_NEVER) { where 1646 arch/ia64/kernel/unwind.c switch (r->where) { where 1657 arch/ia64/kernel/unwind.c UNW_DPRINT(1, "BADWHERE(%d)", r->where); where 1674 arch/ia64/kernel/unwind.c && (sr.curr.reg[UNW_REG_PSP].where == UNW_WHERE_NONE) where 79 arch/ia64/kernel/unwind_i.h enum unw_where where; /* where the register gets saved */ where 99 arch/ia64/pci/pci.c static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, where 103 arch/ia64/pci/pci.c devfn, where, size, value); where 106 arch/ia64/pci/pci.c static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, where 110 arch/ia64/pci/pci.c devfn, where, size, value); where 53 arch/m68k/coldfire/pci.c static unsigned long mcf_mk_pcicar(int bus, unsigned int devfn, int where) where 55 arch/m68k/coldfire/pci.c return (bus << PCICAR_BUSN) | (devfn << PCICAR_DEVFNN) | (where & 0xfc); where 59 arch/m68k/coldfire/pci.c int where, int size, u32 *value) where 70 arch/m68k/coldfire/pci.c addr = mcf_mk_pcicar(bus->number, devfn, where); where 73 arch/m68k/coldfire/pci.c addr = iospace + (where & 0x3); where 93 arch/m68k/coldfire/pci.c int where, int size, u32 value) where 102 arch/m68k/coldfire/pci.c addr = mcf_mk_pcicar(bus->number, devfn, where); where 105 arch/m68k/coldfire/pci.c addr = iospace + (where & 0x3); where 109 arch/microblaze/include/asm/pci-bridge.h int dev_fn, int where, u8 *val); where 111 arch/microblaze/include/asm/pci-bridge.h int dev_fn, int where, u16 *val); where 113 arch/microblaze/include/asm/pci-bridge.h int dev_fn, int where, u32 *val); where 115 arch/microblaze/include/asm/pci-bridge.h int dev_fn, int where, u8 val); where 117 arch/microblaze/include/asm/pci-bridge.h int dev_fn, int where, u16 val); where 119 arch/microblaze/include/asm/pci-bridge.h int dev_fn, int where, u32 val); where 114 arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h # This is the variable where the next core to boot is stored where 20 arch/mips/pci/ops-bcm63xx.c static int postprocess_read(u32 data, int where, unsigned int size) where 27 arch/mips/pci/ops-bcm63xx.c ret = (data >> ((where & 3) << 3)) & 0xff; where 30 arch/mips/pci/ops-bcm63xx.c ret = (data >> ((where & 3) << 3)) & 0xffff; where 39 arch/mips/pci/ops-bcm63xx.c static int preprocess_write(u32 orig_data, u32 val, int where, where 47 arch/mips/pci/ops-bcm63xx.c ret = (orig_data & ~(0xff << ((where & 3) << 3))) | where 48 arch/mips/pci/ops-bcm63xx.c (val << ((where & 3) << 3)); where 51 arch/mips/pci/ops-bcm63xx.c ret = (orig_data & ~(0xffff << ((where & 3) << 3))) | where 52 arch/mips/pci/ops-bcm63xx.c (val << ((where & 3) << 3)); where 65 arch/mips/pci/ops-bcm63xx.c unsigned int devfn, int where) where 72 arch/mips/pci/ops-bcm63xx.c reg = where >> 2; where 101 arch/mips/pci/ops-bcm63xx.c unsigned int devfn, int where, int size, where 109 arch/mips/pci/ops-bcm63xx.c if (bcm63xx_setup_cfg_access(type, busn, devfn, where)) where 116 arch/mips/pci/ops-bcm63xx.c *val = postprocess_read(data, where, size); where 122 arch/mips/pci/ops-bcm63xx.c unsigned int devfn, int where, int size, where 130 arch/mips/pci/ops-bcm63xx.c if (bcm63xx_setup_cfg_access(type, busn, devfn, where)) where 135 arch/mips/pci/ops-bcm63xx.c data = preprocess_write(data, val, where, size); where 148 arch/mips/pci/ops-bcm63xx.c int where, int size, u32 *val) where 158 arch/mips/pci/ops-bcm63xx.c where, size, val); where 162 arch/mips/pci/ops-bcm63xx.c int where, int size, u32 val) where 172 arch/mips/pci/ops-bcm63xx.c where, size, val); where 208 arch/mips/pci/ops-bcm63xx.c static int fake_cb_bridge_read(int where, int size, u32 *val) where 214 arch/mips/pci/ops-bcm63xx.c reg = where >> 2; where 284 arch/mips/pci/ops-bcm63xx.c *val = postprocess_read(data, where, size); where 291 arch/mips/pci/ops-bcm63xx.c static int fake_cb_bridge_write(int where, int size, u32 val) where 297 arch/mips/pci/ops-bcm63xx.c ret = fake_cb_bridge_read((where & ~0x3), 4, &data); where 301 arch/mips/pci/ops-bcm63xx.c data = preprocess_write(data, val, where, size); where 303 arch/mips/pci/ops-bcm63xx.c reg = where >> 2; where 363 arch/mips/pci/ops-bcm63xx.c int where, int size, u32 *val) where 369 arch/mips/pci/ops-bcm63xx.c return fake_cb_bridge_read(where, size, val); where 381 arch/mips/pci/ops-bcm63xx.c where, size, val); where 387 arch/mips/pci/ops-bcm63xx.c int where, int size, u32 val) where 391 arch/mips/pci/ops-bcm63xx.c return fake_cb_bridge_write(where, size, val); where 399 arch/mips/pci/ops-bcm63xx.c where, size, val); where 484 arch/mips/pci/ops-bcm63xx.c int where, int size, u32 *val) where 487 arch/mips/pci/ops-bcm63xx.c u32 reg = where & ~3; where 497 arch/mips/pci/ops-bcm63xx.c *val = postprocess_read(data, where, size); where 504 arch/mips/pci/ops-bcm63xx.c int where, int size, u32 val) where 507 arch/mips/pci/ops-bcm63xx.c u32 reg = where & ~3; where 518 arch/mips/pci/ops-bcm63xx.c data = preprocess_write(data, val, where, size); where 26 arch/mips/pci/ops-bonito64.c unsigned int devfn, int where, where 35 arch/mips/pci/ops-bonito64.c int reg = where & ~3; where 90 arch/mips/pci/ops-bonito64.c int where, int size, u32 * val) where 94 arch/mips/pci/ops-bonito64.c if ((size == 2) && (where & 1)) where 96 arch/mips/pci/ops-bonito64.c else if ((size == 4) && (where & 3)) where 99 arch/mips/pci/ops-bonito64.c if (bonito64_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, where 104 arch/mips/pci/ops-bonito64.c *val = (data >> ((where & 3) << 3)) & 0xff; where 106 arch/mips/pci/ops-bonito64.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 114 arch/mips/pci/ops-bonito64.c int where, int size, u32 val) where 118 arch/mips/pci/ops-bonito64.c if ((size == 2) && (where & 1)) where 120 arch/mips/pci/ops-bonito64.c else if ((size == 4) && (where & 3)) where 127 arch/mips/pci/ops-bonito64.c where, &data)) where 131 arch/mips/pci/ops-bonito64.c data = (data & ~(0xff << ((where & 3) << 3))) | where 132 arch/mips/pci/ops-bonito64.c (val << ((where & 3) << 3)); where 134 arch/mips/pci/ops-bonito64.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 135 arch/mips/pci/ops-bonito64.c (val << ((where & 3) << 3)); where 138 arch/mips/pci/ops-bonito64.c if (bonito64_pcibios_config_access(PCI_ACCESS_WRITE, bus, devfn, where, where 47 arch/mips/pci/ops-emma2rh.c unsigned int devfn, int where) where 69 arch/mips/pci/ops-emma2rh.c static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, where 84 arch/mips/pci/ops-emma2rh.c if (set_pci_configuration_address(bus_num, devfn, where) < 0) where 89 arch/mips/pci/ops-emma2rh.c (where & 0xfffffffc)); where 93 arch/mips/pci/ops-emma2rh.c *val = (data >> ((where & 3) << 3)) & 0xffU; where 96 arch/mips/pci/ops-emma2rh.c *val = (data >> ((where & 2) << 3)) & 0xffffU; where 114 arch/mips/pci/ops-emma2rh.c static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, where 128 arch/mips/pci/ops-emma2rh.c if (set_pci_configuration_address(bus_num, devfn, where) < 0) where 134 arch/mips/pci/ops-emma2rh.c (where & 0xfffffffc)); where 138 arch/mips/pci/ops-emma2rh.c shift = (where & 3) << 3; where 143 arch/mips/pci/ops-emma2rh.c shift = (where & 2) << 3; where 155 arch/mips/pci/ops-emma2rh.c (where & 0xfffffffc)) = data; where 31 arch/mips/pci/ops-gt64xxx_pci0.c struct pci_bus *bus, unsigned int devfn, int where, u32 * data) where 47 arch/mips/pci/ops-gt64xxx_pci0.c ((where / 4) << GT_PCI0_CFGADDR_REGNUM_SHF) | where 92 arch/mips/pci/ops-gt64xxx_pci0.c int where, int size, u32 * val) where 97 arch/mips/pci/ops-gt64xxx_pci0.c where, &data)) where 101 arch/mips/pci/ops-gt64xxx_pci0.c *val = (data >> ((where & 3) << 3)) & 0xff; where 103 arch/mips/pci/ops-gt64xxx_pci0.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 111 arch/mips/pci/ops-gt64xxx_pci0.c int where, int size, u32 val) where 119 arch/mips/pci/ops-gt64xxx_pci0.c devfn, where, &data)) where 123 arch/mips/pci/ops-gt64xxx_pci0.c data = (data & ~(0xff << ((where & 3) << 3))) | where 124 arch/mips/pci/ops-gt64xxx_pci0.c (val << ((where & 3) << 3)); where 126 arch/mips/pci/ops-gt64xxx_pci0.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 127 arch/mips/pci/ops-gt64xxx_pci0.c (val << ((where & 3) << 3)); where 131 arch/mips/pci/ops-gt64xxx_pci0.c where, &data)) where 27 arch/mips/pci/ops-lantiq.c unsigned int devfn, unsigned int where, u32 *data) where 43 arch/mips/pci/ops-lantiq.c LTQ_PCI_CFG_FUNNUM_SHF) | (where & ~0x3); where 72 arch/mips/pci/ops-lantiq.c int where, int size, u32 *val) where 76 arch/mips/pci/ops-lantiq.c if (ltq_pci_config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) where 80 arch/mips/pci/ops-lantiq.c *val = (data >> ((where & 3) << 3)) & 0xff; where 82 arch/mips/pci/ops-lantiq.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 90 arch/mips/pci/ops-lantiq.c int where, int size, u32 val) where 98 arch/mips/pci/ops-lantiq.c devfn, where, &data)) where 102 arch/mips/pci/ops-lantiq.c data = (data & ~(0xff << ((where & 3) << 3))) | where 103 arch/mips/pci/ops-lantiq.c (val << ((where & 3) << 3)); where 105 arch/mips/pci/ops-lantiq.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 106 arch/mips/pci/ops-lantiq.c (val << ((where & 3) << 3)); where 109 arch/mips/pci/ops-lantiq.c if (ltq_pci_config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) where 34 arch/mips/pci/ops-loongson2.c unsigned int devfn, int where, where 43 arch/mips/pci/ops-loongson2.c int reg = where & ~3; where 119 arch/mips/pci/ops-loongson2.c int where, int size, u32 *val) where 123 arch/mips/pci/ops-loongson2.c if ((size == 2) && (where & 1)) where 125 arch/mips/pci/ops-loongson2.c else if ((size == 4) && (where & 3)) where 128 arch/mips/pci/ops-loongson2.c if (loongson_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, where 133 arch/mips/pci/ops-loongson2.c *val = (data >> ((where & 3) << 3)) & 0xff; where 135 arch/mips/pci/ops-loongson2.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 143 arch/mips/pci/ops-loongson2.c int where, int size, u32 val) where 147 arch/mips/pci/ops-loongson2.c if ((size == 2) && (where & 1)) where 149 arch/mips/pci/ops-loongson2.c else if ((size == 4) && (where & 3)) where 156 arch/mips/pci/ops-loongson2.c where, &data)) where 160 arch/mips/pci/ops-loongson2.c data = (data & ~(0xff << ((where & 3) << 3))) | where 161 arch/mips/pci/ops-loongson2.c (val << ((where & 3) << 3)); where 163 arch/mips/pci/ops-loongson2.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 164 arch/mips/pci/ops-loongson2.c (val << ((where & 3) << 3)); where 167 arch/mips/pci/ops-loongson2.c if (loongson_pcibios_config_access(PCI_ACCESS_WRITE, bus, devfn, where, where 18 arch/mips/pci/ops-loongson3.c int where, u32 *data) where 23 arch/mips/pci/ops-loongson3.c int reg = where & ~3; where 27 arch/mips/pci/ops-loongson3.c if (where < PCI_CFG_SPACE_SIZE) { /* standard config */ where 36 arch/mips/pci/ops-loongson3.c } else if (where < PCI_CFG_SPACE_EXP_SIZE) { /* extended config */ where 66 arch/mips/pci/ops-loongson3.c int where, int size, u32 *val) where 70 arch/mips/pci/ops-loongson3.c bus, devfn, where, &data); where 76 arch/mips/pci/ops-loongson3.c *val = (data >> ((where & 3) << 3)) & 0xff; where 78 arch/mips/pci/ops-loongson3.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 86 arch/mips/pci/ops-loongson3.c int where, int size, u32 val) where 95 arch/mips/pci/ops-loongson3.c bus, devfn, where, &data); where 100 arch/mips/pci/ops-loongson3.c data = (data & ~(0xff << ((where & 3) << 3))) | where 101 arch/mips/pci/ops-loongson3.c (val << ((where & 3) << 3)); where 103 arch/mips/pci/ops-loongson3.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 104 arch/mips/pci/ops-loongson3.c (val << ((where & 3) << 3)); where 108 arch/mips/pci/ops-loongson3.c bus, devfn, where, &data); where 34 arch/mips/pci/ops-msc.c struct pci_bus *bus, unsigned int devfn, int where, u32 * data) where 47 arch/mips/pci/ops-msc.c ((where / 4) << MSC01_PCI_CFGADDR_RNUM_SHF))); where 76 arch/mips/pci/ops-msc.c int where, int size, u32 * val) where 80 arch/mips/pci/ops-msc.c if ((size == 2) && (where & 1)) where 82 arch/mips/pci/ops-msc.c else if ((size == 4) && (where & 3)) where 85 arch/mips/pci/ops-msc.c if (msc_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, where 90 arch/mips/pci/ops-msc.c *val = (data >> ((where & 3) << 3)) & 0xff; where 92 arch/mips/pci/ops-msc.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 100 arch/mips/pci/ops-msc.c int where, int size, u32 val) where 104 arch/mips/pci/ops-msc.c if ((size == 2) && (where & 1)) where 106 arch/mips/pci/ops-msc.c else if ((size == 4) && (where & 3)) where 113 arch/mips/pci/ops-msc.c where, &data)) where 117 arch/mips/pci/ops-msc.c data = (data & ~(0xff << ((where & 3) << 3))) | where 118 arch/mips/pci/ops-msc.c (val << ((where & 3) << 3)); where 120 arch/mips/pci/ops-msc.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 121 arch/mips/pci/ops-msc.c (val << ((where & 3) << 3)); where 124 arch/mips/pci/ops-msc.c if (msc_pcibios_config_access(PCI_ACCESS_WRITE, bus, devfn, where, where 18 arch/mips/pci/ops-nile4.c struct pci_bus *bus, unsigned int devfn, int where, u32 *val) where 32 arch/mips/pci/ops-nile4.c vrc_pciregs[(0x200 + where) >> 2] = *val; where 34 arch/mips/pci/ops-nile4.c *val = vrc_pciregs[(0x200 + where) >> 2]; where 53 arch/mips/pci/ops-nile4.c | (where & ~3)); where 56 arch/mips/pci/ops-nile4.c (where & ~3); where 76 arch/mips/pci/ops-nile4.c int where, int size, u32 *val) where 81 arch/mips/pci/ops-nile4.c if ((size == 2) && (where & 1)) where 83 arch/mips/pci/ops-nile4.c else if ((size == 4) && (where & 3)) where 86 arch/mips/pci/ops-nile4.c err = nile4_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, where 92 arch/mips/pci/ops-nile4.c *val = (data >> ((where & 3) << 3)) & 0xff; where 94 arch/mips/pci/ops-nile4.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 102 arch/mips/pci/ops-nile4.c int where, int size, u32 val) where 107 arch/mips/pci/ops-nile4.c if ((size == 2) && (where & 1)) where 109 arch/mips/pci/ops-nile4.c else if ((size == 4) && (where & 3)) where 112 arch/mips/pci/ops-nile4.c err = nile4_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where, where 118 arch/mips/pci/ops-nile4.c data = (data & ~(0xff << ((where & 3) << 3))) | where 119 arch/mips/pci/ops-nile4.c (val << ((where & 3) << 3)); where 121 arch/mips/pci/ops-nile4.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 122 arch/mips/pci/ops-nile4.c (val << ((where & 3) << 3)); where 127 arch/mips/pci/ops-nile4.c (PCI_ACCESS_WRITE, bus, devfn, where, &data)) where 101 arch/mips/pci/ops-pmcmsp.c unsigned char where = 0; /* Write to static Device/Vendor ID */ where 129 arch/mips/pci/ops-pmcmsp.c (where & 0xFC); where 334 arch/mips/pci/ops-pmcmsp.c unsigned char where, where 397 arch/mips/pci/ops-pmcmsp.c (where & 0xFC); where 463 arch/mips/pci/ops-pmcmsp.c int where, where 474 arch/mips/pci/ops-pmcmsp.c where, &data)) { where 479 arch/mips/pci/ops-pmcmsp.c *val = (data >> ((where & 3) << 3)) & 0x0ff; where 511 arch/mips/pci/ops-pmcmsp.c int where, where 522 arch/mips/pci/ops-pmcmsp.c if ((where & 3) == 3) { where 533 arch/mips/pci/ops-pmcmsp.c where, &data)) { where 538 arch/mips/pci/ops-pmcmsp.c *val = (data >> ((where & 3) << 3)) & 0x0ffff; where 568 arch/mips/pci/ops-pmcmsp.c int where, where 574 arch/mips/pci/ops-pmcmsp.c if (where & 3) { where 585 arch/mips/pci/ops-pmcmsp.c where, &data)) { where 621 arch/mips/pci/ops-pmcmsp.c int where, where 628 arch/mips/pci/ops-pmcmsp.c where, &data)) where 632 arch/mips/pci/ops-pmcmsp.c data = (data & ~(0xff << ((where & 3) << 3))) | where 633 arch/mips/pci/ops-pmcmsp.c (val << ((where & 3) << 3)); where 637 arch/mips/pci/ops-pmcmsp.c where, &data)) where 670 arch/mips/pci/ops-pmcmsp.c int where, where 676 arch/mips/pci/ops-pmcmsp.c if ((where & 3) == 3) where 681 arch/mips/pci/ops-pmcmsp.c where, &data)) where 685 arch/mips/pci/ops-pmcmsp.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 686 arch/mips/pci/ops-pmcmsp.c (val << ((where & 3) << 3)); where 690 arch/mips/pci/ops-pmcmsp.c where, &data)) where 722 arch/mips/pci/ops-pmcmsp.c int where, where 726 arch/mips/pci/ops-pmcmsp.c if (where & 3) where 731 arch/mips/pci/ops-pmcmsp.c where, &val)) where 764 arch/mips/pci/ops-pmcmsp.c int where, where 769 arch/mips/pci/ops-pmcmsp.c if (msp_pcibios_read_config_byte(bus, devfn, where, val)) { where 773 arch/mips/pci/ops-pmcmsp.c if (msp_pcibios_read_config_word(bus, devfn, where, val)) { where 777 arch/mips/pci/ops-pmcmsp.c if (msp_pcibios_read_config_dword(bus, devfn, where, val)) { where 815 arch/mips/pci/ops-pmcmsp.c int where, where 821 arch/mips/pci/ops-pmcmsp.c where, (u8)(0xFF & val))) { where 826 arch/mips/pci/ops-pmcmsp.c where, (u16)(0xFFFF & val))) { where 830 arch/mips/pci/ops-pmcmsp.c if (msp_pcibios_write_config_dword(bus, devfn, where, val)) { where 48 arch/mips/pci/ops-rc32434.c unsigned char where, u32 *data) where 54 arch/mips/pci/ops-rc32434.c PCI_CFG_SET(bus->number, slot, func, where); where 73 arch/mips/pci/ops-rc32434.c int where, u8 *val) where 78 arch/mips/pci/ops-rc32434.c ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); where 79 arch/mips/pci/ops-rc32434.c *val = (data >> ((where & 3) << 3)) & 0xff; where 84 arch/mips/pci/ops-rc32434.c int where, u16 *val) where 89 arch/mips/pci/ops-rc32434.c ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); where 90 arch/mips/pci/ops-rc32434.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 95 arch/mips/pci/ops-rc32434.c int where, u32 *val) where 108 arch/mips/pci/ops-rc32434.c ret = config_access(PCI_ACCESS_READ, bus, devfn, where, val); where 114 arch/mips/pci/ops-rc32434.c if (where == PCI_VENDOR_ID) { where 129 arch/mips/pci/ops-rc32434.c write_config_byte(struct pci_bus *bus, unsigned int devfn, int where, where 134 arch/mips/pci/ops-rc32434.c if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) where 137 arch/mips/pci/ops-rc32434.c data = (data & ~(0xff << ((where & 3) << 3))) | where 138 arch/mips/pci/ops-rc32434.c (val << ((where & 3) << 3)); where 140 arch/mips/pci/ops-rc32434.c if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) where 148 arch/mips/pci/ops-rc32434.c write_config_word(struct pci_bus *bus, unsigned int devfn, int where, where 153 arch/mips/pci/ops-rc32434.c if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) where 156 arch/mips/pci/ops-rc32434.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 157 arch/mips/pci/ops-rc32434.c (val << ((where & 3) << 3)); where 159 arch/mips/pci/ops-rc32434.c if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) where 168 arch/mips/pci/ops-rc32434.c write_config_dword(struct pci_bus *bus, unsigned int devfn, int where, where 171 arch/mips/pci/ops-rc32434.c if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val)) where 178 arch/mips/pci/ops-rc32434.c int where, int size, u32 *val) where 182 arch/mips/pci/ops-rc32434.c return read_config_byte(bus, devfn, where, (u8 *) val); where 184 arch/mips/pci/ops-rc32434.c return read_config_word(bus, devfn, where, (u16 *) val); where 186 arch/mips/pci/ops-rc32434.c return read_config_dword(bus, devfn, where, val); where 191 arch/mips/pci/ops-rc32434.c int where, int size, u32 val) where 195 arch/mips/pci/ops-rc32434.c return write_config_byte(bus, devfn, where, (u8) val); where 197 arch/mips/pci/ops-rc32434.c return write_config_word(bus, devfn, where, (u16) val); where 199 arch/mips/pci/ops-rc32434.c return write_config_dword(bus, devfn, where, val); where 48 arch/mips/pci/ops-tx3927.c static int mkaddr(struct pci_bus *bus, unsigned char devfn, unsigned char where) where 56 arch/mips/pci/ops-tx3927.c (where & 0xfc) | (bus->parent ? 1 : 0); where 77 arch/mips/pci/ops-tx3927.c int where, int size, u32 * val) where 79 arch/mips/pci/ops-tx3927.c if (mkaddr(bus, devfn, where)) { where 86 arch/mips/pci/ops-tx3927.c *val = *(volatile u8 *) ((unsigned long) & tx3927_pcicptr->icd | (where & 3)); where 90 arch/mips/pci/ops-tx3927.c *val = le16_to_cpu(*(volatile u16 *) ((unsigned long) & tx3927_pcicptr->icd | (where & 3))); where 102 arch/mips/pci/ops-tx3927.c int where, int size, u32 val) where 104 arch/mips/pci/ops-tx3927.c if (mkaddr(bus, devfn, where)) where 109 arch/mips/pci/ops-tx3927.c *(volatile u8 *) ((unsigned long) & tx3927_pcicptr->icd | (where & 3)) = val; where 113 arch/mips/pci/ops-tx3927.c *(volatile u16 *) ((unsigned long) & tx3927_pcicptr->icd | (where & 2)) = where 58 arch/mips/pci/ops-tx4927.c static int mkaddr(struct pci_bus *bus, unsigned int devfn, int where, where 65 arch/mips/pci/ops-tx4927.c | ((devfn & 0xff) << 0x08) | (where & 0xfc) where 140 arch/mips/pci/ops-tx4927.c int where, int size, u32 *val) where 144 arch/mips/pci/ops-tx4927.c if (mkaddr(bus, devfn, where, pcicptr)) { where 150 arch/mips/pci/ops-tx4927.c *val = icd_readb(where & 3, pcicptr); where 153 arch/mips/pci/ops-tx4927.c *val = icd_readw(where & 3, pcicptr); where 162 arch/mips/pci/ops-tx4927.c int where, int size, u32 val) where 166 arch/mips/pci/ops-tx4927.c if (mkaddr(bus, devfn, where, pcicptr)) where 170 arch/mips/pci/ops-tx4927.c icd_writeb(val, where & 3, pcicptr); where 173 arch/mips/pci/ops-tx4927.c icd_writew(val, where & 3, pcicptr); where 23 arch/mips/pci/ops-vr41xx.c unsigned int devfn, int where) where 29 arch/mips/pci/ops-vr41xx.c if (PCI_SLOT(devfn) < 11 || where > 0xff) where 33 arch/mips/pci/ops-vr41xx.c (where & 0xfc), PCICONFAREG); where 38 arch/mips/pci/ops-vr41xx.c if (where > 0xff) where 42 arch/mips/pci/ops-vr41xx.c (where & 0xfc) | 1U, PCICONFAREG); where 48 arch/mips/pci/ops-vr41xx.c static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, where 54 arch/mips/pci/ops-vr41xx.c if (set_pci_configuration_address(bus->number, devfn, where) < 0) where 61 arch/mips/pci/ops-vr41xx.c *val = (data >> ((where & 3) << 3)) & 0xffU; where 64 arch/mips/pci/ops-vr41xx.c *val = (data >> ((where & 2) << 3)) & 0xffffU; where 76 arch/mips/pci/ops-vr41xx.c static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, where 82 arch/mips/pci/ops-vr41xx.c if (set_pci_configuration_address(bus->number, devfn, where) < 0) where 89 arch/mips/pci/ops-vr41xx.c shift = (where & 3) << 3; where 94 arch/mips/pci/ops-vr41xx.c shift = (where & 2) << 3; where 100 arch/mips/pci/pci-alchemy.c unsigned int dev_fn, unsigned char where, u32 *data) where 135 arch/mips/pci/pci-alchemy.c offset = (function << 8) | (where & ~0x3); where 161 arch/mips/pci/pci-alchemy.c access_type, bus->number, device, where, *data, offset); where 189 arch/mips/pci/pci-alchemy.c int where, u8 *val) where 192 arch/mips/pci/pci-alchemy.c int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); where 194 arch/mips/pci/pci-alchemy.c if (where & 1) where 196 arch/mips/pci/pci-alchemy.c if (where & 2) where 203 arch/mips/pci/pci-alchemy.c int where, u16 *val) where 206 arch/mips/pci/pci-alchemy.c int ret = config_access(PCI_ACCESS_READ, bus, devfn, where, &data); where 208 arch/mips/pci/pci-alchemy.c if (where & 2) where 215 arch/mips/pci/pci-alchemy.c int where, u32 *val) where 217 arch/mips/pci/pci-alchemy.c return config_access(PCI_ACCESS_READ, bus, devfn, where, val); where 221 arch/mips/pci/pci-alchemy.c int where, u8 val) where 225 arch/mips/pci/pci-alchemy.c if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) where 228 arch/mips/pci/pci-alchemy.c data = (data & ~(0xff << ((where & 3) << 3))) | where 229 arch/mips/pci/pci-alchemy.c (val << ((where & 3) << 3)); where 231 arch/mips/pci/pci-alchemy.c if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) where 238 arch/mips/pci/pci-alchemy.c int where, u16 val) where 242 arch/mips/pci/pci-alchemy.c if (config_access(PCI_ACCESS_READ, bus, devfn, where, &data)) where 245 arch/mips/pci/pci-alchemy.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 246 arch/mips/pci/pci-alchemy.c (val << ((where & 3) << 3)); where 248 arch/mips/pci/pci-alchemy.c if (config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data)) where 255 arch/mips/pci/pci-alchemy.c int where, u32 val) where 257 arch/mips/pci/pci-alchemy.c return config_access(PCI_ACCESS_WRITE, bus, devfn, where, &val); where 261 arch/mips/pci/pci-alchemy.c int where, int size, u32 *val) where 266 arch/mips/pci/pci-alchemy.c int rc = read_config_byte(bus, devfn, where, &_val); where 273 arch/mips/pci/pci-alchemy.c int rc = read_config_word(bus, devfn, where, &_val); where 279 arch/mips/pci/pci-alchemy.c return read_config_dword(bus, devfn, where, val); where 284 arch/mips/pci/pci-alchemy.c int where, int size, u32 val) where 288 arch/mips/pci/pci-alchemy.c return write_config_byte(bus, devfn, where, (u8) val); where 290 arch/mips/pci/pci-alchemy.c return write_config_word(bus, devfn, where, (u16) val); where 292 arch/mips/pci/pci-alchemy.c return write_config_dword(bus, devfn, where, val); where 212 arch/mips/pci/pci-ar2315.c int where, int size, u32 *ptr, bool write) where 216 arch/mips/pci/pci-ar2315.c u32 addr = (1 << (13 + dev)) | (func << 8) | (where & ~3); where 218 arch/mips/pci/pci-ar2315.c u32 sh = (where & 3) * 8; where 267 arch/mips/pci/pci-ar2315.c unsigned devfn, int where, u32 *val) where 269 arch/mips/pci/pci-ar2315.c return ar2315_pci_cfg_access(apc, devfn, where, sizeof(u32), val, where 274 arch/mips/pci/pci-ar2315.c unsigned devfn, int where, u32 val) where 276 arch/mips/pci/pci-ar2315.c return ar2315_pci_cfg_access(apc, devfn, where, sizeof(u32), &val, where 280 arch/mips/pci/pci-ar2315.c static int ar2315_pci_cfg_read(struct pci_bus *bus, unsigned devfn, int where, where 288 arch/mips/pci/pci-ar2315.c return ar2315_pci_cfg_access(apc, devfn, where, size, value, false); where 291 arch/mips/pci/pci-ar2315.c static int ar2315_pci_cfg_write(struct pci_bus *bus, unsigned devfn, int where, where 299 arch/mips/pci/pci-ar2315.c return ar2315_pci_cfg_access(apc, devfn, where, size, &value, true); where 69 arch/mips/pci/pci-ar71xx.c static inline u32 ar71xx_pci_get_ble(int where, int size, int local) where 73 arch/mips/pci/pci-ar71xx.c t = ar71xx_pci_ble_table[size & 3][where & 3]; where 81 arch/mips/pci/pci-ar71xx.c int where) where 88 arch/mips/pci/pci-ar71xx.c (where & ~3); where 92 arch/mips/pci/pci-ar71xx.c (PCI_FUNC(devfn) << 8) | (where & ~3) | 1; where 145 arch/mips/pci/pci-ar71xx.c int where, int size, u32 value) where 150 arch/mips/pci/pci-ar71xx.c value = value << (8 * (where & 3)); where 152 arch/mips/pci/pci-ar71xx.c ad_cbe = AR71XX_PCI_CRP_CMD_WRITE | (where & ~3); where 153 arch/mips/pci/pci-ar71xx.c ad_cbe |= ar71xx_pci_get_ble(where, size, 1); where 161 arch/mips/pci/pci-ar71xx.c int where, int size, u32 cmd) where 167 arch/mips/pci/pci-ar71xx.c addr = ar71xx_pci_bus_addr(bus, devfn, where); where 170 arch/mips/pci/pci-ar71xx.c __raw_writel(cmd | ar71xx_pci_get_ble(where, size, 0), where 177 arch/mips/pci/pci-ar71xx.c int where, int size, u32 *value) where 188 arch/mips/pci/pci-ar71xx.c err = ar71xx_pci_set_cfgaddr(bus, devfn, where, size, where 195 arch/mips/pci/pci-ar71xx.c *value = (data >> (8 * (where & 3))) & ar71xx_pci_read_mask[size & 7]; where 201 arch/mips/pci/pci-ar71xx.c int where, int size, u32 value) where 208 arch/mips/pci/pci-ar71xx.c value = value << (8 * (where & 3)); where 211 arch/mips/pci/pci-ar71xx.c err = ar71xx_pci_set_cfgaddr(bus, devfn, where, size, where 74 arch/mips/pci/pci-ar724x.c int where, int size, u32 value) where 80 arch/mips/pci/pci-ar724x.c WARN_ON(where & (size - 1)); where 86 arch/mips/pci/pci-ar724x.c data = __raw_readl(base + (where & ~3)); where 90 arch/mips/pci/pci-ar724x.c s = ((where & 3) * 8); where 95 arch/mips/pci/pci-ar724x.c s = ((where & 2) * 8); where 106 arch/mips/pci/pci-ar724x.c __raw_writel(data, base + (where & ~3)); where 108 arch/mips/pci/pci-ar724x.c __raw_readl(base + (where & ~3)); where 113 arch/mips/pci/pci-ar724x.c static int ar724x_pci_read(struct pci_bus *bus, unsigned int devfn, int where, where 128 arch/mips/pci/pci-ar724x.c data = __raw_readl(base + (where & ~3)); where 132 arch/mips/pci/pci-ar724x.c if (where & 1) where 134 arch/mips/pci/pci-ar724x.c if (where & 2) where 139 arch/mips/pci/pci-ar724x.c if (where & 2) where 149 arch/mips/pci/pci-ar724x.c if (where == PCI_BASE_ADDRESS_0 && size == 4 && where 160 arch/mips/pci/pci-ar724x.c static int ar724x_pci_write(struct pci_bus *bus, unsigned int devfn, int where, where 175 arch/mips/pci/pci-ar724x.c if (soc_is_ar7240() && where == PCI_BASE_ADDRESS_0 && size == 4) { where 197 arch/mips/pci/pci-ar724x.c data = __raw_readl(base + (where & ~3)); where 201 arch/mips/pci/pci-ar724x.c s = ((where & 3) * 8); where 206 arch/mips/pci/pci-ar724x.c s = ((where & 2) * 8); where 217 arch/mips/pci/pci-ar724x.c __raw_writel(data, base + (where & ~3)); where 219 arch/mips/pci/pci-ar724x.c __raw_readl(base + (where & ~3)); where 40 arch/mips/pci/pci-bcm1480.c #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where)) where 41 arch/mips/pci/pci-bcm1480.c #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) where 108 arch/mips/pci/pci-bcm1480.c int where, int size, u32 * val) where 112 arch/mips/pci/pci-bcm1480.c if ((size == 2) && (where & 1)) where 114 arch/mips/pci/pci-bcm1480.c else if ((size == 4) && (where & 3)) where 118 arch/mips/pci/pci-bcm1480.c data = READCFG32(CFGADDR(bus, devfn, where)); where 123 arch/mips/pci/pci-bcm1480.c *val = (data >> ((where & 3) << 3)) & 0xff; where 125 arch/mips/pci/pci-bcm1480.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 133 arch/mips/pci/pci-bcm1480.c int where, int size, u32 val) where 135 arch/mips/pci/pci-bcm1480.c u32 cfgaddr = CFGADDR(bus, devfn, where); where 138 arch/mips/pci/pci-bcm1480.c if ((size == 2) && (where & 1)) where 140 arch/mips/pci/pci-bcm1480.c else if ((size == 4) && (where & 3)) where 149 arch/mips/pci/pci-bcm1480.c data = (data & ~(0xff << ((where & 3) << 3))) | where 150 arch/mips/pci/pci-bcm1480.c (val << ((where & 3) << 3)); where 152 arch/mips/pci/pci-bcm1480.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 153 arch/mips/pci/pci-bcm1480.c (val << ((where & 3) << 3)); where 38 arch/mips/pci/pci-bcm1480ht.c #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where)) where 39 arch/mips/pci/pci-bcm1480ht.c #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) where 97 arch/mips/pci/pci-bcm1480ht.c int where, int size, u32 * val) where 101 arch/mips/pci/pci-bcm1480ht.c if ((size == 2) && (where & 1)) where 103 arch/mips/pci/pci-bcm1480ht.c else if ((size == 4) && (where & 3)) where 107 arch/mips/pci/pci-bcm1480ht.c data = READCFG32(CFGADDR(bus, devfn, where)); where 112 arch/mips/pci/pci-bcm1480ht.c *val = (data >> ((where & 3) << 3)) & 0xff; where 114 arch/mips/pci/pci-bcm1480ht.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 122 arch/mips/pci/pci-bcm1480ht.c int where, int size, u32 val) where 124 arch/mips/pci/pci-bcm1480ht.c u32 cfgaddr = CFGADDR(bus, devfn, where); where 127 arch/mips/pci/pci-bcm1480ht.c if ((size == 2) && (where & 1)) where 129 arch/mips/pci/pci-bcm1480ht.c else if ((size == 4) && (where & 3)) where 138 arch/mips/pci/pci-bcm1480ht.c data = (data & ~(0xff << ((where & 3) << 3))) | where 139 arch/mips/pci/pci-bcm1480ht.c (val << ((where & 3) << 3)); where 141 arch/mips/pci/pci-bcm1480ht.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 142 arch/mips/pci/pci-bcm1480ht.c (val << ((where & 3) << 3)); where 12 arch/mips/pci/pci-lantiq.h unsigned int devfn, int where, int size, u32 *val); where 14 arch/mips/pci/pci-lantiq.h unsigned int devfn, int where, int size, u32 val); where 136 arch/mips/pci/pci-mt7620.c static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, where 148 arch/mips/pci/pci-mt7620.c address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) | where 149 arch/mips/pci/pci-mt7620.c (func << 8) | (where & 0xfc) | 0x80000000; where 155 arch/mips/pci/pci-mt7620.c *val = (data >> ((where & 3) << 3)) & 0xff; where 158 arch/mips/pci/pci-mt7620.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 168 arch/mips/pci/pci-mt7620.c static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, where 180 arch/mips/pci/pci-mt7620.c address = (((where & 0xF00) >> 8) << 24) | (num << 16) | (slot << 11) | where 181 arch/mips/pci/pci-mt7620.c (func << 8) | (where & 0xfc) | 0x80000000; where 187 arch/mips/pci/pci-mt7620.c data = (data & ~(0xff << ((where & 3) << 3))) | where 188 arch/mips/pci/pci-mt7620.c (val << ((where & 3) << 3)); where 191 arch/mips/pci/pci-mt7620.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 192 arch/mips/pci/pci-mt7620.c (val << ((where & 3) << 3)); where 57 arch/mips/pci/pci-rt2880.c unsigned int func, unsigned int where) where 59 arch/mips/pci/pci-rt2880.c return ((bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | where 64 arch/mips/pci/pci-rt2880.c int where, int size, u32 *val) where 71 arch/mips/pci/pci-rt2880.c PCI_FUNC(devfn), where); where 80 arch/mips/pci/pci-rt2880.c *val = (data >> ((where & 3) << 3)) & 0xff; where 83 arch/mips/pci/pci-rt2880.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 94 arch/mips/pci/pci-rt2880.c int where, int size, u32 val) where 101 arch/mips/pci/pci-rt2880.c PCI_FUNC(devfn), where); where 109 arch/mips/pci/pci-rt2880.c data = (data & ~(0xff << ((where & 3) << 3))) | where 110 arch/mips/pci/pci-rt2880.c (val << ((where & 3) << 3)); where 113 arch/mips/pci/pci-rt2880.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 114 arch/mips/pci/pci-rt2880.c (val << ((where & 3) << 3)); where 93 arch/mips/pci/pci-rt3883.c unsigned int func, unsigned int where) where 95 arch/mips/pci/pci-rt3883.c return (bus << 16) | (slot << 11) | (func << 8) | (where & 0xfc) | where 229 arch/mips/pci/pci-rt3883.c int where, int size, u32 *val) where 242 arch/mips/pci/pci-rt3883.c PCI_FUNC(devfn), where); where 249 arch/mips/pci/pci-rt3883.c *val = (data >> ((where & 3) << 3)) & 0xff; where 252 arch/mips/pci/pci-rt3883.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 263 arch/mips/pci/pci-rt3883.c int where, int size, u32 val) where 276 arch/mips/pci/pci-rt3883.c PCI_FUNC(devfn), where); where 283 arch/mips/pci/pci-rt3883.c data = (data & ~(0xff << ((where & 3) << 3))) | where 284 arch/mips/pci/pci-rt3883.c (val << ((where & 3) << 3)); where 287 arch/mips/pci/pci-rt3883.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 288 arch/mips/pci/pci-rt3883.c (val << ((where & 3) << 3)); where 40 arch/mips/pci/pci-sb1250.c #define CFGOFFSET(bus, devfn, where) (((bus)<<16) + ((devfn)<<8) + (where)) where 41 arch/mips/pci/pci-sb1250.c #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where) where 117 arch/mips/pci/pci-sb1250.c int where, int size, u32 * val) where 121 arch/mips/pci/pci-sb1250.c if ((size == 2) && (where & 1)) where 123 arch/mips/pci/pci-sb1250.c else if ((size == 4) && (where & 3)) where 127 arch/mips/pci/pci-sb1250.c data = READCFG32(CFGADDR(bus, devfn, where)); where 132 arch/mips/pci/pci-sb1250.c *val = (data >> ((where & 3) << 3)) & 0xff; where 134 arch/mips/pci/pci-sb1250.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 142 arch/mips/pci/pci-sb1250.c int where, int size, u32 val) where 144 arch/mips/pci/pci-sb1250.c u32 cfgaddr = CFGADDR(bus, devfn, where); where 147 arch/mips/pci/pci-sb1250.c if ((size == 2) && (where & 1)) where 149 arch/mips/pci/pci-sb1250.c else if ((size == 4) && (where & 3)) where 158 arch/mips/pci/pci-sb1250.c data = (data & ~(0xff << ((where & 3) << 3))) | where 159 arch/mips/pci/pci-sb1250.c (val << ((where & 3) << 3)); where 161 arch/mips/pci/pci-sb1250.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 162 arch/mips/pci/pci-sb1250.c (val << ((where & 3) << 3)); where 64 arch/mips/pci/pci-xlp.c int where) where 69 arch/mips/pci/pci-xlp.c where &= ~3; where 83 arch/mips/pci/pci-xlp.c } else if (bus->number == 0 && PCI_SLOT(devfn) == 1 && where == 0x954) { where 87 arch/mips/pci/pci-xlp.c pci_cfg_addr(bus->number, devfn, where)); where 93 arch/mips/pci/pci-xlp.c int where, u32 data) where 98 arch/mips/pci/pci-xlp.c pci_cfg_addr(bus->number, devfn, where & ~3)); where 103 arch/mips/pci/pci-xlp.c int where, int size, u32 *val) where 107 arch/mips/pci/pci-xlp.c if ((size == 2) && (where & 1)) where 109 arch/mips/pci/pci-xlp.c else if ((size == 4) && (where & 3)) where 112 arch/mips/pci/pci-xlp.c data = pci_cfg_read_32bit(bus, devfn, where); where 115 arch/mips/pci/pci-xlp.c *val = (data >> ((where & 3) << 3)) & 0xff; where 117 arch/mips/pci/pci-xlp.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 126 arch/mips/pci/pci-xlp.c int where, int size, u32 val) where 130 arch/mips/pci/pci-xlp.c if ((size == 2) && (where & 1)) where 132 arch/mips/pci/pci-xlp.c else if ((size == 4) && (where & 3)) where 135 arch/mips/pci/pci-xlp.c data = pci_cfg_read_32bit(bus, devfn, where); where 138 arch/mips/pci/pci-xlp.c data = (data & ~(0xff << ((where & 3) << 3))) | where 139 arch/mips/pci/pci-xlp.c (val << ((where & 3) << 3)); where 141 arch/mips/pci/pci-xlp.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 142 arch/mips/pci/pci-xlp.c (val << ((where & 3) << 3)); where 146 arch/mips/pci/pci-xlp.c pci_cfg_write_32bit(bus, devfn, where, data); where 63 arch/mips/pci/pci-xlr.c int where) where 69 arch/mips/pci/pci-xlr.c pci_cfg_addr(bus->number, devfn, where & ~3)); where 75 arch/mips/pci/pci-xlr.c int where, u32 data) where 80 arch/mips/pci/pci-xlr.c pci_cfg_addr(bus->number, devfn, where & ~3)); where 85 arch/mips/pci/pci-xlr.c int where, int size, u32 *val) where 89 arch/mips/pci/pci-xlr.c if ((size == 2) && (where & 1)) where 91 arch/mips/pci/pci-xlr.c else if ((size == 4) && (where & 3)) where 94 arch/mips/pci/pci-xlr.c data = pci_cfg_read_32bit(bus, devfn, where); where 97 arch/mips/pci/pci-xlr.c *val = (data >> ((where & 3) << 3)) & 0xff; where 99 arch/mips/pci/pci-xlr.c *val = (data >> ((where & 3) << 3)) & 0xffff; where 108 arch/mips/pci/pci-xlr.c int where, int size, u32 val) where 112 arch/mips/pci/pci-xlr.c if ((size == 2) && (where & 1)) where 114 arch/mips/pci/pci-xlr.c else if ((size == 4) && (where & 3)) where 117 arch/mips/pci/pci-xlr.c data = pci_cfg_read_32bit(bus, devfn, where); where 120 arch/mips/pci/pci-xlr.c data = (data & ~(0xff << ((where & 3) << 3))) | where 121 arch/mips/pci/pci-xlr.c (val << ((where & 3) << 3)); where 123 arch/mips/pci/pci-xlr.c data = (data & ~(0xffff << ((where & 3) << 3))) | where 124 arch/mips/pci/pci-xlr.c (val << ((where & 3) << 3)); where 128 arch/mips/pci/pci-xlr.c pci_cfg_write_32bit(bus, devfn, where, data); where 23 arch/mips/pci/pci-xtalk-bridge.c static int ioc3_cfg_rd(void *addr, int where, int size, u32 *value) where 27 arch/mips/pci/pci-xtalk-bridge.c switch (where & ~3) { where 41 arch/mips/pci/pci-xtalk-bridge.c shift = (where & 3) << 3; where 48 arch/mips/pci/pci-xtalk-bridge.c static int ioc3_cfg_wr(void *addr, int where, int size, u32 value) where 52 arch/mips/pci/pci-xtalk-bridge.c if ((where >= 0x14 && where < 0x40) || (where >= 0x48)) where 58 arch/mips/pci/pci-xtalk-bridge.c shift = ((where & 3) << 3); where 94 arch/mips/pci/pci-xtalk-bridge.c int where, int size, u32 *value) where 113 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; where 114 arch/mips/pci/pci-xtalk-bridge.c return ioc3_cfg_rd(addr, where, size, value); where 117 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; where 130 arch/mips/pci/pci-xtalk-bridge.c int where, int size, u32 *value) where 151 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type1_cfg.c[(fn << 8) | (where & ~3)]; where 152 arch/mips/pci/pci-xtalk-bridge.c return ioc3_cfg_rd(addr, where, size, value); where 155 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; where 168 arch/mips/pci/pci-xtalk-bridge.c int where, int size, u32 *value) where 171 arch/mips/pci/pci-xtalk-bridge.c return pci_conf1_read_config(bus, devfn, where, size, value); where 173 arch/mips/pci/pci-xtalk-bridge.c return pci_conf0_read_config(bus, devfn, where, size, value); where 177 arch/mips/pci/pci-xtalk-bridge.c int where, int size, u32 value) where 196 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; where 197 arch/mips/pci/pci-xtalk-bridge.c return ioc3_cfg_wr(addr, where, size, value); where 200 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].c[where ^ (4 - size)]; where 216 arch/mips/pci/pci-xtalk-bridge.c int where, int size, u32 value) where 237 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type0_cfg_dev[slot].f[fn].l[where >> 2]; where 238 arch/mips/pci/pci-xtalk-bridge.c return ioc3_cfg_wr(addr, where, size, value); where 241 arch/mips/pci/pci-xtalk-bridge.c addr = &bridge->b_type1_cfg.c[(fn << 8) | (where ^ (4 - size))]; where 257 arch/mips/pci/pci-xtalk-bridge.c int where, int size, u32 value) where 260 arch/mips/pci/pci-xtalk-bridge.c return pci_conf1_write_config(bus, devfn, where, size, value); where 262 arch/mips/pci/pci-xtalk-bridge.c return pci_conf0_write_config(bus, devfn, where, size, value); where 157 arch/parisc/include/asm/assembly.h #define SAVE_SP(r, where) mfsp r, %r1 ! STREG %r1, where where 158 arch/parisc/include/asm/assembly.h #define REST_SP(r, where) LDREG where, %r1 ! mtsp %r1, r where 159 arch/parisc/include/asm/assembly.h #define SAVE_CR(r, where) mfctl r, %r1 ! STREG %r1, where where 160 arch/parisc/include/asm/assembly.h #define REST_CR(r, where) LDREG where, %r1 ! mtctl %r1, r where 227 arch/powerpc/include/asm/eeh.h int (*read_config)(struct pci_dn *pdn, int where, int size, u32 *val); where 228 arch/powerpc/include/asm/eeh.h int (*write_config)(struct pci_dn *pdn, int where, int size, u32 val); where 135 arch/powerpc/include/asm/pci-bridge.h int dev_fn, int where, u8 *val); where 137 arch/powerpc/include/asm/pci-bridge.h int dev_fn, int where, u16 *val); where 139 arch/powerpc/include/asm/pci-bridge.h int dev_fn, int where, u32 *val); where 141 arch/powerpc/include/asm/pci-bridge.h int dev_fn, int where, u8 val); where 143 arch/powerpc/include/asm/pci-bridge.h int dev_fn, int where, u16 val); where 145 arch/powerpc/include/asm/pci-bridge.h int dev_fn, int where, u32 val); where 54 arch/powerpc/include/asm/ppc-pci.h int rtas_write_config(struct pci_dn *, int where, int size, u32 val); where 55 arch/powerpc/include/asm/ppc-pci.h int rtas_read_config(struct pci_dn *, int where, int size, u32 *val); where 35 arch/powerpc/kernel/rtas_pci.c static inline int config_access_valid(struct pci_dn *dn, int where) where 37 arch/powerpc/kernel/rtas_pci.c if (where < 256) where 39 arch/powerpc/kernel/rtas_pci.c if (where < 4096 && dn->pci_ext_config_space) where 45 arch/powerpc/kernel/rtas_pci.c int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val) where 53 arch/powerpc/kernel/rtas_pci.c if (!config_access_valid(pdn, where)) where 61 arch/powerpc/kernel/rtas_pci.c addr = rtas_config_addr(pdn->busno, pdn->devfn, where); where 79 arch/powerpc/kernel/rtas_pci.c int where, int size, u32 *val) where 89 arch/powerpc/kernel/rtas_pci.c ret = rtas_read_config(pdn, where, size, val); where 97 arch/powerpc/kernel/rtas_pci.c int rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val) where 104 arch/powerpc/kernel/rtas_pci.c if (!config_access_valid(pdn, where)) where 112 arch/powerpc/kernel/rtas_pci.c addr = rtas_config_addr(pdn->busno, pdn->devfn, where); where 129 arch/powerpc/kernel/rtas_pci.c int where, int size, u32 val) where 136 arch/powerpc/kernel/rtas_pci.c return rtas_write_config(pdn, where, size, val); where 387 arch/powerpc/kvm/trace_hv.h TP_PROTO(struct kvmppc_vcore *vc, int where), where 389 arch/powerpc/kvm/trace_hv.h TP_ARGS(vc, where), where 394 arch/powerpc/kvm/trace_hv.h __field(int, where) where 401 arch/powerpc/kvm/trace_hv.h __entry->where = where; where 406 arch/powerpc/kvm/trace_hv.h __entry->where ? "Exit" : "Enter", where 411 arch/powerpc/kvm/trace_hv.h TP_PROTO(struct kvmppc_vcore *vc, int where), where 413 arch/powerpc/kvm/trace_hv.h TP_ARGS(vc, where), where 418 arch/powerpc/kvm/trace_hv.h __field(int, where) where 425 arch/powerpc/kvm/trace_hv.h __entry->where = where; where 430 arch/powerpc/kvm/trace_hv.h __entry->where ? "Exit" : "Enter", where 1274 arch/powerpc/platforms/powernv/eeh-powernv.c int where, int size, u32 *val) where 1284 arch/powerpc/platforms/powernv/eeh-powernv.c return pnv_pci_cfg_read(pdn, where, size, val); where 1288 arch/powerpc/platforms/powernv/eeh-powernv.c int where, int size, u32 val) where 1296 arch/powerpc/platforms/powernv/eeh-powernv.c return pnv_pci_cfg_write(pdn, where, size, val); where 652 arch/powerpc/platforms/powernv/pci.c int where, int size, u32 *val) where 661 arch/powerpc/platforms/powernv/pci.c rc = opal_pci_config_read_byte(phb->opal_id, bdfn, where, &v8); where 667 arch/powerpc/platforms/powernv/pci.c rc = opal_pci_config_read_half_word(phb->opal_id, bdfn, where, where 674 arch/powerpc/platforms/powernv/pci.c rc = opal_pci_config_read_word(phb->opal_id, bdfn, where, &v32); where 683 arch/powerpc/platforms/powernv/pci.c __func__, pdn->busno, pdn->devfn, where, size, *val); where 688 arch/powerpc/platforms/powernv/pci.c int where, int size, u32 val) where 694 arch/powerpc/platforms/powernv/pci.c __func__, pdn->busno, pdn->devfn, where, size, val); where 697 arch/powerpc/platforms/powernv/pci.c opal_pci_config_write_byte(phb->opal_id, bdfn, where, val); where 700 arch/powerpc/platforms/powernv/pci.c opal_pci_config_write_half_word(phb->opal_id, bdfn, where, val); where 703 arch/powerpc/platforms/powernv/pci.c opal_pci_config_write_word(phb->opal_id, bdfn, where, val); where 744 arch/powerpc/platforms/powernv/pci.c int where, int size, u32 *val) where 758 arch/powerpc/platforms/powernv/pci.c ret = pnv_pci_cfg_read(pdn, where, size, val); where 773 arch/powerpc/platforms/powernv/pci.c int where, int size, u32 val) where 786 arch/powerpc/platforms/powernv/pci.c ret = pnv_pci_cfg_write(pdn, where, size, val); where 179 arch/powerpc/platforms/powernv/pci.h int where, int size, u32 *val); where 181 arch/powerpc/platforms/powernv/pci.h int where, int size, u32 val); where 642 arch/powerpc/platforms/pseries/eeh_pseries.c static int pseries_eeh_read_config(struct pci_dn *pdn, int where, int size, u32 *val) where 644 arch/powerpc/platforms/pseries/eeh_pseries.c return rtas_read_config(pdn, where, size, val); where 656 arch/powerpc/platforms/pseries/eeh_pseries.c static int pseries_eeh_write_config(struct pci_dn *pdn, int where, int size, u32 val) where 658 arch/powerpc/platforms/pseries/eeh_pseries.c return rtas_write_config(pdn, where, size, val); where 371 arch/s390/pci/pci.c static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, where 380 arch/s390/pci/pci.c ret = zpci_cfg_load(zdev, where, val, size); where 385 arch/s390/pci/pci.c static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, where 394 arch/s390/pci/pci.c ret = zpci_cfg_store(zdev, where, val, size); where 46 arch/sh/drivers/pci/ops-dreamcast.c static int gapspci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) where 54 arch/sh/drivers/pci/ops-dreamcast.c case 1: *val = inb(GAPSPCI_BBA_CONFIG+where); break; where 55 arch/sh/drivers/pci/ops-dreamcast.c case 2: *val = inw(GAPSPCI_BBA_CONFIG+where); break; where 56 arch/sh/drivers/pci/ops-dreamcast.c case 4: *val = inl(GAPSPCI_BBA_CONFIG+where); break; where 62 arch/sh/drivers/pci/ops-dreamcast.c static int gapspci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) where 68 arch/sh/drivers/pci/ops-dreamcast.c case 1: outb(( u8)val, GAPSPCI_BBA_CONFIG+where); break; where 69 arch/sh/drivers/pci/ops-dreamcast.c case 2: outw((u16)val, GAPSPCI_BBA_CONFIG+where); break; where 70 arch/sh/drivers/pci/ops-dreamcast.c case 4: outl((u32)val, GAPSPCI_BBA_CONFIG+where); break; where 16 arch/sh/drivers/pci/ops-sh4.c #define CONFIG_CMD(bus, devfn, where) \ where 17 arch/sh/drivers/pci/ops-sh4.c (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3)) where 23 arch/sh/drivers/pci/ops-sh4.c int where, int size, u32 *val) where 34 arch/sh/drivers/pci/ops-sh4.c pci_write_reg(chan, CONFIG_CMD(bus, devfn, where), SH4_PCIPAR); where 40 arch/sh/drivers/pci/ops-sh4.c *val = (data >> ((where & 3) << 3)) & 0xff; where 43 arch/sh/drivers/pci/ops-sh4.c *val = (data >> ((where & 2) << 3)) & 0xffff; where 61 arch/sh/drivers/pci/ops-sh4.c int where, int size, u32 val) where 69 arch/sh/drivers/pci/ops-sh4.c pci_write_reg(chan, CONFIG_CMD(bus, devfn, where), SH4_PCIPAR); where 75 arch/sh/drivers/pci/ops-sh4.c shift = (where & 3) << 3; where 80 arch/sh/drivers/pci/ops-sh4.c shift = (where & 2) << 3; where 22 arch/sh/drivers/pci/ops-sh5.c static int sh5pci_read(struct pci_bus *bus, unsigned int devfn, int where, where 25 arch/sh/drivers/pci/ops-sh5.c SH5PCI_WRITE(PAR, CONFIG_CMD(bus, devfn, where)); where 29 arch/sh/drivers/pci/ops-sh5.c *val = (u8)SH5PCI_READ_BYTE(PDR + (where & 3)); where 32 arch/sh/drivers/pci/ops-sh5.c *val = (u16)SH5PCI_READ_SHORT(PDR + (where & 2)); where 42 arch/sh/drivers/pci/ops-sh5.c static int sh5pci_write(struct pci_bus *bus, unsigned int devfn, int where, where 45 arch/sh/drivers/pci/ops-sh5.c SH5PCI_WRITE(PAR, CONFIG_CMD(bus, devfn, where)); where 49 arch/sh/drivers/pci/ops-sh5.c SH5PCI_WRITE_BYTE(PDR + (where & 3), (u8)val); where 52 arch/sh/drivers/pci/ops-sh5.c SH5PCI_WRITE_SHORT(PDR + (where & 2), (u16)val); where 20 arch/sh/drivers/pci/ops-sh7786.c struct pci_bus *bus, unsigned int devfn, int where, u32 *data) where 28 arch/sh/drivers/pci/ops-sh7786.c reg = where & ~3; where 90 arch/sh/drivers/pci/ops-sh7786.c int where, int size, u32 *val) where 96 arch/sh/drivers/pci/ops-sh7786.c if ((size == 2) && (where & 1)) where 98 arch/sh/drivers/pci/ops-sh7786.c else if ((size == 4) && (where & 3)) where 103 arch/sh/drivers/pci/ops-sh7786.c devfn, where, &data); where 110 arch/sh/drivers/pci/ops-sh7786.c *val = (data >> ((where & 3) << 3)) & 0xff; where 112 arch/sh/drivers/pci/ops-sh7786.c *val = (data >> ((where & 2) << 3)) & 0xffff; where 118 arch/sh/drivers/pci/ops-sh7786.c devfn, where, size, (unsigned long)*val); where 126 arch/sh/drivers/pci/ops-sh7786.c int where, int size, u32 val) where 132 arch/sh/drivers/pci/ops-sh7786.c if ((size == 2) && (where & 1)) where 134 arch/sh/drivers/pci/ops-sh7786.c else if ((size == 4) && (where & 3)) where 139 arch/sh/drivers/pci/ops-sh7786.c devfn, where, &data); where 145 arch/sh/drivers/pci/ops-sh7786.c devfn, where, size, (unsigned long)val); where 148 arch/sh/drivers/pci/ops-sh7786.c shift = (where & 3) << 3; where 152 arch/sh/drivers/pci/ops-sh7786.c shift = (where & 2) << 3; where 159 arch/sh/drivers/pci/ops-sh7786.c devfn, where, &data); where 97 arch/sh/drivers/pci/pci-sh5.h #define SET_CONFIG_BITS(bus,devfn,where) ((((bus) << 16) | ((devfn) << 8) | ((where) & ~3)) | 0x80000000) where 100 arch/sh/drivers/pci/pci-sh5.h #define CONFIG_CMD(bus, devfn, where) SET_CONFIG_BITS(bus->number,devfn,where) where 103 arch/sparc/kernel/leon_pci_grpci1.c unsigned int devfn, int where, u32 val); where 118 arch/sparc/kernel/leon_pci_grpci1.c unsigned int devfn, int where, u32 *val) where 122 arch/sparc/kernel/leon_pci_grpci1.c if (where & 0x3) where 137 arch/sparc/kernel/leon_pci_grpci1.c pci_conf = (u32 *) (priv->pci_conf | (devfn << 8) | (where & 0xfc)); where 155 arch/sparc/kernel/leon_pci_grpci1.c unsigned int devfn, int where, u32 *val) where 160 arch/sparc/kernel/leon_pci_grpci1.c if (where & 0x1) where 162 arch/sparc/kernel/leon_pci_grpci1.c ret = grpci1_cfg_r32(priv, bus, devfn, where & ~0x3, &v); where 163 arch/sparc/kernel/leon_pci_grpci1.c *val = 0xffff & (v >> (8 * (where & 0x3))); where 168 arch/sparc/kernel/leon_pci_grpci1.c unsigned int devfn, int where, u32 *val) where 173 arch/sparc/kernel/leon_pci_grpci1.c ret = grpci1_cfg_r32(priv, bus, devfn, where & ~0x3, &v); where 174 arch/sparc/kernel/leon_pci_grpci1.c *val = 0xff & (v >> (8 * (where & 3))); where 180 arch/sparc/kernel/leon_pci_grpci1.c unsigned int devfn, int where, u32 val) where 185 arch/sparc/kernel/leon_pci_grpci1.c if (where & 0x3) where 200 arch/sparc/kernel/leon_pci_grpci1.c (devfn << 8) | (where & 0xfc)); where 207 arch/sparc/kernel/leon_pci_grpci1.c unsigned int devfn, int where, u32 val) where 212 arch/sparc/kernel/leon_pci_grpci1.c if (where & 0x1) where 214 arch/sparc/kernel/leon_pci_grpci1.c ret = grpci1_cfg_r32(priv, bus, devfn, where&~3, &v); where 217 arch/sparc/kernel/leon_pci_grpci1.c v = (v & ~(0xffff << (8 * (where & 0x3)))) | where 218 arch/sparc/kernel/leon_pci_grpci1.c ((0xffff & val) << (8 * (where & 0x3))); where 219 arch/sparc/kernel/leon_pci_grpci1.c return grpci1_cfg_w32(priv, bus, devfn, where & ~0x3, v); where 223 arch/sparc/kernel/leon_pci_grpci1.c unsigned int devfn, int where, u32 val) where 228 arch/sparc/kernel/leon_pci_grpci1.c ret = grpci1_cfg_r32(priv, bus, devfn, where & ~0x3, &v); where 231 arch/sparc/kernel/leon_pci_grpci1.c v = (v & ~(0xff << (8 * (where & 0x3)))) | where 232 arch/sparc/kernel/leon_pci_grpci1.c ((0xff & val) << (8 * (where & 0x3))); where 233 arch/sparc/kernel/leon_pci_grpci1.c return grpci1_cfg_w32(priv, bus, devfn, where & ~0x3, v); where 240 arch/sparc/kernel/leon_pci_grpci1.c int where, int size, u32 *val) where 253 arch/sparc/kernel/leon_pci_grpci1.c ret = grpci1_cfg_r8(priv, busno, devfn, where, val); where 256 arch/sparc/kernel/leon_pci_grpci1.c ret = grpci1_cfg_r16(priv, busno, devfn, where, val); where 259 arch/sparc/kernel/leon_pci_grpci1.c ret = grpci1_cfg_r32(priv, busno, devfn, where, val); where 269 arch/sparc/kernel/leon_pci_grpci1.c busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, *val, size); where 279 arch/sparc/kernel/leon_pci_grpci1.c int where, int size, u32 val) where 290 arch/sparc/kernel/leon_pci_grpci1.c busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val); where 297 arch/sparc/kernel/leon_pci_grpci1.c return grpci1_cfg_w8(priv, busno, devfn, where, val); where 299 arch/sparc/kernel/leon_pci_grpci1.c return grpci1_cfg_w16(priv, busno, devfn, where, val); where 301 arch/sparc/kernel/leon_pci_grpci1.c return grpci1_cfg_w32(priv, busno, devfn, where, val); where 235 arch/sparc/kernel/leon_pci_grpci2.c unsigned int devfn, int where, u32 *val) where 241 arch/sparc/kernel/leon_pci_grpci2.c if (where & 0x3) where 261 arch/sparc/kernel/leon_pci_grpci2.c (devfn << 8) | (where & 0xfc)); where 281 arch/sparc/kernel/leon_pci_grpci2.c unsigned int devfn, int where, u32 *val) where 286 arch/sparc/kernel/leon_pci_grpci2.c if (where & 0x1) where 288 arch/sparc/kernel/leon_pci_grpci2.c ret = grpci2_cfg_r32(priv, bus, devfn, where & ~0x3, &v); where 289 arch/sparc/kernel/leon_pci_grpci2.c *val = 0xffff & (v >> (8 * (where & 0x3))); where 294 arch/sparc/kernel/leon_pci_grpci2.c unsigned int devfn, int where, u32 *val) where 299 arch/sparc/kernel/leon_pci_grpci2.c ret = grpci2_cfg_r32(priv, bus, devfn, where & ~0x3, &v); where 300 arch/sparc/kernel/leon_pci_grpci2.c *val = 0xff & (v >> (8 * (where & 3))); where 306 arch/sparc/kernel/leon_pci_grpci2.c unsigned int devfn, int where, u32 val) where 311 arch/sparc/kernel/leon_pci_grpci2.c if (where & 0x3) where 331 arch/sparc/kernel/leon_pci_grpci2.c (devfn << 8) | (where & 0xfc)); where 344 arch/sparc/kernel/leon_pci_grpci2.c unsigned int devfn, int where, u32 val) where 349 arch/sparc/kernel/leon_pci_grpci2.c if (where & 0x1) where 351 arch/sparc/kernel/leon_pci_grpci2.c ret = grpci2_cfg_r32(priv, bus, devfn, where&~3, &v); where 354 arch/sparc/kernel/leon_pci_grpci2.c v = (v & ~(0xffff << (8 * (where & 0x3)))) | where 355 arch/sparc/kernel/leon_pci_grpci2.c ((0xffff & val) << (8 * (where & 0x3))); where 356 arch/sparc/kernel/leon_pci_grpci2.c return grpci2_cfg_w32(priv, bus, devfn, where & ~0x3, v); where 360 arch/sparc/kernel/leon_pci_grpci2.c unsigned int devfn, int where, u32 val) where 365 arch/sparc/kernel/leon_pci_grpci2.c ret = grpci2_cfg_r32(priv, bus, devfn, where & ~0x3, &v); where 368 arch/sparc/kernel/leon_pci_grpci2.c v = (v & ~(0xff << (8 * (where & 0x3)))) | where 369 arch/sparc/kernel/leon_pci_grpci2.c ((0xff & val) << (8 * (where & 0x3))); where 370 arch/sparc/kernel/leon_pci_grpci2.c return grpci2_cfg_w32(priv, bus, devfn, where & ~0x3, v); where 377 arch/sparc/kernel/leon_pci_grpci2.c int where, int size, u32 *val) where 390 arch/sparc/kernel/leon_pci_grpci2.c ret = grpci2_cfg_r8(priv, busno, devfn, where, val); where 393 arch/sparc/kernel/leon_pci_grpci2.c ret = grpci2_cfg_r16(priv, busno, devfn, where, val); where 396 arch/sparc/kernel/leon_pci_grpci2.c ret = grpci2_cfg_r32(priv, busno, devfn, where, val); where 405 arch/sparc/kernel/leon_pci_grpci2.c "size=%d\n", busno, PCI_SLOT(devfn), PCI_FUNC(devfn), where, where 416 arch/sparc/kernel/leon_pci_grpci2.c int where, int size, u32 val) where 427 arch/sparc/kernel/leon_pci_grpci2.c where, size, val); where 434 arch/sparc/kernel/leon_pci_grpci2.c return grpci2_cfg_w8(priv, busno, devfn, where, val); where 436 arch/sparc/kernel/leon_pci_grpci2.c return grpci2_cfg_w16(priv, busno, devfn, where, val); where 438 arch/sparc/kernel/leon_pci_grpci2.c return grpci2_cfg_w32(priv, busno, devfn, where, val); where 54 arch/sparc/kernel/pci_common.c int where, int size, u32 *value) where 60 arch/sparc/kernel/pci_common.c addr = sun4u_config_mkaddr(pbm, bus, devfn, where); where 66 arch/sparc/kernel/pci_common.c if (where < 8) { where 71 arch/sparc/kernel/pci_common.c if (where & 1) where 82 arch/sparc/kernel/pci_common.c if (where < 8) { where 96 arch/sparc/kernel/pci_common.c where, 2, &tmp32); where 101 arch/sparc/kernel/pci_common.c where + 2, 2, &tmp32); where 109 arch/sparc/kernel/pci_common.c int where, int size, u32 *value) where 130 arch/sparc/kernel/pci_common.c return sun4u_read_pci_cfg_host(pbm, bus, devfn, where, where 133 arch/sparc/kernel/pci_common.c addr = sun4u_config_mkaddr(pbm, bus, devfn, where); where 144 arch/sparc/kernel/pci_common.c if (where & 0x01) { where 146 arch/sparc/kernel/pci_common.c where); where 154 arch/sparc/kernel/pci_common.c if (where & 0x03) { where 156 arch/sparc/kernel/pci_common.c where); where 167 arch/sparc/kernel/pci_common.c int where, int size, u32 value) where 171 arch/sparc/kernel/pci_common.c addr = sun4u_config_mkaddr(pbm, bus, devfn, where); where 177 arch/sparc/kernel/pci_common.c if (where < 8) { where 183 arch/sparc/kernel/pci_common.c if (where & 1) { where 195 arch/sparc/kernel/pci_common.c if (where < 8) { where 204 arch/sparc/kernel/pci_common.c where, 2, value & 0xffff); where 206 arch/sparc/kernel/pci_common.c where + 2, 2, value >> 16); where 213 arch/sparc/kernel/pci_common.c int where, int size, u32 value) where 220 arch/sparc/kernel/pci_common.c return sun4u_write_pci_cfg_host(pbm, bus, devfn, where, where 223 arch/sparc/kernel/pci_common.c addr = sun4u_config_mkaddr(pbm, bus, devfn, where); where 233 arch/sparc/kernel/pci_common.c if (where & 0x01) { where 235 arch/sparc/kernel/pci_common.c where); where 242 arch/sparc/kernel/pci_common.c if (where & 0x03) { where 244 arch/sparc/kernel/pci_common.c where); where 258 arch/sparc/kernel/pci_common.c int where, int size, u32 *value) where 267 arch/sparc/kernel/pci_common.c if (config_out_of_range(pbm, bus, devfn, where)) { where 272 arch/sparc/kernel/pci_common.c where, size); where 291 arch/sparc/kernel/pci_common.c int where, int size, u32 value) where 299 arch/sparc/kernel/pci_common.c if (config_out_of_range(pbm, bus, devfn, where)) { where 308 arch/sparc/kernel/pci_common.c where, size, value); where 83 arch/sparc/kernel/pci_schizo.c int where) where 90 arch/sparc/kernel/pci_schizo.c SCHIZO_CONFIG_ENCODE(bus, devfn, where)); where 174 arch/sparc/kernel/pcic.c #define CONFIG_CMD(bus, device_fn, where) (0x80000000 | (((unsigned int)bus) << 16) | (((unsigned int)device_fn) << 8) | (where & ~3)) where 177 arch/sparc/kernel/pcic.c int where, u32 *value) where 189 arch/sparc/kernel/pcic.c writel(CONFIG_CMD(busno, devfn, where), pcic->pcic_config_space_addr); where 200 arch/sparc/kernel/pcic.c *value = readl(pcic->pcic_config_space_data + (where&4)); where 214 arch/sparc/kernel/pcic.c int where, int size, u32 *val) where 221 arch/sparc/kernel/pcic.c pcic_read_config_dword(bus->number, devfn, where&~3, &v); where 222 arch/sparc/kernel/pcic.c *val = 0xff & (v >> (8*(where & 3))); where 225 arch/sparc/kernel/pcic.c if (where&1) return -EINVAL; where 226 arch/sparc/kernel/pcic.c pcic_read_config_dword(bus->number, devfn, where&~3, &v); where 227 arch/sparc/kernel/pcic.c *val = 0xffff & (v >> (8*(where & 3))); where 230 arch/sparc/kernel/pcic.c if (where&3) return -EINVAL; where 231 arch/sparc/kernel/pcic.c pcic_read_config_dword(bus->number, devfn, where&~3, val); where 238 arch/sparc/kernel/pcic.c int where, u32 value) where 246 arch/sparc/kernel/pcic.c writel(CONFIG_CMD(busno, devfn, where), pcic->pcic_config_space_addr); where 247 arch/sparc/kernel/pcic.c writel(value, pcic->pcic_config_space_data + (where&4)); where 253 arch/sparc/kernel/pcic.c int where, int size, u32 val) where 260 arch/sparc/kernel/pcic.c pcic_read_config_dword(bus->number, devfn, where&~3, &v); where 261 arch/sparc/kernel/pcic.c v = (v & ~(0xff << (8*(where&3)))) | where 262 arch/sparc/kernel/pcic.c ((0xff&val) << (8*(where&3))); where 263 arch/sparc/kernel/pcic.c return pcic_write_config_dword(bus->number, devfn, where&~3, v); where 265 arch/sparc/kernel/pcic.c if (where&1) return -EINVAL; where 266 arch/sparc/kernel/pcic.c pcic_read_config_dword(bus->number, devfn, where&~3, &v); where 267 arch/sparc/kernel/pcic.c v = (v & ~(0xffff << (8*(where&3)))) | where 268 arch/sparc/kernel/pcic.c ((0xffff&val) << (8*(where&3))); where 269 arch/sparc/kernel/pcic.c return pcic_write_config_dword(bus->number, devfn, where&~3, v); where 271 arch/sparc/kernel/pcic.c if (where&3) return -EINVAL; where 272 arch/sparc/kernel/pcic.c return pcic_write_config_dword(bus->number, devfn, where, val); where 23 arch/sparc/kernel/psycho_common.h int where) where 27 arch/sparc/kernel/psycho_common.h PSYCHO_CONFIG_ENCODE(bus, devfn, where)); where 13 arch/unicore32/include/asm/traps.h extern void dump_backtrace_entry(unsigned long where, where 21 arch/unicore32/kernel/pci.c #define CONFIG_CMD(bus, devfn, where) \ where 22 arch/unicore32/kernel/pci.c (0x80000000 | (bus->number << 16) | (devfn << 8) | (where & ~3)) where 25 arch/unicore32/kernel/pci.c puv3_read_config(struct pci_bus *bus, unsigned int devfn, int where, where 28 arch/unicore32/kernel/pci.c writel(CONFIG_CMD(bus, devfn, where), PCICFG_ADDR); where 31 arch/unicore32/kernel/pci.c *value = (readl(PCICFG_DATA) >> ((where & 3) * 8)) & 0xFF; where 34 arch/unicore32/kernel/pci.c *value = (readl(PCICFG_DATA) >> ((where & 2) * 8)) & 0xFFFF; where 44 arch/unicore32/kernel/pci.c puv3_write_config(struct pci_bus *bus, unsigned int devfn, int where, where 47 arch/unicore32/kernel/pci.c writel(CONFIG_CMD(bus, devfn, where), PCICFG_ADDR); where 50 arch/unicore32/kernel/pci.c writel((readl(PCICFG_DATA) & ~FMASK(8, (where&3)*8)) where 51 arch/unicore32/kernel/pci.c | FIELD(value, 8, (where&3)*8), PCICFG_DATA); where 54 arch/unicore32/kernel/pci.c writel((readl(PCICFG_DATA) & ~FMASK(16, (where&2)*8)) where 55 arch/unicore32/kernel/pci.c | FIELD(value, 16, (where&2)*8), PCICFG_DATA); where 35 arch/unicore32/kernel/traps.c void dump_backtrace_entry(unsigned long where, where 40 arch/unicore32/kernel/traps.c where, (void *)where, from, (void *)from); where 43 arch/unicore32/kernel/traps.c where, from); where 414 arch/x86/events/intel/uncore_snb.c int where = SNB_UNCORE_PCI_IMC_BAR_OFFSET; where 418 arch/x86/events/intel/uncore_snb.c pci_read_config_dword(pdev, where, &pci_dword); where 422 arch/x86/events/intel/uncore_snb.c pci_read_config_dword(pdev, where + 4, &pci_dword); where 16 arch/x86/include/asm/sighandling.h void signal_fault(struct pt_regs *regs, void __user *frame, char *where); where 846 arch/x86/kernel/signal.c void signal_fault(struct pt_regs *regs, void __user *frame, char *where) where 854 arch/x86/kernel/signal.c me->comm, me->pid, where, frame, where 59 arch/x86/pci/common.c static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) where 62 arch/x86/pci/common.c devfn, where, size, value); where 65 arch/x86/pci/common.c static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) where 68 arch/x86/pci/common.c devfn, where, size, value); where 110 arch/x86/pci/fixup.c int where = 0x55; where 119 arch/x86/pci/fixup.c where = 0x95; /* the memory write queue timer register is where 128 arch/x86/pci/fixup.c pci_read_config_byte(d, where, &v); where 131 arch/x86/pci/fixup.c d->device, d->revision, where, v, mask, v & mask); where 133 arch/x86/pci/fixup.c pci_write_config_byte(d, where, v); where 205 arch/x86/pci/fixup.c static int quirk_pcie_aspm_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) where 208 arch/x86/pci/fixup.c devfn, where, size, value); where 215 arch/x86/pci/fixup.c static int quirk_pcie_aspm_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) where 221 arch/x86/pci/fixup.c if ((offset) && (where == offset)) where 225 arch/x86/pci/fixup.c devfn, where, size, value); where 167 arch/x86/pci/intel_mid_pci.c static int pci_read(struct pci_bus *bus, unsigned int devfn, int where, where 170 arch/x86/pci/intel_mid_pci.c if (type1_access_ok(bus->number, devfn, where)) where 172 arch/x86/pci/intel_mid_pci.c devfn, where, size, value); where 174 arch/x86/pci/intel_mid_pci.c devfn, where, size, value); where 177 arch/x86/pci/intel_mid_pci.c static int pci_write(struct pci_bus *bus, unsigned int devfn, int where, where 186 arch/x86/pci/intel_mid_pci.c if (where == PCI_ROM_ADDRESS) where 197 arch/x86/pci/intel_mid_pci.c (where >= PCI_BASE_ADDRESS_0 && where <= PCI_BASE_ADDRESS_5)) { where 198 arch/x86/pci/intel_mid_pci.c return pci_device_update_fixed(bus, devfn, where, size, value, where 207 arch/x86/pci/intel_mid_pci.c if (type1_access_ok(bus->number, devfn, where)) where 209 arch/x86/pci/intel_mid_pci.c devfn, where, size, value); where 211 arch/x86/pci/intel_mid_pci.c where, size, value); where 274 drivers/acpi/acpica/acdebug.h void acpi_db_set_output_destination(u32 where); where 312 drivers/acpi/acpica/acobject.h union acpi_operand_object **where; /* Target of Index */ where 291 drivers/acpi/acpica/dbobject.c where); where 292 drivers/acpi/acpica/dbobject.c if (!obj_desc->reference.where) { where 299 drivers/acpi/acpica/dbobject.c where)); where 278 drivers/acpi/acpica/exdebug.c if (!(*source_desc->reference.where)) { where 284 drivers/acpi/acpica/exdebug.c where, level + 4, 0); where 200 drivers/acpi/acpica/exdump.c {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(reference.where), "Where"}, where 954 drivers/acpi/acpica/exoparg1.c *(operand[0]->reference.where); where 377 drivers/acpi/acpica/exoparg2.c return_desc->reference.where = where 172 drivers/acpi/acpica/exresolv.c obj_desc = *stack_desc->reference.where; where 433 drivers/acpi/acpica/exresolv.c obj_desc = *(obj_desc->reference.where); where 220 drivers/acpi/acpica/exstore.c obj_desc = *(index_desc->reference.where); where 252 drivers/acpi/acpica/exstore.c *(index_desc->reference.where) = new_desc; where 493 drivers/acpi/acpica/nsxfeval.c obj_desc = *(info->return_object->reference.where); where 862 drivers/atm/fore200e.c int bsq_audit(int where, struct host_bsq* bsq, int scheme, int magn) where 872 drivers/atm/fore200e.c where, scheme, magn, buffer->index); where 877 drivers/atm/fore200e.c where, scheme, magn, buffer->index, buffer->magn); where 882 drivers/atm/fore200e.c where, scheme, magn, buffer->index, buffer->scheme); where 887 drivers/atm/fore200e.c where, scheme, magn, buffer->index); where 896 drivers/atm/fore200e.c where, scheme, magn, count, bsq->freebuf_count); where 1748 drivers/block/drbd/drbd_int.h const char *where) where 1759 drivers/block/drbd/drbd_int.h drbd_err(device, "Local IO failed in %s.\n", where); where 1795 drivers/block/drbd/drbd_int.h "Local IO failed in %s. Detaching...\n", where); where 1811 drivers/block/drbd/drbd_int.h int error, enum drbd_force_detach_flags forcedetach, const char *where) where 1816 drivers/block/drbd/drbd_int.h __drbd_chk_io_error_(device, forcedetach, where); where 477 drivers/edac/edac_pci_sysfs.c int where; where 480 drivers/edac/edac_pci_sysfs.c where = secondary ? PCI_SEC_STATUS : PCI_STATUS; where 481 drivers/edac/edac_pci_sysfs.c pci_read_config_word(dev, where, &status); where 502 drivers/edac/edac_pci_sysfs.c pci_write_config_word(dev, where, status); where 1182 drivers/edac/i5000_edac.c int where = MTR0 + (slot_row * sizeof(u32)); where 1184 drivers/edac/i5000_edac.c pci_read_config_word(pvt->branch_0, where, where 1188 drivers/edac/i5000_edac.c slot_row, where, pvt->b0_mtr[slot_row]); where 1191 drivers/edac/i5000_edac.c pci_read_config_word(pvt->branch_1, where, where 1194 drivers/edac/i5000_edac.c slot_row, where, pvt->b1_mtr[slot_row]); where 1101 drivers/edac/i5400_edac.c int where = MTR0 + (slot_row * sizeof(u16)); where 1104 drivers/edac/i5400_edac.c pci_read_config_word(pvt->branch_0, where, where 1108 drivers/edac/i5400_edac.c slot_row, where, pvt->b0_mtr[slot_row]); where 1116 drivers/edac/i5400_edac.c pci_read_config_word(pvt->branch_1, where, where 1119 drivers/edac/i5400_edac.c slot_row, where, pvt->b1_mtr[slot_row]); where 789 drivers/edac/i7300_edac.c int where = mtr_regs[slot]; where 792 drivers/edac/i7300_edac.c where, where 866 drivers/edac/i7core_edac.c static int write_and_test(struct pci_dev *dev, const int where, const u32 val) where 873 drivers/edac/i7core_edac.c where, val); where 878 drivers/edac/i7core_edac.c pci_write_config_dword(dev, where, val); where 879 drivers/edac/i7core_edac.c pci_read_config_dword(dev, where, &read); where 888 drivers/edac/i7core_edac.c where, val, read); where 97 drivers/fpga/altera-cvp.c int where, u8 *val) where 99 drivers/fpga/altera-cvp.c return pci_read_config_byte(conf->pci_dev, conf->vsec_offset + where, where 104 drivers/fpga/altera-cvp.c int where, u32 *val) where 106 drivers/fpga/altera-cvp.c return pci_read_config_dword(conf->pci_dev, conf->vsec_offset + where, where 111 drivers/fpga/altera-cvp.c int where, u32 val) where 113 drivers/fpga/altera-cvp.c return pci_write_config_dword(conf->pci_dev, conf->vsec_offset + where, where 187 drivers/gpu/drm/amd/display/dc/basics/vector.c void *where = dal_vector_at_index(vector, index); where 189 drivers/gpu/drm/amd/display/dc/basics/vector.c if (!where) { where 194 drivers/gpu/drm/amd/display/dc/basics/vector.c where, where 371 drivers/gpu/drm/i915/i915_vma.h unsigned int where) where 373 drivers/gpu/drm/i915/i915_vma.h return vma->flags & where; where 56 drivers/gpu/drm/mga/mga_warp.c int n_pipes, where; where 87 drivers/gpu/drm/mga/mga_warp.c where = 0; where 92 drivers/gpu/drm/mga/mga_warp.c where++; where 95 drivers/gpu/drm/mga/mga_warp.c if (where != n_pipes) { where 111 drivers/gpu/drm/mga/mga_warp.c where = 0; where 118 drivers/gpu/drm/mga/mga_warp.c dev_priv->warp_pipe_phys[where] = pcbase; where 124 drivers/gpu/drm/mga/mga_warp.c where++; where 123 drivers/gpu/drm/savage/savage_state.c #define SAVE_STATE(reg,where) \ where 125 drivers/gpu/drm/savage/savage_state.c dev_priv->state.where = regs[reg - start] where 126 drivers/gpu/drm/savage/savage_state.c #define SAVE_STATE_MASK(reg,where,mask) do { \ where 130 drivers/gpu/drm/savage/savage_state.c dev_priv->state.where = (tmp & (mask)) | \ where 131 drivers/gpu/drm/savage/savage_state.c (dev_priv->state.where & ~(mask)); \ where 103 drivers/infiniband/hw/qib/qib_sd7220.c static void qib_sd_trimdone_monitor(struct qib_devdata *dd, const char *where); where 304 drivers/infiniband/hw/qib/qib_sd7220.c const char *where) where 309 drivers/infiniband/hw/qib/qib_sd7220.c if (!where) where 310 drivers/infiniband/hw/qib/qib_sd7220.c where = "?"; where 317 drivers/infiniband/hw/qib/qib_sd7220.c qib_dev_err(dd, "not able to re-sync IB EPB (%s)\n", where); where 322 drivers/infiniband/hw/qib/qib_sd7220.c qib_dev_err(dd, "Failed TRIMDONE 1st read, (%s)\n", where); where 327 drivers/infiniband/hw/qib/qib_sd7220.c qib_dev_err(dd, "IBCS TRIMDONE clear (%s)\n", where); where 336 drivers/infiniband/hw/qib/qib_sd7220.c qib_dev_err(dd, "Failed Dummy RMW, (%s)\n", where); where 348 drivers/infiniband/hw/qib/qib_sd7220.c chn, where); where 356 drivers/infiniband/hw/qib/qib_sd7220.c chn, ret, where); where 377 drivers/infiniband/hw/qib/qib_sd7220.c chn, where); where 383 drivers/infiniband/hw/qib/qib_sd7220.c chn, where); where 119 drivers/isdn/mISDN/fsm.c mISDN_FsmDelTimer(struct FsmTimer *ft, int where) where 124 drivers/isdn/mISDN/fsm.c (long) ft, where); where 132 drivers/isdn/mISDN/fsm.c int millisec, int event, void *arg, int where) where 138 drivers/isdn/mISDN/fsm.c (long) ft, millisec, where); where 160 drivers/isdn/mISDN/fsm.c int millisec, int event, void *arg, int where) where 166 drivers/isdn/mISDN/fsm.c (long) ft, millisec, where); where 195 drivers/md/bcache/bset.c bool __bch_cut_front(const struct bkey *where, struct bkey *k) where 199 drivers/md/bcache/bset.c if (bkey_cmp(where, &START_KEY(k)) <= 0) where 202 drivers/md/bcache/bset.c if (bkey_cmp(where, k) < 0) where 203 drivers/md/bcache/bset.c len = KEY_OFFSET(k) - KEY_OFFSET(where); where 205 drivers/md/bcache/bset.c bkey_copy_key(k, where); where 215 drivers/md/bcache/bset.c bool __bch_cut_back(const struct bkey *where, struct bkey *k) where 219 drivers/md/bcache/bset.c if (bkey_cmp(where, k) >= 0) where 222 drivers/md/bcache/bset.c BUG_ON(KEY_INODE(where) != KEY_INODE(k)); where 224 drivers/md/bcache/bset.c if (bkey_cmp(where, &START_KEY(k)) > 0) where 225 drivers/md/bcache/bset.c len = KEY_OFFSET(where) - KEY_START(k); where 227 drivers/md/bcache/bset.c bkey_copy_key(k, where); where 860 drivers/md/bcache/bset.c void bch_bset_insert(struct btree_keys *b, struct bkey *where, where 870 drivers/md/bcache/bset.c memmove((uint64_t *) where + bkey_u64s(insert), where 871 drivers/md/bcache/bset.c where, where 872 drivers/md/bcache/bset.c (void *) bset_bkey_last(t->data) - (void *) where); where 875 drivers/md/bcache/bset.c bkey_copy(where, insert); where 876 drivers/md/bcache/bset.c bch_bset_fix_lookup_table(b, t, where); where 302 drivers/md/bcache/bset.h void bch_bset_insert(struct btree_keys *b, struct bkey *where, where 423 drivers/md/bcache/bset.h bool __bch_cut_front(const struct bkey *where, struct bkey *k); where 424 drivers/md/bcache/bset.h bool __bch_cut_back(const struct bkey *where, struct bkey *k); where 426 drivers/md/bcache/bset.h static inline bool bch_cut_front(const struct bkey *where, struct bkey *k) where 428 drivers/md/bcache/bset.h BUG_ON(bkey_cmp(where, k) > 0); where 429 drivers/md/bcache/bset.h return __bch_cut_front(where, k); where 432 drivers/md/bcache/bset.h static inline bool bch_cut_back(const struct bkey *where, struct bkey *k) where 434 drivers/md/bcache/bset.h BUG_ON(bkey_cmp(where, &START_KEY(k)) < 0); where 435 drivers/md/bcache/bset.h return __bch_cut_back(where, k); where 77 drivers/md/bcache/journal.c struct list_head *where; where 143 drivers/md/bcache/journal.c where = &i->list; where 148 drivers/md/bcache/journal.c where = list; where 156 drivers/md/bcache/journal.c list_add(&i->list, where); where 297 drivers/md/dm-io.c struct dm_io_region *where, struct dpages *dp, where 305 drivers/md/dm-io.c sector_t remaining = where->count; where 306 drivers/md/dm-io.c struct request_queue *q = bdev_get_queue(where->bdev); where 349 drivers/md/dm-io.c bio->bi_iter.bi_sector = where->sector + (where->count - remaining); where 350 drivers/md/dm-io.c bio_set_dev(bio, where->bdev); where 391 drivers/md/dm-io.c struct dm_io_region *where, struct dpages *dp, where 408 drivers/md/dm-io.c if (where[i].count || (op_flags & REQ_PREFLUSH)) where 409 drivers/md/dm-io.c do_region(op, op_flags, i, where + i, dp, io); where 433 drivers/md/dm-io.c struct dm_io_region *where, int op, int op_flags, where 456 drivers/md/dm-io.c dispatch_io(op, op_flags, num_regions, where, dp, io, 1); where 467 drivers/md/dm-io.c struct dm_io_region *where, int op, int op_flags, where 488 drivers/md/dm-io.c dispatch_io(op, op_flags, num_regions, where, dp, io, 0); where 538 drivers/md/dm-io.c struct dm_io_region *where, unsigned long *sync_error_bits) where 543 drivers/md/dm-io.c r = dp_init(io_req, &dp, (unsigned long)where->count << SECTOR_SHIFT); where 548 drivers/md/dm-io.c return sync_io(io_req->client, num_regions, where, where 552 drivers/md/dm-io.c return async_io(io_req->client, num_regions, where, io_req->bi_op, where 213 drivers/md/dm-snap-persistent.c struct dm_io_region *where; where 223 drivers/md/dm-snap-persistent.c req->result = dm_io(req->io_req, 1, req->where, NULL); where 232 drivers/md/dm-snap-persistent.c struct dm_io_region where = { where 248 drivers/md/dm-snap-persistent.c return dm_io(&io_req, 1, &where, NULL); where 250 drivers/md/dm-snap-persistent.c req.where = &where; where 670 drivers/md/persistent-data/dm-space-map-metadata.c static int sm_bootstrap_copy_root(struct dm_space_map *sm, void *where, where 79 drivers/md/persistent-data/dm-transaction-manager.c dm_block_t where; where 111 drivers/md/persistent-data/dm-transaction-manager.c if (si->where == b) { where 131 drivers/md/persistent-data/dm-transaction-manager.c si->where = b; where 674 drivers/media/common/saa7146/saa7146_hlp.c int where = 0; where 681 drivers/media/common/saa7146/saa7146_hlp.c where = (which-1)*0x18; where 683 drivers/media/common/saa7146/saa7146_hlp.c saa7146_write(dev, where, vdma->base_odd); where 684 drivers/media/common/saa7146/saa7146_hlp.c saa7146_write(dev, where+0x04, vdma->base_even); where 685 drivers/media/common/saa7146/saa7146_hlp.c saa7146_write(dev, where+0x08, vdma->prot_addr); where 686 drivers/media/common/saa7146/saa7146_hlp.c saa7146_write(dev, where+0x0c, vdma->pitch); where 687 drivers/media/common/saa7146/saa7146_hlp.c saa7146_write(dev, where+0x10, vdma->base_page); where 688 drivers/media/common/saa7146/saa7146_hlp.c saa7146_write(dev, where+0x14, vdma->num_line_byte); where 323 drivers/media/pci/ivtv/ivtv-firmware.c int ivtv_firmware_check(struct ivtv *itv, char *where) where 329 drivers/media/pci/ivtv/ivtv-firmware.c IVTV_WARN("Encoder has died : %s\n", where); where 340 drivers/media/pci/ivtv/ivtv-firmware.c IVTV_WARN("Audio has died (Encoder OK) : %s\n", where); where 352 drivers/media/pci/ivtv/ivtv-firmware.c where); where 359 drivers/media/pci/ivtv/ivtv-firmware.c IVTV_WARN("Decoder has died : %s\n", where); where 368 drivers/media/pci/ivtv/ivtv-firmware.c where); where 17 drivers/media/pci/ivtv/ivtv-firmware.h int ivtv_firmware_check(struct ivtv *itv, char *where); where 2880 drivers/message/fusion/mptctl.c int where = 1; where 2899 drivers/message/fusion/mptctl.c ++where; where 86 drivers/mfd/lpc_sch.c static int lpc_sch_get_io(struct pci_dev *pdev, int where, const char *name, where 95 drivers/mfd/lpc_sch.c pci_read_config_dword(pdev, where, &base_addr_cfg); where 115 drivers/mfd/lpc_sch.c static int lpc_sch_populate_cell(struct pci_dev *pdev, int where, where 126 drivers/mfd/lpc_sch.c ret = lpc_sch_get_io(pdev, where, name, res, size); where 95 drivers/misc/cardreader/alcor_pci.c int where; where 99 drivers/misc/cardreader/alcor_pci.c where = ALCOR_CAP_START_OFFSET; where 100 drivers/misc/cardreader/alcor_pci.c pci_read_config_byte(pci, where, &val8); where 104 drivers/misc/cardreader/alcor_pci.c where = (int)val8; where 106 drivers/misc/cardreader/alcor_pci.c pci_read_config_dword(pci, where, &val32); where 114 drivers/misc/cardreader/alcor_pci.c dev_dbg(priv->dev, "pcie cap offset: %x\n", where); where 115 drivers/misc/cardreader/alcor_pci.c return where; where 123 drivers/misc/cardreader/alcor_pci.c where = (int)((val32 >> 8) & 0xff); where 132 drivers/misc/cardreader/alcor_pci.c int where; where 147 drivers/misc/cardreader/alcor_pci.c where = priv->pdev_cap_off + ALCOR_PCIE_LINK_CAP_OFFSET; where 148 drivers/misc/cardreader/alcor_pci.c pci_read_config_dword(pci, where, &val32); where 152 drivers/misc/cardreader/alcor_pci.c where = priv->parent_cap_off + ALCOR_PCIE_LINK_CAP_OFFSET; where 153 drivers/misc/cardreader/alcor_pci.c pci_read_config_dword(pci, where, &val32); where 175 drivers/misc/cardreader/alcor_pci.c int where; where 201 drivers/misc/cardreader/alcor_pci.c where = priv->parent_cap_off where 205 drivers/misc/cardreader/alcor_pci.c where = priv->pdev_cap_off where 209 drivers/misc/cardreader/alcor_pci.c pci_read_config_dword(pci, where, &val32); where 212 drivers/misc/cardreader/alcor_pci.c pci_write_config_byte(pci, where, (u8)val32); where 135 drivers/net/ethernet/i825xx/sun3_82586.c static int check586(struct net_device *dev,char *where,unsigned size); where 207 drivers/net/ethernet/i825xx/sun3_82586.c static int check586(struct net_device *dev,char *where,unsigned size) where 215 drivers/net/ethernet/i825xx/sun3_82586.c p->memtop = (char *)dvma_btov((unsigned long)where); where 225 drivers/net/ethernet/i825xx/sun3_82586.c iscp_addr = (char *)dvma_btov((unsigned long)where); where 961 drivers/nvdimm/namespace_devs.c static bool uuid_not_set(const u8 *uuid, struct device *dev, const char *where) where 964 drivers/nvdimm/namespace_devs.c dev_dbg(dev, "%s: uuid not set\n", where); where 181 drivers/parisc/dino.c static int dino_cfg_read(struct pci_bus *bus, unsigned int devfn, int where, where 186 drivers/parisc/dino.c u32 v = DINO_CFG_TOK(local_bus, devfn, where & ~3); where 190 drivers/parisc/dino.c DBG("%s: %p, %d, %d, %d\n", __func__, base_addr, devfn, where, where 199 drivers/parisc/dino.c *val = readb(base_addr + DINO_CONFIG_DATA + (where & 3)); where 201 drivers/parisc/dino.c *val = readw(base_addr + DINO_CONFIG_DATA + (where & 2)); where 216 drivers/parisc/dino.c static int dino_cfg_write(struct pci_bus *bus, unsigned int devfn, int where, where 221 drivers/parisc/dino.c u32 v = DINO_CFG_TOK(local_bus, devfn, where & ~3); where 225 drivers/parisc/dino.c DBG("%s: %p, %d, %d, %d\n", __func__, base_addr, devfn, where, where 237 drivers/parisc/dino.c writeb(val, base_addr + DINO_CONFIG_DATA + (where & 3)); where 239 drivers/parisc/dino.c writew(val, base_addr + DINO_CONFIG_DATA + (where & 2)); where 988 drivers/parisc/lba_pci.c void __iomem *where = PIOP_TO_GMMIO(LBA_DEV(l), addr); \ where 990 drivers/parisc/lba_pci.c WRITE_REG##size(val, where); \ where 1105 drivers/parisc/sba_iommu.c Tells where the dvi bits are located in the address. where 78 drivers/pci/access.c int where, int size, u32 *val) where 82 drivers/pci/access.c addr = bus->ops->map_bus(bus, devfn, where); where 100 drivers/pci/access.c int where, int size, u32 val) where 104 drivers/pci/access.c addr = bus->ops->map_bus(bus, devfn, where); where 120 drivers/pci/access.c int where, int size, u32 *val) where 124 drivers/pci/access.c addr = bus->ops->map_bus(bus, devfn, where & ~0x3); where 133 drivers/pci/access.c *val = (*val >> (8 * (where & 3))) & ((1 << (size * 8)) - 1); where 140 drivers/pci/access.c int where, int size, u32 val) where 145 drivers/pci/access.c addr = bus->ops->map_bus(bus, devfn, where & ~0x3); where 165 drivers/pci/access.c PCI_SLOT(devfn), PCI_FUNC(devfn), where); where 167 drivers/pci/access.c mask = ~(((1 << (size * 8)) - 1) << ((where & 0x3) * 8)); where 169 drivers/pci/access.c tmp |= val << ((where & 0x3) * 8); where 527 drivers/pci/access.c int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val) where 533 drivers/pci/access.c return pci_bus_read_config_byte(dev->bus, dev->devfn, where, val); where 537 drivers/pci/access.c int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val) where 543 drivers/pci/access.c return pci_bus_read_config_word(dev->bus, dev->devfn, where, val); where 547 drivers/pci/access.c int pci_read_config_dword(const struct pci_dev *dev, int where, where 554 drivers/pci/access.c return pci_bus_read_config_dword(dev->bus, dev->devfn, where, val); where 558 drivers/pci/access.c int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val) where 562 drivers/pci/access.c return pci_bus_write_config_byte(dev->bus, dev->devfn, where, val); where 566 drivers/pci/access.c int pci_write_config_word(const struct pci_dev *dev, int where, u16 val) where 570 drivers/pci/access.c return pci_bus_write_config_word(dev->bus, dev->devfn, where, val); where 574 drivers/pci/access.c int pci_write_config_dword(const struct pci_dev *dev, int where, where 579 drivers/pci/access.c return pci_bus_write_config_dword(dev->bus, dev->devfn, where, val); where 341 drivers/pci/controller/dwc/pci-exynos.c static int exynos_pcie_rd_own_conf(struct pcie_port *pp, int where, int size, where 349 drivers/pci/controller/dwc/pci-exynos.c ret = dw_pcie_read(pci->dbi_base + where, size, val); where 354 drivers/pci/controller/dwc/pci-exynos.c static int exynos_pcie_wr_own_conf(struct pcie_port *pp, int where, int size, where 362 drivers/pci/controller/dwc/pci-exynos.c ret = dw_pcie_write(pci->dbi_base + where, size, val); where 434 drivers/pci/controller/dwc/pci-keystone.c unsigned int devfn, int where, int size, where 447 drivers/pci/controller/dwc/pci-keystone.c return dw_pcie_read(pp->va_cfg0_base + where, size, val); where 451 drivers/pci/controller/dwc/pci-keystone.c unsigned int devfn, int where, int size, where 464 drivers/pci/controller/dwc/pci-keystone.c return dw_pcie_write(pp->va_cfg0_base + where, size, val); where 398 drivers/pci/controller/dwc/pci-meson.c static int meson_pcie_rd_own_conf(struct pcie_port *pp, int where, int size, where 404 drivers/pci/controller/dwc/pci-meson.c ret = dw_pcie_read(pci->dbi_base + where, size, val); where 413 drivers/pci/controller/dwc/pci-meson.c if (where == PCI_CLASS_REVISION && size == 4) where 415 drivers/pci/controller/dwc/pci-meson.c else if (where == PCI_CLASS_DEVICE && size == 2) where 417 drivers/pci/controller/dwc/pci-meson.c else if (where == PCI_CLASS_DEVICE && size == 1) where 419 drivers/pci/controller/dwc/pci-meson.c else if (where == PCI_CLASS_DEVICE + 1 && size == 1) where 425 drivers/pci/controller/dwc/pci-meson.c static int meson_pcie_wr_own_conf(struct pcie_port *pp, int where, where 430 drivers/pci/controller/dwc/pci-meson.c return dw_pcie_write(pci->dbi_base + where, size, val); where 23 drivers/pci/controller/dwc/pcie-al.c int where) where 37 drivers/pci/controller/dwc/pcie-al.c return dbi_base + where; where 40 drivers/pci/controller/dwc/pcie-al.c return pci_ecam_map_bus(bus, devfn, where); where 252 drivers/pci/controller/dwc/pcie-al.c unsigned int devfn, int where, int size, where 263 drivers/pci/controller/dwc/pcie-al.c rc = dw_pcie_read(pci_addr + where, size, val); where 267 drivers/pci/controller/dwc/pcie-al.c PCI_SLOT(devfn), PCI_FUNC(devfn), where, where 268 drivers/pci/controller/dwc/pcie-al.c (pci_addr + where), *val); where 274 drivers/pci/controller/dwc/pcie-al.c unsigned int devfn, int where, int size, where 285 drivers/pci/controller/dwc/pcie-al.c rc = dw_pcie_write(pci_addr + where, size, val); where 289 drivers/pci/controller/dwc/pcie-al.c PCI_SLOT(devfn), PCI_FUNC(devfn), where, where 290 drivers/pci/controller/dwc/pcie-al.c (pci_addr + where), val); where 23 drivers/pci/controller/dwc/pcie-designware-host.c static int dw_pcie_rd_own_conf(struct pcie_port *pp, int where, int size, where 29 drivers/pci/controller/dwc/pcie-designware-host.c return pp->ops->rd_own_conf(pp, where, size, val); where 32 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_read(pci->dbi_base + where, size, val); where 35 drivers/pci/controller/dwc/pcie-designware-host.c static int dw_pcie_wr_own_conf(struct pcie_port *pp, int where, int size, where 41 drivers/pci/controller/dwc/pcie-designware-host.c return pp->ops->wr_own_conf(pp, where, size, val); where 44 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_write(pci->dbi_base + where, size, val); where 528 drivers/pci/controller/dwc/pcie-designware-host.c u32 devfn, int where, int size, u32 *val, where 556 drivers/pci/controller/dwc/pcie-designware-host.c ret = dw_pcie_write(va_cfg_base + where, size, *val); where 558 drivers/pci/controller/dwc/pcie-designware-host.c ret = dw_pcie_read(va_cfg_base + where, size, val); where 569 drivers/pci/controller/dwc/pcie-designware-host.c u32 devfn, int where, int size, u32 *val) where 572 drivers/pci/controller/dwc/pcie-designware-host.c return pp->ops->rd_other_conf(pp, bus, devfn, where, where 575 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_access_other_conf(pp, bus, devfn, where, size, val, where 580 drivers/pci/controller/dwc/pcie-designware-host.c u32 devfn, int where, int size, u32 val) where 583 drivers/pci/controller/dwc/pcie-designware-host.c return pp->ops->wr_other_conf(pp, bus, devfn, where, where 586 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_access_other_conf(pp, bus, devfn, where, size, &val, where 608 drivers/pci/controller/dwc/pcie-designware-host.c static int dw_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, where 619 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_rd_own_conf(pp, where, size, val); where 621 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_rd_other_conf(pp, bus, devfn, where, size, val); where 625 drivers/pci/controller/dwc/pcie-designware-host.c int where, int size, u32 val) where 633 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_wr_own_conf(pp, where, size, val); where 635 drivers/pci/controller/dwc/pcie-designware-host.c return dw_pcie_wr_other_conf(pp, bus, devfn, where, size, val); where 153 drivers/pci/controller/dwc/pcie-designware.h int (*rd_own_conf)(struct pcie_port *pp, int where, int size, u32 *val); where 154 drivers/pci/controller/dwc/pcie-designware.h int (*wr_own_conf)(struct pcie_port *pp, int where, int size, u32 val); where 156 drivers/pci/controller/dwc/pcie-designware.h unsigned int devfn, int where, int size, u32 *val); where 158 drivers/pci/controller/dwc/pcie-designware.h unsigned int devfn, int where, int size, u32 val); where 26 drivers/pci/controller/dwc/pcie-hisi.c static int hisi_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, where 37 drivers/pci/controller/dwc/pcie-hisi.c return pci_generic_config_read32(bus, devfn, where, where 41 drivers/pci/controller/dwc/pcie-hisi.c return pci_generic_config_read(bus, devfn, where, size, val); where 45 drivers/pci/controller/dwc/pcie-hisi.c int where, int size, u32 val) where 55 drivers/pci/controller/dwc/pcie-hisi.c return pci_generic_config_write32(bus, devfn, where, where 59 drivers/pci/controller/dwc/pcie-hisi.c return pci_generic_config_write(bus, devfn, where, size, val); where 63 drivers/pci/controller/dwc/pcie-hisi.c int where) where 69 drivers/pci/controller/dwc/pcie-hisi.c return reg_base + where; where 71 drivers/pci/controller/dwc/pcie-hisi.c return pci_ecam_map_bus(bus, devfn, where); where 145 drivers/pci/controller/dwc/pcie-hisi.c static int hisi_pcie_cfg_read(struct pcie_port *pp, int where, int size, where 153 drivers/pci/controller/dwc/pcie-hisi.c walker += (where & 0x3); where 154 drivers/pci/controller/dwc/pcie-hisi.c reg = where & ~0x3; where 170 drivers/pci/controller/dwc/pcie-hisi.c static int hisi_pcie_cfg_write(struct pcie_port *pp, int where, int size, where 178 drivers/pci/controller/dwc/pcie-hisi.c walker += (where & 0x3); where 179 drivers/pci/controller/dwc/pcie-hisi.c reg = where & ~0x3; where 125 drivers/pci/controller/dwc/pcie-histb.c static int histb_pcie_rd_own_conf(struct pcie_port *pp, int where, where 132 drivers/pci/controller/dwc/pcie-histb.c ret = dw_pcie_read(pci->dbi_base + where, size, val); where 138 drivers/pci/controller/dwc/pcie-histb.c static int histb_pcie_wr_own_conf(struct pcie_port *pp, int where, where 145 drivers/pci/controller/dwc/pcie-histb.c ret = dw_pcie_write(pci->dbi_base + where, size, val); where 339 drivers/pci/controller/dwc/pcie-kirin.c int where, int size, u32 *val) where 346 drivers/pci/controller/dwc/pcie-kirin.c ret = dw_pcie_read(pci->dbi_base + where, size, val); where 353 drivers/pci/controller/dwc/pcie-kirin.c int where, int size, u32 val) where 360 drivers/pci/controller/dwc/pcie-kirin.c ret = dw_pcie_write(pci->dbi_base + where, size, val); where 423 drivers/pci/controller/dwc/pcie-tegra194.c static int tegra_pcie_dw_rd_own_conf(struct pcie_port *pp, int where, int size, where 434 drivers/pci/controller/dwc/pcie-tegra194.c if (where == PORT_LOGIC_MSIX_DOORBELL) { where 439 drivers/pci/controller/dwc/pcie-tegra194.c return dw_pcie_read(pci->dbi_base + where, size, val); where 442 drivers/pci/controller/dwc/pcie-tegra194.c static int tegra_pcie_dw_wr_own_conf(struct pcie_port *pp, int where, int size, where 453 drivers/pci/controller/dwc/pcie-tegra194.c if (where == PORT_LOGIC_MSIX_DOORBELL) where 456 drivers/pci/controller/dwc/pcie-tegra194.c return dw_pcie_write(pci->dbi_base + where, size, val); where 174 drivers/pci/controller/pci-aardvark.c #define PCIE_CONF_ADDR(bus, devfn, where) \ where 176 drivers/pci/controller/pci-aardvark.c PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where)) where 548 drivers/pci/controller/pci-aardvark.c int where, int size, u32 *val) where 560 drivers/pci/controller/pci-aardvark.c return pci_bridge_emul_conf_read(&pcie->bridge, where, where 577 drivers/pci/controller/pci-aardvark.c reg = PCIE_CONF_ADDR(bus->number, devfn, where); where 596 drivers/pci/controller/pci-aardvark.c *val = (*val >> (8 * (where & 3))) & 0xff; where 598 drivers/pci/controller/pci-aardvark.c *val = (*val >> (8 * (where & 3))) & 0xffff; where 604 drivers/pci/controller/pci-aardvark.c int where, int size, u32 val) where 616 drivers/pci/controller/pci-aardvark.c return pci_bridge_emul_conf_write(&pcie->bridge, where, where 619 drivers/pci/controller/pci-aardvark.c if (where % size) where 636 drivers/pci/controller/pci-aardvark.c reg = PCIE_CONF_ADDR(bus->number, devfn, where); where 641 drivers/pci/controller/pci-aardvark.c offset = where & 0x3; where 44 drivers/pci/controller/pci-host-generic.c unsigned int devfn, int where) where 49 drivers/pci/controller/pci-host-generic.c return pci_ecam_map_bus(bus, devfn, where); where 662 drivers/pci/controller/pci-hyperv.c static void _hv_pcifront_read_config(struct hv_pci_dev *hpdev, int where, where 666 drivers/pci/controller/pci-hyperv.c void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + where; where 671 drivers/pci/controller/pci-hyperv.c if (where + size <= PCI_COMMAND) { where 672 drivers/pci/controller/pci-hyperv.c memcpy(val, ((u8 *)&hpdev->desc.v_id) + where, size); where 673 drivers/pci/controller/pci-hyperv.c } else if (where >= PCI_CLASS_REVISION && where + size <= where 675 drivers/pci/controller/pci-hyperv.c memcpy(val, ((u8 *)&hpdev->desc.rev) + where - where 677 drivers/pci/controller/pci-hyperv.c } else if (where >= PCI_SUBSYSTEM_VENDOR_ID && where + size <= where 679 drivers/pci/controller/pci-hyperv.c memcpy(val, (u8 *)&hpdev->desc.subsystem_id + where - where 681 drivers/pci/controller/pci-hyperv.c } else if (where >= PCI_ROM_ADDRESS && where + size <= where 685 drivers/pci/controller/pci-hyperv.c } else if (where >= PCI_INTERRUPT_LINE && where + size <= where 693 drivers/pci/controller/pci-hyperv.c } else if (where + size <= CFG_PAGE_SIZE) { where 755 drivers/pci/controller/pci-hyperv.c static void _hv_pcifront_write_config(struct hv_pci_dev *hpdev, int where, where 759 drivers/pci/controller/pci-hyperv.c void __iomem *addr = hpdev->hbus->cfg_addr + CFG_PAGE_OFFSET + where; where 761 drivers/pci/controller/pci-hyperv.c if (where >= PCI_SUBSYSTEM_VENDOR_ID && where 762 drivers/pci/controller/pci-hyperv.c where + size <= PCI_CAPABILITY_LIST) { where 764 drivers/pci/controller/pci-hyperv.c } else if (where >= PCI_COMMAND && where + size <= CFG_PAGE_SIZE) { where 806 drivers/pci/controller/pci-hyperv.c int where, int size, u32 *val) where 816 drivers/pci/controller/pci-hyperv.c _hv_pcifront_read_config(hpdev, where, size, val); where 834 drivers/pci/controller/pci-hyperv.c int where, int size, u32 val) where 844 drivers/pci/controller/pci-hyperv.c _hv_pcifront_write_config(hpdev, where, size, val); where 50 drivers/pci/controller/pci-mvebu.c #define PCIE_CONF_ADDR(bus, devfn, where) \ where 52 drivers/pci/controller/pci-mvebu.c PCIE_CONF_FUNC(PCI_FUNC(devfn)) | PCIE_CONF_REG(where) | \ where 230 drivers/pci/controller/pci-mvebu.c u32 devfn, int where, int size, u32 *val) where 234 drivers/pci/controller/pci-mvebu.c mvebu_writel(port, PCIE_CONF_ADDR(bus->number, devfn, where), where 239 drivers/pci/controller/pci-mvebu.c *val = readb_relaxed(conf_data + (where & 3)); where 242 drivers/pci/controller/pci-mvebu.c *val = readw_relaxed(conf_data + (where & 2)); where 254 drivers/pci/controller/pci-mvebu.c u32 devfn, int where, int size, u32 val) where 258 drivers/pci/controller/pci-mvebu.c mvebu_writel(port, PCIE_CONF_ADDR(bus->number, devfn, where), where 263 drivers/pci/controller/pci-mvebu.c writeb(val, conf_data + (where & 3)); where 266 drivers/pci/controller/pci-mvebu.c writew(val, conf_data + (where & 2)); where 616 drivers/pci/controller/pci-mvebu.c int where, int size, u32 val) where 628 drivers/pci/controller/pci-mvebu.c return pci_bridge_emul_conf_write(&port->bridge, where, where 636 drivers/pci/controller/pci-mvebu.c where, size, val); where 642 drivers/pci/controller/pci-mvebu.c static int mvebu_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, where 657 drivers/pci/controller/pci-mvebu.c return pci_bridge_emul_conf_read(&port->bridge, where, where 667 drivers/pci/controller/pci-mvebu.c where, size, val); where 110 drivers/pci/controller/pci-rcar-gen2.c int where) where 125 drivers/pci/controller/pci-rcar-gen2.c if (slot == 0x0 && where >= 0x40) where 132 drivers/pci/controller/pci-rcar-gen2.c return priv->reg + (slot >> 1) * 0x100 + where; where 456 drivers/pci/controller/pci-tegra.c unsigned int where) where 458 drivers/pci/controller/pci-tegra.c return ((where & 0xf00) << 16) | (bus << 16) | (PCI_SLOT(devfn) << 11) | where 459 drivers/pci/controller/pci-tegra.c (PCI_FUNC(devfn) << 8) | (where & 0xff); where 464 drivers/pci/controller/pci-tegra.c int where) where 475 drivers/pci/controller/pci-tegra.c addr = port->base + (where & ~3); where 483 drivers/pci/controller/pci-tegra.c offset = tegra_pcie_conf_offset(bus->number, devfn, where); where 497 drivers/pci/controller/pci-tegra.c int where, int size, u32 *value) where 500 drivers/pci/controller/pci-tegra.c return pci_generic_config_read32(bus, devfn, where, size, where 503 drivers/pci/controller/pci-tegra.c return pci_generic_config_read(bus, devfn, where, size, value); where 507 drivers/pci/controller/pci-tegra.c int where, int size, u32 value) where 510 drivers/pci/controller/pci-tegra.c return pci_generic_config_write32(bus, devfn, where, size, where 513 drivers/pci/controller/pci-tegra.c return pci_generic_config_write(bus, devfn, where, size, value); where 16 drivers/pci/controller/pci-thunder-ecam.c static void set_val(u32 v, int where, int size, u32 *val) where 18 drivers/pci/controller/pci-thunder-ecam.c int shift = (where & 3) * 8; where 20 drivers/pci/controller/pci-thunder-ecam.c pr_debug("set_val %04x: %08x\n", (unsigned)(where & ~3), v); where 30 drivers/pci/controller/pci-thunder-ecam.c unsigned int devfn, int where, int size, u32 *val) where 36 drivers/pci/controller/pci-thunder-ecam.c int where_a = where & 0xc; where 39 drivers/pci/controller/pci-thunder-ecam.c set_val(e0, where, size, val); where 51 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 70 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 80 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 87 drivers/pci/controller/pci-thunder-ecam.c int where, int size, u32 *val) where 90 drivers/pci/controller/pci-thunder-ecam.c int where_a = where & ~3; where 103 drivers/pci/controller/pci-thunder-ecam.c return pci_generic_config_read(bus, devfn, where, size, val); where 122 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 128 drivers/pci/controller/pci-thunder-ecam.c int where, int size, u32 *val) where 135 drivers/pci/controller/pci-thunder-ecam.c int where_a = where & ~3; where 162 drivers/pci/controller/pci-thunder-ecam.c return thunder_ecam_p2_config_read(bus, devfn, where, where 171 drivers/pci/controller/pci-thunder-ecam.c ((where >= 0x10 && where < 0x2c) || where 172 drivers/pci/controller/pci-thunder-ecam.c (where >= 0x1a4 && where < 0x1bc))) { where 190 drivers/pci/controller/pci-thunder-ecam.c (unsigned) where, devfn); where 209 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 222 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 234 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 240 drivers/pci/controller/pci-thunder-ecam.c 0x10, bus, devfn, where, where 245 drivers/pci/controller/pci-thunder-ecam.c 0x20, bus, devfn, where, where 250 drivers/pci/controller/pci-thunder-ecam.c 0x18, bus, devfn, where, where 255 drivers/pci/controller/pci-thunder-ecam.c 0x1a4, bus, devfn, where, where 260 drivers/pci/controller/pci-thunder-ecam.c 0x1b4, bus, devfn, where, where 279 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 287 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 299 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 305 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 310 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 315 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 320 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 325 drivers/pci/controller/pci-thunder-ecam.c set_val(v, where, size, val); where 330 drivers/pci/controller/pci-thunder-ecam.c return pci_generic_config_read(bus, devfn, where, size, val); where 334 drivers/pci/controller/pci-thunder-ecam.c int where, int size, u32 val) where 340 drivers/pci/controller/pci-thunder-ecam.c if ((where >= 0x10 && where < 0x2c) || where 341 drivers/pci/controller/pci-thunder-ecam.c (where >= 0x1a4 && where < 0x1bc)) where 345 drivers/pci/controller/pci-thunder-ecam.c return pci_generic_config_write(bus, devfn, where, size, val); where 27 drivers/pci/controller/pci-thunder-pem.c int where, int size, u32 *val) where 33 drivers/pci/controller/pci-thunder-pem.c if (devfn != 0 || where >= 2048) { where 43 drivers/pci/controller/pci-thunder-pem.c read_val = where & ~3ull; where 52 drivers/pci/controller/pci-thunder-pem.c switch (where & ~3) { where 113 drivers/pci/controller/pci-thunder-pem.c read_val >>= (8 * (where & 3)); where 129 drivers/pci/controller/pci-thunder-pem.c int where, int size, u32 *val) where 142 drivers/pci/controller/pci-thunder-pem.c return thunder_pem_bridge_read(bus, devfn, where, size, val); where 144 drivers/pci/controller/pci-thunder-pem.c return pci_generic_config_read(bus, devfn, where, size, val); where 205 drivers/pci/controller/pci-thunder-pem.c int where, int size, u32 val) where 210 drivers/pci/controller/pci-thunder-pem.c u64 where_aligned = where & ~3ull; where 214 drivers/pci/controller/pci-thunder-pem.c if (devfn != 0 || where >= 2048) where 228 drivers/pci/controller/pci-thunder-pem.c mask = ~(0xff << (8 * (where & 3))); where 230 drivers/pci/controller/pci-thunder-pem.c val = (val & 0xff) << (8 * (where & 3)); where 237 drivers/pci/controller/pci-thunder-pem.c mask = ~(0xffff << (8 * (where & 3))); where 239 drivers/pci/controller/pci-thunder-pem.c val = (val & 0xffff) << (8 * (where & 3)); where 253 drivers/pci/controller/pci-thunder-pem.c u32 w1c_bits = thunder_pem_bridge_w1c_bits(where); where 278 drivers/pci/controller/pci-thunder-pem.c int where, int size, u32 val) where 290 drivers/pci/controller/pci-thunder-pem.c return thunder_pem_bridge_write(bus, devfn, where, size, val); where 293 drivers/pci/controller/pci-thunder-pem.c return pci_generic_config_write(bus, devfn, where, size, val); where 166 drivers/pci/controller/pci-xgene.c int where, int size, u32 *val) where 170 drivers/pci/controller/pci-xgene.c if (pci_generic_config_read32(bus, devfn, where & ~0x3, 4, val) != where 184 drivers/pci/controller/pci-xgene.c ((where & ~0x3) == XGENE_V1_PCI_EXP_CAP + PCI_EXP_RTCTL)) where 188 drivers/pci/controller/pci-xgene.c *val = (*val >> (8 * (where & 3))) & ((1 << (size * 8)) - 1); where 104 drivers/pci/controller/pcie-altera.c int (*rp_read_cfg)(struct altera_pcie *pcie, int where, where 107 drivers/pci/controller/pcie-altera.c int where, int size, u32 value); where 323 drivers/pci/controller/pcie-altera.c int where, u8 byte_en, bool read, u32 *headers) where 337 drivers/pci/controller/pcie-altera.c headers[2] = TLP_CFG_DW2(bus, devfn, where); where 341 drivers/pci/controller/pcie-altera.c int where, u8 byte_en, u32 *value) where 345 drivers/pci/controller/pcie-altera.c get_tlp_header(pcie, bus, devfn, where, byte_en, true, where 354 drivers/pci/controller/pcie-altera.c int where, u8 byte_en, u32 value) where 359 drivers/pci/controller/pcie-altera.c get_tlp_header(pcie, bus, devfn, where, byte_en, false, where 363 drivers/pci/controller/pcie-altera.c if ((where & 0x7) == 0) where 378 drivers/pci/controller/pcie-altera.c if ((bus == pcie->root_bus_nr) && (where == PCI_PRIMARY_BUS)) where 384 drivers/pci/controller/pcie-altera.c static int s10_rp_read_cfg(struct altera_pcie *pcie, int where, where 387 drivers/pci/controller/pcie-altera.c void __iomem *addr = S10_RP_CFG_ADDR(pcie, where); where 405 drivers/pci/controller/pcie-altera.c int where, int size, u32 value) where 407 drivers/pci/controller/pcie-altera.c void __iomem *addr = S10_RP_CFG_ADDR(pcie, where); where 425 drivers/pci/controller/pcie-altera.c if (busno == pcie->root_bus_nr && where == PCI_PRIMARY_BUS) where 432 drivers/pci/controller/pcie-altera.c unsigned int devfn, int where, int size, where 440 drivers/pci/controller/pcie-altera.c return pcie->pcie_data->ops->rp_read_cfg(pcie, where, where 445 drivers/pci/controller/pcie-altera.c byte_en = 1 << (where & 3); where 448 drivers/pci/controller/pcie-altera.c byte_en = 3 << (where & 3); where 456 drivers/pci/controller/pcie-altera.c (where & ~DWORD_MASK), byte_en, &data); where 462 drivers/pci/controller/pcie-altera.c *value = (data >> (8 * (where & 0x3))) & 0xff; where 465 drivers/pci/controller/pcie-altera.c *value = (data >> (8 * (where & 0x2))) & 0xffff; where 476 drivers/pci/controller/pcie-altera.c unsigned int devfn, int where, int size, where 480 drivers/pci/controller/pcie-altera.c u32 shift = 8 * (where & 3); where 485 drivers/pci/controller/pcie-altera.c where, size, value); where 490 drivers/pci/controller/pcie-altera.c byte_en = 1 << (where & 3); where 494 drivers/pci/controller/pcie-altera.c byte_en = 3 << (where & 3); where 502 drivers/pci/controller/pcie-altera.c return tlp_cfg_dword_write(pcie, busno, devfn, (where & ~DWORD_MASK), where 507 drivers/pci/controller/pcie-altera.c int where, int size, u32 *value) where 511 drivers/pci/controller/pcie-altera.c if (altera_pcie_hide_rc_bar(bus, devfn, where)) where 519 drivers/pci/controller/pcie-altera.c return _altera_pcie_cfg_read(pcie, bus->number, devfn, where, size, where 524 drivers/pci/controller/pcie-altera.c int where, int size, u32 value) where 528 drivers/pci/controller/pcie-altera.c if (altera_pcie_hide_rc_bar(bus, devfn, where)) where 534 drivers/pci/controller/pcie-altera.c return _altera_pcie_cfg_write(pcie, bus->number, devfn, where, size, where 42 drivers/pci/controller/pcie-cadence-host.c int where) where 59 drivers/pci/controller/pcie-cadence-host.c return pcie->reg_base + (where & 0xfff); where 86 drivers/pci/controller/pcie-cadence-host.c return rc->cfg_base + (where & 0xfff); where 464 drivers/pci/controller/pcie-iproc.c int where) where 473 drivers/pci/controller/pcie-iproc.c (where & CFG_ADDR_REG_NUM_MASK) | where 530 drivers/pci/controller/pcie-iproc.c static void iproc_pcie_fix_cap(struct iproc_pcie *pcie, int where, u32 *val) where 534 drivers/pci/controller/pcie-iproc.c switch (where & ~0x3) { where 574 drivers/pci/controller/pcie-iproc.c int where, int size, u32 *val) where 586 drivers/pci/controller/pcie-iproc.c ret = pci_generic_config_read32(bus, devfn, where, size, val); where 588 drivers/pci/controller/pcie-iproc.c iproc_pcie_fix_cap(pcie, where, val); where 593 drivers/pci/controller/pcie-iproc.c cfg_data_p = iproc_pcie_map_ep_cfg_reg(pcie, busno, slot, fn, where); where 602 drivers/pci/controller/pcie-iproc.c *val = (data >> (8 * (where & 3))) & ((1 << (size * 8)) - 1); where 618 drivers/pci/controller/pcie-iproc.c (where & CFG_ADDR_REG_NUM_MASK) == PCI_VENDOR_ID) where 632 drivers/pci/controller/pcie-iproc.c int where) where 644 drivers/pci/controller/pcie-iproc.c where & CFG_IND_ADDR_MASK); where 652 drivers/pci/controller/pcie-iproc.c return iproc_pcie_map_ep_cfg_reg(pcie, busno, slot, fn, where); where 657 drivers/pci/controller/pcie-iproc.c int where) where 660 drivers/pci/controller/pcie-iproc.c where); where 664 drivers/pci/controller/pcie-iproc.c unsigned int devfn, int where, where 669 drivers/pci/controller/pcie-iproc.c addr = iproc_pcie_map_cfg_bus(pcie, 0, devfn, where & ~0x3); where 678 drivers/pci/controller/pcie-iproc.c *val = (*val >> (8 * (where & 3))) & ((1 << (size * 8)) - 1); where 684 drivers/pci/controller/pcie-iproc.c unsigned int devfn, int where, where 690 drivers/pci/controller/pcie-iproc.c addr = iproc_pcie_map_cfg_bus(pcie, 0, devfn, where & ~0x3); where 699 drivers/pci/controller/pcie-iproc.c mask = ~(((1 << (size * 8)) - 1) << ((where & 0x3) * 8)); where 701 drivers/pci/controller/pcie-iproc.c tmp |= val << ((where & 0x3) * 8); where 708 drivers/pci/controller/pcie-iproc.c int where, int size, u32 *val) where 715 drivers/pci/controller/pcie-iproc.c ret = iproc_pcie_config_read(bus, devfn, where, size, val); where 717 drivers/pci/controller/pcie-iproc.c ret = pci_generic_config_read32(bus, devfn, where, size, val); where 724 drivers/pci/controller/pcie-iproc.c int where, int size, u32 val) where 729 drivers/pci/controller/pcie-iproc.c ret = pci_generic_config_write32(bus, devfn, where, size, val); where 124 drivers/pci/controller/pcie-mediatek.c #define CFG_HEADER_DW1(where, size) \ where 125 drivers/pci/controller/pcie-mediatek.c (GENMASK(((size) - 1), 0) << ((where) & 0x3)) where 282 drivers/pci/controller/pcie-mediatek.c int where, int size, u32 *val) where 289 drivers/pci/controller/pcie-mediatek.c writel(CFG_HEADER_DW1(where, size), port->base + PCIE_CFG_HEADER1); where 290 drivers/pci/controller/pcie-mediatek.c writel(CFG_HEADER_DW2(where, PCI_FUNC(devfn), PCI_SLOT(devfn), bus), where 306 drivers/pci/controller/pcie-mediatek.c *val = (*val >> (8 * (where & 3))) & 0xff; where 308 drivers/pci/controller/pcie-mediatek.c *val = (*val >> (8 * (where & 3))) & 0xffff; where 314 drivers/pci/controller/pcie-mediatek.c int where, int size, u32 val) where 319 drivers/pci/controller/pcie-mediatek.c writel(CFG_HEADER_DW1(where, size), port->base + PCIE_CFG_HEADER1); where 320 drivers/pci/controller/pcie-mediatek.c writel(CFG_HEADER_DW2(where, PCI_FUNC(devfn), PCI_SLOT(devfn), bus), where 324 drivers/pci/controller/pcie-mediatek.c val = val << 8 * (where & 3); where 361 drivers/pci/controller/pcie-mediatek.c int where, int size, u32 *val) where 373 drivers/pci/controller/pcie-mediatek.c ret = mtk_pcie_hw_rd_cfg(port, bn, devfn, where, size, val); where 381 drivers/pci/controller/pcie-mediatek.c int where, int size, u32 val) where 390 drivers/pci/controller/pcie-mediatek.c return mtk_pcie_hw_wr_cfg(port, bn, devfn, where, size, val); where 736 drivers/pci/controller/pcie-mediatek.c unsigned int devfn, int where) where 740 drivers/pci/controller/pcie-mediatek.c writel(PCIE_CONF_ADDR(where, PCI_FUNC(devfn), PCI_SLOT(devfn), where 743 drivers/pci/controller/pcie-mediatek.c return pcie->base + PCIE_CFG_DATA + (where & 3); where 305 drivers/pci/controller/pcie-mobiveil.c unsigned int devfn, int where) where 315 drivers/pci/controller/pcie-mobiveil.c return pcie->csr_axi_slave_base + where; where 329 drivers/pci/controller/pcie-mobiveil.c return pcie->config_axi_slave_base + where; where 176 drivers/pci/controller/pcie-rcar.c static void rcar_rmw32(struct rcar_pcie *pcie, int where, u32 mask, u32 data) where 178 drivers/pci/controller/pcie-rcar.c unsigned int shift = BITS_PER_BYTE * (where & 3); where 179 drivers/pci/controller/pcie-rcar.c u32 val = rcar_pci_read_reg(pcie, where & ~3); where 183 drivers/pci/controller/pcie-rcar.c rcar_pci_write_reg(pcie, val, where & ~3); where 186 drivers/pci/controller/pcie-rcar.c static u32 rcar_read_conf(struct rcar_pcie *pcie, int where) where 188 drivers/pci/controller/pcie-rcar.c unsigned int shift = BITS_PER_BYTE * (where & 3); where 189 drivers/pci/controller/pcie-rcar.c u32 val = rcar_pci_read_reg(pcie, where & ~3); where 197 drivers/pci/controller/pcie-rcar.c unsigned int devfn, int where, u32 *data) where 203 drivers/pci/controller/pcie-rcar.c reg = where & ~3; where 275 drivers/pci/controller/pcie-rcar.c int where, int size, u32 *val) where 281 drivers/pci/controller/pcie-rcar.c bus, devfn, where, val); where 288 drivers/pci/controller/pcie-rcar.c *val = (*val >> (BITS_PER_BYTE * (where & 3))) & 0xff; where 290 drivers/pci/controller/pcie-rcar.c *val = (*val >> (BITS_PER_BYTE * (where & 2))) & 0xffff; where 293 drivers/pci/controller/pcie-rcar.c bus->number, devfn, where, size, *val); where 300 drivers/pci/controller/pcie-rcar.c int where, int size, u32 val) where 308 drivers/pci/controller/pcie-rcar.c bus, devfn, where, &data); where 313 drivers/pci/controller/pcie-rcar.c bus->number, devfn, where, size, val); where 316 drivers/pci/controller/pcie-rcar.c shift = BITS_PER_BYTE * (where & 3); where 320 drivers/pci/controller/pcie-rcar.c shift = BITS_PER_BYTE * (where & 2); where 327 drivers/pci/controller/pcie-rcar.c bus, devfn, where, &data); where 107 drivers/pci/controller/pcie-rockchip-host.c int where, int size, u32 *val) where 111 drivers/pci/controller/pcie-rockchip-host.c addr = rockchip->apb_base + PCIE_RC_CONFIG_NORMAL_BASE + where; where 132 drivers/pci/controller/pcie-rockchip-host.c int where, int size, u32 val) where 137 drivers/pci/controller/pcie-rockchip-host.c offset = where & ~0x3; where 145 drivers/pci/controller/pcie-rockchip-host.c mask = ~(((1 << (size * 8)) - 1) << ((where & 0x3) * 8)); where 153 drivers/pci/controller/pcie-rockchip-host.c tmp |= val << ((where & 0x3) * 8); where 161 drivers/pci/controller/pcie-rockchip-host.c int where, int size, u32 *val) where 166 drivers/pci/controller/pcie-rockchip-host.c PCI_FUNC(devfn), where); where 195 drivers/pci/controller/pcie-rockchip-host.c int where, int size, u32 val) where 200 drivers/pci/controller/pcie-rockchip-host.c PCI_FUNC(devfn), where); where 223 drivers/pci/controller/pcie-rockchip-host.c static int rockchip_pcie_rd_conf(struct pci_bus *bus, u32 devfn, int where, where 234 drivers/pci/controller/pcie-rockchip-host.c return rockchip_pcie_rd_own_conf(rockchip, where, size, val); where 236 drivers/pci/controller/pcie-rockchip-host.c return rockchip_pcie_rd_other_conf(rockchip, bus, devfn, where, size, where 241 drivers/pci/controller/pcie-rockchip-host.c int where, int size, u32 val) where 249 drivers/pci/controller/pcie-rockchip-host.c return rockchip_pcie_wr_own_conf(rockchip, where, size, val); where 251 drivers/pci/controller/pcie-rockchip-host.c return rockchip_pcie_wr_other_conf(rockchip, bus, devfn, where, size, where 174 drivers/pci/controller/pcie-tango.c int where, int size, u32 *val) where 190 drivers/pci/controller/pcie-tango.c ret = pci_generic_config_read(bus, devfn, where, size, val); where 197 drivers/pci/controller/pcie-tango.c int where, int size, u32 val) where 204 drivers/pci/controller/pcie-tango.c ret = pci_generic_config_write(bus, devfn, where, size, val); where 243 drivers/pci/controller/pcie-xilinx-nwl.c int where) where 254 drivers/pci/controller/pcie-xilinx-nwl.c return pcie->ecam_base + relbus + where; where 186 drivers/pci/controller/pcie-xilinx.c unsigned int devfn, int where) where 197 drivers/pci/controller/pcie-xilinx.c return port->reg_base + relbus + where; where 129 drivers/pci/ecam.c int where) where 144 drivers/pci/ecam.c return base + (devfn << devfn_shift) + where; where 323 drivers/pci/pci-bridge-emul.c int pci_bridge_emul_conf_read(struct pci_bridge_emul *bridge, int where, where 327 drivers/pci/pci-bridge-emul.c int reg = where & ~3; where 369 drivers/pci/pci-bridge-emul.c *value = (*value >> (8 * (where & 3))) & 0xff; where 371 drivers/pci/pci-bridge-emul.c *value = (*value >> (8 * (where & 3))) & 0xffff; where 383 drivers/pci/pci-bridge-emul.c int pci_bridge_emul_conf_write(struct pci_bridge_emul *bridge, int where, where 386 drivers/pci/pci-bridge-emul.c int reg = where & ~3; where 399 drivers/pci/pci-bridge-emul.c shift = (where & 0x3) * 8; where 130 drivers/pci/pci-bridge-emul.h int pci_bridge_emul_conf_read(struct pci_bridge_emul *bridge, int where, where 132 drivers/pci/pci-bridge-emul.h int pci_bridge_emul_conf_write(struct pci_bridge_emul *bridge, int where, where 138 drivers/pci/pcie/aer_inject.c static u32 *find_pci_config_dword(struct aer_error *err, int where, where 147 drivers/pci/pcie/aer_inject.c switch (where - err->pos_cap_err) { where 181 drivers/pci/pcie/aer_inject.c static int aer_inj_read(struct pci_bus *bus, unsigned int devfn, int where, where 193 drivers/pci/pcie/aer_inject.c rv = ops->read(bus, devfn, where, size, val); where 199 drivers/pci/pcie/aer_inject.c static int aer_inj_write(struct pci_bus *bus, unsigned int devfn, int where, where 211 drivers/pci/pcie/aer_inject.c rv = ops->write(bus, devfn, where, size, val); where 218 drivers/pci/pcie/aer_inject.c int where, int size, u32 *val) where 236 drivers/pci/pcie/aer_inject.c sim = find_pci_config_dword(err, where, NULL); where 243 drivers/pci/pcie/aer_inject.c rv = aer_inj_read(bus, devfn, where, size, val); where 249 drivers/pci/pcie/aer_inject.c int where, int size, u32 val) where 268 drivers/pci/pcie/aer_inject.c sim = find_pci_config_dword(err, where, &rw1cs); where 278 drivers/pci/pcie/aer_inject.c rv = aer_inj_write(bus, devfn, where, size, val); where 179 drivers/pci/xen-pcifront.c int where, int size, u32 *val) where 187 drivers/pci/xen-pcifront.c .offset = where, where 197 drivers/pci/xen-pcifront.c PCI_FUNC(devfn), where, size); where 218 drivers/pci/xen-pcifront.c int where, int size, u32 val) where 225 drivers/pci/xen-pcifront.c .offset = where, where 237 drivers/pci/xen-pcifront.c PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val); where 156 drivers/pcmcia/pcmcia_resource.c off_t where, u8 *val, where 177 drivers/pcmcia/pcmcia_resource.c addr = (p_dev->config_base + where) >> 1; where 193 drivers/pcmcia/pcmcia_resource.c int pcmcia_read_config_byte(struct pcmcia_device *p_dev, off_t where, u8 *val) where 195 drivers/pcmcia/pcmcia_resource.c return pcmcia_access_config(p_dev, where, val, pcmcia_read_cis_mem); where 206 drivers/pcmcia/pcmcia_resource.c int pcmcia_write_config_byte(struct pcmcia_device *p_dev, off_t where, u8 val) where 208 drivers/pcmcia/pcmcia_resource.c return pcmcia_access_config(p_dev, where, &val, pcmcia_write_cis_mem); where 229 drivers/scsi/arm/acornscsi.c void acornscsi_dumpdma(AS_Host *host, char *where) where 239 drivers/scsi/arm/acornscsi.c host->host->host_no, where, where 3099 drivers/scsi/lpfc/lpfc_debugfs.c int where, count; where 3123 drivers/scsi/lpfc/lpfc_debugfs.c where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; where 3131 drivers/scsi/lpfc/lpfc_debugfs.c pci_read_config_byte(pdev, where, &u8val); where 3133 drivers/scsi/lpfc/lpfc_debugfs.c "%03x: %02x\n", where, u8val); where 3136 drivers/scsi/lpfc/lpfc_debugfs.c pci_read_config_word(pdev, where, &u16val); where 3138 drivers/scsi/lpfc/lpfc_debugfs.c "%03x: %04x\n", where, u16val); where 3141 drivers/scsi/lpfc/lpfc_debugfs.c pci_read_config_dword(pdev, where, &u32val); where 3143 drivers/scsi/lpfc/lpfc_debugfs.c "%03x: %08x\n", where, u32val); where 3220 drivers/scsi/lpfc/lpfc_debugfs.c uint32_t where, value, count; where 3243 drivers/scsi/lpfc/lpfc_debugfs.c where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; where 3246 drivers/scsi/lpfc/lpfc_debugfs.c if (where % sizeof(uint32_t)) where 3249 drivers/scsi/lpfc/lpfc_debugfs.c idiag.offset.last_rd = where; where 3255 drivers/scsi/lpfc/lpfc_debugfs.c if (where > LPFC_PCI_CFG_SIZE - sizeof(uint8_t)) where 3257 drivers/scsi/lpfc/lpfc_debugfs.c if (where % sizeof(uint8_t)) where 3261 drivers/scsi/lpfc/lpfc_debugfs.c if (where > LPFC_PCI_CFG_SIZE - sizeof(uint16_t)) where 3263 drivers/scsi/lpfc/lpfc_debugfs.c if (where % sizeof(uint16_t)) where 3267 drivers/scsi/lpfc/lpfc_debugfs.c if (where > LPFC_PCI_CFG_SIZE - sizeof(uint32_t)) where 3269 drivers/scsi/lpfc/lpfc_debugfs.c if (where % sizeof(uint32_t)) where 3279 drivers/scsi/lpfc/lpfc_debugfs.c where = idiag.cmd.data[IDIAG_PCICFG_WHERE_INDX]; where 3288 drivers/scsi/lpfc/lpfc_debugfs.c if (where > LPFC_PCI_CFG_SIZE - sizeof(uint8_t)) where 3290 drivers/scsi/lpfc/lpfc_debugfs.c if (where % sizeof(uint8_t)) where 3293 drivers/scsi/lpfc/lpfc_debugfs.c pci_write_config_byte(pdev, where, where 3296 drivers/scsi/lpfc/lpfc_debugfs.c rc = pci_read_config_byte(pdev, where, &u8val); where 3299 drivers/scsi/lpfc/lpfc_debugfs.c pci_write_config_byte(pdev, where, where 3304 drivers/scsi/lpfc/lpfc_debugfs.c rc = pci_read_config_byte(pdev, where, &u8val); where 3307 drivers/scsi/lpfc/lpfc_debugfs.c pci_write_config_byte(pdev, where, where 3313 drivers/scsi/lpfc/lpfc_debugfs.c if (where > LPFC_PCI_CFG_SIZE - sizeof(uint16_t)) where 3315 drivers/scsi/lpfc/lpfc_debugfs.c if (where % sizeof(uint16_t)) where 3318 drivers/scsi/lpfc/lpfc_debugfs.c pci_write_config_word(pdev, where, where 3321 drivers/scsi/lpfc/lpfc_debugfs.c rc = pci_read_config_word(pdev, where, &u16val); where 3324 drivers/scsi/lpfc/lpfc_debugfs.c pci_write_config_word(pdev, where, where 3329 drivers/scsi/lpfc/lpfc_debugfs.c rc = pci_read_config_word(pdev, where, &u16val); where 3332 drivers/scsi/lpfc/lpfc_debugfs.c pci_write_config_word(pdev, where, where 3338 drivers/scsi/lpfc/lpfc_debugfs.c if (where > LPFC_PCI_CFG_SIZE - sizeof(uint32_t)) where 3340 drivers/scsi/lpfc/lpfc_debugfs.c if (where % sizeof(uint32_t)) where 3343 drivers/scsi/lpfc/lpfc_debugfs.c pci_write_config_dword(pdev, where, value); where 3345 drivers/scsi/lpfc/lpfc_debugfs.c rc = pci_read_config_dword(pdev, where, where 3349 drivers/scsi/lpfc/lpfc_debugfs.c pci_write_config_dword(pdev, where, where 3354 drivers/scsi/lpfc/lpfc_debugfs.c rc = pci_read_config_dword(pdev, where, where 3358 drivers/scsi/lpfc/lpfc_debugfs.c pci_write_config_dword(pdev, where, where 169 drivers/staging/mt7621-pci/pci-mt7621.c unsigned int func, unsigned int where) where 171 drivers/staging/mt7621-pci/pci-mt7621.c return (((where & 0xF00) >> 8) << 24) | (bus << 16) | (slot << 11) | where 172 drivers/staging/mt7621-pci/pci-mt7621.c (func << 8) | (where & 0xfc) | 0x80000000; where 176 drivers/staging/mt7621-pci/pci-mt7621.c unsigned int devfn, int where) where 180 drivers/staging/mt7621-pci/pci-mt7621.c PCI_FUNC(devfn), where); where 184 drivers/staging/mt7621-pci/pci-mt7621.c return pcie->base + RALINK_PCI_CONFIG_DATA + (where & 3); where 55 drivers/staging/rts5208/rtsx.h #define rtsx_read_config_byte(chip, where, val) \ where 56 drivers/staging/rts5208/rtsx.h pci_read_config_byte((chip)->rtsx->pci, where, val) where 58 drivers/staging/rts5208/rtsx.h #define rtsx_write_config_byte(chip, where, val) \ where 59 drivers/staging/rts5208/rtsx.h pci_write_config_byte((chip)->rtsx->pci, where, val) where 165 drivers/staging/speakup/varhandlers.c struct punc_var_t *where; where 167 drivers/staging/speakup/varhandlers.c where = punc_vars; where 168 drivers/staging/speakup/varhandlers.c while ((where->var_id != -1) && (!rv)) { where 169 drivers/staging/speakup/varhandlers.c if (where->var_id == var_id) where 170 drivers/staging/speakup/varhandlers.c rv = where; where 172 drivers/staging/speakup/varhandlers.c where++; where 61 drivers/tty/vt/selection.c static inline void highlight_pointer(const int where) where 63 drivers/tty/vt/selection.c complement_pos(sel_cons, where); where 107 drivers/usb/gadget/udc/net2272.c static void assert_out_naking(struct net2272_ep *ep, const char *where) where 118 drivers/usb/gadget/udc/net2272.c ep->ep.name, where, tmp); where 291 drivers/video/fbdev/i810/i810.h #define i810_readb(where, mmio) readb(mmio + where) where 292 drivers/video/fbdev/i810/i810.h #define i810_readw(where, mmio) readw(mmio + where) where 293 drivers/video/fbdev/i810/i810.h #define i810_readl(where, mmio) readl(mmio + where) where 294 drivers/video/fbdev/i810/i810.h #define i810_writeb(where, mmio, val) writeb(val, mmio + where) where 295 drivers/video/fbdev/i810/i810.h #define i810_writew(where, mmio, val) writew(val, mmio + where) where 296 drivers/video/fbdev/i810/i810.h #define i810_writel(where, mmio, val) writel(val, mmio + where) where 835 drivers/video/fbdev/vga16fb.c char __iomem *where; where 838 drivers/video/fbdev/vga16fb.c where = info->screen_base + dx + rect->dy * info->fix.line_length; where 855 drivers/video/fbdev/vga16fb.c writeb(rect->color, where); where 856 drivers/video/fbdev/vga16fb.c where++; where 858 drivers/video/fbdev/vga16fb.c where += line_ofs; where 868 drivers/video/fbdev/vga16fb.c rmw(where); where 869 drivers/video/fbdev/vga16fb.c rmw(where+1); where 870 drivers/video/fbdev/vga16fb.c where += info->fix.line_length; where 1126 drivers/video/fbdev/vga16fb.c char __iomem *where; where 1130 drivers/video/fbdev/vga16fb.c where = info->screen_base + dx + image->dy * info->fix.line_length; where 1133 drivers/video/fbdev/vga16fb.c writeb(image->bg_color, where); where 1134 drivers/video/fbdev/vga16fb.c readb(where); where 1139 drivers/video/fbdev/vga16fb.c for (y = 0; y < image->height; y++, where += info->fix.line_length) where 1140 drivers/video/fbdev/vga16fb.c writew(transl_h[cdat[y]&0xF] | transl_l[cdat[y] >> 4], where); where 1150 drivers/video/fbdev/vga16fb.c char __iomem *where = info->screen_base + (image->dx/8) + where 1168 drivers/video/fbdev/vga16fb.c writeb(image->bg_color, where); where 1170 drivers/video/fbdev/vga16fb.c readb(where); /* fill latches */ where 1174 drivers/video/fbdev/vga16fb.c dst = where; where 1177 drivers/video/fbdev/vga16fb.c where += info->fix.line_length; where 1189 drivers/video/fbdev/vga16fb.c dst = where; where 1199 drivers/video/fbdev/vga16fb.c where += info->fix.line_length; where 1218 drivers/video/fbdev/vga16fb.c char __iomem *where = where 1235 drivers/video/fbdev/vga16fb.c dst = where + x/8; where 1245 drivers/video/fbdev/vga16fb.c where += info->fix.line_length; where 1430 fs/afs/internal.h static inline int afs_io_error(struct afs_call *call, enum afs_io_error where) where 1432 fs/afs/internal.h trace_afs_io_error(call->debug_id, -EIO, where); where 1436 fs/afs/internal.h static inline int afs_bad(struct afs_vnode *vnode, enum afs_file_error where) where 1438 fs/afs/internal.h trace_afs_file_error(vnode, -EIO, where); where 50 fs/bfs/file.c unsigned long end, unsigned long where) where 54 fs/bfs/file.c dprintf("%08lx-%08lx->%08lx\n", start, end, where); where 56 fs/bfs/file.c if(bfs_move_block(i, where + i, sb)) { where 58 fs/bfs/file.c where + i); where 561 fs/ext2/inode.c long block, Indirect *where, int num, int blks) where 572 fs/ext2/inode.c *where->p = where->key; where 579 fs/ext2/inode.c current_block = le32_to_cpu(where->key) + 1; where 581 fs/ext2/inode.c *(where->p + i ) = cpu_to_le32(current_block++); where 592 fs/ext2/inode.c le32_to_cpu(where[num].key) + blks - 1; where 598 fs/ext2/inode.c if (where->bh) where 599 fs/ext2/inode.c mark_buffer_dirty_inode(where->bh, inode); where 272 fs/ext4/ext4_extents.h int __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle, where 85 fs/ext4/ext4_jbd2.c int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) where 108 fs/ext4/ext4_jbd2.c __ext4_std_error(sb, where, line, err); where 161 fs/ext4/ext4_jbd2.c int __ext4_journal_get_write_access(const char *where, unsigned int line, where 171 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, line, __func__, bh, where 189 fs/ext4/ext4_jbd2.c int __ext4_forget(const char *where, unsigned int line, handle_t *handle, where 222 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, line, __func__, where 235 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, line, __func__, where 237 fs/ext4/ext4_jbd2.c __ext4_abort(inode->i_sb, where, line, where 244 fs/ext4/ext4_jbd2.c int __ext4_journal_get_create_access(const char *where, unsigned int line, where 252 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, line, __func__, where 258 fs/ext4/ext4_jbd2.c int __ext4_handle_dirty_metadata(const char *where, unsigned int line, where 272 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, line, __func__, bh, where 284 fs/ext4/ext4_jbd2.c ext4_error_inode(inode, where, line, where 307 fs/ext4/ext4_jbd2.c ext4_error_inode(inode, where, line, where 317 fs/ext4/ext4_jbd2.c int __ext4_handle_dirty_super(const char *where, unsigned int line, where 327 fs/ext4/ext4_jbd2.c ext4_journal_abort_handle(where, line, __func__, where 233 fs/ext4/ext4_jbd2.h int __ext4_journal_get_write_access(const char *where, unsigned int line, where 236 fs/ext4/ext4_jbd2.h int __ext4_forget(const char *where, unsigned int line, handle_t *handle, where 240 fs/ext4/ext4_jbd2.h int __ext4_journal_get_create_access(const char *where, unsigned int line, where 243 fs/ext4/ext4_jbd2.h int __ext4_handle_dirty_metadata(const char *where, unsigned int line, where 247 fs/ext4/ext4_jbd2.h int __ext4_handle_dirty_super(const char *where, unsigned int line, where 265 fs/ext4/ext4_jbd2.h int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle); where 152 fs/ext4/extents.c int __ext4_ext_dirty(const char *where, unsigned int line, handle_t *handle, where 161 fs/ext4/extents.c err = __ext4_handle_dirty_metadata(where, line, handle, where 409 fs/ext4/indirect.c Indirect *where, int num) where 420 fs/ext4/indirect.c if (where->bh) { where 421 fs/ext4/indirect.c BUFFER_TRACE(where->bh, "get_write_access"); where 422 fs/ext4/indirect.c err = ext4_journal_get_write_access(handle, where->bh); where 428 fs/ext4/indirect.c *where->p = where->key; where 435 fs/ext4/indirect.c current_block = le32_to_cpu(where->key) + 1; where 437 fs/ext4/indirect.c *(where->p + i) = cpu_to_le32(current_block++); where 442 fs/ext4/indirect.c if (where->bh) { where 452 fs/ext4/indirect.c BUFFER_TRACE(where->bh, "call ext4_handle_dirty_metadata"); where 453 fs/ext4/indirect.c err = ext4_handle_dirty_metadata(handle, ar->inode, where->bh); where 472 fs/ext4/indirect.c ext4_free_blocks(handle, ar->inode, where[i].bh, 0, 1, where 475 fs/ext4/indirect.c ext4_free_blocks(handle, ar->inode, NULL, le32_to_cpu(where[num].key), where 857 fs/fscache/cookie.c enum fscache_cookie_trace where) where 866 fs/fscache/cookie.c trace_fscache_cookie(cookie, where, usage); where 877 fs/fscache/cookie.c where = fscache_cookie_put_parent; where 320 fs/fscache/internal.h enum fscache_cookie_trace where) where 324 fs/fscache/internal.h trace_fscache_cookie(cookie, where, usage); where 1774 fs/gfs2/dir.c u64 where = ip->i_no_addr + 1; where 1775 fs/gfs2/dir.c if (ip->i_eattr == where) where 55 fs/gfs2/recovery.c int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) where 69 fs/gfs2/recovery.c rr->rr_where = where; where 78 fs/gfs2/recovery.c rr->rr_where = where; where 84 fs/gfs2/recovery.c int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where) where 101 fs/gfs2/recovery.c a = (jd->jd_replay_tail < where); where 102 fs/gfs2/recovery.c b = (where < rr->rr_where); where 23 fs/gfs2/recovery.h extern int gfs2_revoke_add(struct gfs2_jdesc *jd, u64 blkno, unsigned int where); where 24 fs/gfs2/recovery.h extern int gfs2_revoke_check(struct gfs2_jdesc *jd, u64 blkno, unsigned int where); where 111 fs/minix/itree_common.c Indirect *where, where 119 fs/minix/itree_common.c if (!verify_chain(chain, where-1) || *where->p) where 122 fs/minix/itree_common.c *where->p = where->key; where 131 fs/minix/itree_common.c if (where->bh) where 132 fs/minix/itree_common.c mark_buffer_dirty_inode(where->bh, inode); where 140 fs/minix/itree_common.c bforget(where[i].bh); where 142 fs/minix/itree_common.c minix_free_block(inode, block_to_cpu(where[i].key)); where 2158 fs/namespace.c static void unlock_mount(struct mountpoint *where) where 2160 fs/namespace.c struct dentry *dentry = where->m_dentry; where 2163 fs/namespace.c put_mountpoint(where); where 51 fs/reiserfs/dir.c #define store_ih(where,what) copy_item_head (where, what) where 170 fs/sysv/itree.c Indirect *where, where 177 fs/sysv/itree.c if (!verify_chain(chain, where-1) || *where->p) where 179 fs/sysv/itree.c *where->p = where->key; where 185 fs/sysv/itree.c if (where->bh) where 186 fs/sysv/itree.c dirty_indirect(where->bh, inode); where 197 fs/sysv/itree.c bforget(where[i].bh); where 199 fs/sysv/itree.c sysv_free_block(inode->i_sb, where[i].key); where 183 include/acpi/acpiosxf.h void *acpi_os_map_memory(acpi_physical_address where, acpi_size length); where 55 include/linux/decompress/mm.h static void free(void *where) where 48 include/linux/pci-ecam.h int where); where 699 include/linux/pci.h void __iomem *(*map_bus)(struct pci_bus *bus, unsigned int devfn, int where); where 700 include/linux/pci.h int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val); where 701 include/linux/pci.h int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val); where 1063 include/linux/pci.h int where, u8 *val); where 1065 include/linux/pci.h int where, u16 *val); where 1067 include/linux/pci.h int where, u32 *val); where 1069 include/linux/pci.h int where, u8 val); where 1071 include/linux/pci.h int where, u16 val); where 1073 include/linux/pci.h int where, u32 val); where 1076 include/linux/pci.h int where, int size, u32 *val); where 1078 include/linux/pci.h int where, int size, u32 val); where 1080 include/linux/pci.h int where, int size, u32 *val); where 1082 include/linux/pci.h int where, int size, u32 val); where 1086 include/linux/pci.h int pci_read_config_byte(const struct pci_dev *dev, int where, u8 *val); where 1087 include/linux/pci.h int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val); where 1088 include/linux/pci.h int pci_read_config_dword(const struct pci_dev *dev, int where, u32 *val); where 1089 include/linux/pci.h int pci_write_config_byte(const struct pci_dev *dev, int where, u8 val); where 1090 include/linux/pci.h int pci_write_config_word(const struct pci_dev *dev, int where, u16 val); where 1091 include/linux/pci.h int pci_write_config_dword(const struct pci_dev *dev, int where, u32 val); where 1127 include/linux/pci.h int pci_user_read_config_byte(struct pci_dev *dev, int where, u8 *val); where 1128 include/linux/pci.h int pci_user_read_config_word(struct pci_dev *dev, int where, u16 *val); where 1129 include/linux/pci.h int pci_user_read_config_dword(struct pci_dev *dev, int where, u32 *val); where 1130 include/linux/pci.h int pci_user_write_config_byte(struct pci_dev *dev, int where, u8 val); where 1131 include/linux/pci.h int pci_user_write_config_word(struct pci_dev *dev, int where, u16 val); where 1132 include/linux/pci.h int pci_user_write_config_dword(struct pci_dev *dev, int where, u32 val); where 1657 include/linux/pci.h int where, t val) \ where 102 include/linux/rtsx_pci.h #define rtsx_pci_read_config_byte(pcr, where, val) \ where 103 include/linux/rtsx_pci.h pci_read_config_byte((pcr)->pci, where, val) where 105 include/linux/rtsx_pci.h #define rtsx_pci_write_config_byte(pcr, where, val) \ where 106 include/linux/rtsx_pci.h pci_write_config_byte((pcr)->pci, where, val) where 108 include/linux/rtsx_pci.h #define rtsx_pci_read_config_dword(pcr, where, val) \ where 109 include/linux/rtsx_pci.h pci_read_config_dword((pcr)->pci, where, val) where 111 include/linux/rtsx_pci.h #define rtsx_pci_write_config_dword(pcr, where, val) \ where 112 include/linux/rtsx_pci.h pci_write_config_dword((pcr)->pci, where, val) where 200 include/pcmcia/ds.h int pcmcia_read_config_byte(struct pcmcia_device *p_dev, off_t where, u8 *val); where 201 include/pcmcia/ds.h int pcmcia_write_config_byte(struct pcmcia_device *p_dev, off_t where, u8 val); where 543 include/trace/events/afs.h int usage, int outstanding, const void *where), where 545 include/trace/events/afs.h TP_ARGS(call, op, usage, outstanding, where), where 552 include/trace/events/afs.h __field(const void *, where ) where 560 include/trace/events/afs.h __entry->where = where; where 568 include/trace/events/afs.h __entry->where) where 861 include/trace/events/afs.h TP_PROTO(struct afs_vnode *vnode, const char *where, where 864 include/trace/events/afs.h TP_ARGS(vnode, where, page, priv), where 868 include/trace/events/afs.h __field(const char *, where ) where 875 include/trace/events/afs.h __entry->where = where; where 881 include/trace/events/afs.h __entry->vnode, __entry->page, __entry->where, where 1013 include/trace/events/afs.h TP_PROTO(unsigned int call, int error, enum afs_io_error where), where 1015 include/trace/events/afs.h TP_ARGS(call, error, where), where 1020 include/trace/events/afs.h __field(enum afs_io_error, where ) where 1026 include/trace/events/afs.h __entry->where = where; where 1031 include/trace/events/afs.h __print_symbolic(__entry->where, afs_io_errors)) where 1035 include/trace/events/afs.h TP_PROTO(struct afs_vnode *vnode, int error, enum afs_file_error where), where 1037 include/trace/events/afs.h TP_ARGS(vnode, error, where), where 1042 include/trace/events/afs.h __field(enum afs_file_error, where ) where 1048 include/trace/events/afs.h __entry->where = where; where 1054 include/trace/events/afs.h __print_symbolic(__entry->where, afs_file_errors)) where 164 include/trace/events/fscache.h enum fscache_cookie_trace where, where 167 include/trace/events/fscache.h TP_ARGS(cookie, where, usage), where 172 include/trace/events/fscache.h __field(enum fscache_cookie_trace, where ) where 182 include/trace/events/fscache.h __entry->where = where; where 190 include/trace/events/fscache.h __print_symbolic(__entry->where, fscache_cookie_traces), where 496 include/trace/events/rxrpc.h int usage, const void *where), where 498 include/trace/events/rxrpc.h TP_ARGS(local_debug_id, op, usage, where), where 504 include/trace/events/rxrpc.h __field(const void *, where ) where 511 include/trace/events/rxrpc.h __entry->where = where; where 518 include/trace/events/rxrpc.h __entry->where) where 523 include/trace/events/rxrpc.h int usage, const void *where), where 525 include/trace/events/rxrpc.h TP_ARGS(peer_debug_id, op, usage, where), where 531 include/trace/events/rxrpc.h __field(const void *, where ) where 538 include/trace/events/rxrpc.h __entry->where = where; where 545 include/trace/events/rxrpc.h __entry->where) where 550 include/trace/events/rxrpc.h int usage, const void *where), where 552 include/trace/events/rxrpc.h TP_ARGS(conn_debug_id, op, usage, where), where 558 include/trace/events/rxrpc.h __field(const void *, where ) where 565 include/trace/events/rxrpc.h __entry->where = where; where 572 include/trace/events/rxrpc.h __entry->where) where 610 include/trace/events/rxrpc.h int usage, const void *where, const void *aux), where 612 include/trace/events/rxrpc.h TP_ARGS(call_debug_id, op, usage, where, aux), where 618 include/trace/events/rxrpc.h __field(const void *, where ) where 626 include/trace/events/rxrpc.h __entry->where = where; where 634 include/trace/events/rxrpc.h __entry->where, where 640 include/trace/events/rxrpc.h int usage, int mod_count, u8 flags, const void *where), where 642 include/trace/events/rxrpc.h TP_ARGS(skb, op, usage, mod_count, flags, where), where 650 include/trace/events/rxrpc.h __field(const void *, where ) where 659 include/trace/events/rxrpc.h __entry->where = where; where 668 include/trace/events/rxrpc.h __entry->where) where 918 include/trace/events/rxrpc.h enum rxrpc_tx_point where), where 920 include/trace/events/rxrpc.h TP_ARGS(call_id, whdr, where), where 924 include/trace/events/rxrpc.h __field(enum rxrpc_tx_point, where ) where 931 include/trace/events/rxrpc.h __entry->where = where; where 945 include/trace/events/rxrpc.h __print_symbolic(__entry->where, rxrpc_tx_points)) where 1467 include/trace/events/rxrpc.h enum rxrpc_tx_point where), where 1469 include/trace/events/rxrpc.h TP_ARGS(debug_id, serial, ret, where), where 1475 include/trace/events/rxrpc.h __field(enum rxrpc_tx_point, where ) where 1482 include/trace/events/rxrpc.h __entry->where = where; where 1489 include/trace/events/rxrpc.h __print_symbolic(__entry->where, rxrpc_tx_points)) where 266 lib/inflate.c static void free(void *where) where 37 scripts/dtc/fdtget.c static void report_error(const char *where, int err) where 39 scripts/dtc/fdtget.c fprintf(stderr, "Error at '%s': %s\n", where, fdt_strerror(err)); where 53 security/lockdown/lockdown.c static int lock_kernel_down(const char *where, enum lockdown_reason level) where 60 security/lockdown/lockdown.c where); where 536 tools/bpf/bpf_dbg.c static void bpf_set_breakpoints(unsigned int where) where 542 tools/bpf/bpf_dbg.c if (bpf_breakpoints[i] == (int) where) { where 549 tools/bpf/bpf_dbg.c bpf_breakpoints[i] = where; where 1164 tools/bpf/bpf_dbg.c unsigned int where = strtoul(subcmd, NULL, 10); where 1166 tools/bpf/bpf_dbg.c if (where < bpf_prog_len) { where 1167 tools/bpf/bpf_dbg.c bpf_set_breakpoints(where); where 1169 tools/bpf/bpf_dbg.c bpf_disasm(bpf_image[where], where); where 63 tools/power/acpi/os_specific/service_layers/osunixmap.c void *acpi_os_map_memory(acpi_physical_address where, acpi_size length) where 79 tools/power/acpi/os_specific/service_layers/osunixmap.c offset = where % page_size; where 84 tools/power/acpi/os_specific/service_layers/osunixmap.c fd, (where - offset)); where 109 tools/power/acpi/os_specific/service_layers/osunixmap.c void acpi_os_unmap_memory(void *where, acpi_size length) where 115 tools/power/acpi/os_specific/service_layers/osunixmap.c offset = ACPI_TO_INTEGER(where) % page_size; where 116 tools/power/acpi/os_specific/service_layers/osunixmap.c munmap((u8 *)where - offset, (length + offset)); where 491 tools/power/acpi/os_specific/service_layers/osunixxf.c void *acpi_os_map_memory(acpi_physical_address where, acpi_size length) where 494 tools/power/acpi/os_specific/service_layers/osunixxf.c return (ACPI_TO_POINTER((acpi_size)where)); where 511 tools/power/acpi/os_specific/service_layers/osunixxf.c void acpi_os_unmap_memory(void *where, acpi_size length)