Searched refs:busno (Results 1 - 19 of 19) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/hotplug/
H A Dibmphp_pci.c95 debug ("inside configure_card, func->busno = %x \n", func->busno);
101 * func->busno is correct, and func->device contains only device (at the 5
109 debug ("inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->funcion = %x\n", cur_func->busno, device, function);
111 pci_read_config_word_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_VENDOR_ID, &vendor_id);
125 pci_read_config_byte_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_HEADER_TYPE, &hdr_type);
126 pci_read_config_dword_nodev (ibmphp_pci_root_ops, cur_func->busno, device, function, PCI_CLASS_REVISION, &class);
147 cur_func->device, cur_func->busno);
159 cur_func->device, cur_func->busno);
1084 scan_behind_bridge(struct pci_func * func, u8 busno) argument
1219 unconfigure_boot_device(u8 busno, u8 device, u8 function) argument
1338 unconfigure_boot_bridge(u8 busno, u8 device, u8 function) argument
1461 u8 busno; local
1714 u8 busno; local
[all...]
H A Dibmphp_res.c50 static struct bus_node * __init alloc_error_bus (struct ebda_pci_rsrc * curr, u8 busno, int flag) argument
67 newbus->busno = busno;
69 newbus->busno = curr->bus_num;
89 rs->busno = curr->bus_num;
110 newbus->busno = curr->bus_num;
142 debug ("%d resource Primary Bus inserted on bus %x [%x - %x]\n", flag, newbus->busno, newrange->start, newrange->end);
151 debug ("First Memory Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end);
161 debug ("First IO Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end);
171 debug ("1st PFMemory Primary on Bus %x [%x - %x]\n", newbus->busno, newrang
1935 u8 sec_busno, device, function, busno, hdr_type, start_io_address, end_io_address; local
[all...]
H A Dibmphp_core.c749 static struct pci_func *ibm_slot_find (u8 busno, u8 device, u8 function) argument
759 if ((func_cur->busno == busno) && (func_cur->device == device) && (func_cur->function == function))
772 static struct pci_bus *find_bus (u8 busno) argument
776 debug ("inside find_bus, busno = %x \n", busno);
781 if (bus->number == busno)
956 temp = pci_find_slot (func->busno, (func->device << 3) | j);
1011 static u8 bus_structure_fixup (u8 busno) argument
1017 if (find_bus (busno) || !(ibmphp_find_same_bus_nu
[all...]
H A Dibmphp.h255 u8 busno; member in struct:bus_info
344 u8 busno; member in struct:bus_node
363 u8 busno; member in struct:resource_node
702 u8 busno; member in struct:pci_func
H A Dibmphp_ebda.c170 debug ("%s - bus# = %x\n", __FUNCTION__, ptr->busno);
881 bus_info_ptr1->busno = slot_ptr->slot_bus_num;
1175 if (ptr->busno == num)
1191 if (ptr->busno == num)
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/kernel/
H A Dpci.c74 extern int pciauto_assign_resources(int busno, struct pci_channel * hose);
80 int busno; local
84 busno=0;
86 busno = pciauto_assign_resources(busno, p) + 1;
91 busno = 0;
93 bus = pci_scan_bus(busno, p->pci_ops, p);
94 busno = bus->subordinate+1;
H A Dpci_auto.c373 pciauto_assign_resources(int busno, struct pci_channel *hose) argument
385 busno, pciauto_lower_iospc, pciauto_upper_iospc,
388 return pciauto_bus_scan(hose, busno, busno);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A Dpci_dn.c58 dn->busno = regs[0];
64 dn->busno = (regs[0] >> 16) & 0xff;
84 sprintf(devname, "%04x:%02x.%x %s (%s)", dn->busno, PCI_SLOT(dn->devfn), PCI_FUNC(dn->devfn), name ? name : "<no name>", device_type ? device_type : "<unknown type>");
199 /* Traversal func that looks for a <busno,devfcn> value.
205 int busno = ((unsigned long)data >> 8) & 0xff; local
207 return (devfn == dn->devfn && busno == dn->busno) ? dn : NULL;
215 int busno = ((unsigned long)data >> 8) & 0xff; local
217 return (devfn == (dn->devfn & 0xf8) && busno == dn->busno)
[all...]
H A Deeh.c37 #define CONFIG_ADDR(busno, devfn) (((((busno) & 0xff) << 8) | ((devfn) & 0xf8)) << 8)
175 CONFIG_ADDR(dn->busno, dn->devfn),
191 CONFIG_ADDR(dn->busno, dn->devfn),
H A Dpci.h73 if (dn->devfn == dev->devfn && dn->busno == dev->bus->number)
H A DpSeries_pci.c82 addr = (dn->busno << 16) | (dn->devfn << 8) | offset; \
114 addr = (dn->busno << 16) | (dn->devfn << 8) | offset; \
665 unsigned int busno = dev->bus ? dev->bus->number : 0; local
670 dev->resource[i].start = eeh_token(phb->global_number, busno, dev->devfn, addr) | eeh_disable_bit;
685 unsigned int busno = dev->bus ? dev->bus->number : 0; local
690 dev->resource[i].start = eeh_token(phb->global_number, busno, dev->devfn, addr) | eeh_disable_bit;
H A Dpci_dma.c727 busdn->busno = bus->number;
982 newTceTable->busNumber = dn->busno;
987 PPCDBG(PPCDBG_TCEINIT, "getTceTableParmsPSeriesLP for bus 0x%lx:\n", dn->busno);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc64/
H A Dprom.h128 int busno; /* for pci devices */ member in struct:device_node
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc64/
H A Dprom.h128 int busno; /* for pci devices */ member in struct:device_node
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/kernel/
H A Dpci_psycho.c1141 u8 *addr, busno; local
1144 busno = pci_highest_busnum;
1149 pci_config_write8(addr, busno);
1150 addr = psycho_pci_config_mkaddr(pbm, busno,
1152 pci_config_write8(addr, busno + nbus);
1154 pbm->pci_first_busno = busno;
1155 pbm->pci_last_busno = busno + nbus;
1156 pci_highest_busnum = busno + nbus + 1;
1159 pci_bus2pbm[busno++] = pbm;
1167 u8 busno)
1166 pbm_pci_bridge_renumber(struct pci_pbm_info *pbm, u8 busno) argument
[all...]
H A Dpci_schizo.c1237 u8 *addr, busno; local
1240 busno = pci_highest_busnum;
1245 pci_config_write8(addr, busno);
1246 addr = schizo_pci_config_mkaddr(pbm, busno,
1248 pci_config_write8(addr, busno + nbus);
1250 pbm->pci_first_busno = busno;
1251 pbm->pci_last_busno = busno + nbus;
1252 pci_highest_busnum = busno + nbus + 1;
1255 pci_bus2pbm[busno++] = pbm;
1263 u8 busno)
1262 pbm_pci_bridge_renumber(struct pci_pbm_info *pbm, u8 busno) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/i386/kernel/
H A Dpci-pc.c1151 u8 busno, suba, subb; local
1158 pci_read_config_byte(d, reg++, &busno);
1161 DBG("i450NX PXB %d: %02x/%02x/%02x\n", pxb, busno, suba, subb);
1162 if (busno)
1163 pci_scan_bus(QUADLOCAL2BUS(quad,busno), pci_root_ops, NULL); /* Bus A */
1176 u8 busno; local
1177 pci_read_config_byte(d, 0x4a, &busno);
1178 printk(KERN_INFO "PCI: i440KX/GX host bridge %s: secondary bus %02x\n", d->slot_name, busno);
1179 pci_scan_bus(busno, pci_root_ops, NULL);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/kernel/
H A Dioport.c51 static void *_sparc_alloc_io(unsigned int busno, unsigned long phys,
161 static void *_sparc_alloc_io(unsigned int busno, unsigned long phys, argument
193 va = _sparc_ioremap(res, busno, phys, size);
194 /* printk("ioremap(0x%x:%08lx[0x%lx])=%p\n", busno, phys, size, va); */ /* P3 diag */
H A Dpcic.c84 unsigned char busno; /* PCI bus number */ member in struct:pcic_ca2irq
532 if (p->busno == dev->bus->number && p->devfn == dev->devfn)

Completed in 181 milliseconds