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

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/iseries/
H A Diommu.h33 extern void iommu_table_getparms_iSeries(unsigned long busno,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/
H A Dops-titan-ht.c39 int busno; local
41 busno = bus->number;
43 address = (busno << 16) | (devfn << 8) | (offset & 0xfc) | 0x80000000;
44 if (busno != 0)
84 int busno; local
86 busno = bus->number;
88 address = (busno << 16) | (devfn << 8) | (offset & 0xfc) | 0x80000000;
89 if (busno != 0)
H A Dops-titan.c46 int dev, busno, func; local
48 busno = bus->number;
52 address = (busno << 16) | (dev << 11) | (func << 8) |
75 int dev, busno, func; local
77 busno = bus->number;
81 address = (busno << 16) | (dev << 11) | (func << 8) |
H A Dops-tx4927.c104 int flags, retval, dev, busno, func; local
106 busno = bus->number;
112 busno = bus->number;
114 busno = 0;
117 if (mkaddr(busno, devfn, where, &flags))
154 int flags, dev, busno, func; local
155 busno = bus->number;
161 busno = bus->number;
163 busno = 0;
166 if (mkaddr(busno, devf
[all...]
H A Dops-tx4938.c92 int flags, retval, dev, busno, func; local
99 busno = bus->number;
101 busno = 0;
104 if (mkaddr(busno, devfn, where, &flags))
139 int flags, dev, busno, func; local
141 busno = bus->number;
147 busno = bus->number;
149 busno = 0;
152 if (mkaddr(busno, devfn, where, &flags))
H A Dops-sni.c24 static int set_config_address(unsigned int busno, unsigned int devfn, int reg) argument
29 if (busno == 0 && devfn >= PCI_DEVFN(8, 0))
33 ((busno & 0xff) << 16) |
91 static int pcit_set_config_address(unsigned int busno, unsigned int devfn, int reg) argument
93 if ((devfn > 255) || (reg > 255) || (busno > 255))
96 outl ((1 << 31) | ((busno & 0xff) << 16) | ((devfn & 0xff) << 8) | (reg & 0xfc), 0xcf8);
H A Dops-bridge.c92 int busno = bus->number; local
99 bridge->b_pci_cfg = (busno << 16) | (slot << 11);
111 bridge->b_pci_cfg = (busno << 16) | (slot << 11);
138 bridge->b_pci_cfg = (busno << 16) | (slot << 11);
233 int busno = bus->number; local
238 bridge->b_pci_cfg = (busno << 16) | (slot << 11);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/tx4927/toshiba_rbtx4927/
H A Dtoshiba_rbtx4927_setup.c255 int busno = 0; /* One bus on the Toshiba */ local
262 early_read_config_dword(hose, busno, busno, pci_devfn,
279 early_read_config_byte(hose, busno, busno,
281 early_read_config_dword(hose, busno, busno,
283 early_read_config_byte(hose, busno, busno,
316 early_write_config_byte(hose, busno, busn
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/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
108 ibmphp_pci_bus->number = cur_func->busno;
112 debug ("inside the loop, cur_func->busno = %x, cur_func->device = %x, cur_func->funcion = %x\n",
113 cur_func->busno, cur_func->device, cur_func->function);
151 cur_func->device, cur_func->busno);
163 cur_func->device, cur_func->busno);
172 newfunc->busno = cur_func->busno;
1076 scan_behind_bridge(struct pci_func * func, u8 busno) argument
1214 unconfigure_boot_device(u8 busno, u8 device, u8 function) argument
1332 unconfigure_boot_bridge(u8 busno, u8 device, u8 function) argument
1450 u8 busno; local
1703 u8 busno; local
[all...]
H A Dibmphp_res.c49 static struct bus_node * __init alloc_error_bus (struct ebda_pci_rsrc * curr, u8 busno, int flag) argument
65 newbus->busno = busno;
67 newbus->busno = curr->bus_num;
86 rs->busno = curr->bus_num;
106 newbus->busno = curr->bus_num;
137 debug ("%d resource Primary Bus inserted on bus %x [%x - %x]\n", flag, newbus->busno, newrange->start, newrange->end);
146 debug ("First Memory Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end);
156 debug ("First IO Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end);
166 debug ("1st PFMemory Primary on Bus %x [%x - %x]\n", newbus->busno, newrang
[all...]
H A Dibmphp_core.c712 static struct pci_func *ibm_slot_find(u8 busno, u8 device, u8 function) argument
722 if ((func_cur->busno == busno) &&
764 temp = pci_find_slot(func->busno, (func->device << 3) | j);
775 static u8 bus_structure_fixup(u8 busno) argument
781 if (pci_find_bus(0, busno) || !(ibmphp_find_same_bus_num(busno)))
796 bus->number = busno;
804 pci_scan_bus(busno, ibmphp_pci_bus->ops, NULL);
823 if (!(bus_structure_fixup(func->busno)))
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/pci/
H A Dnuma.c89 u8 busno, suba, subb; local
95 pci_read_config_byte(d, reg++, &busno);
98 DBG("i450NX PXB %d: %02x/%02x/%02x\n", pxb, busno, suba, subb);
99 if (busno)
100 pci_scan_bus(QUADLOCAL2BUS(quad,busno), &pci_root_ops, NULL); /* Bus A */
H A Dfixup.c18 u8 busno, suba, subb; local
23 pci_read_config_byte(d, reg++, &busno);
26 DBG("i450NX PXB %d: %02x/%02x/%02x\n", pxb, busno, suba, subb);
27 if (busno)
28 pci_scan_bus(busno, &pci_root_ops, NULL); /* Bus A */
42 u8 busno; local
43 pci_read_config_byte(d, 0x4a, &busno);
44 printk(KERN_INFO "PCI: i440KX/GX host bridge %s: secondary bus %02x\n", pci_name(d), busno);
45 pci_scan_bus(busno, &pci_root_ops, NULL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/drivers/pci/
H A Dpci.c48 int busno; local
52 busno = 0;
54 busno = pciauto_assign_resources(busno, p) + 1;
58 busno = 0;
60 bus = pci_scan_bus(busno, p->pci_ops, p);
61 busno = bus->subordinate + 1;
H A Dpci-auto.c526 pciauto_assign_resources(int busno, struct pci_channel *hose) argument
538 busno, pciauto_lower_iospc, pciauto_upper_iospc,
541 return pciauto_bus_scan(hose, busno, busno);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/iseries/
H A Dpci.h57 return ((u64)pdn->busno << 48) + ((u64)pdn->bussubno << 40)
H A Diommu.c111 void iommu_table_getparms_iSeries(unsigned long busno, argument
122 parms->itc_busno = busno;
180 iommu_table_getparms_iSeries(pdn->busno, *lsn, 0, tbl);
H A Dpci.c181 u8 irq = iSeries_allocate_IRQ(pdn->busno, 0,
185 err = HvCallXm_connectBusUnit(pdn->busno, pdn->bussubno,
189 pdn->busno, pdn->bussubno, *agent, err);
191 err = HvCallPci_configStore8(pdn->busno, pdn->bussubno,
197 pdn->busno, pdn->bussubno, *agent, err);
227 if (pdn && (bus == pdn->busno) && (devfn == pdn->devfn))
326 TextHdr, pdn->busno, pdn->devfn,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dpci_dn.c61 pdn->busno = (regs[0] >> 16) & 0xff;
148 pdn->devfn = pdn->busno = -1;
157 * Traversal func that looks for a <busno,devfcn> value.
162 int busno = ((unsigned long)data >> 8) & 0xff; local
166 if (pci && (devfn == pci->devfn) && (busno == pci->busno))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dpci-bridge.h68 int busno; /* pci bus number */ member in struct:pci_dn
105 if (pdn && pdn->devfn == dev->devfn && pdn->busno == dev->bus->number)
115 *bus = PCI_DN(np)->busno;
H A Drtas.h231 * rtas_config_addr - Format a busno, devfn and reg for RTAS.
232 * @busno: The bus number.
236 * This function encodes the given busno, devfn and register number as
240 static inline u32 rtas_config_addr(int busno, int devfn, int reg) argument
242 return ((reg & 0xf00) << 20) | ((busno & 0xff) << 16) |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/cell/
H A Dio-workarounds.c174 int busno; local
181 busno = bus - spider_pci_busses;
182 pr_debug(" found bus %d, setting token\n", busno);
183 PCI_SET_ADDR_TOKEN(res, busno + 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh64/
H A Dpci.h104 extern int pciauto_assign_resources(int busno, struct pci_channel *hose);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Dpcic.c56 unsigned char busno; /* PCI bus number */ member in struct:pcic_ca2irq
171 static int pcic_read_config_dword(unsigned int busno, unsigned int devfn, argument
180 writel(CONFIG_CMD(busno, devfn, where), pcic->pcic_config_space_addr);
220 static int pcic_write_config_dword(unsigned int busno, unsigned int devfn, argument
229 writel(CONFIG_CMD(busno, devfn, where), pcic->pcic_config_space_addr);
495 if (p->busno == dev->bus->number && p->devfn == dev->devfn)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Dpci.h134 int pciauto_assign_resources(int busno, struct pci_channel *hose);

Completed in 192 milliseconds

12