Home
last modified time | relevance | path

Searched refs:mtdinfo (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/mtd/devices/
Dslram.c61 struct mtd_info *mtdinfo; member
173 (*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 …]
/linux-2.6.39/include/linux/mtd/
Dsh_flctl.h126 static inline struct sh_flctl *mtd_to_flctl(struct mtd_info *mtdinfo) in mtd_to_flctl() argument
128 return container_of(mtdinfo, struct sh_flctl, mtd); in mtd_to_flctl()
/linux-2.6.39/drivers/mtd/nand/
Dppchameleonevb.c109 static void ppchameleon_hwcontrol(struct mtd_info *mtdinfo, int cmd, in ppchameleon_hwcontrol() argument
141 static void ppchameleonevb_hwcontrol(struct mtd_info *mtdinfo, int cmd, in ppchameleonevb_hwcontrol() argument
Dfsl_upm.c52 static inline struct fsl_upm_nand *to_fsl_upm_nand(struct mtd_info *mtdinfo) in to_fsl_upm_nand() argument
54 return container_of(mtdinfo, struct fsl_upm_nand, mtd); in to_fsl_upm_nand()