Lines Matching refs:curr_part
95 uint8_t i, curr_part = 0; in bcm47xxpart_parse() local
131 if (curr_part >= BCM47XXPART_MAX_PARTS) { in bcm47xxpart_parse()
148 bcm47xxpart_add_part(&parts[curr_part++], "boot", in bcm47xxpart_parse()
158 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse()
165 bcm47xxpart_add_part(&parts[curr_part++], "factory", in bcm47xxpart_parse()
173 bcm47xxpart_add_part(&parts[curr_part++], "POT", offset, in bcm47xxpart_parse()
181 bcm47xxpart_add_part(&parts[curr_part++], "ML", offset, in bcm47xxpart_parse()
196 trx_parts[trx_num++] = curr_part; in bcm47xxpart_parse()
197 bcm47xxpart_add_part(&parts[curr_part++], "firmware", in bcm47xxpart_parse()
223 bcm47xxpart_add_part(&parts[curr_part++], "rootfs", in bcm47xxpart_parse()
234 bcm47xxpart_add_part(&parts[curr_part++], "nvram", in bcm47xxpart_parse()
250 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse()
258 if (curr_part >= BCM47XXPART_MAX_PARTS) { in bcm47xxpart_parse()
274 bcm47xxpart_add_part(&parts[curr_part++], "nvram", in bcm47xxpart_parse()
286 for (i = 0; i < curr_part; i++) { in bcm47xxpart_parse()
287 u64 next_part_offset = (i < curr_part - 1) ? in bcm47xxpart_parse()
304 return curr_part; in bcm47xxpart_parse()