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

123

/drivers/scsi/
H A Dpas16.c155 unsigned short io_port; member in struct:override
168 unsigned short io_port; member in struct:base
242 init_board( unsigned short io_port, int irq, int force_irq ) argument
249 outb( 0x30, io_port + P_TIMEOUT_COUNTER_REG ); /* Timeout counter */
250 outb( 0x01, io_port + P_TIMEOUT_STATUS_REG_OFFSET ); /* Reset TC */
251 outb( 0x01, io_port + WAIT_STATE ); /* 1 Wait state */
259 tmp = inb( io_port + IO_CONFIG_3 );
267 outb( 0x4d, io_port + SYS_CONFIG_4 );
272 outb( tmp, io_port + IO_CONFIG_3 );
275 outb( 0x6d, io_port
294 unsigned short io_port = bases[ board_num ].io_port; local
387 unsigned short io_port; local
[all...]
H A Dpas16.h133 volatile unsigned short io_port
136 volatile unsigned short io_port
139 io_port = (instance)->io_port
141 #define PAS16_io_port(reg) ( io_port + pas16_offset[(reg)] )
148 (((unsigned char) printk("scsi%d : read register %d at io_port %04x\n"\
152 (printk("scsi%d : write %02x to register %d at io_port %04x\n", \
H A Dzalon.c92 void __iomem *io_port = zalon + GSC_SCSI_ZALON_OFFSET; local
122 __raw_writeb(0x20, io_port + 0x38); /* DCNTL_REG, EA */
123 __raw_writeb(0x04, io_port + 0x1b); /* CTEST0_REG, EHP */
124 __raw_writeb(0x80, io_port + 0x22); /* CTEST4_REG, MUX */
131 device.slot.base_v = io_port;
H A Ddmx3191d.c43 #define NCR5380_setup(instance) port = instance->io_port
92 shost->io_port = io;
136 release_region(shost->io_port, DMX3191D_REGION_LEN);
H A Dmac_scsi.c102 int iobase = instance->io_port;
115 int iobase = instance->io_port;
127 return in_8(instance->io_port + (reg<<4));
132 out_8(instance->io_port + (reg<<4), value);
271 instance->io_port = (unsigned long) mac_scsi_regp;
291 printk(KERN_INFO "scsi%d: generic 5380 at port %lX irq", instance->host_no, instance->io_port);
H A Du14-34f.c14 * addr,... io_port=addr,...
25 * modprobe u14-34f io_port=0x340,0x330 linked_comm=1 tag_mode=0 \
136 * io_port is now unsigned long.
296 * the io_port[] array.
366 * modprobe u14-34f io_port=0x230,0x340 linked_comm=1 have_old_firmware=0 \
617 static unsigned long io_port[] = { variable
763 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
771 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
774 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM);
777 outb(CMD_OGM_INTR, sh[j]->io_port
[all...]
H A Dqlogicfas.c98 hreg->io_port = qbase;
174 if (shost->io_port && shost->n_io_port)
175 release_region(shost->io_port, shost->n_io_port);
H A Daha1542.c415 flag = inb(INTRFLAGS(shost->io_port));
427 printk("status %02x\n", inb(STATUS(shost->io_port)));
434 flag = inb(INTRFLAGS(shost->io_port));
450 aha1542_intr_reset(shost->io_port);
710 aha1542_out(SCpnt->device->host->io_port, &ahacmd, 1); /* start scsi command */
1129 shpnt->io_port = base_io;
1191 if (shost->io_port && shost->n_io_port)
1192 release_region(shost->io_port, shost->n_io_port);
1217 aha1542_out(shost->io_port, &ahacmd, 1);
1277 aha1542_out(SCpnt->device->host->io_port,
[all...]
H A Ddc395x.c3939 * @io_port: base I/O address
3941 static void trms1040_wait_30us(unsigned long io_port) argument
3944 outb(5, io_port + TRM_S1040_GEN_TIMER);
3945 while (!(inb(io_port + TRM_S1040_GEN_STATUS) & GTIMEOUT))
3954 * @io_port: base I/O address
3958 static void trms1040_write_cmd(unsigned long io_port, u8 cmd, u8 addr) argument
3969 outb(send_data, io_port + TRM_S1040_GEN_NVRAM);
3970 trms1040_wait_30us(io_port);
3972 io_port + TRM_S1040_GEN_NVRAM);
3973 trms1040_wait_30us(io_port);
4003 trms1040_set_data(unsigned long io_port, u8 addr, u8 byte) argument
4057 trms1040_write_all(struct NvRamType *eeprom, unsigned long io_port) argument
4097 trms1040_get_data(unsigned long io_port, u8 addr) argument
4135 trms1040_read_all(struct NvRamType *eeprom, unsigned long io_port) argument
4165 check_eeprom(struct NvRamType *eeprom, unsigned long io_port) argument
4504 adapter_init(struct AdapterCtlBlk *acb, unsigned long io_port, u32 io_port_len, unsigned int irq) argument
[all...]
H A Deata.c14 * addr,... io_port=addr,...
28 * modprobe eata io_port=0x7410,0x230 linked_comm=1 tag_mode=0 \
180 * io_port is now unsigned long.
424 * modprobe eata io_port=0x7410,0x230 linked_comm=1 \
844 static unsigned long io_port[] = { variable
1270 shost->io_port = port_base;
1388 (unsigned long)shost->io_port, shost->irq, dma_name,
1452 io_port[i] = ints[i + 1];
1454 io_port[i] = 0;
1543 io_port[MAX_INT_PARA
[all...]
H A Daha152x.c796 shpnt->io_port = setup->io_port;
801 HOSTIOPORT0 = setup->io_port;
802 HOSTIOPORT1 = setup->io_port;
804 HOSTIOPORT0 = setup->io_port+0x10;
805 HOSTIOPORT1 = setup->io_port-0x10;
847 shpnt->io_port, HOSTIOPORT0, HOSTIOPORT1,
926 if (shpnt->io_port)
927 release_region(shpnt->io_port, IO_RANGE);
3326 shpnt->io_port, shpn
3519 aha152x_porttest(int io_port) argument
3534 tc1550_porttest(int io_port) argument
[all...]
H A Dg_NCR5380.h65 #define NCR5380_instance_name io_port
H A Dt128.c297 if (shost->io_port && shost->n_io_port)
298 release_region(shost->io_port, shost->n_io_port);
H A Daha1740.c114 shpnt->io_port, shpnt->irq, host->edev->slot,
224 base = host->io_port;
456 unsigned int base = SCpnt->device->host->io_port;
584 shpnt->io_port = slotbase;
640 release_region (shpnt->io_port, SLOTSIZE);
H A Dnsp32.c439 unsigned int base = SCpnt->host->io_port;
458 unsigned int base = SCpnt->device->host->io_port;
589 unsigned int base = SCpnt->device->host->io_port;
814 unsigned int base = SCpnt->device->host->io_port;
1459 base = host->io_port;
1465 SPRINTF("IO: 0x%lx-0x%lx\n", host->io_port, host->io_port + host->n_io_port - 1);
1529 unsigned int base = SCpnt->device->host->io_port;
1567 unsigned int base = SCpnt->device->host->io_port;
1798 unsigned int base = SCpnt->device->host->io_port;
[all...]
H A Dsym53c416.c330 int base = dev->io_port;
704 shpnt->io_port = hosts[i].base;
724 int base = SChost->io_port;
743 base = SCpnt->device->host->io_port;
775 base = SCpnt->device->host->io_port;
793 if (shost->io_port && shost->n_io_port)
794 release_region(shost->io_port, shost->n_io_port);
H A Ddtc.c463 if (shost->io_port && shost->n_io_port)
464 release_region(shost->io_port, shost->n_io_port);
/drivers/video/fbdev/via/
H A Dvia_i2c.c44 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0;
59 via_write_reg(adap_data->io_port, adap_data->ioport_index, val);
71 via_write_reg_mask(adap_data->io_port, adap_data->ioport_index,
73 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x08)
87 via_write_reg_mask(adap_data->io_port, adap_data->ioport_index,
89 if (via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0x04)
102 val = via_read_reg(adap_data->io_port, adap_data->ioport_index) & 0xF0;
117 via_write_reg(adap_data->io_port, adap_data->ioport_index, val);
215 sprintf(adapter->name, "viafb i2c io_port idx 0x%02x",
/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c91 /* Hardware Registers: offsets from io_port (base) */
217 chip_init(int io_port) argument
219 REG1(io_port);
220 outb(0x01, io_port + PIO_STATUS);
221 outb(0x00, io_port + PIO_FLAG);
223 outb(C4_IMG, io_port + CONFIG4); /* REG0(io_port); */
224 outb(C3_IMG, io_port + CONFIG3);
225 outb(C2_IMG, io_port + CONFIG2);
226 outb(C1_IMG, io_port
235 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.c192 /*unsigned int base = SCpnt->device->host->io_port;*/
368 unsigned int base = SCpnt->device->host->io_port;
506 unsigned int base = SCpnt->device->host->io_port;
520 unsigned int base = SCpnt->device->host->io_port;
549 unsigned int base = SCpnt->device->host->io_port;
582 unsigned int base = SCpnt->device->host->io_port;
654 unsigned int base = SCpnt->device->host->io_port;
693 unsigned int base = SCpnt->device->host->io_port;
720 unsigned int base = SCpnt->device->host->io_port;
819 unsigned int base = SCpnt->device->host->io_port;
[all...]
H A Daha152x_stub.c163 s.io_port = link->resource[0]->start;
/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.h95 u_short io_port; /* PCI io_port address */ member in struct:Symbios_nvram::Symbios_host
/drivers/scsi/arm/
H A Doak.c159 host->host_no, host->io_port);
H A Dcumana_1.c257 if (!(request_region(host->io_port, host->n_io_port, "CumanaSCSI-1"))) {
271 host->host_no, host->io_port, host->irq);

Completed in 1343 milliseconds

123