/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/ |
H A D | of_device.c | 217 * Default translator (generic bus) 279 * PCI bus specific translator 355 * SBUS bus specific translator 385 * Array of bus specific translators 430 struct of_bus *bus, 457 if (!bus->map(addr, ranges, na, ns, pna)) 470 struct of_bus *bus; local 479 bus = of_match_bus(p_op->node); 480 bus->count_cells(op->node, &na, &ns); 482 preg = of_get_property(op->node, bus 429 build_one_resource(struct device_node *parent, struct of_bus *bus, struct of_bus *pbus, u32 *addr, int na, int ns, int pna) argument 723 of_register_driver(struct of_platform_driver *drv, struct bus_type *bus) argument 788 of_platform_device_create(struct device_node *np, const char *bus_id, struct device *parent, struct bus_type *bus) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/ |
H A D | prom_parse.c | 49 /* Callbacks for bus specific translators */ 64 * Default translator (generic bus) 113 * PCI bus specific translator 181 struct of_bus *bus; local 184 /* Get parent & match bus type */ 188 bus = of_match_bus(parent); 189 if (strcmp(bus->name, "pci")) { 193 bus->count_cells(dev, &na, &ns); 199 prop = of_get_property(dev, bus->addresses, &psize); 210 *flags = bus 420 of_translate_one(struct device_node *parent, struct of_bus *bus, struct of_bus *pbus, u32 *addr, int na, int ns, int pna) argument 487 struct of_bus *bus, *pbus; local 567 struct of_bus *bus; local [all...] |
H A D | of_platform.c | 33 * The list of OF IDs below is used for matching bus types in the 41 * a bus type in the list 154 drv->driver.bus = &of_platform_bus_type; 234 dev->dev.bus = &of_platform_bus_type; 261 * of_platform_bus_create - Create an OF device for a bus node and all its 263 * @bus: device node of the bus to instanciate 267 static int of_platform_bus_create(struct device_node *bus, argument 275 for (child = NULL; (child = of_get_next_child(bus, child)); ) { 300 * unless the specified root itself matches the bus lis [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/drivers/pci/ |
H A D | pci-auto.c | 27 * they can set a fake parent bus pointer to convince the underlying 63 static struct pci_bus bus; local 65 dev.bus = &bus; 68 bus.number = busnr; 69 bus.ops = hose->pci_ops; 72 /* Fake a parent bus structure. */ 73 bus.parent = &bus; 75 bus [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ice1712/ |
H A D | revo.c | 90 static void revo_i2c_start(struct snd_i2c_bus *bus) argument 92 struct snd_ice1712 *ice = bus->private_data; 96 static void revo_i2c_stop(struct snd_i2c_bus *bus) argument 98 struct snd_ice1712 *ice = bus->private_data; 102 static void revo_i2c_direction(struct snd_i2c_bus *bus, int clock, int data) argument 104 struct snd_ice1712 *ice = bus->private_data; 119 static void revo_i2c_setlines(struct snd_i2c_bus *bus, int clk, int data) argument 121 struct snd_ice1712 *ice = bus->private_data; 134 static int revo_i2c_getdata(struct snd_i2c_bus *bus, int ack) argument 136 struct snd_ice1712 *ice = bus [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/ |
H A D | core_mcpcia.c | 44 * Given a bus, device, and function number, compute resulting 71 * 23:16 bus number (8 bits = 128 possible buses) 173 u8 bus = pbus->number; local 176 DBG_CFG(("mk_conf_addr(bus=%d,devfn=0x%x,hose=%d,where=0x%x," 178 bus, devfn, hose->index, where, pci_addr, type1)); 183 if (!pbus->parent) /* No parent means peer PCI bus. */ 184 bus = 0; 185 addr = (bus << 16) | (devfn << 8) | (where); 195 mcpcia_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 198 struct pci_controller *hose = bus 222 mcpcia_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument [all...] |
H A D | core_lca.c | 59 * Given a bus, device, and function number, compute resulting 86 * 23:16 bus number (8 bits = 128 possible buses) 105 u8 bus = pbus->number; local 107 if (bus == 0) { 122 addr = (bus << 16) | (device_fn << 8) | where; 201 lca_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument 208 if (mk_conf_addr(bus, devfn, where, &pci_addr)) 219 lca_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, argument 225 if (mk_conf_addr(bus, devfn, where, &pci_addr)) 422 case MCHK_K_SIO_SERR: reason = "SIO SERR occurred on PCI bus"; brea [all...] |
H A D | core_tsunami.c | 56 * Given a bus, device, and function number, compute resulting 64 * Note also that type 1 is determined by non-zero bus number. 75 * 23:16 bus number (8 bits = 128 possible buses) 95 u8 bus = pbus->number; local 97 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, " 99 bus, device_fn, where, pci_addr, type1)); 101 if (!pbus->parent) /* No parent means peer PCI bus. */ 102 bus = 0; 103 *type1 = (bus != 0); 105 addr = (bus << 1 114 tsunami_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) argument 139 tsunami_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument [all...] |
H A D | sys_sable.c | 258 *32 PCI 0 slot 4 A primary bus 32 259 *33 PCI 0 slot 4 B primary bus 33 260 *34 PCI 0 slot 4 C primary bus 34 261 *35 PCI 0 slot 4 D primary bus 262 *36 PCI 0 slot 5 A primary bus 263 *37 PCI 0 slot 5 B primary bus 264 *38 PCI 0 slot 5 C primary bus 265 *39 PCI 0 slot 5 D primary bus 266 *40 PCI 0 slot 6 A primary bus 267 *41 PCI 0 slot 6 B primary bus [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/host/ |
H A D | ohci-dbg.c | 31 if (!urb->dev || !urb->dev->bus) { 399 static inline void create_debug_files (struct ohci_hcd *bus) { } argument 400 static inline void remove_debug_files (struct ohci_hcd *bus) { } argument 473 struct usb_bus *bus; local 479 bus = class_get_devdata(class_dev); 480 hcd = bus_to_hcd(bus); 499 struct usb_bus *bus; local 512 bus = class_get_devdata(class_dev); 513 hcd = bus_to_hcd(bus); 600 struct usb_bus *bus; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/platforms/ |
H A D | radstone_ppc7d.c | 280 seq_printf(m, "bus speed\t: %dMHz\n", 758 if (dev->bus->number == 0) { 806 if (dev->bus->number == 1) { 864 static int ppc7d_pci_exclude_device(u8 bus, u8 devfn) argument 870 if ((bus == 1) && (PCI_SLOT(devfn) == 4) && ppc7d_has_alma) 873 return mv64x60_pci_exclude_device(bus, devfn); 876 /* This hook is called when each PCI bus is probed. 878 static void ppc7d_pci_fixup_bus(struct pci_bus *bus) argument 881 bus->number, 882 bus [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/ |
H A D | drm_ioctl.c | 42 * Get the bus id. 50 * Copies the bus id from drm_device::unique into user space. 73 * Set the bus id. 81 * Copies the bus id from userspace into drm_device::unique, and verifies that 92 int domain, bus, slot, func, ret; local 124 ret = sscanf(dev->unique, "PCI:%d:%d:%d", &bus, &slot, &func); 127 domain = bus >> 8; 128 bus &= 0xff; 131 (bus != dev->pdev->bus [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ixp2000/ |
H A D | ixdp2x01.c | 260 u8 bus = dev->bus->number; local 262 struct pci_bus *tmp_bus = dev->bus; 264 /* Primary bus, no interrupts here */ 265 if (bus == 0) { 269 /* Lookup first leaf in bus tree */ 275 switch (tmp_bus->self->devfn | (tmp_bus->self->bus->number << 8)) { 278 if (tmp_bus == dev->bus) { 301 if (tmp_bus == dev->bus) { 303 /* Secondary bus o [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ixp4xx/ |
H A D | common-pci.c | 54 * with corrupt data on the bus or in a driver. 237 static int ixp4xx_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *value) argument 240 u8 bus_num = bus->number; 260 static int ixp4xx_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument 263 u8 bus_num = bus->number; 319 if(dev->bus == &pci_bus_type) { 329 if(dev->bus == &pci_bus_type) { 337 return (dev->bus == &pci_bus_type ) && ((dma_addr + size) >= SZ_64M); 422 printk("PCI: IXP4xx is target - No bus scan performed\n"); 438 * respond to PCI configuration cycles. Specify that the AHB bus i [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/sbus/ |
H A D | sbus.c | 74 sdev->ofdev.dev.parent = &sdev->bus->ofdev.dev; 75 sdev->ofdev.dev.bus = &sbus_bus_type; 149 __apply_ranges_to_regs(sdev->bus->sbus_ranges, 150 sdev->bus->num_sbus_ranges, 177 /* We preserve the "probe order" of these bus and device lists to give 206 sdev->bus = sbus; 250 sbus->ofdev.dev.bus = &sbus_bus_type; 265 sdev->bus = sbus;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-daemon/ |
H A D | dbus-protocol.c | 165 assert(!server->bus); 1020 if (!server || !server->bus) 1034 dbus_connection_send(server->bus, m, NULL); 1051 assert(!server->bus); 1056 if (!(server->bus = dbus_bus_get_private(DBUS_BUS_SYSTEM, &error))) { 1068 if (!(server->bus = dbus_connection_open_private(a, &error))) { 1074 if (!dbus_bus_register(server->bus, &error)) { 1082 if (avahi_dbus_connection_glue(server->bus, server->poll_api) < 0) { 1087 dbus_connection_set_exit_on_disconnect(server->bus, FALSE); 1090 server->bus, [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/ |
H A D | de4x5.h | 16 #define DE4X5_BMR iobase+(0x000 << lp->bus) /* Bus Mode Register */ 17 #define DE4X5_TPD iobase+(0x008 << lp->bus) /* Transmit Poll Demand Reg */ 18 #define DE4X5_RPD iobase+(0x010 << lp->bus) /* Receive Poll Demand Reg */ 19 #define DE4X5_RRBA iobase+(0x018 << lp->bus) /* RX Ring Base Address Reg */ 20 #define DE4X5_TRBA iobase+(0x020 << lp->bus) /* TX Ring Base Address Reg */ 21 #define DE4X5_STS iobase+(0x028 << lp->bus) /* Status Register */ 22 #define DE4X5_OMR iobase+(0x030 << lp->bus) /* Operation Mode Register */ 23 #define DE4X5_IMR iobase+(0x038 << lp->bus) /* Interrupt Mask Register */ 24 #define DE4X5_MFC iobase+(0x040 << lp->bus) /* Missed Frame Counter */ 25 #define DE4X5_APROM iobase+(0x048 << lp->bus) /* Etherne [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/kernel/ |
H A D | mpparse.c | 185 Dprintk("Int: type %d, pol %d, trig %d, bus %d," 196 Dprintk("Lint: type %d, pol %d, trig %d, bus %d," 338 printk(KERN_INFO "ISA/PCI bus type with no IRQ information... falling back to ELCR\n"); 385 struct mpc_config_bus bus; local 411 bus.mpc_type = MP_BUS; 412 bus.mpc_busid = 0; 420 memcpy(bus.mpc_bustype, "ISA ", 6); 423 MP_bus_info(&bus); 425 bus.mpc_busid = 1; 426 memcpy(bus 502 struct mpc_config_bus bus; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/phy/ |
H A D | phy.c | 66 * because the bus read/write functions may wait for an interrupt 72 struct mii_bus *bus = phydev->bus; local 74 spin_lock_bh(&bus->mdio_lock); 75 retval = bus->read(bus, phydev->addr, regnum); 76 spin_unlock_bh(&bus->mdio_lock); 89 * because the bus read/write functions may wait for an interrupt 95 struct mii_bus *bus = phydev->bus; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/brcm-boards/bcm947xx/ |
H A D | pcibios.c | 57 sbpci_read_config_reg(struct pci_bus *bus, unsigned int devfn, int where, argument 64 ret = hndpci_read_config(sih, bus->number, PCI_SLOT(devfn), 71 sbpci_write_config_reg(struct pci_bus *bus, unsigned int devfn, int where, argument 78 ret = hndpci_write_config(sih, bus->number, PCI_SLOT(devfn), 116 /* Scan the SB bus */ 141 printk("PCI: Fixing up bus %d\n", b->number); 154 /* Find the corresponding IRQ of the PCI/PCIe core per bus number */ 155 /* All devices on the bus use the same IRQ as the core */ 214 if (dev->bus->number == 0) 244 if (dev->bus [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/ |
H A D | cpqphp_nvram.c | 80 u8 bus; member in struct:ev_hrt_ctrl 282 // The bus number 283 rc = add_byte( &pFill, ctrl->bus, &usedbytes, &available); 377 // Figure out bus Available 440 u8 bus, device, function; local 477 bus = p_ev_ctrl->bus; 481 while ((bus != ctrl->bus) || 507 bus [all...] |
H A D | pciehp_core.c | 197 slot->bus, slot->number); 227 slot->bus = ctrl->pci_dev->subordinate->number; 245 dbg("Registering bus=%x dev=%x hp_slot=%x sun=%x " 246 "slot_device_offset=%x\n", slot->bus, slot->device, 393 struct pci_bus *bus = slot->ctrl->pci_dev->subordinate; local 397 *value = (pci_domain_nr(bus) << 16) | (slot->bus << 8) | slot->device; 456 ctrl->bus = pdev->bus->number; /* ctrl bus */ [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/85xx/ |
H A D | mpc85xx_cds.c | 65 static int mpc85xx_exclude_device(u_char bus, u_char devfn) argument 67 if (bus == 0 && PCI_SLOT(devfn) == 0) 70 if (bus == (mpc85xx_pci2_busno) && PCI_SLOT(devfn) == 0) 73 if ((bus == 1) && (PCI_SLOT(devfn) == ARCADIA_2ND_BRIDGE_IDSEL)) 75 if ((bus == 0) && (PCI_SLOT(devfn) == ARCADIA_2ND_BRIDGE_IDSEL))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/ |
H A D | gdth_ioctl.h | 20 #define GDTIOCTL_RESET_BUS (GDTIOCTL_MASK |10) /* reset SCSI bus */ 104 unchar bus; /* SCSI bus number */ member in struct:__anon6568::__anon6569::__anon6576 123 unchar bus; /* SCSI bus number */ member in struct:__anon6568::__anon6569::__anon6577 217 unchar bus; /* SCSI bus */ member in struct:__anon6585::__anon6586::__anon6591 264 unchar bus; /* SCSI bus, 0xff: invalid */ member in struct:__anon6593::__anon6594::__anon6601 333 unchar bus; /* SCS member in struct:__anon6608::__anon6609 [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/ |
H A D | core.c | 39 * the device is not bound to a device, it will return the name of the bus 40 * it is attached to. If it is not attached to a bus either, an empty 46 (dev->bus ? dev->bus->name : 125 if (dev->bus) 137 if (dev->bus) 138 return dev->bus->name; 176 /* find first bus device in parent chain */ 177 while (parent && !parent->bus) 179 if (parent && parent->bus) { [all...] |