Lines Matching refs:bus
19 unsigned long bus, in config_out_of_range() argument
23 if (bus < pbm->pci_first_busno || in config_out_of_range()
24 bus > pbm->pci_last_busno) in config_out_of_range()
30 unsigned long bus, in sun4u_config_mkaddr() argument
36 if (config_out_of_range(pbm, bus, devfn, reg)) in sun4u_config_mkaddr()
41 bus <<= rbits + 8; in sun4u_config_mkaddr()
43 return (void *) (pbm->config_space | bus | devfn | reg); in sun4u_config_mkaddr()
52 unsigned char bus, unsigned int devfn, in sun4u_read_pci_cfg_host() argument
59 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg_host()
94 sun4u_read_pci_cfg_host(pbm, bus, devfn, in sun4u_read_pci_cfg_host()
99 sun4u_read_pci_cfg_host(pbm, bus, devfn, in sun4u_read_pci_cfg_host()
111 unsigned char bus = bus_dev->number; in sun4u_read_pci_cfg() local
129 return sun4u_read_pci_cfg_host(pbm, bus, devfn, where, in sun4u_read_pci_cfg()
132 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_read_pci_cfg()
165 unsigned char bus, unsigned int devfn, in sun4u_write_pci_cfg_host() argument
170 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_write_pci_cfg_host()
202 sun4u_write_pci_cfg_host(pbm, bus, devfn, in sun4u_write_pci_cfg_host()
204 sun4u_write_pci_cfg_host(pbm, bus, devfn, in sun4u_write_pci_cfg_host()
215 unsigned char bus = bus_dev->number; in sun4u_write_pci_cfg() local
219 return sun4u_write_pci_cfg_host(pbm, bus, devfn, where, in sun4u_write_pci_cfg()
222 addr = sun4u_config_mkaddr(pbm, bus, devfn, where); in sun4u_write_pci_cfg()
261 unsigned int bus = bus_dev->number; in sun4v_read_pci_cfg() local
266 if (config_out_of_range(pbm, bus, devfn, where)) { in sun4v_read_pci_cfg()
270 HV_PCI_DEVICE_BUILD(bus, device, func), in sun4v_read_pci_cfg()
294 unsigned int bus = bus_dev->number; in sun4v_write_pci_cfg() local
298 if (config_out_of_range(pbm, bus, devfn, where)) { in sun4v_write_pci_cfg()
306 HV_PCI_DEVICE_BUILD(bus, device, func), in sun4v_write_pci_cfg()
501 struct pci_bus *bus; in pci_scan_for_target_abort() local
517 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_target_abort()
518 pci_scan_for_target_abort(pbm, bus); in pci_scan_for_target_abort()
525 struct pci_bus *bus; in pci_scan_for_master_abort() local
540 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_master_abort()
541 pci_scan_for_master_abort(pbm, bus); in pci_scan_for_master_abort()
548 struct pci_bus *bus; in pci_scan_for_parity_error() local
564 list_for_each_entry(bus, &pbus->children, node) in pci_scan_for_parity_error()
565 pci_scan_for_parity_error(pbm, bus); in pci_scan_for_parity_error()