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

12345

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dpas16.c149 unsigned short io_port; member in struct:override
166 unsigned short io_port; member in struct:base
216 static void __init init_board(unsigned short io_port, int irq, int force_irq) argument
223 outb(0x30, io_port + P_TIMEOUT_COUNTER_REG); /* Timeout counter */
224 outb(0x01, io_port + P_TIMEOUT_STATUS_REG_OFFSET); /* Reset TC */
225 outb(0x01, io_port + WAIT_STATE); /* 1 Wait state */
235 tmp = inb(io_port + IO_CONFIG_3);
240 outb(0x4d, io_port + SYS_CONFIG_4);
243 outb(tmp, io_port + IO_CONFIG_3);
246 outb(0x6d, io_port
261 unsigned short io_port = bases[board_num].io_port; local
351 unsigned short io_port; local
[all...]
H A Dpas16.h159 volatile unsigned short io_port
162 volatile unsigned short io_port
165 io_port = (instance)->io_port
167 #define PAS16_io_port(reg) ( io_port + pas16_offset[(reg)] )
174 (((unsigned char) printk("scsi%d : read register %d at io_port %04x\n"\
178 (printk("scsi%d : write %02x to register %d at io_port %04x\n", \
H A Dqlogicfc.c696 outw(ISP_EN_INT | ISP_EN_RISC, host->io_port + PCI_INTER_CTL);
702 outw(0x0, host->io_port + PCI_INTER_CTL);
804 if (!request_region(host->io_port, 0xff, "qlogicfc")) {
807 hostdata->host_id, host->io_port, host->io_port + 0xff);
814 outw(0x0, host->io_port + PCI_SEMAPHORE);
815 outw(HCCR_CLEAR_RISC_INTR, host->io_port + HOST_HCCR);
1111 outw(0x0, host->io_port + PCI_INTER_CTL);
1114 release_region(host->io_port, 0xff);
1136 host->io_port);
[all...]
H A Dbvme6000.c27 u32 base, int io_port, int irq, int dma,
H A Dmvme16x.c25 u32 base, int io_port, int irq, int dma,
H A Ddmx3191d.c90 instance->io_port = port;
115 release_region(instance->io_port, DMX3191D_REGION);
H A Du14-34f.c88 * io_port is now unsigned long.
248 * the io_port[] array.
315 * modprobe u14-34f io_port=0x230,0x340 linked_comm=1 have_old_firmware=0 \
369 MODULE_PARM(io_port, "1-" __MODULE_STRING(MAX_INT_PARAM) "i");
559 static unsigned long io_port[] = { variable
687 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
695 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
698 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM);
701 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR);
834 sh[j]->io_port
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acorn/scsi/
H A Dfas216.h25 #define REG_CTCL(x) ((x)->scsi.io_port)
26 #define REG_STCL(x) ((x)->scsi.io_port)
29 #define REG_CTCM(x) ((x)->scsi.io_port + (1 << (x)->scsi.io_shift))
30 #define REG_STCM(x) ((x)->scsi.io_port + (1 << (x)->scsi.io_shift))
33 #define REG_FF(x) ((x)->scsi.io_port + (2 << (x)->scsi.io_shift))
36 #define REG_CMD(x) ((x)->scsi.io_port + (3 << (x)->scsi.io_shift))
60 #define REG_STAT(x) ((x)->scsi.io_port + (4 << (x)->scsi.io_shift))
79 #define REG_SDID(x) ((x)->scsi.io_port + (4 << (x)->scsi.io_shift))
83 #define REG_INST(x) ((x)->scsi.io_port + (5 << (x)->scsi.io_shift))
94 #define REG_STIM(x) ((x)->scsi.io_port
224 unsigned int io_port; /* base address of FAS216 */ member in struct:__anon751::__anon752
[all...]
H A Decoscsi.c81 int iobase = instance->io_port;
88 int iobase = instance->io_port;
125 instance->io_port = 0x80ce8000;
129 if (check_region (instance->io_port, instance->n_io_port)) {
146 if (request_region (instance->io_port, instance->n_io_port, "ecoscsi") == NULL) {
163 printk("scsi%d: at port %X irq", instance->host_no, instance->io_port);
180 if (shpnt->io_port)
181 release_region (shpnt->io_port, shpnt->n_io_port);
H A Dacornscsi.c210 sbic_arm_write(unsigned int io_port, int reg, int value) argument
212 __raw_writeb(reg, io_port);
213 __raw_writeb(value, io_port + 4);
220 int sbic_arm_read(unsigned int io_port, int reg) argument
223 return __raw_readl(io_port) & 255;
224 __raw_writeb(reg, io_port);
225 return __raw_readl(io_port + 4) & 255;
232 #define dmac_read(io_port,reg) \
233 inb((io_port) + (reg))
235 #define dmac_write(io_port,re
242 dmac_address(unsigned int io_port) argument
[all...]
H A Doak.c148 instance->io_port = OAK_ADDRESS(ecs[count]);
155 request_region (instance->io_port, instance->n_io_port, "Oak SCSI");
169 printk("scsi%d: at port %lX irq", instance->host_no, instance->io_port);
195 if (shpnt->io_port)
196 release_region (shpnt->io_port, shpnt->n_io_port);
199 if (shpnt->io_port == OAK_ADDRESS(ecs[i]))
214 int iobase = instance->io_port;
228 int iobase = instance->io_port;
265 #define oakscsi_read(instance,reg) (inb((instance)->io_port + (reg)))
266 #define oakscsi_write(instance,reg,val) (outb((val), (instance)->io_port
[all...]
H A Darxescsi.c166 io = __ioaddr(host->io_port);
282 host->io_port = ecard_address(ecs[count], ECARD_MEMC, 0) + 0x0800;
288 info->info.scsi.io_port = host->io_port;
301 info->dmaarea = host->io_port + 128;
302 info->cstatus = host->io_port + 384;
304 ecs[count]->irqaddr = (unsigned char *)BUS_ADDR(host->io_port);
307 request_region(host->io_port , 120, "arxescsi-fas");
308 request_region(host->io_port + 128, 384, "arxescsi-dma");
331 release_region(host->io_port, 12
[all...]
H A Deesox.c91 unsigned int io_port; member in struct:control
116 outb(control->control, control->io_port);
131 outb(control->control, control->io_port);
161 outb(info->control.control, info->control.io_port);
243 status = inb(host->io_port + EESOX_STATUS);
258 status = inb(host->io_port + EESOX_STATUS);
267 status = inb(host->io_port + EESOX_STATUS);
276 status = inb(host->io_port + EESOX_STATUS);
293 status = inb(host->io_port + EESOX_STATUS);
302 status = inb(host->io_port
[all...]
H A Dcumana_1.c162 instance->io_port = CUMANA_ADDRESS(ecs[count]);
169 request_region (instance->io_port, instance->n_io_port, "CumanaSCSI-1");
172 outb(0x00, instance->io_port - 577);
186 printk("scsi%d: at port %lX irq", instance->host_no, instance->io_port);
208 if (shpnt->io_port)
209 release_region (shpnt->io_port, shpnt->n_io_port);
212 if (shpnt->io_port == CUMANA_ADDRESS(ecs[i]))
244 int iobase = instance->io_port;
247 volatile unsigned char *iobase = (unsigned char *)ioaddr(instance->io_port);
314 int iobase = instance->io_port;
[all...]
H A Dcumana_2.c337 host->io_port = ecard_address(ecs[count], ECARD_MEMC, 0);
345 info->info.scsi.io_port = host->io_port + CUMANASCSI2_FAS216_OFFSET;
358 info->dmaarea = host->io_port + CUMANASCSI2_PSEUDODMA;
359 info->status = host->io_port + CUMANASCSI2_STATUS;
360 info->alatch = host->io_port + CUMANASCSI2_ALATCH;
367 request_region(host->io_port + CUMANASCSI2_FAS216_OFFSET,
406 release_region(host->io_port + CUMANASCSI2_FAS216_OFFSET,
410 if (ecs[i] && host->io_port == ecard_address (ecs[i], ECARD_MEMC, 0))
H A Dpowertec.c261 host->io_port = ecard_address(ecs[count], ECARD_IOC, ECARD_FAST);
269 info->control.term_port = host->io_port + POWERTEC_TERM_CONTROL;
273 info->info.scsi.io_port =
274 host->io_port + POWERTEC_FAS216_OFFSET;
289 ioaddr(host->io_port + POWERTEC_INTR_STATUS);
292 (host->io_port + POWERTEC_INTR_CONTROL);
295 request_region(host->io_port + POWERTEC_FAS216_OFFSET,
334 release_region(host->io_port + POWERTEC_FAS216_OFFSET,
339 host->io_port == ecard_address(ecs[i], ECARD_IOC, ECARD_FAST))
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dscc.h107 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef
145 io_port data_a; /* data port channel A */
146 io_port ctrl_a; /* control port channel A */
147 io_port data_b; /* data port channel B */
148 io_port ctrl_b; /* control port channel B */
149 io_port vector_latch; /* INTACK-Latch (#) */
150 io_port special; /* special function port */
224 io_port ctrl; /* I/O address of CONTROL register */
225 io_port data; /* I/O address of DATA register */
226 io_port specia
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dscc.h107 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef
145 io_port data_a; /* data port channel A */
146 io_port ctrl_a; /* control port channel A */
147 io_port data_b; /* data port channel B */
148 io_port ctrl_b; /* control port channel B */
149 io_port vector_latch; /* INTACK-Latch (#) */
150 io_port special; /* special function port */
224 io_port ctrl; /* I/O address of CONTROL register */
225 io_port data; /* I/O address of DATA register */
226 io_port specia
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/pcmcia/
H A Dxircom_cb.c94 unsigned long io_port; member in struct:xircom_private
284 private->io_port = pci_resource_start(pdev, 0);
287 dev->base_addr = private->io_port;
358 status = inl(card->io_port+CSR5);
380 outl(status,card->io_port+CSR5);
521 val = inl(card->io_port + CSR0);
523 outl(val, card->io_port + CSR0);
527 val = inl(card->io_port + CSR0);
529 outl(val, card->io_port + CSR0);
534 outl(val, card->io_port
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-parisc/
H A Ddma.h100 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE local
106 count = 1 + dma_inb(io_port);
107 count += dma_inb(io_port) << 8;
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-parisc/
H A Ddma.h100 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE local
106 count = 1 + dma_inb(io_port);
107 count += dma_inb(io_port) << 8;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/ospm/ec/
H A Dectransx.c107 u32 io_port,
117 acpi_os_read_port(io_port, (u32*) data, 8);
142 u32 io_port,
152 acpi_os_write_port(io_port, data, 8);
105 ec_io_read( EC_CONTEXT *ec, u32 io_port, u8 *data, EC_EVENT wait_event) argument
140 ec_io_write( EC_CONTEXT *ec, u32 io_port, u8 data, EC_EVENT wait_event) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.h314 #define INB_OFF(o) inb (np->s.io_port + sym_offb(o))
315 #define OUTB_OFF(o, val) outb ((val), np->s.io_port + sym_offb(o))
319 #define INW_OFF(o) inw_l2b (np->s.io_port + sym_offw(o))
320 #define INL_OFF(o) inl_l2b (np->s.io_port + (o))
322 #define OUTW_OFF(o, val) outw_b2l ((val), np->s.io_port + sym_offw(o))
323 #define OUTL_OFF(o, val) outl_b2l ((val), np->s.io_port + (o))
327 #define INW_OFF(o) inw_b2l (np->s.io_port + sym_offw(o))
328 #define INL_OFF(o) inl_b2l (np->s.io_port + (o))
330 #define OUTW_OFF(o, val) outw_l2b ((val), np->s.io_port + sym_offw(o))
331 #define OUTL_OFF(o, val) outl_l2b ((val), np->s.io_port
462 u_long io_port; /* IO port address cookie */ member in struct:sym_shcb
497 u_long io_port; member in struct:__anon2612
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/acpi/ospm/include/
H A Dec.h170 u32 io_port,
177 u32 io_port,
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-m68k/
H A Dapollodma.h227 unsigned int io_port = (dmanr<=3)? ((dmanr&3)<<1) + 1 + IO_DMA1_BASE local
233 count = 1 + dma_inb(io_port);
234 count += dma_inb(io_port) << 8;

Completed in 221 milliseconds

12345