Searched refs:bus (Results 126 - 150 of 892) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/drivers/pci/
H A Dops-dreamcast.c68 static int gapspci_config_access(unsigned char bus, unsigned int devfn) argument
70 return (bus == 0) && (devfn == 0);
78 static int gapspci_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
82 if (!gapspci_config_access(bus->number, devfn))
94 static int gapspci_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
96 if (!gapspci_config_access(bus->number, devfn))
H A Dops-sh4.c18 #define CONFIG_CMD(bus, devfn, where) \
19 P1SEGADDR((bus->number << 16) | (devfn << 8) | (where & ~3))
26 static int sh4_pci_read(struct pci_bus *bus, unsigned int devfn, argument
37 pci_write_reg(CONFIG_CMD(bus, devfn, where), SH4_PCIPAR);
63 static int sh4_pci_write(struct pci_bus *bus, unsigned int devfn, argument
71 pci_write_reg(CONFIG_CMD(bus, devfn, where), SH4_PCIPAR);
H A Dfixups-sh03.c10 if (dev->bus->number == 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/power/
H A Dresume.c40 if (dev->bus && dev->bus->resume) {
42 error = dev->bus->resume(dev);
68 if (dev->bus && dev->bus->resume_early) {
70 error = dev->bus->resume_early(dev);
H A Dsuspend.c93 if (!error && dev->bus && dev->bus->suspend && !dev->power.power_state.event) {
101 error = dev->bus->suspend(dev, state);
102 suspend_report_result(dev->bus->suspend, error);
118 if (dev->bus && dev->bus->suspend_late && !dev->power.power_state.event) {
126 error = dev->bus->suspend_late(dev, state);
127 suspend_report_result(dev->bus->suspend_late, error);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ixp2000/
H A Dixdp2400.c87 * Root bus devices. Slave NPU is only one with interrupt.
89 * on the root bus has interrupts.
91 if(!dev->bus->self) {
102 if(dev->bus->self->devfn == IXDP2X00_PMC_DEVFN &&
103 dev->bus->parent->self->devfn == IXDP2X00_P2P_DEVFN &&
104 !dev->bus->parent->self->bus->parent)
110 if(dev->bus->self->devfn == IXDP2X00_P2P_DEVFN) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/kernel/
H A Dsummit.c41 int i, bus, num_buses; local
68 * the 66MHz PCI bus [2 slots] and the 2 "extra" buses in case
75 * each], their 2 "extra" buses, the 100MHz bus [2 slots] and
92 for(bus = last_bus; bus < last_bus + num_buses; bus++)
93 mp_bus_id_to_node[bus] = node;
94 return bus;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/parisc/
H A Ddino.c15 ** This module provides access to Dino PCI bus (config/IOport spaces)
73 ** Config accessor functions only pass in the 8-bit bus number
75 ** assigned a PCI bus number based on "when" it's discovered.
77 ** The "secondary" bus number is set to this before calling
83 ** bus number for each dino.
162 #define DINO_CFG_TOK(bus,dfn,pos) ((u32) ((bus)<<16 | (dfn)<<8 | (pos)))
165 * keep the current highest bus count to assist in allocating busses. This
166 * tries to keep a global bus count total so that when we discover an
167 * entirely new bus, i
171 dino_cfg_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
206 dino_cfg_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
466 dino_card_setup(struct pci_bus *bus, void __iomem *base_addr) argument
559 dino_fixup_bus(struct pci_bus *bus) argument
933 struct pci_bus *bus; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/core/
H A Dbuffer.c5 * and should work with all USB controllers, regardles of bus type.
41 * @hcd: the bus whose buffer pools are to be initialized
76 * @hcd: the bus whose buffer pools are to be destroyed
100 struct usb_bus *bus,
106 struct usb_hcd *hcd = bus_to_hcd(bus);
110 if (!bus->controller->dma_mask) {
123 struct usb_bus *bus,
129 struct usb_hcd *hcd = bus_to_hcd(bus);
135 if (!bus->controller->dma_mask) {
99 hcd_buffer_alloc( struct usb_bus *bus, size_t size, gfp_t mem_flags, dma_addr_t *dma ) argument
122 hcd_buffer_free( struct usb_bus *bus, size_t size, void *addr, dma_addr_t dma ) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/i2c/
H A Dtea6330t.c2 * Routines for control of the TEA6330T circuit via i2c bus
31 MODULE_DESCRIPTION("Routines for control of the TEA6330T circuit via i2c bus");
50 struct snd_i2c_bus *bus; member in struct:tea6330t
60 int snd_tea6330t_detect(struct snd_i2c_bus *bus, int equalizer) argument
64 snd_i2c_lock(bus);
65 res = snd_i2c_probeaddr(bus, TEA6330T_ADDR);
66 snd_i2c_unlock(bus);
91 snd_i2c_lock(tea->bus);
94 snd_i2c_unlock(tea->bus);
108 snd_i2c_lock(tea->bus);
288 snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus, int equalizer, int fader) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dpci_32.c41 static int pci_relocate_bridge_resource(struct pci_bus *bus, int i);
44 static void update_bridge_base(struct pci_bus *bus, int i);
53 /* By default, we don't re-assign bus numbers. We do this only on
200 struct pci_bus *bus; local
204 /* Depth-First Search on bus tree */
205 list_for_each_entry(bus, bus_list, node) {
207 if ((res = bus->resource[i]) == NULL || !res->flags
210 if (bus->parent == NULL)
214 pr = pci_find_parent_resource(bus->self, res);
238 "%d of PCI bridge %d\n", i, bus
286 pci_relocate_bridge_resource(struct pci_bus *bus, int i) argument
346 struct pci_bus *bus; local
388 update_bridge_base(struct pci_bus *bus, int i) argument
723 scan_OF_for_pci_bus(struct pci_bus *bus) argument
751 pci_busdev_to_OF_node(struct pci_bus *bus, int devfn) argument
809 pci_device_from_OF_node(struct device_node* node, u8* bus, u8* devfn) argument
1019 do_update_p2p_io_resource(struct pci_bus *bus, int enable_vga) argument
1060 check_for_io_childs(struct pci_bus *bus, struct resource* res, int *found_vga) argument
1110 do_fixup_p2p_level(struct pci_bus *bus) argument
1208 struct pci_bus *bus; local
1263 pcibios_fixup_bus(struct pci_bus *bus) argument
1432 pci_bus_to_hose(int bus) argument
1443 pci_bus_io_base(unsigned int bus) argument
1454 pci_bus_io_base_phys(unsigned int bus) argument
1465 pci_bus_mem_base_phys(unsigned int bus) argument
1696 sys_pciconfig_iobase(long which, unsigned long bus, unsigned long devfn) argument
1809 null_read_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 *val) argument
1816 null_write_config(struct pci_bus *bus, unsigned int devfn, int offset, int len, u32 val) argument
1835 static struct pci_bus bus; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/kernel/
H A Dpci.c44 * accessing the PCI bus once #RESET is de-asserted.
45 * PCI spec somewhere says 1 second but with multi-PCI bus systems,
57 /* parisc_pci_hba used by pci_port->in/out() ops to lookup bus data. */
70 * pci_port into an array, we reserve bus 0 for EISA and call the EISA
71 * routines if the access is to a port on bus 0. We don't want to fix
131 /* Called from pci_do_scan_bus() *after* walking a bus but before walking PPBs. */
132 void pcibios_fixup_bus(struct pci_bus *bus) argument
135 pci_bios->fixup_bus(bus);
152 * Map Expansion ROM BAR into one common PA IO space per bus.
159 * bus number
179 pcibios_init_bus(struct pci_bus *bus) argument
226 struct pci_bus *bus = dev->bus; local
254 struct pci_bus *bus = dev->bus; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Dfakephp.c172 * @param temp Device template. Should be set: bus and devfn.
176 struct pci_bus *bus = temp->bus; local
184 if ((dev = pci_get_slot(bus, temp->devfn)) != NULL)
187 dev = pci_scan_single_device(bus, temp->devfn);
190 bus->name, temp->devfn >> 3,
210 if ((dev = pci_get_slot(bus, temp->devfn)) != NULL)
213 dev = pci_scan_single_device(bus, temp->devfn);
216 bus->name, temp->devfn >> 3,
232 * Rescan PCI bus
237 pci_rescan_bus(const struct pci_bus *bus) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pcmcia/
H A Dcardbus.c192 static void cardbus_assign_irqs(struct pci_bus *bus, int irq) argument
196 list_for_each_entry(dev, &bus->devices, bus_list) {
212 struct pci_bus *bus = s->cb_dev->subordinate; local
216 s->functions = pci_scan_slot(bus, PCI_DEVFN(0, 0));
217 // pcibios_fixup_bus(bus);
219 max = bus->secondary;
221 list_for_each_entry(dev, &bus->devices, bus_list)
224 max = pci_scan_bridge(bus, dev, max, pass);
229 pci_bus_size_bridges(bus);
230 pci_bus_assign_resources(bus);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dpci.c35 "PCI IO bus 0", "PCI IO bus 1", "PCI IO bus 2", "PCI IO bus 3",
36 "PCI IO bus 4", "PCI IO bus 5", "PCI IO bus 6", "PCI IO bus 7"
40 "PCI mem bus 0", "PCI mem bus
258 pcibios_fixup_device_resources(struct pci_dev *dev, struct pci_bus *bus) argument
277 pcibios_fixup_bus(struct pci_bus *bus) argument
450 struct pci_bus *bus; local
504 sys_pciconfig_iobase(long which, unsigned long bus, unsigned long dfn) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ac97/
H A Dac97_pcm.c299 tmp = (rate * ac97->bus->clock) / 48000;
433 int snd_ac97_pcm_assign(struct snd_ac97_bus *bus, argument
454 codec = bus->codec[i];
461 if (bus->codec[j])
479 rpcm->bus = bus;
483 if (!bus->codec[j])
503 rpcm->r[0].codec[j] = bus->codec[j];
505 if (bus->no_vra)
518 bus
558 struct snd_ac97_bus *bus; local
640 struct snd_ac97_bus *bus; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/ps3/
H A DMakefile3 obj-y += system-bus.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/
H A Dmpic_u3msi.c67 struct pci_bus *bus; local
70 for (bus = pdev->bus; bus; bus = bus->parent) {
71 pos = pci_find_ht_capability(bus->self, HT_CAPTYPE_MSI_MAPPING);
73 return read_ht_magic_addr(bus->self, pos);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/
H A Dbase.h21 extern struct bus_type *get_bus(struct bus_type * bus);
22 extern void put_bus(struct bus_type * bus);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/mach-visws/
H A Dreboot.c45 #define PCI_CONF1_ADDRESS(bus, devfn, reg) \
46 (0x80000000 | (bus << 16) | (devfn << 8) | (reg & ~3))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/kernel/
H A Dpci_sh5.h55 #define PCISH5_ICR_BMIR 0x138 /* Interrupt error info register of bus master values */
98 #define SET_CONFIG_BITS(bus,devfn,where) ((((bus) << 16) | ((devfn) << 8) | ((where) & ~3)) | 0x80000000)
101 #define CONFIG_CMD(bus, devfn, where) SET_CONFIG_BITS(bus->number,devfn,where)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/rio/
H A Drioinfo.h46 int bus; /* ISA/EISA/MCA/PCI */ member in struct:RioHostInfo
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/xtensa/kernel/
H A Dpci.c141 struct pci_bus *bus; local
149 bus = pci_scan_bus(pci_ctrl->first_busno, pci_ctrl->ops,
157 bus->resource[0] = &pci_ctrl->io_resource;
161 bus->resource[i+1] =&pci_ctrl->mem_resources[i];
162 pci_ctrl->bus = bus;
163 pci_ctrl->last_busno = bus->subordinate;
174 void __init pcibios_fixup_bus(struct pci_bus *bus) argument
176 struct pci_controller *pci_ctrl = bus->sysdata;
182 if (bus
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/pci/
H A Dpci.h56 u8 bus, devfn; /* Bus, device and function */ member in struct:irq_info
86 extern int pci_conf1_write(unsigned int seg, unsigned int bus,
88 extern int pci_conf1_read(unsigned int seg, unsigned int bus,
104 extern int __init pci_mmcfg_arch_reachable(unsigned int seg, unsigned int bus,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/pci/
H A Dops-vr41xx.c61 static int pci_config_read(struct pci_bus *bus, unsigned int devfn, int where, argument
67 if (set_pci_configuration_address(bus->number, devfn, where) < 0)
89 static int pci_config_write(struct pci_bus *bus, unsigned int devfn, int where, argument
95 if (set_pci_configuration_address(bus->number, devfn, where) < 0)

Completed in 227 milliseconds

1234567891011>>