Home
last modified time | relevance | path

Searched defs:hnd (Results 1 – 7 of 7) sorted by relevance

/device/google/dragon/recovery/updater/
Dflash_file.cpp94 static void file_close(void *hnd) in file_close()
105 static int file_read(void *hnd, off_t offset, void *buffer, size_t count) in file_read()
120 static int file_write(void *hnd, off_t offset, void *buffer, size_t count) in file_write()
135 static int file_erase(void *hnd, off_t offset, size_t count) in file_erase()
150 static size_t file_get_size(void *hnd) in file_get_size()
157 static size_t file_get_write_size(void *hnd) in file_get_write_size()
164 static size_t file_get_erase_size(void *hnd) in file_get_erase_size()
171 static off_t file_get_fmap_offset(void *hnd) in file_get_fmap_offset()
Dflash_mtd.c79 static void mtd_close(void *hnd) in mtd_close()
87 static int mtd_read(void *hnd, off_t offset, void *buffer, size_t count) in mtd_read()
111 static int mtd_write(void *hnd, off_t offset, void *buffer, size_t count) in mtd_write()
134 static int mtd_erase(void *hnd, off_t offset, size_t count) in mtd_erase()
162 static size_t mtd_get_size(void *hnd) in mtd_get_size()
169 static size_t mtd_get_write_size(void *hnd) in mtd_get_write_size()
176 static size_t mtd_get_erase_size(void *hnd) in mtd_get_erase_size()
183 static off_t mtd_get_fmap_offset(void *hnd __attribute__((unused))) in mtd_get_fmap_offset()
Dflash_ec.c58 static int ec_command(void *hnd, int command, int version, in ec_command()
141 static void ec_close(void *hnd) in ec_close()
149 static int ec_read(void *hnd, off_t offset, void *buffer, size_t count) in ec_read()
174 static int ec_write(void *hnd, off_t offset, void *buffer, size_t count) in ec_write()
206 static int ec_erase(void *hnd, off_t offset, size_t count) in ec_erase()
224 static size_t ec_get_size(void *hnd) in ec_get_size()
231 static size_t ec_get_write_size(void *hnd) in ec_get_write_size()
238 static size_t ec_get_erase_size(void *hnd) in ec_get_erase_size()
245 static off_t ec_get_fmap_offset(void *hnd) in ec_get_fmap_offset()
/device/linaro/hikey/gralloc/
Dgralloc_module.cpp71 private_handle_t *hnd = (private_handle_t *)handle; in gralloc_register_buffer() local
195 static void unmap_buffer(private_handle_t *hnd) in unmap_buffer()
243 private_handle_t *hnd = (private_handle_t *)handle; in gralloc_unregister_buffer() local
283 private_handle_t *hnd = (private_handle_t *)handle; in gralloc_lock() local
326 private_handle_t *hnd = (private_handle_t *)handle; in gralloc_unlock() local
Dalloc_device.cpp146 …private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_ION, usage, size, c… in gralloc_alloc_buffer() local
220 …private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_UMP, usage, size, c… in gralloc_alloc_buffer() local
310 …private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, usage, size… in gralloc_alloc_framebuffer_locked() local
473 private_handle_t *hnd = (private_handle_t *)*pHandle; in alloc_device_alloc() local
512 private_handle_t const *hnd = reinterpret_cast<private_handle_t const *>(handle); in alloc_device_free() local
Dframebuffer_device.cpp74 private_handle_t const *hnd = reinterpret_cast<private_handle_t const *>(buffer); in fb_post() local
Dgralloc_priv.h314 const private_handle_t *hnd = (const private_handle_t *)h; in validate() local