Lines Matching refs:bus_dev
107 static int sun4u_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_read_pci_cfg() argument
110 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_read_pci_cfg()
111 unsigned char bus = bus_dev->number; in sun4u_read_pci_cfg()
128 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_read_pci_cfg()
211 static int sun4u_write_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_write_pci_cfg() argument
214 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_write_pci_cfg()
215 unsigned char bus = bus_dev->number; in sun4u_write_pci_cfg()
218 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_write_pci_cfg()
256 static int sun4v_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4v_read_pci_cfg() argument
259 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg()
261 unsigned int bus = bus_dev->number; in sun4v_read_pci_cfg()
289 static int sun4v_write_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4v_write_pci_cfg() argument
292 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_write_pci_cfg()
294 unsigned int bus = bus_dev->number; in sun4v_write_pci_cfg()