Home
last modified time | relevance | path

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

/hardware/libhardware_legacy/uevent/
Duevent.c34 void (*handler)(void *data, const char *msg, int msg_len); member
90 h->handler(h->handler_data, buffer, buffer_length); in uevent_next_event()
102 int uevent_add_native_handler(void (*handler)(void *data, const char *msg, int msg_len), in uevent_add_native_handler()
110 h->handler = handler; in uevent_add_native_handler()
120 int uevent_remove_native_handler(void (*handler)(void *data, const char *msg, int msg_len)) in uevent_remove_native_handler()
127 if (h->handler == handler) { in uevent_remove_native_handler()
/hardware/ti/wlan/mac80211/ti-utils/
Dcalibrator.h50 int (*handler)(struct nl80211_state *state, member
69 .handler = (_handler), \
73 #define COMMAND(section, name, args, cmd, flags, idby, handler, help) \ argument
74 __COMMAND(&(__section ## _ ## section), name, #name, args, cmd, flags, 0, idby, handler, help)
75 #define HIDDEN(section, name, args, cmd, flags, idby, handler) \ argument
76 __COMMAND(&(__section ## _ ## section), name, #name, args, cmd, flags, 1, idby, handler, NULL)
87 .handler = (_handler), \
Dcalibrator.c186 if (section->handler && !section->hidden) { in usage()
194 if (!cmd->handler || cmd->hidden) { in usage()
365 if (!cmd->handler) { in __handle_cmd()
402 if (!cmd->handler) { in __handle_cmd()
414 return cmd->handler(state, NULL, NULL, argc, argv); in __handle_cmd()
444 err = cmd->handler(state, cb, msg, argc, argv); in __handle_cmd()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c61 uint32_t handler = 0; in mm_jpeg_util_generate_handler() local
67 handler = g_handler_history_count; in mm_jpeg_util_generate_handler()
68 handler = (handler<<8) | index; in mm_jpeg_util_generate_handler()
70 return handler; in mm_jpeg_util_generate_handler()
85 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler) in mm_jpeg_util_get_index_by_handler() argument
87 return (handler & 0x000000ff); in mm_jpeg_util_get_index_by_handler()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c378 uint32_t handler, in mm_camera_poll_thread_add_poll_fd() argument
389 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_add_poll_fd()
397 poll_cb->poll_entries[idx].handler = handler; in mm_camera_poll_thread_add_poll_fd()
408 __func__, handler, idx); in mm_camera_poll_thread_add_poll_fd()
426 uint32_t handler, in mm_camera_poll_thread_del_poll_fd() argument
434 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_del_poll_fd()
441 (handler == poll_cb->poll_entries[idx].handler)) { in mm_camera_poll_thread_del_poll_fd()
444 poll_cb->poll_entries[idx].handler = 0; in mm_camera_poll_thread_del_poll_fd()
455 __func__, handler, idx); in mm_camera_poll_thread_del_poll_fd()
Dmm_camera_interface.c63 uint32_t handler = 0; in mm_camera_util_generate_handler() local
69 handler = g_handler_history_count; in mm_camera_util_generate_handler()
70 handler = (handler<<8) | index; in mm_camera_util_generate_handler()
72 return handler; in mm_camera_util_generate_handler()
85 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler) in mm_camera_util_get_index_by_handler() argument
87 return (handler&0x000000ff); in mm_camera_util_get_index_by_handler()
Dmm_camera_channel.c45 uint32_t handler);
128 uint32_t handler) in mm_channel_util_get_stream_by_handler() argument
134 (handler == ch_obj->streams[i].my_hdl)) { in mm_channel_util_get_stream_by_handler()
Dmm_camera.c71 uint32_t handler) in mm_camera_util_get_channel_by_handler() argument
76 if (handler == cam_obj->ch[i].my_hdl) { in mm_camera_util_get_channel_by_handler()
/hardware/libhardware_legacy/include/hardware_legacy/
Duevent.h27 int uevent_add_native_handler(void (*handler)(void *data, const char *msg, int msg_len),
29 int uevent_remove_native_handler(void (*handler)(void *data, const char *msg, int msg_len));
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h120 uint32_t handler; member
552 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler);
561 uint32_t handler,
568 uint32_t handler,
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/wcd9xxx/
Dcore.h185 irq_handler_t handler, const char *name, in wcd9xxx_request_irq() argument
190 return request_threaded_irq(wcd9xxx->irq_base + irq, NULL, handler, in wcd9xxx_request_irq()
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/
Dmm_jpeg.h185 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler);