Lines Matching full:parts

157 	struct mtd_partition *parts;  in db1x_register_norflash()  local
165 parts = kcalloc(5, sizeof(struct mtd_partition), GFP_KERNEL); in db1x_register_norflash()
166 if (!parts) in db1x_register_norflash()
192 parts[i].offset = 0; in db1x_register_norflash()
193 parts[i].name = "User FS"; in db1x_register_norflash()
194 parts[i].size = size / 2; in db1x_register_norflash()
198 parts[i].offset = MTDPART_OFS_APPEND; in db1x_register_norflash()
199 parts[i].name = "User FS 2"; in db1x_register_norflash()
200 parts[i].size = (size / 2) - (0x20000000 - 0x1fc00000); in db1x_register_norflash()
203 parts[i].offset = MTDPART_OFS_APPEND; in db1x_register_norflash()
204 parts[i].name = "YAMON"; in db1x_register_norflash()
205 parts[i].size = YAMON_SIZE; in db1x_register_norflash()
206 parts[i].mask_flags = MTD_WRITEABLE; in db1x_register_norflash()
209 parts[i].offset = MTDPART_OFS_APPEND; in db1x_register_norflash()
210 parts[i].name = "raw kernel"; in db1x_register_norflash()
211 parts[i].size = 0x00400000 - YAMON_SIZE - YAMON_ENV_SIZE; in db1x_register_norflash()
214 parts[i].offset = MTDPART_OFS_APPEND; in db1x_register_norflash()
215 parts[i].name = "YAMON Env"; in db1x_register_norflash()
216 parts[i].size = YAMON_ENV_SIZE; in db1x_register_norflash()
217 parts[i].mask_flags = MTD_WRITEABLE; in db1x_register_norflash()
221 parts[i].offset = MTDPART_OFS_APPEND; in db1x_register_norflash()
222 parts[i].name = "User FS"; in db1x_register_norflash()
223 parts[i].size = size / 2; in db1x_register_norflash()
228 pfd->parts = parts; in db1x_register_norflash()
245 kfree(parts); in db1x_register_norflash()