Searched refs:io_base (Results 1 - 25 of 67) sorted by relevance

123

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/oss/
H A Dadlib_card.c22 hw_config->slots[0] = opl3_init(hw_config->io_base, hw_config->osp, THIS_MODULE);
27 return opl3_detect(hw_config->io_base, hw_config->osp);
38 cfg.io_base = io;
40 if (cfg.io_base == -1) {
H A Dtrix.c96 switch (hw_config->io_base)
129 int config_port = hw_config->io_base + 0;
179 ports = request_region(hw_config->io_base + 4, 4, "ad1848");
181 printk(KERN_ERR "AudioTrix: MSS I/O port conflict (%x)\n", hw_config->io_base);
185 if (!request_region(hw_config->io_base, 4, "MSS config")) {
186 printk(KERN_ERR "AudioTrix: MSS I/O port conflict (%x)\n", hw_config->io_base);
187 release_region(hw_config->io_base + 4, 4);
194 config = inb(hw_config->io_base + 3);
198 MDB(printk(KERN_ERR "No MSS signature detected on port 0x%x\n", hw_config->io_base));
266 release_region(hw_config->io_base,
[all...]
H A Dsb_card.c100 if (!request_region(scc->conf.io_base, 16, "soundblaster")) {
107 release_region(scc->conf.io_base, 16);
117 if(scc->mpucnf.io_base > 0) {
145 legacy->conf.io_base = io;
151 legacy->mpucnf.io_base = mpu_io;
168 scc->conf.io_base = -1;
172 scc->mpucnf.io_base = -1;
180 scc->conf.io_base = pnp_port_start(dev,0);
184 scc->mpucnf.io_base = pnp_port_start(dev,1);
188 scc->conf.io_base
[all...]
H A Dad1848.h16 void ad1848_unload (int io_base, int irq, int dma_playback, int dma_capture, int share_dma);
H A Dopl3sa2.c559 if (!request_region(hw_config->io_base, 2, OPL3SA2_MODULE_NAME)) {
561 hw_config->io_base);
569 opl3sa2_read(hw_config->io_base, OPL3SA2_MISC, &misc);
570 opl3sa2_write(hw_config->io_base, OPL3SA2_MISC, misc ^ 0x07);
571 opl3sa2_read(hw_config->io_base, OPL3SA2_MISC, &tmp);
574 hw_config->io_base);
581 opl3sa2_read(hw_config->io_base, OPL3SA2_MIC, &tmp);
582 opl3sa2_write(hw_config->io_base, OPL3SA2_MIC, 0x8a);
583 opl3sa2_read(hw_config->io_base, OPL3SA2_MIC, &tmp);
587 hw_config->io_base);
[all...]
H A Dpss.c182 devc->base = hw_config->io_base;
699 devc->base = hw_config->io_base;
720 release_region(hw_config->io_base, 0x10);
721 release_region(hw_config->io_base+0x10, 0x9);
727 release_region(hw_config->io_base, 0x10);
728 release_region(hw_config->io_base+0x10, 0x9);
734 release_region(hw_config->io_base, 0x10);
735 release_region(hw_config->io_base+0x10, 0x9);
755 ports = request_region(hw_config->io_base, 2, "mpu401");
761 if (!set_io_base(devc, CONF_MIDI, hw_config->io_base)) {
[all...]
H A Dcs4232.c85 mpu_base = hw_config->io_base;
132 int base = hw_config->io_base, irq = hw_config->irq;
285 hw_config2.io_base = mpu_base;
314 int base = hw_config->io_base, irq = hw_config->irq;
334 hw_config2.io_base = mpu_base;
418 isapnpcfg->io_base = pnp_port_start(dev, 0);
472 cfg.io_base = io;
477 cfg_mpu.io_base = -1;
481 cfg_mpu.io_base = mpuio;
H A Dpas2_card.c246 if (sb_config->io_base)
262 pas_write((sb_config->io_base >> 4) & 0x0f, 0xF789);
263 pas_sb_base = sb_config->io_base;
298 outb((hw_config->io_base >> 2), 0x9A01); /* Set base address */
299 pas_translate_code = hw_config->io_base - 0x388;
405 cfg.io_base = io;
410 cfg2.io_base = sb_io;
415 if (cfg.io_base == -1 || cfg.dma == -1 || cfg.irq == -1) {
H A Duart401.c304 if (!request_region(hw_config->io_base, 4, "MPU-401 UART")) {
305 printk(KERN_INFO "uart401: could not request_region(%d, 4)\n", hw_config->io_base);
315 devc->base = hw_config->io_base;
392 release_region(hw_config->io_base, 4);
412 release_region(hw_config->io_base, 4);
443 cfg_mpu.io_base = io;
447 if (cfg_mpu.io_base != -1 && cfg_mpu.irq != -1) {
458 if (cfg_mpu.io_base != -1 && cfg_mpu.irq != -1)
H A Dsb_common.c306 switch (hw_config->io_base)
318 printk(KERN_ERR "SB16: Invalid MIDI I/O port %x\n", hw_config->io_base);
353 if (jazz16_base != 0 && jazz16_base != hw_config->io_base)
356 switch (hw_config->io_base)
371 jazz16_base = hw_config->io_base;
511 DDB(printk("sb_dsp_detect(%x) entered\n", hw_config->io_base));
516 devc->base = hw_config->io_base;
625 MDB(printk(KERN_INFO "SB %d.%02d detected OK (%x)\n", devc->major, devc->minor, hw_config->io_base));
639 DDB(printk("sb_dsp_init(%x) entered\n", hw_config->io_base));
650 if (devc->base != hw_config->io_base)
[all...]
H A Dwaveartist.c162 unsigned int ctlr_port = hw->io_base + CTLR;
174 unsigned int ctlr_port = devc->hw.io_base + CTLR;
210 if (inb(hw->io_base + STATR) & CMD_RF) {
211 res = inw(hw->io_base + CMDR);
236 unsigned int io_base = devc->hw.io_base; local
249 if (inb(io_base + STATR) & CMD_RF) {
255 old_data = inw(io_base + CMDR);
267 if (inb(io_base + STATR) & CMD_WE)
273 outw(cmd[i], io_base
[all...]
H A Dsound_config.h66 int io_base; member in struct:address_info
H A Duart6850.c241 uart6850_base = hw_config->io_base;
275 uart6850_base = hw_config->io_base;
302 cfg_mpu.io_base = io;
305 if (cfg_mpu.io_base == -1 || cfg_mpu.irq == -1) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/arm/plat-omap/
H A Dmcbsp.c41 u32 io_base; member in struct:omap_mcbsp
83 DBG("DRR2: 0x%04x\n", OMAP_MCBSP_READ(mcbsp[id].io_base, DRR2));
84 DBG("DRR1: 0x%04x\n", OMAP_MCBSP_READ(mcbsp[id].io_base, DRR1));
85 DBG("DXR2: 0x%04x\n", OMAP_MCBSP_READ(mcbsp[id].io_base, DXR2));
86 DBG("DXR1: 0x%04x\n", OMAP_MCBSP_READ(mcbsp[id].io_base, DXR1));
87 DBG("SPCR2: 0x%04x\n", OMAP_MCBSP_READ(mcbsp[id].io_base, SPCR2));
88 DBG("SPCR1: 0x%04x\n", OMAP_MCBSP_READ(mcbsp[id].io_base, SPCR1));
89 DBG("RCR2: 0x%04x\n", OMAP_MCBSP_READ(mcbsp[id].io_base, RCR2));
90 DBG("RCR1: 0x%04x\n", OMAP_MCBSP_READ(mcbsp[id].io_base, RCR1));
91 DBG("XCR2: 0x%04x\n", OMAP_MCBSP_READ(mcbsp[id].io_base, XCR
155 u32 io_base = mcbsp[id].io_base; local
378 u32 io_base; local
413 u32 io_base; local
507 u32 io_base; local
524 u32 io_base; local
545 u32 io_base = mcbsp[id].io_base; local
598 u32 io_base = mcbsp[id].io_base, clock_word = 0; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/isa/
H A Dsscape.c129 unsigned io_base; member in struct:soundscape
199 static inline void sscape_write_unsafe(unsigned io_base, enum GA_REG reg, unsigned char val) argument
201 outb(reg, ODIE_ADDR_IO(io_base));
202 outb(val, ODIE_DATA_IO(io_base));
214 sscape_write_unsafe(s->io_base, reg, val);
222 static inline unsigned char sscape_read_unsafe(unsigned io_base, enum GA_REG reg) argument
224 outb(reg, ODIE_ADDR_IO(io_base));
225 return inb(ODIE_DATA_IO(io_base));
231 static inline void set_host_mode_unsafe(unsigned io_base) argument
233 outb(0x0, HOST_CTRL_IO(io_base));
239 set_midi_mode_unsafe(unsigned io_base) argument
248 host_read_unsafe(unsigned io_base) argument
263 host_read_ctrl_unsafe(unsigned io_base, unsigned timeout) argument
279 host_write_unsafe(unsigned io_base, unsigned char data) argument
294 host_write_ctrl_unsafe(unsigned io_base, unsigned char data, unsigned timeout) argument
332 activate_ad1845_unsafe(unsigned io_base) argument
352 sscape_start_dma_unsafe(unsigned io_base, enum GA_REG reg) argument
362 sscape_wait_dma_unsafe(unsigned io_base, enum GA_REG reg, unsigned timeout) argument
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dps2esdi.h10 #define ESDI_CMD_INT (io_base+0)
11 #define ESDI_STT_INT (io_base+0)
12 #define ESDI_CONTROL (io_base+2)
13 #define ESDI_STATUS (io_base+2)
14 #define ESDI_ATTN (io_base+3)
15 #define ESDI_INTRPT (io_base+3)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/mips/pci/
H A Dpci-ocelot-c.c46 uint32_t io_base, io_size; local
48 io_base = MV_READ(MV64340_PCI_0_IO_BASE_ADDR) << 16;
64 mv_io_base = io_base;
91 uint32_t io_base, io_size; local
93 io_base = MV_READ(MV64340_PCI_1_IO_BASE_ADDR) << 16;
110 ioport_resource.end = io_base + io_size -mv_io_base - 1;
114 mv_io_size = io_base + io_size - mv_io_base;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/mtd/nand/
H A Dat91_nand.c35 void __iomem *io_base; member in struct:at91_nand_host
51 writeb(cmd, host->io_base + (1 << host->board->cle));
53 writeb(cmd, host->io_base + (1 << host->board->ale));
111 host->io_base = ioremap(pdev->resource[0].start,
113 if (host->io_base == NULL) {
128 nand_chip->IO_ADDR_R = host->io_base;
129 nand_chip->IO_ADDR_W = host->io_base;
184 iounmap(host->io_base);
201 iounmap(host->io_base);
H A Dplat_nand.c23 void __iomem *io_base; member in struct:plat_nand_data
46 data->io_base = ioremap(pdev->resource[0].start,
48 if (data->io_base == NULL) {
58 data->chip.IO_ADDR_R = data->io_base;
59 data->chip.IO_ADDR_W = data->io_base;
102 iounmap(data->io_base);
120 iounmap(data->io_base);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/pcmcia/
H A Dpd6729.h25 unsigned long io_base; /* base io address of the socket */ member in struct:pd6729_socket
H A Di82092.c85 kio_addr_t io_base; /* base io address of the socket */ member in struct:socket_info
133 sockets[i].io_base = pci_resource_start(dev, 0);
215 port = sockets[socket].io_base;
229 port = sockets[socket].io_base;
242 port = sockets[socket].io_base;
259 port = sockets[socket].io_base;
275 port = sockets[socket].io_base;
375 if (sockets[socketno].io_base == 0)
701 if (sockets[0].io_base>0)
702 release_region(sockets[0].io_base,
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/
H A DNCR_Q720.c146 __u16 io_base; local
160 io_base = (pos2 & NCR_Q720_POS2_IO_MASK) << NCR_Q720_POS2_IO_SHIFT;
169 io_base = mca_device_transform_ioport(mca_dev, io_base);
176 i = inb(io_base) | (inb(io_base+1)<<8);
178 printk(KERN_ERR "NCR_Q720, adapter failed to I/O map registers correctly at 0x%x(0x%x)\n", io_base, i);
184 pos4 = inb(io_base + 4);
187 outb(pos4, io_base + 4);
190 asr10 = inb(io_base
[all...]
H A Din2000.h52 #define read1_io(a) (inb(hostdata->io_base+(a)))
53 #define read2_io(a) (inw(hostdata->io_base+(a)))
54 #define write1_io(b,a) (outb((b),hostdata->io_base+(a)))
55 #define write2_io(w,a) (outw((w),hostdata->io_base+(a)))
282 unsigned short io_base; /* IO port base */ member in struct:IN2000_hostdata
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/m68k/kernel/
H A Dbios32.c70 static unsigned int io_base; variable
168 base = ALIGN(io_base, alignto);
169 io_base = base + size;
291 bio = io_base = ALIGN(io_base, 4*KB);
346 io_base = bus_info->io_space.start + IO_ALLOC_OFFSET;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/ide/legacy/
H A Dide-cs.c182 unsigned long io_base, ctl_base; local
202 pass = io_base = ctl_base = 0;
241 io_base = link->io.BasePort1;
248 io_base = link->io.BasePort1;
279 hd = idecs_register(io_base, ctl_base, link->irq.AssignedIRQ, link);
283 hd = idecs_register(io_base + 0x10, ctl_base + 0x10,
286 io_base += 0x10;
296 ", irq %u failed\n", io_base, ctl_base,

Completed in 285 milliseconds

123