Home
last modified time | relevance | path

Searched refs:bus_dev (Results 1 – 4 of 4) 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 …]
Dpci_sun4v.c257 struct pci_bus *bus_dev) in dma_4v_iotsb_bind() argument
265 list_for_each_entry(pdev, &bus_dev->devices, bus_list) { in dma_4v_iotsb_bind()
271 bus = bus_dev->number; in dma_4v_iotsb_bind()
/arch/arm64/kernel/
Dpci.c92 struct device *bus_dev = &bridge->bus->dev; in pcibios_root_bridge_prepare() local
95 set_dev_node(bus_dev, acpi_get_node(acpi_device_handle(adev))); in pcibios_root_bridge_prepare()
/arch/alpha/kernel/
Dcore_cia.c90 mk_conf_addr(struct pci_bus *bus_dev, unsigned int device_fn, int where, in mk_conf_addr() argument
93 u8 bus = bus_dev->number; in mk_conf_addr()