Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 34) sorted by relevance

12

/device/google/dragon/recovery/updater/
Ddebug_cmd.h20 int (*handler)(int argc, const char *argv[]); member
27 {.handler = cmd_##n, .subcmd = NULL, .name = #n, .help = helpstr}
30 {.handler = cmd_##n, .subcmd = subcmds_##n, .name = #n, .help = helpstr}
33 {.handler = NULL, .subcmd = subcmds_##n, \
Dfwtool.cpp350 else if (c->handler) in run_cmd()
351 return c->handler(argc - idx, argv + idx); in run_cmd()
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_thread.c238 uint32_t handler, in mm_camera_poll_thread_add_poll_fd() argument
248 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_add_poll_fd()
256 poll_cb->poll_entries[idx].handler = handler; in mm_camera_poll_thread_add_poll_fd()
263 __func__, handler, idx); in mm_camera_poll_thread_add_poll_fd()
269 uint32_t handler) in mm_camera_poll_thread_del_poll_fd() argument
276 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_del_poll_fd()
283 (handler == poll_cb->poll_entries[idx].handler)) { in mm_camera_poll_thread_del_poll_fd()
286 poll_cb->poll_entries[idx].handler = 0; in mm_camera_poll_thread_del_poll_fd()
293 __func__, handler, idx); in mm_camera_poll_thread_del_poll_fd()
Dmm_camera_interface.c61 uint32_t handler = 0; in mm_camera_util_generate_handler() local
67 handler = g_handler_history_count; in mm_camera_util_generate_handler()
68 handler = (handler<<8) | index; in mm_camera_util_generate_handler()
70 return handler; in mm_camera_util_generate_handler()
73 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler) in mm_camera_util_get_index_by_handler() argument
75 return (handler&0x000000ff); in mm_camera_util_get_index_by_handler()
Dmm_camera_channel.c46 uint32_t handler);
154 uint32_t handler) in mm_channel_util_get_stream_by_handler() argument
158 uint8_t ch_idx = mm_camera_util_get_index_by_handler(handler); in mm_channel_util_get_stream_by_handler()
161 if (handler == ch_obj->streams[i].my_hdl) { in mm_channel_util_get_stream_by_handler()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c63 uint32_t handler = 0; in mm_jpeg_util_generate_handler() local
69 handler = g_handler_history_count; in mm_jpeg_util_generate_handler()
70 handler = (handler<<8) | index; in mm_jpeg_util_generate_handler()
72 return handler; in mm_jpeg_util_generate_handler()
87 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler) in mm_jpeg_util_get_index_by_handler() argument
89 return (handler & 0x000000ff); in mm_jpeg_util_get_index_by_handler()
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c80 uint32_t handler = 0; in mm_jpeg_util_generate_handler() local
86 handler = g_handler_history_count; in mm_jpeg_util_generate_handler()
87 handler = (handler<<8) | index; in mm_jpeg_util_generate_handler()
89 return handler; in mm_jpeg_util_generate_handler()
92 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler) in mm_jpeg_util_get_index_by_handler() argument
94 return (handler&0x000000ff); in mm_jpeg_util_get_index_by_handler()
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c65 uint32_t handler = 0; in mm_jpeg_util_generate_handler() local
71 handler = g_handler_history_count; in mm_jpeg_util_generate_handler()
72 handler = (handler<<8) | index; in mm_jpeg_util_generate_handler()
74 return handler; in mm_jpeg_util_generate_handler()
89 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler) in mm_jpeg_util_get_index_by_handler() argument
91 return (handler & 0x000000ff); in mm_jpeg_util_get_index_by_handler()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c65 uint32_t handler = 0; in mm_jpeg_util_generate_handler() local
71 handler = g_handler_history_count; in mm_jpeg_util_generate_handler()
72 handler = (handler<<8) | index; in mm_jpeg_util_generate_handler()
74 return handler; in mm_jpeg_util_generate_handler()
89 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler) in mm_jpeg_util_get_index_by_handler() argument
91 return (handler & 0x000000ff); in mm_jpeg_util_get_index_by_handler()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c406 uint32_t handler, in mm_camera_poll_thread_add_poll_fd() argument
417 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_add_poll_fd()
425 poll_cb->poll_entries[idx].handler = handler; in mm_camera_poll_thread_add_poll_fd()
436 __func__, handler, idx); in mm_camera_poll_thread_add_poll_fd()
456 uint32_t handler, in mm_camera_poll_thread_del_poll_fd() argument
464 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_del_poll_fd()
471 (handler == poll_cb->poll_entries[idx].handler)) { in mm_camera_poll_thread_del_poll_fd()
474 poll_cb->poll_entries[idx].handler = 0; in mm_camera_poll_thread_del_poll_fd()
485 __func__, handler, idx); in mm_camera_poll_thread_del_poll_fd()
Dmm_camera_interface.c68 uint32_t handler = 0; in mm_camera_util_generate_handler() local
74 handler = g_handler_history_count; in mm_camera_util_generate_handler()
75 handler = (handler<<8) | index; in mm_camera_util_generate_handler()
77 return handler; in mm_camera_util_generate_handler()
90 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler) in mm_camera_util_get_index_by_handler() argument
92 return (handler&0x000000ff); in mm_camera_util_get_index_by_handler()
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c408 uint32_t handler, in mm_camera_poll_thread_add_poll_fd() argument
419 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_add_poll_fd()
427 poll_cb->poll_entries[idx].handler = handler; in mm_camera_poll_thread_add_poll_fd()
438 __func__, handler, idx); in mm_camera_poll_thread_add_poll_fd()
458 uint32_t handler, in mm_camera_poll_thread_del_poll_fd() argument
466 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_del_poll_fd()
473 (handler == poll_cb->poll_entries[idx].handler)) { in mm_camera_poll_thread_del_poll_fd()
476 poll_cb->poll_entries[idx].handler = 0; in mm_camera_poll_thread_del_poll_fd()
487 __func__, handler, idx); in mm_camera_poll_thread_del_poll_fd()
Dmm_camera_interface.c68 uint32_t handler = 0; in mm_camera_util_generate_handler() local
74 handler = g_handler_history_count; in mm_camera_util_generate_handler()
75 handler = (handler<<8) | index; in mm_camera_util_generate_handler()
77 return handler; in mm_camera_util_generate_handler()
90 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler) in mm_camera_util_get_index_by_handler() argument
92 return (handler&0x000000ff); in mm_camera_util_get_index_by_handler()
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c408 uint32_t handler, in mm_camera_poll_thread_add_poll_fd() argument
419 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_add_poll_fd()
427 poll_cb->poll_entries[idx].handler = handler; in mm_camera_poll_thread_add_poll_fd()
438 __func__, handler, idx); in mm_camera_poll_thread_add_poll_fd()
458 uint32_t handler, in mm_camera_poll_thread_del_poll_fd() argument
466 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_del_poll_fd()
473 (handler == poll_cb->poll_entries[idx].handler)) { in mm_camera_poll_thread_del_poll_fd()
476 poll_cb->poll_entries[idx].handler = 0; in mm_camera_poll_thread_del_poll_fd()
487 __func__, handler, idx); in mm_camera_poll_thread_del_poll_fd()
Dmm_camera_interface.c68 uint32_t handler = 0; in mm_camera_util_generate_handler() local
74 handler = g_handler_history_count; in mm_camera_util_generate_handler()
75 handler = (handler<<8) | index; in mm_camera_util_generate_handler()
77 return handler; in mm_camera_util_generate_handler()
90 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler) in mm_camera_util_get_index_by_handler() argument
92 return (handler&0x000000ff); in mm_camera_util_get_index_by_handler()
/device/google/contexthub/firmware/inc/
DnanohubCommand.h26 uint32_t (*handler)(void *, uint8_t, void *, uint64_t); member
37 void (*handler)(void *, uint8_t); member
/device/google/contexthub/firmware/src/cpu/cortexm4f/
Dcpu.c180 SyscallFunc handler; in syscallHandler() local
187 else if (!(handler = syscallGetHandler(syscallNr))) in syscallHandler()
190 handler(excRegs, svcNo ? args_fast : args_long); in syscallHandler()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h140 uint32_t handler; member
609 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler);
618 uint32_t handler,
625 uint32_t handler,
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h148 uint32_t handler; member
663 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler);
672 uint32_t handler,
679 uint32_t handler,
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h148 uint32_t handler; member
663 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler);
672 uint32_t handler,
679 uint32_t handler,
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera.h144 uint32_t handler; member
667 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler);
683 uint32_t handler,
689 uint32_t handler);
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h155 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler);
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h449 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler);
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h449 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler);
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h440 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler);

12