Searched refs:mtdinfo (Results 1 – 4 of 4) sorted by relevance
61 struct mtd_info *mtdinfo; member173 (*curmtd)->mtdinfo = kzalloc(sizeof(struct mtd_info), GFP_KERNEL); in register_device()176 if ((*curmtd)->mtdinfo) { in register_device()177 (*curmtd)->mtdinfo->priv = in register_device()180 if (!(*curmtd)->mtdinfo->priv) { in register_device()181 kfree((*curmtd)->mtdinfo); in register_device()182 (*curmtd)->mtdinfo = NULL; in register_device()186 if (!(*curmtd)->mtdinfo) { in register_device()191 if (!(((slram_priv_t *)(*curmtd)->mtdinfo->priv)->start = in register_device()196 ((slram_priv_t *)(*curmtd)->mtdinfo->priv)->end = in register_device()[all …]
126 static inline struct sh_flctl *mtd_to_flctl(struct mtd_info *mtdinfo) in mtd_to_flctl() argument128 return container_of(mtdinfo, struct sh_flctl, mtd); in mtd_to_flctl()
109 static void ppchameleon_hwcontrol(struct mtd_info *mtdinfo, int cmd, in ppchameleon_hwcontrol() argument141 static void ppchameleonevb_hwcontrol(struct mtd_info *mtdinfo, int cmd, in ppchameleonevb_hwcontrol() argument
52 static inline struct fsl_upm_nand *to_fsl_upm_nand(struct mtd_info *mtdinfo) in to_fsl_upm_nand() argument54 return container_of(mtdinfo, struct fsl_upm_nand, mtd); in to_fsl_upm_nand()