Searched refs:win_base (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/drivers/mtd/maps/ |
H A D | pcmciamtd.c | 33 caddr_t win_base; /* ioremapped address of PCMCIA window */ member in struct:pcmciamtd_dev 104 return dev->win_base + (to & (dev->win_size-1)); remap_window() 219 caddr_t win_base = (caddr_t)map->map_priv_2; pcmcia_read8() local 225 d.x[0] = readb(win_base + ofs); pcmcia_read8() 227 ofs, win_base + ofs, d.x[0]); pcmcia_read8() 234 caddr_t win_base = (caddr_t)map->map_priv_2; pcmcia_read16() local 240 d.x[0] = readw(win_base + ofs); pcmcia_read16() 242 ofs, win_base + ofs, d.x[0]); pcmcia_read16() 249 caddr_t win_base = (caddr_t)map->map_priv_2; pcmcia_copy_from() local 255 memcpy_fromio(to, win_base + from, len); pcmcia_copy_from() 261 caddr_t win_base = (caddr_t)map->map_priv_2; pcmcia_write8() local 267 adr, win_base + adr, d.x[0]); pcmcia_write8() 268 writeb(d.x[0], win_base + adr); pcmcia_write8() 274 caddr_t win_base = (caddr_t)map->map_priv_2; pcmcia_write16() local 280 adr, win_base + adr, d.x[0]); pcmcia_write16() 281 writew(d.x[0], win_base + adr); pcmcia_write16() 287 caddr_t win_base = (caddr_t)map->map_priv_2; pcmcia_copy_to() local 293 memcpy_toio(win_base + to, from, len); pcmcia_copy_to() 325 if(dev->win_base) { pcmciamtd_release() 326 iounmap(dev->win_base); pcmciamtd_release() 327 dev->win_base = NULL; pcmciamtd_release() 534 dev->win_base = ioremap(link->resource[2]->start, pcmciamtd_config() 536 if(!dev->win_base) { pcmciamtd_config() 543 dev, link->resource[2], dev->win_base); pcmciamtd_config() 560 if (dev->win_base) { pcmciamtd_config() 561 iounmap(dev->win_base); pcmciamtd_config() 562 dev->win_base = NULL; pcmciamtd_config() 611 dev->pcmcia_map.map_priv_2 = (unsigned long)dev->win_base; pcmciamtd_config()
|
H A D | latch-addr-flash.c | 130 resource_size_t win_base = dev->resource->start; latch_addr_flash_probe() local 142 (unsigned long long)win_size, (unsigned long long)win_base); latch_addr_flash_probe() 160 info->res = request_mem_region(win_base, win_size, DRIVER_NAME); latch_addr_flash_probe() 172 info->map.virt = ioremap(win_base, win_size); latch_addr_flash_probe()
|
H A D | pci.c | 93 u32 win_base; intel_iq80310_init() local 110 pci_read_config_dword(dev, 0x44, &win_base); intel_iq80310_init() 113 map->map.map_priv_2 = win_base; intel_iq80310_init()
|
Completed in 69 milliseconds