Lines Matching refs:devfn
364 static int elroy_cfg_read(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 *data) in elroy_cfg_read() argument
368 u32 tok = LBA_CFG_TOK(local_bus, devfn); in elroy_cfg_read()
371 if ((pos > 255) || (devfn > 255)) in elroy_cfg_read()
383 if (LBA_SKIP_PROBE(d) && !lba_device_present(bus->busn_res.start, devfn, d)) { in elroy_cfg_read()
431 static int elroy_cfg_write(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 data) in elroy_cfg_write() argument
435 u32 tok = LBA_CFG_TOK(local_bus,devfn); in elroy_cfg_write()
437 if ((pos > 255) || (devfn > 255)) in elroy_cfg_write()
447 if (LBA_SKIP_PROBE(d) && (!lba_device_present(bus->busn_res.start, devfn, d))) { in elroy_cfg_write()
481 static int mercury_cfg_read(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 *data) in mercury_cfg_read() argument
485 u32 tok = LBA_CFG_TOK(local_bus, devfn); in mercury_cfg_read()
488 if ((pos > 255) || (devfn > 255)) in mercury_cfg_read()
513 static int mercury_cfg_write(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 data) in mercury_cfg_write() argument
518 u32 tok = LBA_CFG_TOK(local_bus,devfn); in mercury_cfg_write()
520 if ((pos > 255) || (devfn > 255)) in mercury_cfg_write()