Searched refs:map_priv_1 (Results 1 – 10 of 10) sorted by relevance
/linux-2.6.39/drivers/mtd/maps/ |
D | ixp2000.c | 77 val.x[0] = *((u8 *)(map->map_priv_1 + flash_bank_setup(map, ofs))); in ixp2000_flash_read8() 91 *(__u8 *) to++ = *(__u8 *)(map->map_priv_1 + from++); in ixp2000_flash_copy_from() 96 *(__u8 *) (address_fix8_write(map->map_priv_1 + in ixp2000_flash_write8() 105 unsigned long tmp = address_fix8_write(map->map_priv_1 + to++); in ixp2000_flash_copy_to() 125 if (info->map.map_priv_1) in ixp2000_flash_remove() 126 iounmap((void *) info->map.map_priv_1); in ixp2000_flash_remove() 205 info->map.map_priv_1 = (unsigned long) ioremap(dev->resource->start, in ixp2000_flash_probe() 207 if (!info->map.map_priv_1) { in ixp2000_flash_probe()
|
D | vmax301.c | 44 map->map_priv_1 = page; in __vmax301_page() 51 if (map->map_priv_1 != page) in vmax301_page() 116 .map_priv_1 = WINDOW_START + WINDOW_LENGTH, 128 .map_priv_1 = WINDOW_START + (3*WINDOW_LENGTH), 145 iounmap((void *)vmax_map[0].map_priv_1 - WINDOW_START); in cleanup_vmax301()
|
D | bfin-async-flash.c | 75 struct async_state *state = (struct async_state *)map->map_priv_1; in bfin_flash_read() 91 struct async_state *state = (struct async_state *)map->map_priv_1; in bfin_flash_copy_from() 102 struct async_state *state = (struct async_state *)map->map_priv_1; in bfin_flash_write() 117 struct async_state *state = (struct async_state *)map->map_priv_1; in bfin_flash_copy_to() 152 state->map.map_priv_1 = (unsigned long)state; in bfin_flash_probe()
|
D | latch-addr-flash.c | 47 info = (struct latch_addr_flash_info *)map->map_priv_1; in lf_read() 63 info = (struct latch_addr_flash_info *)map->map_priv_1; in lf_write() 77 (struct latch_addr_flash_info *) map->map_priv_1; in lf_copy_from() 196 info->map.map_priv_1 = (unsigned long)info; in latch_addr_flash_probe()
|
D | octagon-5066.c | 56 __u8 byte = map->map_priv_1 | (ofs >> WINDOW_SHIFT); in oct5066_page() 125 .map_priv_1 = 1<<6 136 .map_priv_1 = 2<<6
|
D | pcmciamtd.c | 102 struct pcmciamtd_dev *dev = (struct pcmciamtd_dev *)map->map_priv_1; in remap_window() 157 struct pcmciamtd_dev *dev = (struct pcmciamtd_dev *)map->map_priv_1; in pcmcia_copy_from_remap() 206 struct pcmciamtd_dev *dev = (struct pcmciamtd_dev *)map->map_priv_1; in pcmcia_copy_to_remap() 232 #define DEV_REMOVED(x) (!(pcmcia_dev_present(((struct pcmciamtd_dev *)map->map_priv_1)->p_dev))) 316 struct pcmciamtd_dev *dev = (struct pcmciamtd_dev *)map->map_priv_1; in pcmciamtd_set_vpp() 556 dev->pcmcia_map.map_priv_1 = (unsigned long)dev; in pcmciamtd_config()
|
D | gpio-addr-flash.c | 51 #define gf_map_info_to_state(mi) ((struct async_state *)(mi)->map_priv_1) 230 state->map.map_priv_1 = (unsigned long)state; in gpio_flash_probe()
|
/linux-2.6.39/arch/cris/arch-v10/drivers/ |
D | axisflashmap.c | 58 tmp.x[0] = *(flash_data *)(map->map_priv_1 + ofs); in flash_read() 65 memcpy(to, (void *)(map->map_priv_1 + from), len); in flash_copy_from() 70 *(flash_data *)(map->map_priv_1 + adr) = (flash_data)d.x[0]; in flash_write() 95 .map_priv_1 = FLASH_UNCACHED_ADDR 111 .map_priv_1 = FLASH_UNCACHED_ADDR + MEM_CSE0_SIZE 199 map_cs->name, map_cs->size, map_cs->map_priv_1); in probe_cs()
|
/linux-2.6.39/arch/cris/arch-v32/drivers/ |
D | axisflashmap.c | 65 tmp.x[0] = *(flash_data *)(map->map_priv_1 + ofs); in flash_read() 72 memcpy(to, (void *)(map->map_priv_1 + from), len); in flash_copy_from() 77 *(flash_data *)(map->map_priv_1 + adr) = (flash_data)d.x[0]; in flash_write() 102 .map_priv_1 = FLASH_UNCACHED_ADDR 118 .map_priv_1 = FLASH_UNCACHED_ADDR + MEM_CSE0_SIZE 235 map_cs->name, map_cs->size, map_cs->map_priv_1); in probe_cs()
|
/linux-2.6.39/include/linux/mtd/ |
D | map.h | 245 unsigned long map_priv_1; member
|