• Home
  • Raw
  • Download

Lines Matching refs:busno

95 	debug ("inside configure_card, func->busno = %x\n", func->busno);  in ibmphp_configure_card()
108 ibmphp_pci_bus->number = cur_func->busno; in ibmphp_configure_card()
113 cur_func->busno, cur_func->device, cur_func->function); in ibmphp_configure_card()
152 cur_func->device, cur_func->busno); in ibmphp_configure_card()
165 cur_func->device, cur_func->busno); in ibmphp_configure_card()
174 newfunc->busno = cur_func->busno; in ibmphp_configure_card()
192 err ("Bus %x, devfunc %x\n", cur_func->busno, cur_func->device); in ibmphp_configure_card()
212 newfunc->busno = sec_number; in ibmphp_configure_card()
240 newfunc->busno = cur_func->busno; in ibmphp_configure_card()
259 debug ("cur_func->busno b4 configure_bridge is %x\n", cur_func->busno); in ibmphp_configure_card()
263 err ("Bus %x, devfunc %x\n", cur_func->busno, cur_func->device); in ibmphp_configure_card()
274 cur_func->busno, device, function); in ibmphp_configure_card()
286 newfunc->busno = sec_number; in ibmphp_configure_card()
372 ibmphp_pci_bus->number = func->busno; in configure_device()
413 io[count]->busno = func->busno; in configure_device()
421 func->busno, func->device, func->function, len[count]); in configure_device()
450 pfmem[count]->busno = func->busno; in configure_device()
466 mem_tmp->busno = pfmem[count]->busno; in configure_device()
480 func->busno, func->device, len[count]); in configure_device()
516 mem[count]->busno = func->busno; in configure_device()
525 func->busno, func->device, len[count]); in configure_device()
603 ibmphp_pci_bus->number = func->busno; in configure_bridge()
609 pci_bus_write_config_byte (ibmphp_pci_bus, devfn, PCI_PRIMARY_BUS, func->busno); in configure_bridge()
617 sec_number = find_sec_number (func->busno, slotno); in configure_bridge()
624 debug ("AFTER FIND_SEC_NUMBER, func->busno IS %x\n", func->busno); in configure_bridge()
644 debug ("func->busno is %x\n", func->busno); in configure_bridge()
682 bus_io[count]->busno = func->busno; in configure_bridge()
691 func->busno, func->device, len[count]); in configure_bridge()
714 bus_pfmem[count]->busno = func->busno; in configure_bridge()
730 mem_tmp->busno = bus_pfmem[count]->busno; in configure_bridge()
741 func->busno, func->device, len[count]); in configure_bridge()
771 bus_mem[count]->busno = func->busno; in configure_bridge()
780 func->busno, func->device, len[count]); in configure_bridge()
803 ibmphp_pci_bus->number = func->busno; in configure_bridge()
842 io->busno = func->busno; in configure_bridge()
864 mem->busno = func->busno; in configure_bridge()
886 pfmem->busno = func->busno; in configure_bridge()
901 mem_tmp->busno = pfmem->busno; in configure_bridge()
931 bus->busno = sec_number; in configure_bridge()
933 rc = add_new_bus (bus, io, mem, pfmem, func->busno); in configure_bridge()
943 ibmphp_remove_bus (bus, func->busno); in configure_bridge()
1038 debug ("func->busno b4 returning is %x\n", func->busno); in configure_bridge()
1039 debug ("func->busno b4 returning in the other structure is %x\n", (*func_passed)->busno); in configure_bridge()
1078 static struct res_needed *scan_behind_bridge (struct pci_func *func, u8 busno) in scan_behind_bridge() argument
1103 ibmphp_pci_bus->number = busno; in scan_behind_bridge()
1105 debug ("the bus_no behind the bridge is %x\n", busno); in scan_behind_bridge()
1214 static int unconfigure_boot_device (u8 busno, u8 device, u8 function) in unconfigure_boot_device() argument
1239 bus = ibmphp_find_res_bus (busno); in unconfigure_boot_device()
1246 ibmphp_pci_bus->number = busno; in unconfigure_boot_device()
1257 debug ("busno, device, function %x %x %x\n", busno, device, function); in unconfigure_boot_device()
1332 static int unconfigure_boot_bridge (u8 busno, u8 device, u8 function) in unconfigure_boot_bridge() argument
1350 ibmphp_pci_bus->number = busno; in unconfigure_boot_bridge()
1351 bus_no = (int) busno; in unconfigure_boot_bridge()
1352 debug ("busno is %x\n", busno); in unconfigure_boot_bridge()
1354 debug ("%s - busno = %x, primary_number = %x\n", __func__, busno, pri_number); in unconfigure_boot_bridge()
1378 debug("bus->busno is %x\n", bus->busno); in unconfigure_boot_bridge()
1381 ibmphp_remove_bus (bus, busno); in unconfigure_boot_bridge()
1450 u8 busno; in unconfigure_boot_card() local
1459 busno = slot_cur->bus; in unconfigure_boot_card()
1465 ibmphp_pci_bus->number = busno; in unconfigure_boot_card()
1495 rc = unconfigure_boot_device (busno, device, function); in unconfigure_boot_card()
1498 device, function, busno); in unconfigure_boot_card()
1504 rc = unconfigure_boot_device (busno, device, function); in unconfigure_boot_card()
1507 device, function, busno); in unconfigure_boot_card()
1517 rc = unconfigure_boot_bridge (busno, device, function); in unconfigure_boot_card()
1531 rc = unconfigure_boot_bridge (busno, device, function); in unconfigure_boot_card()
1697 u8 busno; in find_sec_number() local
1712 busno = (u8) (slotno - (u8) min); in find_sec_number()
1713 busno += primary_busno + 0x01; in find_sec_number()
1714 bus_cur = ibmphp_find_res_bus (busno); in find_sec_number()
1720 return busno; in find_sec_number()