Searched refs:bus (Results 201 - 225 of 892) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-integrator/
H A Dpci.c85 while (dev->bus->self) {
90 dev = dev->bus->self;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-versatile/
H A Dversatile_ab.c25 #include <linux/amba/bus.h>
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/plat-iop/
H A Dpci.c38 * bus is on the 803xx then a type0 made, else a type1 is created.
40 static u32 iop3xx_cfg_address(struct pci_bus *bus, int devfn, int where) argument
42 struct pci_sys_data *sys = bus->sysdata;
45 if (sys->busnr == bus->number)
48 addr = bus->number << 16 | PCI_SLOT(devfn) << 11 | 1;
114 iop3xx_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
117 unsigned long addr = iop3xx_cfg_address(bus, devfn, where);
129 iop3xx_write_config(struct pci_bus *bus, unsigned int devfn, int where, argument
132 unsigned long addr = iop3xx_cfg_address(bus, devfn, where);
171 * bus erro
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/
H A Dfixup-tx4938.c44 if (dev->bus->parent == NULL &&
79 dev->bus->number, dev->devfn, PCI_SLOT(dev->devfn),
H A Dpci-ip27.c25 * Max #PCI devices (like scsi controllers) we handle on a bus.
32 * Translate from irq to software PCI bus number and PCI slot.
134 struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus);
159 struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus);
170 struct bridge_controller *bc = BRIDGE_CONTROLLER(dev->bus);
184 int pcibus_to_node(struct pci_bus *bus) argument
186 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/pcie/aer/
H A Daerdrv_acpi.c27 * Invoked when PCIE bus loads AER service driver. To avoid conflict with
39 if (!pdev || !pdev->bus->parent)
41 parent = pdev->bus->parent;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/phy/
H A Dfixed.c79 if(phydev->bus) {
80 fixed = phydev->bus->priv;
139 static int fixed_mii_read(struct mii_bus *bus, int phy_id, int location) argument
141 struct fixed_info *fixed = bus->priv;
158 static int fixed_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) argument
164 static int fixed_mii_reset(struct mii_bus *bus) argument
244 /* create phy_device and register it on the mdio bus */
248 Put the phydev pointer into the fixed pack so that bus read/write code could
260 phydev->dev.bus = &mdio_bus_type;
268 phydev->bus
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Ducc_geth_mii.h96 int uec_mdio_read(struct mii_bus *bus, int mii_id, int regnum);
97 int uec_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/i2o/
H A DMakefile9 i2o_bus-y += bus-osm.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc/
H A Dof_device.h68 struct bus_type *bus);
75 struct bus_type *bus);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dtopology.h53 * Determines the node for a given pci bus
55 #define pcibus_to_node(bus) PCI_CONTROLLER(bus)->node
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dphy.h72 /* Used when trying to connect to a specific phy (mii bus id:phy device id) */
81 int (*read)(struct mii_bus *bus, int phy_id, int regnum);
82 int (*write)(struct mii_bus *bus, int phy_id, int regnum, u16 val);
83 int (*reset)(struct mii_bus *bus);
86 * the MDIO bus at a time */
91 /* list of all PHYs on bus */
203 * bus: Pointer to the bus this PHY is on
235 struct mii_bus *bus; member in struct:phy_device
310 * for the bus rea
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dcore_apecs.c49 * Given a bus, device, and function number, compute resulting
76 * 23:16 bus number (8 bits = 128 possible buses)
95 u8 bus = pbus->number; local
97 DBGC(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x,"
99 bus, device_fn, where, pci_addr, type1));
101 if (bus == 0) {
117 addr = (bus << 16) | (device_fn << 8) | (where);
269 apecs_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
277 if (mk_conf_addr(bus, devfn, where, &pci_addr, &type1))
288 apecs_write_config(struct pci_bus *bus, unsigne argument
[all...]
H A Dcore_irongate.c47 * Given a bus, device, and function number, compute resulting
53 * addr[23:16] bus number (8 bits = 128 possible buses)
59 * if (bus = addr[23:16]) == 0
86 u8 bus = pbus->number; local
88 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x, "
90 bus, device_fn, where, pci_addr, type1));
92 *type1 = (bus != 0);
94 addr = (bus << 16) | (device_fn << 8) | where;
103 irongate_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
109 if (mk_conf_addr(bus, devf
128 irongate_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
[all...]
H A Dsys_noritake.c181 * 1 OR of secondary bus ints
228 /* The following 5 are actually on PCI bus 1, which is
245 if (dev->bus->number == 0) {
249 else if (PCI_SLOT(dev->bus->self->devfn) == 8) {
256 if (PCI_SLOT(dev->bus->self->devfn) == 8) {
263 dev = dev->bus->self;
266 } while (dev->bus->self);
H A Dsys_ruffian.c97 * Primary bus
104 * Secondary bus
125 /* the next 6 are actually on PCI bus 1, across the bridge */
142 if (dev->bus->number == 0) {
146 else if (PCI_SLOT(dev->bus->self->devfn) == 13) {
153 if (PCI_SLOT(dev->bus->self->devfn) == 13) {
160 dev = dev->bus->self;
163 } while (dev->bus->self);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/core/
H A Ddevices.c26 * I considered using /proc/bus/usb/devices/device# for each device
41 * into one page, only the device list for one bus.
42 * Added a poll method to /proc/bus/usb/devices, to wake
48 * per device, not per bus
110 * Need access to the driver and USB bus lists.
449 struct usb_device *usbdev, struct usb_bus *bus, int level, int index, int count)
486 bus->busnum, level, parent_devnum,
510 bus->bandwidth_allocated, max,
511 (100 * bus->bandwidth_allocated + max / 2)
513 bus
448 usb_device_dump(char __user **buffer, size_t *nbytes, loff_t *skip_bytes, loff_t *file_offset, struct usb_device *usbdev, struct usb_bus *bus, int level, int index, int count) argument
561 struct usb_bus *bus; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/parisc/
H A Dlba_pci.c57 ** Config accessor functions only pass in the 8-bit bus number and not
58 ** the 8-bit "PCI Segment" number. Each LBA will be assigned a PCI bus
61 ** The "secondary" bus number is set to this before calling
67 ** bus number for each LBA depending on what firmware does.
90 ** Problem is the PCI bus numbering is globally shared.
116 #define LBA_CFG_TOK(bus,dfn) ((u32) ((bus)<<16 | (dfn)<<8))
148 static int lba_device_present(u8 bus, u8 dfn, struct lba_device *d) argument
153 if ((bus < first_bus) ||
154 (bus > last_sub_bu
322 elroy_cfg_read(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 *data) argument
388 elroy_cfg_write(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 data) argument
437 mercury_cfg_read(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 *data) argument
469 mercury_cfg_write(struct pci_bus *bus, unsigned int devfn, int pos, int size, u32 data) argument
612 lba_fixup_bus(struct pci_bus *bus) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Disa.c64 isa_dev->bus = parent_isa_dev->bus;
91 isa_dev->ofdev.dev.bus = &isa_bus_type;
115 isa_dev->bus = isa_br;
156 isa_br->ofdev.dev.bus = &isa_bus_type;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ixp23xx/
H A Dpci.c60 * For top bus, generate type 0, else type 1
91 static int ixp23xx_pci_read_config(struct pci_bus *bus, unsigned int devfn, argument
100 bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
102 addr = ixp23xx_pci_config_addr(bus->number, devfn, where);
122 static int ixp23xx_pci_write_config(struct pci_bus *bus, unsigned int devfn, argument
130 addr = ixp23xx_pci_config_addr(bus->number, devfn, where);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Dcpcihp_generic.c69 static struct pci_bus *bus; variable in typeref:struct:pci_bus
95 err("Invalid hotplug bus bridge device bus number");
101 err("Invalid hotplug bus bridge device");
107 err("Invalid hotplug bus bridge device slot number");
162 bus = dev->subordinate;
175 status = cpci_hp_register_bus(bus, first_slot, last_slot);
177 err("Could not register cPCI hotplug bus");
180 dbg("registered bus");
190 cpci_hp_unregister_bus(bus);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dpci.h22 * Each pci channel is a top-level PCI bus seem by CPU. A machine with
28 struct pci_bus *bus; member in struct:pci_controller
44 /* Optional access methods for reading/writing the bus number
63 already-configured bus numbers - to be used for buggy BIOSes
169 #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index
171 static inline int pci_proc_domain(struct pci_bus *bus) argument
173 struct pci_controller *hose = bus->sysdata;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dpci.h22 * Each pci channel is a top-level PCI bus seem by CPU. A machine with
28 struct pci_bus *bus; member in struct:pci_controller
44 /* Optional access methods for reading/writing the bus number
63 already-configured bus numbers - to be used for buggy BIOSes
169 #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index
171 static inline int pci_proc_domain(struct pci_bus *bus) argument
173 struct pci_controller *hose = bus->sysdata;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Dpci.h24 struct pci_bus *bus; member in struct:pci_controller
51 bus numbers. */
89 The 32-bit PCI bus mastering address to use is returned. Once the device
197 only drive the low 24-bits during PCI bus mastering, then
270 #define pci_domain_nr(bus) ((struct pci_controller *)(bus)->sysdata)->index
272 static inline int pci_proc_domain(struct pci_bus *bus) argument
274 struct pci_controller *hose = bus->sysdata;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/52xx/
H A Dmpc52xx_pci.c108 mpc52xx_pci_read_config(struct pci_bus *bus, unsigned int devfn, argument
111 struct pci_controller *hose = bus->sysdata;
115 if (ppc_md.pci_exclude_device(bus->number, devfn))
120 ((bus->number - hose->bus_offset) << 16) |
126 if (bus->number != hose->bus_offset) {
163 mpc52xx_pci_write_config(struct pci_bus *bus, unsigned int devfn, argument
166 struct pci_controller *hose = bus->sysdata;
170 if (ppc_md.pci_exclude_device(bus->number, devfn))
175 ((bus->number - hose->bus_offset) << 16) |
181 if (bus
[all...]

Completed in 939 milliseconds

1234567891011>>