Searched refs:bus (Results 176 - 200 of 892) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dpci-noop.c51 sys_pciconfig_iobase(long which, unsigned long bus, unsigned long dfn) argument
55 /* from hose or from bus.devfn */
58 if (hose->index == bus)
64 if (bus == 0 && dfn == 0)
82 return hose->bus->number;
89 sys_pciconfig_read(unsigned long bus, unsigned long dfn, argument
99 sys_pciconfig_write(unsigned long bus, unsigned long dfn, argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Dmv64x60.h48 u32 mv64x60_cfg_read(u8 *bridge_base, u8 hose, u8 bus, u8 devfn,
50 void mv64x60_cfg_write(u8 *bridge_base, u8 hose, u8 bus, u8 devfn,
56 u8 bus, u32 mem_size, u32 acc_bits);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/83xx/
H A Dpci.c38 int mpc83xx_exclude_device(u_char bus, u_char devfn) argument
40 if (bus == 0 && PCI_SLOT(devfn) == 0)
43 if (bus == (mpc83xx_pci2_busno) && PCI_SLOT(devfn) == 0)
62 /* Get bus range if any */
63 bus_range = of_get_property(dev, "bus-range", &len);
65 printk(KERN_WARNING "Can't get bus-range for %s, assume"
66 " bus 0\n", dev->full_name);
94 "Firmware bus number: %d->%d\n",
H A Dmpc83xx.h31 extern int mpc83xx_exclude_device(u_char bus, u_char devfn);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/celleb/
H A Dscc_epci.c114 struct pci_bus *bus,
120 if (bus != hose->bus)
122 (((bus->number & 0xff) << 16)
135 static int celleb_epci_read_config(struct pci_bus *bus, argument
145 node = (struct device_node *)bus->sysdata;
151 if (bus->number == hose->first_busno && devfn == 0) {
174 addr = celleb_epci_make_config_addr(bus, hose, devfn, where);
198 static int celleb_epci_write_config(struct pci_bus *bus, argument
208 node = (struct device_node *)bus
113 celleb_epci_make_config_addr( struct pci_bus *bus, struct pci_controller *hose, unsigned int devfn, int where) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/power/
H A Dsysfs.c20 * 0, 2, or 3. Devices with bus.suspend_late(), or bus.resume_early()
27 * by calling bus.resume() and/or class.resume().
29 * calling class.suspend() and/or bus.suspend() with event code
49 if (dev->bus && (dev->bus->suspend_late || dev->bus->resume_early))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/pci/
H A Dfixup.c44 printk(KERN_INFO "PCI: i440KX/GX host bridge %s: secondary bus %02x\n", pci_name(d), busno);
128 /* fix pci bus latency issues resulted by NB bios error
165 * system to PCI bus no matter what are their window settings, so they are
207 static int quirk_pcie_aspm_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) argument
209 return raw_pci_ops->read(0, bus->number, devfn, where, size, value);
213 * Replace the original pci bus ops for write with a new one that will filter
216 static int quirk_pcie_aspm_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
220 offset = quirk_aspm_offset[GET_INDEX(bus->self->device, devfn)];
225 return raw_pci_ops->write(0, bus->number, devfn, where, size, value);
238 * the root port in an array for fast indexing. Replace the bus op
311 struct pci_bus *bus; local
[all...]
H A Dmmconfig-shared.c31 Instead try to discover all devices on bus 0 that are unreachable using MM
35 int i, bus; local
36 /* Use the max bus number from ACPI here? */
37 for (bus = 0; bus < PCI_MMCFG_MAX_CHECK_BUS; bus++) {
42 pci_conf1_read(0, bus, devfn, 0, 4, &val1);
46 if (pci_mmcfg_arch_reachable(0, bus, devfn)) {
47 raw_pci_ops->read(0, bus, devfn, 0, 4, &val2);
51 set_bit(i + 32 * bus, pci_mmcfg_fallback_slot
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/ddb5xxx/ddb5477/
H A Dsetup.c101 printk("Failed to detect bus frequency. Use default 83.3MHz.\n");
120 printk("DDB bus frequency detection : %u \n", freq);
138 /* do we need to do run-time detection of bus speed? */
207 /* Setup local bus. */
243 /* ------------ reset PCI bus and BARs ----------------- */
295 /* Disable bus diagnostics. */
304 struct pci_bus bus; local
308 bus.parent = NULL; /* we scan the top level only */
309 bus.ops = &ddb5477_ext_pci_ops;
310 dev_m1533.bus
331 struct pci_bus bus; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Drpadlpar_core.c145 /* Add EADS device to PHB bus, adding new entry to bus->devices */
146 dev = of_create_pci_dev(dn, phb->bus, pdn->devfn);
159 /* Claim new bus resources */
160 pcibios_claim_one_bus(dev->bus);
162 /* ioremap() for child bus, which may or may not succeed */
166 pci_bus_add_devices(phb->bus);
177 /* Add pci bus */
182 dev = dlpar_find_new_dev(phb->bus, dn);
185 printk(KERN_ERR "%s: unable to add bus
374 struct pci_bus *bus; local
[all...]
H A Dibmphp_pci.c100 /* We only get bus and device from IRQ routing table. So at this point,
150 err ("was not able to configure devfunc %x on bus %x.\n",
162 err ("was not able to configure devfunc %x on bus %x...bailing out\n",
196 func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */
225 func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */
266 func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */
300 func->bus = 1; /* To indicate to the unconfigure function that this is a PPB */
418 err ("cannot allocate requested io for bus %x device %x function %x len %x\n",
477 err ("cannot allocate requested pfmem for bus %x, device %x, len %x\n",
522 err ("cannot allocate requested mem for bus
587 struct bus_node *bus; local
1230 struct bus_node *bus; local
1341 struct bus_node *bus; local
1639 add_new_bus(struct bus_node *bus, struct resource_node *io, struct resource_node *mem, struct resource_node *pfmem, u8 parent_busno) argument
1704 struct bus_info *bus; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mca/
H A Dmca-driver.c36 mca_drv->driver.bus = &mca_bus_type;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Drtas_pci.c105 static int rtas_pci_read_config(struct pci_bus *bus, argument
111 if (bus->self)
112 busdn = pci_device_to_OF_node(bus->self);
114 busdn = bus->sysdata; /* must be a phb */
116 /* Search only direct children of the bus */
152 static int rtas_pci_write_config(struct pci_bus *bus, argument
158 if (bus->self)
159 busdn = pci_device_to_OF_node(bus->self);
161 busdn = bus->sysdata; /* must be a phb */
163 /* Search only direct children of the bus */
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-shark/
H A Dpci.c18 if (dev->bus->number == 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-versatile/
H A Dcore.h25 #include <linux/amba/bus.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/
H A Dsyscall.c18 sys_pciconfig_read(unsigned long bus, unsigned long dfn, argument
33 dev = pci_find_slot(bus, dfn);
91 sys_pciconfig_write(unsigned long bus, unsigned long dfn, argument
104 dev = pci_find_slot(bus, dfn);
H A Dproc.c4 * Procfs interface for the PCI bus.
215 ret = pci_domain_nr(dev->bus);
345 dev->bus->number,
383 struct pci_bus *bus = dev->bus; local
390 if (!bus->procdir) {
391 if (pci_proc_domain(bus)) {
392 sprintf(name, "%04x:%02x", pci_domain_nr(bus),
393 bus->number);
395 sprintf(name, "%02x", bus
428 pci_proc_detach_bus(struct pci_bus* bus) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Dtopology.h42 #define pcibus_to_cpumask(bus) (cpu_online_map)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/core/
H A Dhcd.c88 /* used when allocating bus numbers */
690 * @bus: the bus structure being initialized
695 static void usb_bus_init (struct usb_bus *bus) argument
697 memset (&bus->devmap, 0, sizeof(struct usb_devmap));
699 bus->devnum_next = 1;
701 bus->root_hub = NULL;
702 bus->busnum = -1;
703 bus->bandwidth_allocated = 0;
704 bus
720 usb_register_bus(struct usb_bus *bus) argument
763 usb_deregister_bus(struct usb_bus *bus) argument
837 usb_enable_root_hub_irq(struct usb_bus *bus) argument
1256 hcd_bus_suspend(struct usb_bus *bus) argument
1274 hcd_bus_resume(struct usb_bus *bus) argument
1345 usb_bus_start_enum(struct usb_bus *bus, unsigned port_num) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/act2000/
H A Dmodule.c200 switch (card->bus) {
208 "act2000_transmit: Illegal bustype %d\n", card->bus);
218 switch (card->bus) {
226 "act2000_receive: Illegal bustype %d\n", card->bus);
260 switch (card->bus) {
278 card->bus);
301 if (act2000_addcard(cdef.bus, cdef.port, cdef.irq, cdef.id))
572 act2000_alloccard(int bus, int port, int irq, char *id) argument
612 card->bus = bus;
670 act2000_addcard(int bus, int port, int irq, char *id) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Debus.c169 if ((baseaddr = dev->bus->self->resource[n].start +
190 if ((dev->irqs[0] = dev->bus->self->irq) != 0) {
210 dev->ofdev.dev.parent = &dev->bus->ofdev.dev;
211 dev->ofdev.dev.bus = &ebus_bus_type;
226 child->bus = dev->bus;
236 child->bus = dev->bus;
306 ebus->ofdev.dev.bus = &ebus_bus_type;
325 dev->bus
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/fs_enet/
H A Dmii-bitbang.c178 static int fs_enet_mii_bb_read(struct mii_bus *bus , int phy_id, int location)
184 struct bb_info* bitbang = bus->priv;
234 static int fs_enet_mii_bb_write(struct mii_bus *bus, int phy_id, int location, u16 val) argument
237 struct bb_info* bitbang = bus->priv;
278 static int fs_enet_mii_bb_reset(struct mii_bus *bus) argument
360 printk (KERN_ERR "%s: Cannot register as MDIO bus\n",
377 struct mii_bus *bus = dev_get_drvdata(dev); local
379 mdiobus_unregister(bus);
383 iounmap((void *) (&bus->priv));
384 bus
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/
H A Dfore200e.c172 chunk->dma_addr = fore200e->bus->dma_map(fore200e, chunk->align_addr, chunk->align_size, direction);
183 fore200e->bus->dma_unmap(fore200e, chunk->dma_addr, chunk->dma_size, chunk->direction);
226 if ((ok = (fore200e->bus->read(addr) == val)))
233 fore200e->bus->read(addr), val);
276 fore200e->bus->dma_chunk_free(fore200e, status);
279 fore200e->bus->dma_chunk_free(fore200e, rbd_block);
292 fore200e->bus->write(BSTAT_COLD_START, &fore200e->cp_monitor->bstat);
294 fore200e->bus->reset(fore200e);
341 fore200e->bus->dma_chunk_free(fore200e, &fore200e->host_rxq.status);
342 fore200e->bus
802 fore200e_sba_detect(const struct fore200e_bus* bus, int index) argument
2614 const struct fore200e_bus* bus = (struct fore200e_bus*) pci_ent->driver_data; local
2698 const struct fore200e_bus* bus; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/eisa/
H A Dpci_eisa.c35 pci_eisa_root.res = pdev->bus->resource[0];
36 pci_eisa_root.bus_base_addr = pdev->bus->resource[0]->start;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/drivers/pci/
H A Ddma-dreamcast.c39 if (dev && dev->bus != &pci_bus_type)
62 if (dev && dev->bus != &pci_bus_type)

Completed in 243 milliseconds

1234567891011>>