Lines Matching refs:offset

51 	uint32_t offset[3];  member
55 u64 offset, uint32_t mask_flags) in bcm47xxpart_add_part() argument
58 part->offset = offset; in bcm47xxpart_add_part()
94 uint32_t offset; in bcm47xxpart_parse() local
121 for (offset = 0; offset <= master->size - blocksize; in bcm47xxpart_parse()
122 offset += blocksize) { in bcm47xxpart_parse()
124 if (IS_ENABLED(CONFIG_BCM47XX) && offset >= 0x2000000) in bcm47xxpart_parse()
133 err = mtd_read(master, offset, BCM47XXPART_BYTES_TO_READ, in bcm47xxpart_parse()
137 offset, err); in bcm47xxpart_parse()
145 offset, MTD_WRITEABLE); in bcm47xxpart_parse()
155 offset, MTD_WRITEABLE); in bcm47xxpart_parse()
162 offset, MTD_WRITEABLE); 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()
190 offset); in bcm47xxpart_parse()
194 offset, 0); in bcm47xxpart_parse()
204 last_subpart = max3(trx->offset[0], trx->offset[1], in bcm47xxpart_parse()
205 trx->offset[2]); in bcm47xxpart_parse()
212 offset += roundup(trx_size, blocksize) - blocksize; in bcm47xxpart_parse()
220 offset, 0); in bcm47xxpart_parse()
228 if (offset != master->size - blocksize && in bcm47xxpart_parse()
231 offset, 0); in bcm47xxpart_parse()
236 err = mtd_read(master, offset + 0x8000, 0x4, &bytes_read, in bcm47xxpart_parse()
240 offset + 0x8000, err); in bcm47xxpart_parse()
247 offset, MTD_WRITEABLE); in bcm47xxpart_parse()
259 offset = master->size - possible_nvram_sizes[i]; in bcm47xxpart_parse()
260 err = mtd_read(master, offset, 0x4, &bytes_read, in bcm47xxpart_parse()
264 offset, err); in bcm47xxpart_parse()
284 parts[i + 1].offset : master->size; in bcm47xxpart_parse()
286 parts[i].size = next_part_offset - parts[i].offset; in bcm47xxpart_parse()