Lines Matching refs:busno

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()
246 err("Bus %x, devfunc %x\n", cur_func->busno, cur_func->device); in ibmphp_configure_card()
257 cur_func->busno, device, function); in ibmphp_configure_card()
268 newfunc->busno = sec_number; in ibmphp_configure_card()
353 ibmphp_pci_bus->number = func->busno; in configure_device()
393 io[count]->busno = func->busno; in configure_device()
401 func->busno, func->device, func->function, len[count]); in configure_device()
429 pfmem[count]->busno = func->busno; in configure_device()
444 mem_tmp->busno = pfmem[count]->busno; in configure_device()
458 func->busno, func->device, len[count]); in configure_device()
493 mem[count]->busno = func->busno; in configure_device()
502 func->busno, func->device, len[count]); in configure_device()
580 ibmphp_pci_bus->number = func->busno; in configure_bridge()
586 pci_bus_write_config_byte(ibmphp_pci_bus, devfn, PCI_PRIMARY_BUS, func->busno); in configure_bridge()
594 sec_number = find_sec_number(func->busno, slotno); in configure_bridge()
601 debug("AFTER FIND_SEC_NUMBER, func->busno IS %x\n", func->busno); in configure_bridge()
621 debug("func->busno is %x\n", func->busno); in configure_bridge()
658 bus_io[count]->busno = func->busno; in configure_bridge()
667 func->busno, func->device, len[count]); in configure_bridge()
689 bus_pfmem[count]->busno = func->busno; in configure_bridge()
704 mem_tmp->busno = bus_pfmem[count]->busno; in configure_bridge()
715 func->busno, func->device, len[count]); in configure_bridge()
744 bus_mem[count]->busno = func->busno; in configure_bridge()
753 func->busno, func->device, len[count]); in configure_bridge()
776 ibmphp_pci_bus->number = func->busno; in configure_bridge()
814 io->busno = func->busno; in configure_bridge()
835 mem->busno = func->busno; in configure_bridge()
856 pfmem->busno = func->busno; in configure_bridge()
870 mem_tmp->busno = pfmem->busno; in configure_bridge()
899 bus->busno = sec_number; in configure_bridge()
901 rc = add_new_bus(bus, io, mem, pfmem, func->busno); in configure_bridge()
911 ibmphp_remove_bus(bus, func->busno); in configure_bridge()
1006 debug("func->busno b4 returning is %x\n", func->busno); in configure_bridge()
1007 debug("func->busno b4 returning in the other structure is %x\n", (*func_passed)->busno); in configure_bridge()
1046 static struct res_needed *scan_behind_bridge(struct pci_func *func, u8 busno) in scan_behind_bridge() argument
1071 ibmphp_pci_bus->number = busno; in scan_behind_bridge()
1073 debug("the bus_no behind the bridge is %x\n", busno); in scan_behind_bridge()
1182 static int unconfigure_boot_device(u8 busno, u8 device, u8 function) in unconfigure_boot_device() argument
1207 bus = ibmphp_find_res_bus(busno); in unconfigure_boot_device()
1214 ibmphp_pci_bus->number = busno; in unconfigure_boot_device()
1225 debug("busno, device, function %x %x %x\n", busno, device, function); in unconfigure_boot_device()
1303 static int unconfigure_boot_bridge(u8 busno, u8 device, u8 function) in unconfigure_boot_bridge() argument
1321 ibmphp_pci_bus->number = busno; in unconfigure_boot_bridge()
1322 bus_no = (int) busno; in unconfigure_boot_bridge()
1323 debug("busno is %x\n", busno); in unconfigure_boot_bridge()
1325 debug("%s - busno = %x, primary_number = %x\n", __func__, busno, pri_number); in unconfigure_boot_bridge()
1349 debug("bus->busno is %x\n", bus->busno); in unconfigure_boot_bridge()
1352 ibmphp_remove_bus(bus, busno); in unconfigure_boot_bridge()
1421 u8 busno; in unconfigure_boot_card() local
1430 busno = slot_cur->bus; in unconfigure_boot_card()
1436 ibmphp_pci_bus->number = busno; in unconfigure_boot_card()
1466 rc = unconfigure_boot_device(busno, device, function); in unconfigure_boot_card()
1469 device, function, busno); in unconfigure_boot_card()
1475 rc = unconfigure_boot_device(busno, device, function); in unconfigure_boot_card()
1478 device, function, busno); in unconfigure_boot_card()
1488 rc = unconfigure_boot_bridge(busno, device, function); in unconfigure_boot_card()
1502 rc = unconfigure_boot_bridge(busno, device, function); in unconfigure_boot_card()
1664 u8 busno; in find_sec_number() local
1679 busno = (u8) (slotno - (u8) min); in find_sec_number()
1680 busno += primary_busno + 0x01; in find_sec_number()
1681 bus_cur = ibmphp_find_res_bus(busno); in find_sec_number()
1687 return busno; in find_sec_number()