Searched refs:cur_offset (Results 1 – 3 of 3) sorted by relevance
/u-boot/drivers/mtd/ |
A D | mtdpart.c | 575 int partno, uint64_t cur_offset) in allocate_partition() argument 675 slave->offset = cur_offset; in allocate_partition() 677 slave->offset = cur_offset; in allocate_partition() 678 if (mtd_mod_by_eb(cur_offset, master) != 0) { in allocate_partition() 680 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in allocate_partition() 683 (unsigned long long)cur_offset, (unsigned long long)slave->offset); in allocate_partition() 687 slave->offset = cur_offset; in allocate_partition() 873 uint64_t cur_offset = 0; in add_mtd_partitions() local 879 slave = allocate_partition(master, parts + i, i, cur_offset); in add_mtd_partitions() 889 cur_offset = slave->offset + slave->size; in add_mtd_partitions()
|
/u-boot/fs/btrfs/ |
A D | volumes.c | 661 u32 cur_offset; in btrfs_read_sys_array() local 679 cur_offset = 0; in btrfs_read_sys_array() 681 while (cur_offset < array_size) { in btrfs_read_sys_array() 684 if (cur_offset + len > array_size) in btrfs_read_sys_array() 691 cur_offset += len; in btrfs_read_sys_array() 700 if (cur_offset + len > array_size) in btrfs_read_sys_array() 707 num_stripes, cur_offset); in btrfs_read_sys_array() 713 if (cur_offset + len > array_size) in btrfs_read_sys_array() 722 (u32)key.type, cur_offset); in btrfs_read_sys_array() 728 cur_offset += len; in btrfs_read_sys_array() [all …]
|
/u-boot/drivers/video/bridge/ |
A D | anx6345.c | 213 u8 cur_offset; in anx6345_read_aux_i2c() local 217 cur_offset = offset + i; in anx6345_read_aux_i2c() 219 chip_addr, &cur_offset, 1); in anx6345_read_aux_i2c()
|
Completed in 8 milliseconds