/drivers/staging/wlags49_h2/ |
H A D | wl_priv.h | 112 int wvlan_rts( struct rtsreq *rrq, __u32 io_base ); 113 int wvlan_rts_read( __u16 reg, __u16 *val, __u32 io_base ); 114 int wvlan_rts_write( __u16 reg, __u16 val, __u32 io_base ); 115 int wvlan_rts_batch_read( struct rtsreq *rrq, __u32 io_base ); 116 int wvlan_rts_batch_write( struct rtsreq *rrq, __u32 io_base );
|
/drivers/hwspinlock/ |
H A D | u8500_hsem.c | 100 void __iomem *io_base; local 111 io_base = ioremap(res->start, resource_size(res)); 112 if (!io_base) 116 val = readl(io_base + HSEM_CTRL_REG); 117 writel((val & ~HSEM_PROTOCOL_1), io_base + HSEM_CTRL_REG); 120 writel(0xFFFF, io_base + HSEM_ICRALL); 131 hwlock->priv = io_base + HSEM_REGISTER_OFFSET + sizeof(u32) * i; 147 iounmap(io_base); 154 void __iomem *io_base = bank->lock[0].priv - HSEM_REGISTER_OFFSET; local 158 writel(0xFFFF, io_base [all...] |
H A D | omap_hwspinlock.c | 87 void __iomem *io_base; local 97 io_base = ioremap(res->start, resource_size(res)); 98 if (!io_base) 102 i = readl(io_base + SYSSTATUS_OFFSET); 122 hwlock->priv = io_base + LOCK_BASE_OFFSET + sizeof(u32) * i; 141 iounmap(io_base); 148 void __iomem *io_base = bank->lock[0].priv - LOCK_BASE_OFFSET; local 158 iounmap(io_base);
|
/drivers/pcmcia/ |
H A D | pd6729.h | 18 unsigned long io_base; /* base io address of the socket */ member in struct:pd6729_socket
|
H A D | bcm63xx_pcmcia.h | 57 void __iomem *io_base; member in struct:bcm63xx_pcmcia_socket
|
H A D | electra_cf.c | 52 unsigned int io_base; member in struct:electra_cf_socket 234 cf->io_base = (unsigned long)cf->io_virt - VMALLOC_END; 271 cf->socket.io_offset = cf->io_base; 280 if (!request_region(cf->io_base, cf->io_size, driver_name)) { 308 release_region(cf->io_base, cf->io_size); 343 release_region(cf->io_base, cf->io_size);
|
H A D | i82092.c | 59 unsigned int io_base; /* base io address of the socket */ member in struct:socket_info 107 sockets[i].io_base = pci_resource_start(dev, 0); 190 port = sockets[socket].io_base; 205 port = sockets[socket].io_base; 222 port = sockets[socket].io_base; 235 port = sockets[socket].io_base; 252 port = sockets[socket].io_base; 268 port = sockets[socket].io_base; 368 if (sockets[socketno].io_base == 0) 699 if (sockets[0].io_base> [all...] |
H A D | bcm63xx_pcmcia.c | 370 skt->io_base = ioremap(res->start, iomem_size); 371 if (!skt->io_base) { 382 sock->io_offset = (unsigned long)skt->io_base; 429 if (skt->io_base) 430 iounmap(skt->io_base); 447 iounmap(skt->io_base);
|
/drivers/mtd/nand/ |
H A D | orion_nand.c | 49 void __iomem *io_base = chip->IO_ADDR_R; local 54 *buf++ = readb(io_base); 66 asm volatile ("ldrd\t%0, [%1]" : "=&r" (x) : "r" (io_base)); 71 buf[i++] = readb(io_base); 80 void __iomem *io_base; local 97 io_base = ioremap(res->start, resource_size(res)); 98 if (!io_base) { 110 nc->IO_ADDR_R = nc->IO_ADDR_W = io_base; 143 iounmap(io_base);
|
H A D | ams-delta.c | 65 void __iomem *io_base = this->priv; local 67 writew(0, io_base + OMAP_MPUIO_IO_CNTL); 78 void __iomem *io_base = this->priv; local 82 writew(~0, io_base + OMAP_MPUIO_IO_CNTL); 188 void __iomem *io_base; local 221 io_base = ioremap(res->start, resource_size(res)); 222 if (io_base == NULL) { 228 this->priv = io_base; 231 this->IO_ADDR_R = io_base + OMAP_MPUIO_INPUT_LATCH; 232 this->IO_ADDR_W = io_base 284 void __iomem *io_base = platform_get_drvdata(pdev); local [all...] |
H A D | plat_nand.c | 23 void __iomem *io_base; member in struct:plat_nand_data 59 data->io_base = ioremap(res->start, resource_size(res)); 60 if (data->io_base == NULL) { 71 data->chip.IO_ADDR_R = data->io_base; 72 data->chip.IO_ADDR_W = data->io_base; 114 iounmap(data->io_base); 136 iounmap(data->io_base);
|
H A D | socrates_nand.c | 33 void __iomem *io_base; member in struct:socrates_nand_host 51 out_be32(host->io_base, FPGA_NAND_ENABLE | 72 out_be32(host->io_base, val); 74 buf[i] = (in_be32(host->io_base) >> 142 out_be32(host->io_base, val); 153 if (in_be32(host->io_base) & FPGA_NAND_BUSY) 177 host->io_base = of_iomap(ofdev->dev.of_node, 0); 178 if (host->io_base == NULL) { 234 iounmap(host->io_base); 250 iounmap(host->io_base); [all...] |
H A D | atmel_nand.c | 88 void __iomem *io_base; member in struct:atmel_nand_host 139 writeb(cmd, host->io_base + (1 << host->board.cle)); 141 writeb(cmd, host->io_base + (1 << host->board.ale)); 554 host->io_base = ioremap(mem->start, resource_size(mem)); 555 if (host->io_base == NULL) { 578 nand_chip->IO_ADDR_R = host->io_base; 579 nand_chip->IO_ADDR_W = host->io_base; 719 iounmap(host->io_base); 743 iounmap(host->io_base);
|
H A D | fsl_upm.c | 40 void __iomem *io_base; member in struct:fsl_upm_nand 118 chip->IO_ADDR_R = fun->io_base + fun->mchip_offsets[mchip_nr]; 163 fun->chip.IO_ADDR_R = fun->io_base; 164 fun->chip.IO_ADDR_W = fun->io_base; 292 fun->io_base = devm_ioremap_nocache(&ofdev->dev, io_res.start, 294 if (!fun->io_base) {
|
/drivers/scsi/ |
H A D | NCR_Q720.c | 148 __u16 io_base; local 161 io_base = (pos2 & NCR_Q720_POS2_IO_MASK) << NCR_Q720_POS2_IO_SHIFT; 170 io_base = mca_device_transform_ioport(mca_dev, io_base); 177 i = inb(io_base) | (inb(io_base+1)<<8); 179 printk(KERN_ERR "NCR_Q720, adapter failed to I/O map registers correctly at 0x%x(0x%x)\n", io_base, i); 185 pos4 = inb(io_base + 4); 188 outb(pos4, io_base + 4); 191 asr10 = inb(io_base [all...] |
H A D | in2000.h | 52 #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
|
/drivers/input/keyboard/ |
H A D | spear-keyboard.c | 58 void __iomem *io_base; member in struct:spear_kbd 73 sts = readb(kbd->io_base + STATUS_REG); 83 val = readb(kbd->io_base + DATA_REG); 93 writeb(0, kbd->io_base + STATUS_REG); 113 writew(val, kbd->io_base + MODE_REG); 114 writeb(1, kbd->io_base + STATUS_REG); 117 val = readw(kbd->io_base + MODE_REG); 119 writew(val, kbd->io_base + MODE_REG); 130 val = readw(kbd->io_base + MODE_REG); 132 writew(val, kbd->io_base [all...] |
/drivers/mtd/devices/ |
H A D | spear_smi.c | 162 * @io_base: base address for registers of SMI. 173 void __iomem *io_base; member in struct:spear_smi 228 ctrlreg1 = readl(dev->io_base + SMI_CR1); 230 writel(ctrlreg1 & ~(SW_MODE | WB_MODE), dev->io_base + SMI_CR1); 234 dev->io_base + SMI_CR2); 247 writel(ctrlreg1, dev->io_base + SMI_CR1); 248 writel(0, dev->io_base + SMI_CR2); 297 status = readl(dev->io_base + SMI_SR); 303 writel(0, dev->io_base + SMI_SR); 338 writel(val, dev->io_base [all...] |
/drivers/platform/x86/ |
H A D | fujitsu-tablet.c | 136 int io_base; member in struct:__anon3818 142 return inb(fujitsu.io_base + 2); 147 return inb(fujitsu.io_base + 6); 152 outb(addr, fujitsu.io_base); 153 return inb(fujitsu.io_base + 4); 370 fujitsu.io_base = res->data.io.minimum; 375 if (fujitsu.irq && fujitsu.io_base) 395 if (ACPI_FAILURE(status) || !fujitsu.irq || !fujitsu.io_base) 409 if (!request_region(fujitsu.io_base, fujitsu.io_length, MODULENAME)) { 419 release_region(fujitsu.io_base, fujits [all...] |
/drivers/staging/comedi/drivers/ |
H A D | adl_pci6208.c | 189 unsigned long io_base; local 201 retval = pci6208_pci_setup(devpriv->pci_dev, &io_base, dev->minor); 205 dev->iobase = io_base; 410 unsigned long io_base, io_range, lcr_io_base, lcr_io_range; local 430 io_base = pci_resource_start(pci_dev, 2); 431 io_range = pci_resource_end(pci_dev, 2) - io_base + 1; 434 dev_minor, io_base, io_range); 436 *io_base_ptr = io_base;
|
H A D | ke_counter.c | 191 unsigned long io_base; local 250 io_base = pci_resource_start(pci_device, 0); 251 dev->iobase = io_base;
|
/drivers/video/ |
H A D | igafb.c | 65 unsigned long io_base; member in struct:iga_par 174 #define pci_inb(par, reg) readb(par->io_base+(reg)) 175 #define pci_outb(par, val, reg) writeb(val, par->io_base+(reg)) 450 if ((par->io_base = (int) ioremap(igafb_fix.mmio_start, igafb_fix.smem_len)) == 0) { 469 iounmap((void *)par->io_base); 530 iounmap((void *)par->io_base);
|
/drivers/ata/ |
H A D | pata_pcmcia.c | 204 unsigned long io_base, ctl_base; local 224 io_base = pdev->resource[0]->start; 239 io_addr = devm_ioport_map(&pdev->dev, io_base, 8); 276 ata_port_desc(ap, "cmd 0x%lx ctl 0x%lx", io_base, ctl_base);
|
/drivers/ide/ |
H A D | ide-cs.c | 192 unsigned long io_base, ctl_base; local 206 io_base = link->resource[0]->start; 226 host = idecs_register(io_base, ctl_base, link->irq, link); 229 host = idecs_register(io_base + 0x10, ctl_base + 0x10,
|
/drivers/i2c/busses/ |
H A D | i2c-pca-platform.c | 37 unsigned long io_base; member in struct:i2c_pca_pf_data 170 i2c->io_base = res->start; 274 release_mem_region(i2c->io_base, i2c->io_size);
|