Home
last modified time | relevance | path

Searched refs:bus_dev (Results 1 – 2 of 2) sorted by relevance

/arch/sparc/kernel/
Dpci_common.c108 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()
[all …]
/arch/alpha/kernel/
Dcore_cia.c89 mk_conf_addr(struct pci_bus *bus_dev, unsigned int device_fn, int where, in mk_conf_addr() argument
92 u8 bus = bus_dev->number; in mk_conf_addr()