Searched refs:mtd_part (Results 1 – 2 of 2) sorted by relevance
41 struct mtd_part { struct52 #define PART(x) ((struct mtd_part *)(x))87 struct mtd_part *part = PART(mtd); in part_read()107 struct mtd_part *part = PART(mtd); in part_point()115 struct mtd_part *part = PART(mtd); in part_unpoint()126 struct mtd_part *part = PART(mtd); in part_get_unmapped_area()136 struct mtd_part *part = PART(mtd); in part_read_oob()174 struct mtd_part *part = PART(mtd); in part_read_user_prot_reg()182 struct mtd_part *part = PART(mtd); in part_get_user_prot_info()190 struct mtd_part *part = PART(mtd); in part_read_fact_prot_reg()[all …]
415 struct mtd_partition mtd_part; in ubi_dev_scan() local424 memset(&mtd_part, 0, sizeof(mtd_part)); in ubi_dev_scan()425 mtd_part.name = buffer; in ubi_dev_scan()426 mtd_part.size = part->size; in ubi_dev_scan()427 mtd_part.offset = part->offset; in ubi_dev_scan()428 add_mtd_partitions(info, &mtd_part, 1); in ubi_dev_scan()