Searched refs:io_port (Results 1 - 25 of 74) sorted by relevance

123

/linux-master/include/uapi/linux/
H A Dscc.h108 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef
146 io_port data_a; /* data port channel A */
147 io_port ctrl_a; /* control port channel A */
148 io_port data_b; /* data port channel B */
149 io_port ctrl_b; /* control port channel B */
150 io_port vector_latch; /* INTACK-Latch (#) */
151 io_port special; /* special function port */
/linux-master/sound/pci/ymfpci/
H A Dymfpci.c66 int io_port = joystick_port[dev]; local
68 if (!io_port)
73 if (io_port == 1) {
75 io_port = pci_resource_start(chip->pci, 2);
76 if (!io_port)
80 if (io_port == 1) {
82 for (io_port = 0x201; io_port <= 0x205; io_port++) {
83 if (io_port
[all...]
/linux-master/drivers/scsi/
H A Daha1542.c212 if (inb(STATUS(sh->io_port)) == 0xff)
218 aha1542_intr_reset(sh->io_port); /* reset interrupts, so they don't block */
220 outb(SRST | IRST /*|SCRST */ , CONTROL(sh->io_port));
225 if (!wait_mask(STATUS(sh->io_port), STATMASK, INIT | IDLE, STST | DIAGF | INVDCMD | DF | CDF, 0))
229 if (inb(INTRFLAGS(sh->io_port)) & INTRMASK)
237 aha1542_outb(sh->io_port, CMD_INQUIRY);
240 if (!wait_mask(STATUS(sh->io_port), DF, DF, 0, 0))
242 (void)inb(DATA(sh->io_port));
246 if (inb(STATUS(sh->io_port)) & DF)
250 if (!wait_mask(INTRFLAGS(sh->io_port), HAC
[all...]
H A Dzalon.c94 void __iomem *io_port = zalon + GSC_SCSI_ZALON_OFFSET; local
124 __raw_writeb(0x20, io_port + 0x38); /* DCNTL_REG, EA */
125 __raw_writeb(0x04, io_port + 0x1b); /* CTEST0_REG, EHP */
126 __raw_writeb(0x80, io_port + 0x22); /* CTEST4_REG, MUX */
133 device.slot.base_v = io_port;
H A Dg_NCR5380.c326 hostdata->io_port = base;
336 hostdata->io_port += 8;
470 unsigned long io_port = hostdata->io_port; local
480 if (io_port)
481 release_region(io_port, region_size);
544 if (hostdata->io_port && hostdata->io_width == 2)
545 insw(hostdata->io_port + hostdata->c400_host_buf,
547 else if (hostdata->io_port)
548 insb(hostdata->io_port
[all...]
H A Daha152x.c749 shpnt->io_port = setup->io_port;
754 HOSTIOPORT0 = setup->io_port;
755 HOSTIOPORT1 = setup->io_port;
757 HOSTIOPORT0 = setup->io_port+0x10;
758 HOSTIOPORT1 = setup->io_port-0x10;
796 shpnt->io_port, HOSTIOPORT0, HOSTIOPORT1,
875 if (shpnt->io_port)
876 release_region(shpnt->io_port, IO_RANGE);
2867 shpnt->io_port, shpn
3036 aha152x_porttest(int io_port) argument
3051 tc1550_porttest(int io_port) argument
[all...]
H A Dqlogicfas.c102 hreg->io_port = qbase;
178 if (shost->io_port && shost->n_io_port)
179 release_region(shost->io_port, shost->n_io_port);
H A Ddc395x.c3760 * @io_port: base I/O address
3762 static void trms1040_wait_30us(unsigned long io_port) argument
3765 outb(5, io_port + TRM_S1040_GEN_TIMER);
3766 while (!(inb(io_port + TRM_S1040_GEN_STATUS) & GTIMEOUT))
3775 * @io_port: base I/O address
3779 static void trms1040_write_cmd(unsigned long io_port, u8 cmd, u8 addr) argument
3790 outb(send_data, io_port + TRM_S1040_GEN_NVRAM);
3791 trms1040_wait_30us(io_port);
3793 io_port + TRM_S1040_GEN_NVRAM);
3794 trms1040_wait_30us(io_port);
3824 trms1040_set_data(unsigned long io_port, u8 addr, u8 byte) argument
3878 trms1040_write_all(struct NvRamType *eeprom, unsigned long io_port) argument
3918 trms1040_get_data(unsigned long io_port, u8 addr) argument
3956 trms1040_read_all(struct NvRamType *eeprom, unsigned long io_port) argument
3986 check_eeprom(struct NvRamType *eeprom, unsigned long io_port) argument
4326 adapter_init(struct AdapterCtlBlk *acb, unsigned long io_port, u32 io_port_len, unsigned int irq) argument
[all...]
/linux-master/include/linux/
H A Dscc.h58 io_port ctrl; /* I/O address of CONTROL register */
59 io_port data; /* I/O address of DATA register */
60 io_port special; /* I/O address of special function port */
/linux-master/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c82 /* Hardware Registers: offsets from io_port (base) */
214 chip_init(int io_port) argument
216 REG1(io_port);
217 outb(0x01, io_port + PIO_STATUS);
218 outb(0x00, io_port + PIO_FLAG);
220 outb(C4_IMG, io_port + CONFIG4); /* REG0(io_port); */
221 outb(C3_IMG, io_port + CONFIG3);
222 outb(C2_IMG, io_port + CONFIG2);
223 outb(C1_IMG, io_port
232 SYM53C500_int_host_reset(int io_port) argument
[all...]
H A Dnsp_message.c13 unsigned int base = SCpnt->device->host->io_port;
H A Dnsp_cs.c194 /*unsigned int base = SCpnt->device->host->io_port;*/
367 unsigned int base = SCpnt->device->host->io_port;
503 unsigned int base = SCpnt->device->host->io_port;
517 unsigned int base = SCpnt->device->host->io_port;
546 unsigned int base = SCpnt->device->host->io_port;
580 unsigned int base = SCpnt->device->host->io_port;
653 unsigned int base = SCpnt->device->host->io_port;
690 unsigned int base = SCpnt->device->host->io_port;
718 unsigned int base = SCpnt->device->host->io_port;
821 unsigned int base = SCpnt->device->host->io_port;
[all...]
/linux-master/arch/parisc/include/asm/
H A Ddma.h96 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE local
102 count = 1 + dma_inb(io_port);
103 count += dma_inb(io_port) << 8;
/linux-master/drivers/video/fbdev/via/
H A Dvia_i2c.c30 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0;
45 via_write_reg(adap_data->io_port, adap_data->ioport_index, val);
57 via_write_reg_mask(adap_data->io_port, adap_data->ioport_index,
59 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x08)
73 via_write_reg_mask(adap_data->io_port, adap_data->ioport_index,
75 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x04)
88 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0;
103 via_write_reg(adap_data->io_port, adap_data->ioport_index, val);
201 sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
/linux-master/arch/x86/include/asm/
H A Ddma.h290 unsigned int io_port; local
294 io_port = (dmanr <= 3) ? ((dmanr & 3) << 1) + 1 + IO_DMA1_BASE
297 count = 1 + dma_inb(io_port);
298 count += dma_inb(io_port) << 8;
/linux-master/sound/pci/
H A Des1968.c497 unsigned long io_port; member in struct:es1968
570 outw(reg, chip->io_port + ESM_INDEX);
571 outw(data, chip->io_port + ESM_DATA);
587 outw(reg, chip->io_port + ESM_INDEX);
588 chip->maestro_map[reg] = inw(chip->io_port + ESM_DATA);
609 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1))
622 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1))
636 outw(val, chip->io_port + ESM_AC97_DATA);
638 outb(reg, chip->io_port + ESM_AC97_INDEX);
649 outb(reg | 0x80, chip->io_port
[all...]
/linux-master/arch/mips/include/asm/
H A Ddma.h293 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE local
299 count = 1 + dma_inb(io_port);
300 count += dma_inb(io_port) << 8;
/linux-master/arch/alpha/kernel/
H A Dsys_sio.c285 unsigned long io_port; local
288 io_port = dev->resource[0].start;
289 ctest4 = inb(io_port+0x21);
293 outb(ctest4 | 0x80, io_port+0x21);
/linux-master/drivers/base/regmap/
H A Dregmap-mmio.c430 if (config->use_relaxed_mmio && config->io_port)
449 if (config->io_port) {
461 if (config->io_port) {
473 if (config->io_port) {
496 if (config->io_port) {
505 if (config->io_port) {
514 if (config->io_port) {
/linux-master/drivers/gpio/
H A Dgpio-gpio-mm.c44 .io_port = true,
/linux-master/arch/alpha/include/asm/
H A Ddma.h349 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE local
355 count = 1 + dma_inb(io_port);
356 count += dma_inb(io_port) << 8;
/linux-master/arch/powerpc/include/asm/
H A Ddma.h323 unsigned int io_port = (dmanr <= 3) local
330 count = 1 + dma_inb(io_port);
331 count += dma_inb(io_port) << 8;
/linux-master/arch/arm/mach-footbridge/
H A Ddma-isa.c46 unsigned int io_port = isa_dma_port[chan][ISA_DMA_COUNT]; local
49 count = 1 + inb(io_port);
50 count |= inb(io_port) << 8;
/linux-master/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.h82 u_short io_port; /* PCI io_port address */ member in struct:Symbios_nvram::Symbios_host
/linux-master/drivers/virt/vboxguest/
H A Dvboxguest_core.h70 u16 io_port; member in struct:vbg_dev

Completed in 246 milliseconds

123