Lines Matching refs:slram_priv_t
58 } slram_priv_t; typedef
85 slram_priv_t *priv = mtd->priv; in slram_erase()
95 slram_priv_t *priv = mtd->priv; in slram_point()
110 slram_priv_t *priv = mtd->priv; in slram_read()
120 slram_priv_t *priv = mtd->priv; in slram_write()
148 kzalloc(sizeof(slram_priv_t), GFP_KERNEL); in register_device()
161 if (!(((slram_priv_t *)(*curmtd)->mtdinfo->priv)->start = in register_device()
167 ((slram_priv_t *)(*curmtd)->mtdinfo->priv)->end = in register_device()
168 ((slram_priv_t *)(*curmtd)->mtdinfo->priv)->start + length; in register_device()
186 memunmap(((slram_priv_t *)(*curmtd)->mtdinfo->priv)->start); in register_device()
194 ((slram_priv_t *)(*curmtd)->mtdinfo->priv)->start, in register_device()
195 ((slram_priv_t *)(*curmtd)->mtdinfo->priv)->end); in register_device()
206 memunmap(((slram_priv_t *)slram_mtdlist->mtdinfo->priv)->start); in unregister_devices()