Lines Matching defs:part
44 struct flash_partition *part)
49 faa.partinfo = *part;
88 struct flash_partition part;
93 part.part_size = 0;
96 part.part_size = flash_parse_size(partdef, &partdef);
97 if (part.part_size == 0)
104 part.part_offset = flash_parse_size(partdef, &partdef);
107 part.part_offset = *offset;
111 if (part.part_size == 0)
112 part.part_size = flash_size - part.part_offset;
117 part.part_name = partdef;
125 part.part_flags = 0;
127 part.part_flags |= FLASH_PART_READONLY;
131 *ppart = part;
133 *offset = part.part_offset + part.part_size;
142 struct flash_partition part;
156 &part);
163 flash_attach_partition(flash_if, parent, &part);