/linux-2.4.37.9/drivers/mtd/maps/ |
D | rpxlite.c | 22 return __raw_readb(map->map_priv_1 + ofs); in rpxlite_read8() 27 return __raw_readw(map->map_priv_1 + ofs); in rpxlite_read16() 32 return __raw_readl(map->map_priv_1 + ofs); in rpxlite_read32() 37 memcpy_fromio(to, (void *)(map->map_priv_1 + from), len); in rpxlite_copy_from() 42 __raw_writeb(d, map->map_priv_1 + adr); in rpxlite_write8() 48 __raw_writew(d, map->map_priv_1 + adr); in rpxlite_write16() 54 __raw_writel(d, map->map_priv_1 + adr); in rpxlite_write32() 60 memcpy_toio((void *)(map->map_priv_1 + to), from, len); in rpxlite_copy_to() 80 rpxlite_map.map_priv_1 = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE * 4); in init_rpxlite() 82 if (!rpxlite_map.map_priv_1) { in init_rpxlite() [all …]
|
D | mbx860.c | 54 return readb(map->map_priv_1 + ofs); in mbx_read8() 59 return readw(map->map_priv_1 + ofs); in mbx_read16() 64 return readl(map->map_priv_1 + ofs); in mbx_read32() 69 memcpy_fromio(to, (void *)(map->map_priv_1 + from), len); in mbx_copy_from() 74 writeb(d, map->map_priv_1 + adr); in mbx_write8() 79 writew(d, map->map_priv_1 + adr); in mbx_write16() 84 writel(d, map->map_priv_1 + adr); in mbx_write32() 89 memcpy_toio((void *)(map->map_priv_1 + to), from, len); in mbx_copy_to() 109 mbx_map.map_priv_1 = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE * 4); in init_mbx() 111 if (!mbx_map.map_priv_1) { in init_mbx() [all …]
|
D | netsc520.c | 55 return readb(map->map_priv_1 + ofs); in netsc520_read8() 60 return readw(map->map_priv_1 + ofs); in netsc520_read16() 65 return readl(map->map_priv_1 + ofs); in netsc520_read32() 70 memcpy_fromio(to, (void *)(map->map_priv_1 + from), len); in netsc520_copy_from() 75 writeb(d, map->map_priv_1 + adr); in netsc520_write8() 80 writew(d, map->map_priv_1 + adr); in netsc520_write16() 85 writel(d, map->map_priv_1 + adr); in netsc520_write32() 90 memcpy_toio((void *)(map->map_priv_1 + to), from, len); in netsc520_copy_to() 151 …netsc520_map.map_priv_1 = (unsigned long)ioremap_nocache(netsc520_map.map_priv_2, netsc520_map.siz… in init_netsc520() 153 if (!netsc520_map.map_priv_1) { in init_netsc520() [all …]
|
D | dbox2-flash.c | 45 return __raw_readb(map->map_priv_1 + ofs); in dbox2_flash_read8() 50 return __raw_readw(map->map_priv_1 + ofs); in dbox2_flash_read16() 55 return __raw_readl(map->map_priv_1 + ofs); in dbox2_flash_read32() 60 memcpy_fromio(to, map->map_priv_1 + from, len); in dbox2_flash_copy_from() 65 __raw_writeb(d, map->map_priv_1 + adr); in dbox2_flash_write8() 71 __raw_writew(d, map->map_priv_1 + adr); in dbox2_flash_write16() 77 __raw_writel(d, map->map_priv_1 + adr); in dbox2_flash_write32() 83 memcpy_toio(map->map_priv_1 + to, from, len); in dbox2_flash_copy_to() 103 dbox2_flash_map.map_priv_1 = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE); in init_dbox2_flash() 105 if (!dbox2_flash_map.map_priv_1) { in init_dbox2_flash() [all …]
|
D | uclinux.c | 29 return(*((__u8 *) (map->map_priv_1 + ofs))); in uclinux_read8() 34 return(*((__u16 *) (map->map_priv_1 + ofs))); in uclinux_read16() 39 return(*((__u32 *) (map->map_priv_1 + ofs))); in uclinux_read32() 44 memcpy(to, (void *)(map->map_priv_1 + from), len); in uclinux_copy_from() 49 *((__u8 *) (map->map_priv_1 + adr)) = d; in uclinux_write8() 54 *((__u16 *) (map->map_priv_1 + adr)) = d; in uclinux_write16() 59 *((__u32 *) (map->map_priv_1 + adr)) = d; in uclinux_write32() 64 memcpy((void *) (map->map_priv_1 + to), from, len); in uclinux_copy_to() 97 *mtdbuf = (u_char *) (map->map_priv_1 + ((int) from)); in uclinux_point() 118 mapp->map_priv_1 = (unsigned long) in uclinux_mtd_init() [all …]
|
D | physmap64.c | 28 return __raw_readb(map->map_priv_1 + ofs); in physmap_read8() 33 return __raw_readw(map->map_priv_1 + ofs); in physmap_read16() 38 return __raw_readl(map->map_priv_1 + ofs); in physmap_read32() 43 return __raw_readll(map->map_priv_1 + ofs); in physmap_read64() 48 memcpy_fromio(to, map->map_priv_1 + from, len); in physmap_copy_from() 53 __raw_writeb(d, map->map_priv_1 + adr); in physmap_write8() 59 __raw_writew(d, map->map_priv_1 + adr); in physmap_write16() 65 __raw_writel(d, map->map_priv_1 + adr); in physmap_write32() 71 __raw_writell(d, map->map_priv_1 + adr); in physmap_write64() 77 memcpy_toio(map->map_priv_1 + to, from, len); in physmap_copy_to() [all …]
|
D | cfi_flagadm.c | 60 return __raw_readb(map->map_priv_1 + ofs); in flagadm_read8() 65 return __raw_readw(map->map_priv_1 + ofs); in flagadm_read16() 70 return __raw_readl(map->map_priv_1 + ofs); in flagadm_read32() 75 memcpy_fromio(to, map->map_priv_1 + from, len); in flagadm_copy_from() 80 __raw_writeb(d, map->map_priv_1 + adr); in flagadm_write8() 86 __raw_writew(d, map->map_priv_1 + adr); in flagadm_write16() 92 __raw_writel(d, map->map_priv_1 + adr); in flagadm_write32() 98 memcpy_toio(map->map_priv_1 + to, from, len); in flagadm_copy_to() 147 flagadm_map.map_priv_1 = (unsigned long)ioremap(FLASH_PHYS_ADDR, in init_flagadm() 150 if (!flagadm_map.map_priv_1) { in init_flagadm() [all …]
|
D | ocelot.c | 32 return __raw_readb(map->map_priv_1 + ofs); in ocelot_read8() 38 __raw_writeb(d, map->map_priv_1 + adr); in ocelot_write8() 48 memcpy_fromio(to, map->map_priv_1 + from, len); in ocelot_copy_from_cache() 53 memcpy_fromio(to, map->map_priv_1 + from, len); in ocelot_copy_from() 63 __raw_writeb(*(unsigned char *) from, map->map_priv_1 + to); in ocelot_copy_to() 110 ocelot_nvram_map.map_priv_1 = (unsigned long)ioremap_nocache(NVRAM_WINDOW_ADDR, NVRAM_WINDOW_SIZE); in init_ocelot_maps() 111 if (!ocelot_nvram_map.map_priv_1) { in init_ocelot_maps() 127 ocelot_flash_map.map_priv_1 = (unsigned long)ioremap_nocache(FLASH_WINDOW_ADDR, FLASH_WINDOW_SIZE); in init_ocelot_maps() 128 if (!ocelot_flash_map.map_priv_1) { in init_ocelot_maps() 137 ocelot_flash_map.map_priv_2 = ocelot_flash_map.map_priv_1; in init_ocelot_maps() [all …]
|
D | physmap.c | 27 return __raw_readb(map->map_priv_1 + ofs); in physmap_read8() 32 return __raw_readw(map->map_priv_1 + ofs); in physmap_read16() 37 return __raw_readl(map->map_priv_1 + ofs); in physmap_read32() 42 memcpy_fromio(to, map->map_priv_1 + from, len); in physmap_copy_from() 47 __raw_writeb(d, map->map_priv_1 + adr); in physmap_write8() 53 __raw_writew(d, map->map_priv_1 + adr); in physmap_write16() 59 __raw_writel(d, map->map_priv_1 + adr); in physmap_write32() 65 memcpy_toio(map->map_priv_1 + to, from, len); in physmap_copy_to() 124 physmap_map.map_priv_1 = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE); in init_physmap() 126 if (!physmap_map.map_priv_1) { in init_physmap() [all …]
|
D | cdb89712.c | 21 return __raw_readb(map->map_priv_1 + ofs); in cdb89712_read8() 26 return __raw_readw(map->map_priv_1 + ofs); in cdb89712_read16() 31 return __raw_readl(map->map_priv_1 + ofs); in cdb89712_read32() 36 __raw_writeb(d, map->map_priv_1 + adr); in cdb89712_write8() 42 __raw_writew(d, map->map_priv_1 + adr); in cdb89712_write16() 48 __raw_writel(d, map->map_priv_1 + adr); in cdb89712_write32() 55 memcpy_fromio(to, map->map_priv_1 + from, len); in cdb89712_copy_from() 61 __raw_writeb(*(unsigned char *) from, map->map_priv_1 + to); in cdb89712_copy_to() 102 cdb89712_flash_map.map_priv_1 = (unsigned long)ioremap(FLASH_START, FLASH_SIZE); in init_cdb89712_flash() 103 if (!cdb89712_flash_map.map_priv_1) { in init_cdb89712_flash() [all …]
|
D | edb7312.c | 40 return __raw_readb(map->map_priv_1 + ofs); in edb7312nor_read8() 45 return __raw_readw(map->map_priv_1 + ofs); in edb7312nor_read16() 50 return __raw_readl(map->map_priv_1 + ofs); in edb7312nor_read32() 55 memcpy_fromio(to, map->map_priv_1 + from, len); in edb7312nor_copy_from() 60 __raw_writeb(d, map->map_priv_1 + adr); in edb7312nor_write8() 66 __raw_writew(d, map->map_priv_1 + adr); in edb7312nor_write16() 72 __raw_writel(d, map->map_priv_1 + adr); in edb7312nor_write32() 78 memcpy_toio(map->map_priv_1 + to, from, len); in edb7312nor_copy_to() 140 edb7312nor_map.map_priv_1 = (unsigned long) in init_edb7312nor() 143 if (!edb7312nor_map.map_priv_1) { in init_edb7312nor() [all …]
|
D | nettel.c | 64 return(readb(map->map_priv_1 + ofs)); in nettel_read8() 69 return(readw(map->map_priv_1 + ofs)); in nettel_read16() 74 return(readl(map->map_priv_1 + ofs)); in nettel_read32() 79 memcpy_fromio(to, map->map_priv_1 + from, len); in nettel_copy_from() 84 writeb(d, map->map_priv_1 + adr); in nettel_write8() 89 writew(d, map->map_priv_1 + adr); in nettel_write16() 94 writel(d, map->map_priv_1 + adr); in nettel_write32() 99 memcpy_toio(map->map_priv_1 + to, from, len); in nettel_copy_to() 331 nettel_amd_map.map_priv_1 = (unsigned long) in nettel_init() 333 if (!nettel_amd_map.map_priv_1) { in nettel_init() [all …]
|
D | iq80310.c | 31 return *(__u8 *)(map->map_priv_1 + ofs); in iq80310_read8() 36 return *(__u16 *)(map->map_priv_1 + ofs); in iq80310_read16() 41 return *(__u32 *)(map->map_priv_1 + ofs); in iq80310_read32() 46 memcpy(to, (void *)(map->map_priv_1 + from), len); in iq80310_copy_from() 51 *(__u8 *)(map->map_priv_1 + adr) = d; in iq80310_write8() 56 *(__u16 *)(map->map_priv_1 + adr) = d; in iq80310_write16() 61 *(__u32 *)(map->map_priv_1 + adr) = d; in iq80310_write32() 66 memcpy((void *)(map->map_priv_1 + to), from, len); in iq80310_copy_to() 119 iq80310_map.map_priv_1 = (unsigned long)ioremap(WINDOW_ADDR, WINDOW_SIZE); in init_iq80310() 120 if (!iq80310_map.map_priv_1) { in init_iq80310() [all …]
|
D | lasat.c | 30 return __raw_readb(map->map_priv_1 + ofs); in sp_read8() 35 return __raw_readw(map->map_priv_1 + ofs); in sp_read16() 40 return __raw_readl(map->map_priv_1 + ofs); in sp_read32() 45 memcpy_fromio(to, map->map_priv_1 + from, len); in sp_copy_from() 50 __raw_writeb(d, map->map_priv_1 + adr); in sp_write8() 56 __raw_writew(d, map->map_priv_1 + adr); in sp_write16() 62 __raw_writel(d, map->map_priv_1 + adr); in sp_write32() 68 memcpy_toio(map->map_priv_1 + to, from, len); in sp_copy_to() 95 sp_map.map_priv_1 = lasat_flash_partition_start(LASAT_MTD_BOOTLOADER); in init_sp() 99 sp_map.size, sp_map.map_priv_1); in init_sp() [all …]
|
D | l440gx.c | 32 return __raw_readb(map->map_priv_1 + ofs); in l440gx_read8() 37 return __raw_readw(map->map_priv_1 + ofs); in l440gx_read16() 42 return __raw_readl(map->map_priv_1 + ofs); in l440gx_read32() 47 memcpy_fromio(to, map->map_priv_1 + from, len); in l440gx_copy_from() 52 __raw_writeb(d, map->map_priv_1 + adr); in l440gx_write8() 58 __raw_writew(d, map->map_priv_1 + adr); in l440gx_write16() 64 __raw_writel(d, map->map_priv_1 + adr); in l440gx_write32() 70 memcpy_toio(map->map_priv_1 + to, from, len); in l440gx_copy_to() 126 l440gx_map.map_priv_1 = (unsigned long)ioremap_nocache(WINDOW_ADDR, WINDOW_SIZE); in init_l440gx() 128 if (!l440gx_map.map_priv_1) { in init_l440gx() [all …]
|
D | dc21285.c | 27 return *(__u8*)(map->map_priv_1 + ofs); in dc21285_read8() 32 return *(__u16*)(map->map_priv_1 + ofs); in dc21285_read16() 37 return *(__u32*)(map->map_priv_1 + ofs); in dc21285_read32() 42 memcpy(to, (void*)(map->map_priv_1 + from), len); in dc21285_copy_from() 49 *(__u8*)(map->map_priv_1 + adr) = d; in dc21285_write8() 56 *(__u16*)(map->map_priv_1 + adr) = d; in dc21285_write16() 61 *(__u32*)(map->map_priv_1 + adr) = d; in dc21285_write32() 134 dc21285_map.map_priv_1 = (unsigned long)ioremap(DC21285_FLASH, 16*1024*1024); in init_dc21285() 135 if (!dc21285_map.map_priv_1) { in init_dc21285() 174 iounmap((void *)dc21285_map.map_priv_1); in init_dc21285() [all …]
|
D | autcpu12-nvram.c | 37 return __raw_readb(map->map_priv_1 + ofs); in autcpu12_read8() 42 return __raw_readw(map->map_priv_1 + ofs); in autcpu12_read16() 47 return __raw_readl(map->map_priv_1 + ofs); in autcpu12_read32() 52 __raw_writeb(d, map->map_priv_1 + adr); in autcpu12_write8() 58 __raw_writew(d, map->map_priv_1 + adr); in autcpu12_write16() 64 __raw_writel(d, map->map_priv_1 + adr); in autcpu12_write32() 70 memcpy_fromio(to, map->map_priv_1 + from, len); in autcpu12_copy_from() 76 __raw_writeb(*(unsigned char *) from, map->map_priv_1 + to); in autcpu12_copy_to() 103 autcpu12_sram_map.map_priv_1 = (unsigned long)ioremap(0x12000000, SZ_128K); in init_autcpu12_sram() 104 if (!autcpu12_sram_map.map_priv_1) { in init_autcpu12_sram() [all …]
|
D | redwood.c | 48 return *(__u8 *)(map->map_priv_1 + ofs); in redwood_flash_read8() 53 return *(__u16 *)(map->map_priv_1 + ofs); in redwood_flash_read16() 58 return *(volatile unsigned int *)(map->map_priv_1 + ofs); in redwood_flash_read32() 64 memcpy(to, (void *)(map->map_priv_1 + from), len); in redwood_flash_copy_from() 69 *(__u8 *)(map->map_priv_1 + adr) = d; in redwood_flash_write8() 74 *(__u16 *)(map->map_priv_1 + adr) = d; in redwood_flash_write16() 79 *(__u32 *)(map->map_priv_1 + adr) = d; in redwood_flash_write32() 85 memcpy((void *)(map->map_priv_1 + to), from, len); in redwood_flash_copy_to() 143 redwood_flash_map.map_priv_1 = in init_redwood_flash() 146 if (!redwood_flash_map.map_priv_1) { in init_redwood_flash() [all …]
|
D | pb1xxx-flash.c | 35 ret = __raw_readb(map->map_priv_1 + ofs); in physmap_read8() 36 DBG("read8 from %x, %x\n", (unsigned)(map->map_priv_1 + ofs), ret); in physmap_read8() 43 ret = __raw_readw(map->map_priv_1 + ofs); in physmap_read16() 44 DBG("read16 from %x, %x\n", (unsigned)(map->map_priv_1 + ofs), ret); in physmap_read16() 51 ret = __raw_readl(map->map_priv_1 + ofs); in physmap_read32() 52 DBG("read32 from %x, %x\n", (unsigned)(map->map_priv_1 + ofs), ret); in physmap_read32() 59 memcpy_fromio(to, map->map_priv_1 + from, len); in physmap_copy_from() 64 DBG("write8 at %x, %x\n", (unsigned)(map->map_priv_1 + adr), d); in physmap_write8() 65 __raw_writeb(d, map->map_priv_1 + adr); in physmap_write8() 71 DBG("write16 at %x, %x\n", (unsigned)(map->map_priv_1 + adr), d); in physmap_write16() [all …]
|
D | epxa10db-flash.c | 51 return __raw_readb(map->map_priv_1 + ofs); in epxa_read8() 56 return __raw_readw(map->map_priv_1 + ofs); in epxa_read16() 61 return __raw_readl(map->map_priv_1 + ofs); in epxa_read32() 66 memcpy_fromio(to, (void *)(map->map_priv_1 + from), len); in epxa_copy_from() 71 __raw_writeb(d, map->map_priv_1 + adr); in epxa_write8() 77 __raw_writew(d, map->map_priv_1 + adr); in epxa_write16() 83 __raw_writel(d, map->map_priv_1 + adr); in epxa_write32() 89 memcpy_toio((void *)(map->map_priv_1 + to), from, len); in epxa_copy_to() 114 epxa_map.map_priv_1 = (unsigned long)ioremap(FLASH_START, FLASH_SIZE); in epxa_mtd_init() 115 if (!epxa_map.map_priv_1) { in epxa_mtd_init() [all …]
|
D | impa7.c | 42 return __raw_readb(map->map_priv_1 + ofs); in impa7_read8() 47 return __raw_readw(map->map_priv_1 + ofs); in impa7_read16() 52 return __raw_readl(map->map_priv_1 + ofs); in impa7_read32() 57 memcpy_fromio(to, map->map_priv_1 + from, len); in impa7_copy_from() 62 __raw_writeb(d, map->map_priv_1 + adr); in impa7_write8() 68 __raw_writew(d, map->map_priv_1 + adr); in impa7_write16() 74 __raw_writel(d, map->map_priv_1 + adr); in impa7_write32() 80 memcpy_toio(map->map_priv_1 + to, from, len); in impa7_copy_to() 156 impa7_map[i].map_priv_1 = (unsigned long) in init_impa7() 159 if (!impa7_map[i].map_priv_1) { in init_impa7() [all …]
|
D | sun_uflash.c | 53 return(__raw_readb(map->map_priv_1 + ofs)); in uflash_read8() 58 return(__raw_readw(map->map_priv_1 + ofs)); in uflash_read16() 63 return(__raw_readl(map->map_priv_1 + ofs)); in uflash_read32() 69 memcpy_fromio(to, map->map_priv_1 + from, len); in uflash_copy_from() 74 __raw_writeb(d, map->map_priv_1 + adr); in uflash_write8() 79 __raw_writew(d, map->map_priv_1 + adr); in uflash_write16() 84 __raw_writel(d, map->map_priv_1 + adr); in uflash_write32() 90 memcpy_toio(map->map_priv_1 + to, from, len); in uflash_copy_to() 149 pdev->map.map_priv_1 = in uflash_devinit() 151 if(0 == pdev->map.map_priv_1) { in uflash_devinit() [all …]
|
D | sc520cdp.c | 89 return readb(map->map_priv_1 + ofs); in sc520cdp_read8() 94 return readw(map->map_priv_1 + ofs); in sc520cdp_read16() 99 return readl(map->map_priv_1 + ofs); in sc520cdp_read32() 104 memcpy_fromio(to, (void *)(map->map_priv_1 + from), len); in sc520cdp_copy_from() 109 writeb(d, map->map_priv_1 + adr); in sc520cdp_write8() 114 writew(d, map->map_priv_1 + adr); in sc520cdp_write16() 119 writel(d, map->map_priv_1 + adr); in sc520cdp_write32() 124 memcpy_toio((void *)(map->map_priv_1 + to), from, len); in sc520cdp_copy_to() 304 …sc520cdp_map[i].map_priv_1 = (unsigned long)ioremap_nocache(sc520cdp_map[i].map_priv_2, sc520cdp_m… in init_sc520cdp() 306 if (!sc520cdp_map[i].map_priv_1) { in init_sc520cdp() [all …]
|
D | solutionengine.c | 25 return __raw_readl(map->map_priv_1 + ofs); in soleng_read32() 30 __raw_writel(d, map->map_priv_1 + adr); in soleng_write32() 36 memcpy_fromio(to, map->map_priv_1 + from, len); in soleng_copy_from() 84 soleng_flash_map.map_priv_1 = P2SEGADDR(0); in init_soleng_maps() 85 soleng_eprom_map.map_priv_1 = P1SEGADDR(0x01000000); in init_soleng_maps() 92 soleng_flash_map.map_priv_1 = P2SEGADDR(0x01000000); in init_soleng_maps() 93 soleng_eprom_map.map_priv_1 = P1SEGADDR(0); in init_soleng_maps() 102 soleng_flash_map.map_priv_1 & 0x1fffffff, in init_soleng_maps() 103 soleng_eprom_map.map_priv_1 & 0x1fffffff); in init_soleng_maps()
|
D | cstm_mips_ixx.c | 48 return *(__u8 *)(map->map_priv_1 + ofs); in cstm_mips_ixx_read8() 53 return *(__u16 *)(map->map_priv_1 + ofs); in cstm_mips_ixx_read16() 58 return *(__u32 *)(map->map_priv_1 + ofs); in cstm_mips_ixx_read32() 63 memcpy_fromio(to, map->map_priv_1 + from, len); in cstm_mips_ixx_copy_from() 68 *(__u8 *)(map->map_priv_1 + adr) = d; in cstm_mips_ixx_write8() 73 *(__u16 *)(map->map_priv_1 + adr) = d; in cstm_mips_ixx_write16() 78 *(__u32 *)(map->map_priv_1 + adr) = d; in cstm_mips_ixx_write32() 83 memcpy_toio(map->map_priv_1 + to, from, len); in cstm_mips_ixx_copy_to() 221 …cstm_mips_ixx_map[i].map_priv_1 = (unsigned long)ioremap(cstm_mips_ixx_board_desc[i].window_addr, … in init_cstm_mips_ixx() 222 if (!cstm_mips_ixx_map[i].map_priv_1) { in init_cstm_mips_ixx() [all …]
|