Lines Matching refs:curr_part
91 uint8_t i, curr_part = 0; in bcm47xxpart_parse() local
127 if (curr_part >= BCM47XXPART_MAX_PARTS) { in bcm47xxpart_parse()
144 bcm47xxpart_add_part(&parts[curr_part++], "boot", in bcm47xxpart_parse()
154 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse()
161 bcm47xxpart_add_part(&parts[curr_part++], "factory", in bcm47xxpart_parse()
169 bcm47xxpart_add_part(&parts[curr_part++], "POT", offset, in bcm47xxpart_parse()
177 bcm47xxpart_add_part(&parts[curr_part++], "ML", offset, in bcm47xxpart_parse()
192 trx_parts[trx_num++] = curr_part; in bcm47xxpart_parse()
193 bcm47xxpart_add_part(&parts[curr_part++], "firmware", in bcm47xxpart_parse()
219 bcm47xxpart_add_part(&parts[curr_part++], "rootfs", in bcm47xxpart_parse()
230 bcm47xxpart_add_part(&parts[curr_part++], "nvram", in bcm47xxpart_parse()
246 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse()
254 if (curr_part >= BCM47XXPART_MAX_PARTS) { in bcm47xxpart_parse()
270 bcm47xxpart_add_part(&parts[curr_part++], "nvram", in bcm47xxpart_parse()
282 for (i = 0; i < curr_part; i++) { in bcm47xxpart_parse()
283 u64 next_part_offset = (i < curr_part - 1) ? in bcm47xxpart_parse()
300 return curr_part; in bcm47xxpart_parse()