Searched refs:snor_mtd_dev (Results 1 – 1 of 1) sorted by relevance
15 struct snor_mtd_dev { struct26 static inline struct snor_mtd_dev *mtd_to_priv(struct mtd_info *ptr_mtd) in mtd_to_priv() argument28 return (struct snor_mtd_dev *)((char *)ptr_mtd - in mtd_to_priv()29 offsetof(struct snor_mtd_dev, mtd)); in mtd_to_priv()35 struct snor_mtd_dev *p_dev = mtd_to_priv(mtd); in sfc_erase_mtd()88 struct snor_mtd_dev *p_dev = mtd_to_priv(mtd); in sfc_write_mtd()137 struct snor_mtd_dev *p_dev = mtd_to_priv(mtd); in sfc_read_mtd()184 struct snor_mtd_dev *priv_dev = kzalloc(sizeof(*priv_dev), GFP_KERNEL); in sfc_nor_mtd_init()