/drivers/pci/hotplug/ |
D | ibmphp_pci.c | 81 debug("inside configure_card, func->busno = %x\n", func->busno); in ibmphp_configure_card() 94 ibmphp_pci_bus->number = cur_func->busno; in ibmphp_configure_card() 99 cur_func->busno, cur_func->device, cur_func->function); in ibmphp_configure_card() 138 cur_func->device, cur_func->busno); in ibmphp_configure_card() 151 cur_func->device, cur_func->busno); in ibmphp_configure_card() 159 newfunc->busno = cur_func->busno; in ibmphp_configure_card() 177 err("Bus %x, devfunc %x\n", cur_func->busno, cur_func->device); in ibmphp_configure_card() 196 newfunc->busno = sec_number; in ibmphp_configure_card() 223 newfunc->busno = cur_func->busno; in ibmphp_configure_card() 242 debug("cur_func->busno b4 configure_bridge is %x\n", cur_func->busno); in ibmphp_configure_card() [all …]
|
D | ibmphp_res.c | 35 static struct bus_node * __init alloc_error_bus(struct ebda_pci_rsrc *curr, u8 busno, int flag) in alloc_error_bus() argument 49 newbus->busno = busno; in alloc_error_bus() 51 newbus->busno = curr->bus_num; in alloc_error_bus() 69 rs->busno = curr->bus_num; in alloc_resources() 88 newbus->busno = curr->bus_num; in alloc_bus_range() 118 …debug("%d resource Primary Bus inserted on bus %x [%x - %x]\n", flag, newbus->busno, newrange->sta… in alloc_bus_range() 127 …debug("First Memory Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end… in alloc_bus_range() 137 debug("First IO Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 147 …debug("1st PFMemory Primary on Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 210 …debug("gbuses = NULL, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange… in ibmphp_rsrc_init() [all …]
|
D | ibmphp_core.c | 539 static struct pci_func *ibm_slot_find(u8 busno, u8 device, u8 function) in ibm_slot_find() argument 547 if ((func_cur->busno == busno) && in ibm_slot_find() 600 temp = pci_get_domain_bus_and_slot(0, func->busno, in ibm_unconfigure_device() 618 static u8 bus_structure_fixup(u8 busno) in bus_structure_fixup() argument 624 if (pci_find_bus(0, busno) || !(ibmphp_find_same_bus_num(busno))) in bus_structure_fixup() 637 bus->number = busno; in bus_structure_fixup() 645 b = pci_scan_bus(busno, ibmphp_pci_bus->ops, NULL); in bus_structure_fixup() 669 if (!(bus_structure_fixup(func->busno))) in ibm_configure_device() 672 func->dev = pci_get_domain_bus_and_slot(0, func->busno, in ibm_configure_device() 676 struct pci_bus *bus = pci_find_bus(0, func->busno); in ibm_configure_device() [all …]
|
D | ibmphp.h | 241 u8 busno; member 327 u8 busno; member 346 u8 busno; member 676 u8 busno; member
|
D | ibmphp_ebda.c | 117 debug("%s - bus# = %x\n", __func__, ptr->busno); in print_bus_info() 749 bus_info_ptr1->busno = slot_ptr->slot_bus_num; in ebda_rsrc_controller() 1011 if (ptr->busno == num) in ibmphp_find_same_bus_num() 1025 if (ptr->busno == num) in ibmphp_get_bus_index()
|
/drivers/pci/controller/ |
D | pcie-altera.c | 104 int (*rp_write_cfg)(struct altera_pcie *pcie, u8 busno, 402 static int s10_rp_write_cfg(struct altera_pcie *pcie, u8 busno, in s10_rp_write_cfg() argument 423 if (busno == pcie->root_bus_nr && where == PCI_PRIMARY_BUS) in s10_rp_write_cfg() 429 static int _altera_pcie_cfg_read(struct altera_pcie *pcie, u8 busno, in _altera_pcie_cfg_read() argument 437 if (busno == pcie->root_bus_nr && pcie->pcie_data->ops->rp_read_cfg) in _altera_pcie_cfg_read() 453 ret = tlp_cfg_dword_read(pcie, busno, devfn, in _altera_pcie_cfg_read() 473 static int _altera_pcie_cfg_write(struct altera_pcie *pcie, u8 busno, in _altera_pcie_cfg_write() argument 481 if (busno == pcie->root_bus_nr && pcie->pcie_data->ops->rp_write_cfg) in _altera_pcie_cfg_write() 482 return pcie->pcie_data->ops->rp_write_cfg(pcie, busno, in _altera_pcie_cfg_write() 500 return tlp_cfg_dword_write(pcie, busno, devfn, (where & ~DWORD_MASK), in _altera_pcie_cfg_write() [all …]
|
D | pcie-iproc.c | 460 unsigned int busno, in iproc_pcie_map_ep_cfg_reg() argument 468 val = ALIGN_DOWN(PCIE_ECAM_OFFSET(busno, devfn, where), 4) | in iproc_pcie_map_ep_cfg_reg() 572 unsigned int busno = bus->number; in iproc_pcie_config_read() local 578 if (busno == 0) { in iproc_pcie_config_read() 586 cfg_data_p = iproc_pcie_map_ep_cfg_reg(pcie, busno, devfn, where); in iproc_pcie_config_read() 624 int busno, unsigned int devfn, in iproc_pcie_map_cfg_bus() argument 630 if (busno == 0) { in iproc_pcie_map_cfg_bus() 643 return iproc_pcie_map_ep_cfg_reg(pcie, busno, devfn, where); in iproc_pcie_map_cfg_bus()
|
/drivers/siox/ |
D | siox.h | 12 int busno; member
|
D | siox-core.c | 698 smaster->busno = -1; in siox_master_alloc() 720 dev_set_name(&smaster->dev, "siox-%d", smaster->busno); in siox_master_register() 727 "siox-%d", smaster->busno); in siox_master_register() 796 smaster->busno, smaster->num_devices); in siox_device_add()
|
D | siox-bus-gpio.c | 133 smaster->busno = 0; in siox_gpio_probe()
|
/drivers/pci/ |
D | of.c | 282 unsigned char busno, unsigned char bus_max, in devm_of_pci_get_host_bridge_resources() argument 306 bus_range->start = busno; in devm_of_pci_get_host_bridge_resources()
|