Lines Matching refs:bus_dev
108 static int sun4u_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_read_pci_cfg() argument
111 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_read_pci_cfg()
112 unsigned char bus = bus_dev->number; in sun4u_read_pci_cfg()
129 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_read_pci_cfg()
212 static int sun4u_write_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_write_pci_cfg() argument
215 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4u_write_pci_cfg()
216 unsigned char bus = bus_dev->number; in sun4u_write_pci_cfg()
219 if (!bus_dev->number && !PCI_SLOT(devfn)) in sun4u_write_pci_cfg()
257 static int sun4v_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4v_read_pci_cfg() argument
260 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg()
262 unsigned int bus = bus_dev->number; in sun4v_read_pci_cfg()
290 static int sun4v_write_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4v_write_pci_cfg() argument
293 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_write_pci_cfg()
295 unsigned int bus = bus_dev->number; in sun4v_write_pci_cfg()