Lines Matching defs:devfn
41 static const uint32_t lxnb_hdr[] = { /* dev 1 function 0 - devfn = 8 */
54 static const uint32_t gxnb_hdr[] = { /* dev 1 function 0 - devfn = 8 */
67 static const uint32_t lxfb_hdr[] = { /* dev 1 function 1 - devfn = 9 */
80 static const uint32_t gxfb_hdr[] = { /* dev 1 function 1 - devfn = 9 */
93 static const uint32_t aes_hdr[] = { /* dev 1 function 2 - devfn = 0xa */
107 static const uint32_t isa_hdr[] = { /* dev f function 0 - devfn = 78 */
120 static const uint32_t ac97_hdr[] = { /* dev f function 3 - devfn = 7b */
133 static const uint32_t ohci_hdr[] = { /* dev f function 4 - devfn = 7c */
147 static const uint32_t ehci_hdr[] = { /* dev f function 4 - devfn = 7d */
173 static int is_simulated(unsigned int bus, unsigned int devfn)
175 return (!bus && ((PCI_SLOT(devfn) == NB_SLOT) ||
176 (PCI_SLOT(devfn) == SB_SLOT)));
201 unsigned int devfn, int reg, int len, uint32_t *value)
208 if (!is_simulated(bus, devfn))
209 return pci_direct_conf1.read(seg, bus, devfn, reg, len, value);
218 switch (devfn) {
263 unsigned int devfn, int reg, int len, uint32_t value)
268 if (!is_simulated(bus, devfn))
269 return pci_direct_conf1.write(seg, bus, devfn, reg, len, value);
293 printk(KERN_WARNING "OLPC PCI: Config write to devfn"
294 " %x reg %x value %x\n", devfn, reg, value);