Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/
H A Dmtdpart.c573 int partno, uint64_t cur_offset) in allocate_partition() argument
673 slave->offset = cur_offset; in allocate_partition()
675 slave->offset = cur_offset; in allocate_partition()
676 if (mtd_mod_by_eb(cur_offset, master) != 0) { in allocate_partition()
678 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in allocate_partition()
681 (unsigned long long)cur_offset, (unsigned long long)slave->offset); in allocate_partition()
685 slave->offset = cur_offset; in allocate_partition()
871 uint64_t cur_offset = 0; in add_mtd_partitions() local
877 slave = allocate_partition(master, parts + i, i, cur_offset); in add_mtd_partitions()
887 cur_offset = slave->offset + slave->size; in add_mtd_partitions()
/rk3399_rockchip-uboot/drivers/video/bridge/
H A Danx6345.c216 u8 cur_offset; in anx6345_read_aux_i2c() local
220 cur_offset = offset + i; in anx6345_read_aux_i2c()
222 chip_addr, &cur_offset, 1); in anx6345_read_aux_i2c()