Home
last modified time | relevance | path

Searched refs:extra_offset (Results 1 – 4 of 4) sorted by relevance

/rk3399_ARM-atf/drivers/io/
H A Dio_mtd.c24 unsigned long long extra_offset; /* Extra offset in bytes */
117 static int mtd_add_extra_offset(mtd_dev_state_t *cur, size_t *extra_offset) in mtd_add_extra_offset()
126 ret = ops->seek(cur->base, cur->pos, extra_offset); in mtd_add_extra_offset()
140 size_t extra_offset = 0U; in mtd_open()
150 cur->extra_offset = 0U; in mtd_open()
152 ret = mtd_add_extra_offset(cur, &extra_offset); in mtd_open()
157 cur->base += extra_offset; in mtd_open()
166 size_t extra_offset = 0U; in mtd_seek()
196 ret = mtd_add_extra_offset(cur, &extra_offset); in mtd_seek()
201 cur->extra_offset in mtd_seek()
23 unsigned long long extra_offset; /* Extra offset in bytes */ global() member
114 mtd_add_extra_offset(mtd_dev_state_t * cur,size_t * extra_offset) mtd_add_extra_offset() argument
137 size_t extra_offset = 0U; mtd_open() local
163 size_t extra_offset = 0U; mtd_seek() local
[all...]
/rk3399_ARM-atf/include/drivers/io/
H A Dio_mtd.h56 int (*seek)(uintptr_t base, unsigned int offset, size_t *extra_offset);
/rk3399_ARM-atf/include/drivers/
H A Dnand.h58 int nand_seek_bb(uintptr_t base, unsigned int offset, size_t *extra_offset);
/rk3399_ARM-atf/drivers/mtd/nand/
H A Dcore.c132 int nand_seek_bb(uintptr_t base, unsigned int offset, size_t *extra_offset) in nand_seek_bb() argument
168 *extra_offset = count_bb * nand_dev.block_size; in nand_seek_bb()