Lines Matching defs:where
344 uint32_t where, uint32_t size)
346 PEX_OUT(base, PEXCADRS, MK_PEXCADRS(PEXCADRS_CMD_READ, where, size));
348 >> ((where & (4 - size)) * 8)) & ((0x1 << (size * 8)) - 1);
351 static void config_write_pciex_rc(unsigned int __iomem *base, uint32_t where,
356 data = (val & ((0x1 << (size * 8)) - 1)) << ((where & (4 - size)) * 8);
357 PEX_OUT(base, PEXCADRS, MK_PEXCADRS(PEXCADRS_CMD_WRITE, where, size));
363 int where, int size, unsigned int *val)
373 *val = config_read_pciex_rc(phb->cfg_addr, where, size);
376 PCI_SLOT(devfn), PCI_FUNC(devfn), where, size);
382 int where, int size, unsigned int val)
390 config_write_pciex_rc(phb->cfg_addr, where, size, val);
393 PCI_SLOT(devfn), PCI_FUNC(devfn), where, size, val);