Searched refs:io_port (Results 1 - 25 of 63) 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.h135 volatile unsigned short io_port
138 volatile unsigned short io_port
141 io_port = (instance)->io_port
143 #define PAS16_io_port(reg) ( io_port + pas16_offset[(reg)] )
150 (((unsigned char) printk("scsi%d : read register %d at io_port %04x\n"\
154 (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.c112 int iobase = instance->io_port;
125 int iobase = instance->io_port;
137 return in_8(instance->io_port + (reg<<4));
142 out_8(instance->io_port + (reg<<4), value);
279 instance->io_port = (unsigned long) mac_scsi_regp;
299 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;
176 if (shost->io_port && shost->n_io_port)
177 release_region(shost->io_port, shost->n_io_port);
H A Daha1542.c417 flag = inb(INTRFLAGS(shost->io_port));
429 printk("status %02x\n", inb(STATUS(shost->io_port)));
436 flag = inb(INTRFLAGS(shost->io_port));
452 aha1542_intr_reset(shost->io_port);
712 aha1542_out(SCpnt->device->host->io_port, &ahacmd, 1); /* start scsi command */
1191 shpnt->io_port = base_io;
1253 if (shost->io_port && shost->n_io_port)
1254 release_region(shost->io_port, shost->n_io_port);
1279 aha1542_out(shost->io_port, &ahacmd, 1);
1339 aha1542_out(SCpnt->device->host->io_port,
[all...]
H A Ddc395x.c3939 * @io_port: base I/O address
3941 static void __devinit 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 __devinit 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
4509 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 \
845 static unsigned long io_port[] = { variable
1277 shost->io_port = port_base;
1397 (unsigned long)shost->io_port, shost->irq, dma_name,
1462 io_port[i] = ints[i + 1];
1464 io_port[i] = 0;
1553 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);
3347 shpnt->io_port, shpn
3556 aha152x_porttest(int io_port) argument
3571 tc1550_porttest(int io_port) argument
[all...]
H A Dg_NCR5380.h71 #define NCR5380_instance_name io_port
H A Dt128.c300 if (shost->io_port && shost->n_io_port)
301 release_region(shost->io_port, shost->n_io_port);
H A Daha1740.c123 shpnt->io_port, shpnt->irq, host->edev->slot,
243 base = host->io_port;
475 unsigned int base = SCpnt->device->host->io_port;
603 shpnt->io_port = slotbase;
659 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;
1473 base = host->io_port;
1479 SPRINTF("IO: 0x%lx-0x%lx\n", host->io_port, host->io_port + host->n_io_port - 1);
1556 unsigned int base = SCpnt->device->host->io_port;
1594 unsigned int base = SCpnt->device->host->io_port;
1825 unsigned int base = SCpnt->device->host->io_port;
[all...]
H A Dfd_mcs.c327 printk(", HostID %d, %s Chip, IRQ %d, IO 0x%lX\n", shpnt->this_id, chip == tmc18c50 ? "TMC-18C50" : (chip == tmc18c30 ? "TMC-18C30" : (chip == tmc1800 ? "TMC-1800" : "Unknown")), shpnt->irq, shpnt->io_port);
474 shpnt->io_port = port;
1049 release_region(shpnt->io_port, shpnt->n_io_port);
1189 printk("FIFO Status = 0x%02x\n", inb(shpnt->io_port + FIFO_Status));
1190 printk("Int. Condition = 0x%02x\n", inb(shpnt->io_port + Interrupt_Cond));
1192 printk("Configuration 1 = 0x%02x\n", inb(shpnt->io_port + Configuration1));
1194 printk("Configuration 2 = 0x%02x\n", inb(shpnt->io_port + Configuration2));
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);
/drivers/net/ethernet/dec/tulip/
H A Dxircom_cb.c86 unsigned long io_port; member in struct:xircom_private
247 private->io_port = pci_resource_start(pdev, 0);
250 dev->base_addr = private->io_port;
318 status = inl(card->io_port+CSR5);
348 outl(status,card->io_port+CSR5);
487 val = inl(card->io_port + CSR0);
489 outl(val, card->io_port + CSR0);
493 val = inl(card->io_port + CSR0);
495 outl(val, card->io_port + CSR0);
500 outl(val, card->io_port
[all...]
/drivers/video/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...]
/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/staging/wlags49_h2/
H A Dhcf.c947 hcf_io io_port = ifbp->IFB_IOBase; local
950 OUT_PORT_DWORD( (io_port + HREG_DMA_CTRL), DMA_CTRLSTAT_RESET); /*8*/
954 OUT_PORT_DWORD( (io_port + HREG_DMA_CTRL), DMA_CTRLSTAT_GO);
977 OUT_PORT_DWORD( (io_port + HREG_RXDMA_PTR32), p->desc_phys_addr);
2011 hcf_io io_port; local
2015 io_port = ifbp->IFB_IOBase + HREG_AUX_DATA; //to prevent side effects of the MSF-defined macro
2020 IN_PORT_STRING_8_16( io_port, pt, i ); //space used by T: -1
3636 hcf_io io_port = ifbp->IFB_IOBase + HREG_AUX_DATA; local
3687 IN_PORT_STRING_8_16( io_port, cp, i ); //!!!WORD length, cp MUST be a char pointer // $$ char
3701 OUT_PORT_STRING_8_16( io_port, c
3856 hcf_io io_port = ifbp->IFB_IOBase + HREG_DATA_1; //BAP data register local
4349 hcf_io io_port = ifbp->IFB_IOBase + HREG_DATA_1; //BAP data register local
[all...]
/drivers/scsi/arm/
H A Doak.c160 host->host_no, host->io_port);

Completed in 277 milliseconds

123