• Home
  • Raw
  • Download

Lines Matching refs:master

59 static int parse_redboot_partitions(struct mtd_info *master,  in parse_redboot_partitions()  argument
80 offset = master->size + directory * master->erasesize; in parse_redboot_partitions()
81 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
87 offset -= master->erasesize; in parse_redboot_partitions()
90 offset = directory * master->erasesize; in parse_redboot_partitions()
91 while (mtd_block_isbad(master, offset)) { in parse_redboot_partitions()
92 offset += master->erasesize; in parse_redboot_partitions()
93 if (offset == master->size) in parse_redboot_partitions()
97 buf = vmalloc(master->erasesize); in parse_redboot_partitions()
103 master->name, offset); in parse_redboot_partitions()
105 ret = mtd_read(master, offset, master->erasesize, &retlen, in parse_redboot_partitions()
111 if (retlen != master->erasesize) { in parse_redboot_partitions()
116 numslots = (master->erasesize / sizeof(struct fis_image_desc)); in parse_redboot_partitions()
134 if (swab32(buf[i].size) == master->erasesize || in parse_redboot_partitions()
135 (buf[i].size > master->erasesize in parse_redboot_partitions()
136 && swab32(buf[i].size) < master->erasesize)) { in parse_redboot_partitions()
164 } else if (buf[i].size < master->erasesize) { in parse_redboot_partitions()
174 master->name); in parse_redboot_partitions()
202 buf[i].flash_base &= master->size-1; in parse_redboot_partitions()
222 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_ba… in parse_redboot_partitions()
269 …if(fl->next && fl->img->flash_base + fl->img->size + master->erasesize <= fl->next->img->flash_bas… in parse_redboot_partitions()