Lines Matching defs:where
48 struct pci_bus *bus, unsigned int devfn, int where, u32 * data)
61 ((where / 4) << MSC01_PCI_CFGADDR_RNUM_SHF)));
90 int where, int size, u32 * val)
94 if ((size == 2) && (where & 1))
96 else if ((size == 4) && (where & 3))
99 if (msc_pcibios_config_access(PCI_ACCESS_READ, bus, devfn, where,
104 *val = (data >> ((where & 3) << 3)) & 0xff;
106 *val = (data >> ((where & 3) << 3)) & 0xffff;
114 int where, int size, u32 val)
118 if ((size == 2) && (where & 1))
120 else if ((size == 4) && (where & 3))
127 where, &data))
131 data = (data & ~(0xff << ((where & 3) << 3))) |
132 (val << ((where & 3) << 3));
134 data = (data & ~(0xffff << ((where & 3) << 3))) |
135 (val << ((where & 3) << 3));
138 if (msc_pcibios_config_access(PCI_ACCESS_WRITE, bus, devfn, where,