/linux-2.4.37.9/drivers/hotplug/ |
D | ibmphp_pci.c | 95 debug ("inside configure_card, func->busno = %x \n", func->busno); in ibmphp_configure_card() 109 …->busno = %x, cur_func->device = %x, cur_func->funcion = %x\n", cur_func->busno, device, function); in ibmphp_configure_card() 111 …pci_read_config_word_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_VENDOR_ID,… in ibmphp_configure_card() 125 …pci_read_config_byte_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_HEADER_TYP… in ibmphp_configure_card() 126 …pci_read_config_dword_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_CLASS_REV… in ibmphp_configure_card() 147 cur_func->device, cur_func->busno); in ibmphp_configure_card() 159 cur_func->device, cur_func->busno); in ibmphp_configure_card() 169 newfunc->busno = cur_func->busno; in ibmphp_configure_card() 187 err ("Bus %x, devfunc %x \n", cur_func->busno, cur_func->device); in ibmphp_configure_card() 198 …pci_read_config_byte_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_SECONDARY_… in ibmphp_configure_card() [all …]
|
D | ibmphp_res.c | 50 static struct bus_node * __init alloc_error_bus (struct ebda_pci_rsrc * curr, u8 busno, int flag) in alloc_error_bus() argument 67 newbus->busno = busno; in alloc_error_bus() 69 newbus->busno = curr->bus_num; in alloc_error_bus() 89 rs->busno = curr->bus_num; in alloc_resources() 110 newbus->busno = curr->bus_num; in alloc_bus_range() 142 …debug ("%d resource Primary Bus inserted on bus %x [%x - %x]\n", flag, newbus->busno, newrange->st… in alloc_bus_range() 151 …debug ("First Memory Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->en… in alloc_bus_range() 161 … debug ("First IO Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 171 …debug ("1st PFMemory Primary on Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end… in alloc_bus_range() 235 …debug ("gbuses = NULL, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrang… in ibmphp_rsrc_init() [all …]
|
D | ibmphp_core.c | 749 static struct pci_func *ibm_slot_find (u8 busno, u8 device, u8 function) in ibm_slot_find() argument 759 …if ((func_cur->busno == busno) && (func_cur->device == device) && (func_cur->function == function)) in ibm_slot_find() 772 static struct pci_bus *find_bus (u8 busno) in find_bus() argument 776 debug ("inside find_bus, busno = %x \n", busno); in find_bus() 781 if (bus->number == busno) in find_bus() 956 temp = pci_find_slot (func->busno, (func->device << 3) | j); in ibm_unconfigure_device() 1011 static u8 bus_structure_fixup (u8 busno) in bus_structure_fixup() argument 1017 if (find_bus (busno) || !(ibmphp_find_same_bus_num (busno))) in bus_structure_fixup() 1019 bus_t.number = busno; in bus_structure_fixup() 1025 pci_scan_bus (busno, ibmphp_pci_root_ops, NULL); in bus_structure_fixup() [all …]
|
D | ibmphp.h | 255 u8 busno; member 344 u8 busno; member 363 u8 busno; member 702 u8 busno; member
|
D | ibmphp_ebda.c | 157 debug ("%s - bus# = %x\n", __FUNCTION__, ptr->busno); in print_bus_info() 812 bus_info_ptr1->busno = slot_ptr->slot_bus_num; in ebda_rsrc_controller() 1112 if (ptr->busno == num) in ibmphp_find_same_bus_num() 1128 if (ptr->busno == num) in ibmphp_get_bus_index()
|
/linux-2.4.37.9/arch/mips/tx4927/toshiba_rbtx4927/ |
D | toshiba_rbtx4927_setup.c | 362 static int __init tx4927_pcibios_init(int busno, struct pci_channel *hose) in EARLY_PCI_OP() 378 early_read_config_dword(hose, busno, busno, pci_devfn, in EARLY_PCI_OP() 397 early_read_config_byte(hose, busno, busno, in EARLY_PCI_OP() 399 early_read_config_dword(hose, busno, busno, in EARLY_PCI_OP() 401 early_read_config_byte(hose, busno, busno, in EARLY_PCI_OP() 434 early_write_config_byte(hose, busno, busno, in EARLY_PCI_OP() 436 early_write_config_dword(hose, busno, busno, in EARLY_PCI_OP() 438 early_write_config_byte(hose, busno, busno, in EARLY_PCI_OP() 443 early_read_config_byte(hose, busno, busno, in EARLY_PCI_OP() 446 early_read_config_dword(hose, busno, busno, in EARLY_PCI_OP() [all …]
|
/linux-2.4.37.9/arch/mips/pci/ |
D | pci.c | 194 extern int pciauto_assign_resources(int busno, struct pci_channel * hose); 200 int busno; in pcibios_init() local 204 busno=0; in pcibios_init() 206 busno = pciauto_assign_resources(busno, p) + 1; in pcibios_init() 211 busno = 0; in pcibios_init() 213 bus = pci_scan_bus(busno, p->pci_ops, p); in pcibios_init() 214 busno = bus->subordinate+1; in pcibios_init()
|
D | pci_auto.c | 492 pciauto_assign_resources(int busno, struct pci_channel *hose) in pciauto_assign_resources() argument 504 busno, pciauto_lower_iospc, pciauto_upper_iospc, in pciauto_assign_resources() 507 return pciauto_bus_scan(hose, busno, busno); in pciauto_assign_resources()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | pci_dn.c | 59 dn->busno = regs[0]; in update_dn_pci_info() 65 dn->busno = (regs[0] >> 16) & 0xff; in update_dn_pci_info() 71 …printk(KERN_ERR "PCI: %04x:%02x.%x %s (%s) has bad status from firmware! (%s)", dn->busno, PCI_SLO… in update_dn_pci_info() 92 …sprintf(devname, "%04x:%02x.%x %s (%s)", dn->busno, PCI_SLOT(dn->devfn), PCI_FUNC(dn->devfn), name… in write_OF_bars() 233 int busno = ((unsigned long)data >> 8) & 0xff; in is_devfn_node() local 235 return (devfn == dn->devfn && busno == dn->busno) ? dn : NULL; in is_devfn_node() 243 int busno = ((unsigned long)data >> 8) & 0xff; in is_devfn_sub_node() local 245 return (devfn == (dn->devfn & 0xf8) && busno == dn->busno) ? dn : NULL; in is_devfn_sub_node()
|
D | eeh.c | 38 #define CONFIG_ADDR(busno, devfn) (((((busno) & 0xff) << 8) | ((devfn) & 0xf8)) << 8) argument 319 CONFIG_ADDR(dn->busno, dn->devfn), in eeh_set_option()
|
D | pci.h | 74 if (dn->devfn == dev->devfn && dn->busno == (dev->bus->number&0xff)) in pci_device_to_OF_node()
|
D | pSeries_pci.c | 83 addr = (dn->busno << 16) | (dn->devfn << 8) | offset; \ 117 addr = (dn->busno << 16) | (dn->devfn << 8) | offset; \
|
D | pci_dma.c | 719 busdn->busno = bus->number; in create_tce_tables_for_busesLP() 975 newTceTable->busNumber = dn->busno; in getTceTableParmsPSeriesLP() 980 PPCDBG(PPCDBG_TCEINIT, "getTceTableParmsPSeriesLP for bus 0x%lx:\n", dn->busno); in getTceTableParmsPSeriesLP()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | pci_psycho.c | 1182 u8 *addr, busno; in pbm_renumber() local 1185 busno = pci_highest_busnum; in pbm_renumber() 1190 pci_config_write8(addr, busno); in pbm_renumber() 1191 addr = psycho_pci_config_mkaddr(pbm, busno, in pbm_renumber() 1193 pci_config_write8(addr, busno + nbus); in pbm_renumber() 1195 pbm->pci_first_busno = busno; in pbm_renumber() 1196 pbm->pci_last_busno = busno + nbus; in pbm_renumber() 1197 pci_highest_busnum = busno + nbus + 1; in pbm_renumber() 1200 pci_bus2pbm[busno++] = pbm; in pbm_renumber() 1208 u8 busno) in pbm_pci_bridge_renumber() argument [all …]
|
D | pci_schizo.c | 1513 u8 busno; in pbm_renumber() local 1516 busno = pci_highest_busnum; in pbm_renumber() 1519 pbm->pci_first_busno = busno; in pbm_renumber() 1520 pbm->pci_last_busno = busno + nbus; in pbm_renumber() 1521 pci_highest_busnum = busno + nbus + 1; in pbm_renumber() 1524 pci_bus2pbm[busno++] = pbm; in pbm_renumber()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | pci-pc.c | 1158 u8 busno, suba, subb; in pci_fixup_i450nx() local 1165 pci_read_config_byte(d, reg++, &busno); in pci_fixup_i450nx() 1168 DBG("i450NX PXB %d: %02x/%02x/%02x\n", pxb, busno, suba, subb); in pci_fixup_i450nx() 1169 if (busno) in pci_fixup_i450nx() 1170 pci_scan_bus(QUADLOCAL2BUS(quad,busno), pci_root_ops, NULL); /* Bus A */ in pci_fixup_i450nx() 1183 u8 busno; in pci_fixup_i450gx() local 1184 pci_read_config_byte(d, 0x4a, &busno); in pci_fixup_i450gx() 1185 printk(KERN_INFO "PCI: i440KX/GX host bridge %s: secondary bus %02x\n", d->slot_name, busno); in pci_fixup_i450gx() 1186 pci_scan_bus(busno, pci_root_ops, NULL); in pci_fixup_i450gx()
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | ioport.c | 51 static void *_sparc_alloc_io(unsigned int busno, unsigned long phys, 161 static void *_sparc_alloc_io(unsigned int busno, unsigned long phys, in _sparc_alloc_io() argument 193 va = _sparc_ioremap(res, busno, phys, size); in _sparc_alloc_io()
|
D | pcic.c | 84 unsigned char busno; /* PCI bus number */ member 584 if (p->busno == dev->bus->number && p->devfn == dev->devfn) in pcic_fill_irq()
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | prom.h | 131 int busno; /* for pci devices */ member
|