Searched refs:bus_dev (Results 1 – 2 of 2) sorted by relevance
108 static int sun4u_read_pci_cfg(struct pci_bus *bus_dev, unsigned int devfn, in sun4u_read_pci_cfg() argument111 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() argument215 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() argument260 struct pci_pbm_info *pbm = bus_dev->sysdata; in sun4v_read_pci_cfg()[all …]
89 mk_conf_addr(struct pci_bus *bus_dev, unsigned int device_fn, int where, in mk_conf_addr() argument92 u8 bus = bus_dev->number; in mk_conf_addr()