Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 100) sorted by relevance

1234

/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu_nl80211.c81 dhd_nli->cb = nl_cb_alloc(NL_CB_DEBUG); in dhd_nl_sock_connect()
82 if (dhd_nli->cb == NULL) in dhd_nl_sock_connect()
85 nl_socket_set_cb(dhd_nli->nl, dhd_nli->cb); in dhd_nl_sock_connect()
89 nl_cb_put(dhd_nli->cb); in dhd_nl_sock_connect()
97 nl_cb_put(dhd_nli->cb); in dhd_nl_sock_disconnect()
121 nl_cb_err(dhd_nli->cb, NL_CB_CUSTOM, dhd_nl_error_handler, &err); in dhd_nl_do_testmode()
122 nl_cb_set(dhd_nli->cb, NL_CB_ACK, NL_CB_CUSTOM, in dhd_nl_do_testmode()
124 nl_cb_set(dhd_nli->cb, NL_CB_FINISH, NL_CB_CUSTOM, in dhd_nl_do_testmode()
126 nl_cb_set(dhd_nli->cb, NL_CB_VALID, NL_CB_CUSTOM, in dhd_nl_do_testmode()
129 nl_recvmsgs(dhd_nli->nl, dhd_nli->cb); in dhd_nl_do_testmode()
/hardware/libhardware/modules/input/evdev/
DInputHost.h43 InputHostBase(input_host_t* host, input_host_callbacks_t cb) : mHost(host), mCallbacks(cb) {} in InputHostBase() argument
55 InputReport(input_host_t* host, input_host_callbacks_t cb, input_report_t* r) : in InputReport() argument
56 InputHostBase(host, cb), mReport(r) {} in InputReport()
75 InputReportDefinition(input_host_t* host, input_host_callbacks_t cb, in InputReportDefinition() argument
76 input_report_definition_t* r) : InputHostBase(host, cb), mReportDefinition(r) {} in InputReportDefinition()
96 InputDeviceDefinition(input_host_t* host, input_host_callbacks_t cb, in InputDeviceDefinition() argument
98 InputHostBase(host, cb), mDeviceDefinition(d) {} in InputDeviceDefinition()
115 InputProperty(input_host_t* host, input_host_callbacks_t cb, input_property_t* p) : in InputProperty() argument
116 InputHostBase(host, cb), mProperty(p) {} in InputProperty()
133 InputPropertyMap(input_host_t* host, input_host_callbacks_t cb, input_property_map_t* m) : in InputPropertyMap() argument
[all …]
DEvdevModule.cpp99 input_host_t* host, input_host_callbacks_t cb) { in input_init() argument
101 auto inputHost = new InputHost(host, cb); in input_init()
/hardware/ti/omap4xxx/
Dtm.c25 char *cf, *cb; in main() local
48 cb = ptr[5]; in main()
49 cb[60] = 'a'; in main()
/hardware/ti/omap4-aah/
Dtm.c25 char *cf, *cb; in main() local
48 cb = ptr[5]; in main()
49 cb[60] = 'a'; in main()
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/src/
Daenc_svr.c93 message_func cb, in omx_amr_thread_create() argument
108 amr_info->process_msg_cb = cb; in omx_amr_thread_create()
146 message_func cb, in omx_amr_event_thread_create() argument
161 amr_info->process_msg_cb = cb; in omx_amr_event_thread_create()
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/src/
Daenc_svr.c93 message_func cb, in omx_evrc_thread_create() argument
108 evrc_info->process_msg_cb = cb; in omx_evrc_thread_create()
146 message_func cb, in omx_evrc_event_thread_create() argument
161 evrc_info->process_msg_cb = cb; in omx_evrc_event_thread_create()
/hardware/ril/libril/
DRilSocket.cpp140 void RilSocket::setListenCb(ril_event_cb cb) { in setListenCb() argument
141 listenCb = cb; in setListenCb()
144 void RilSocket::setCommandCb(ril_event_cb cb) { in setCommandCb() argument
145 commandCb = cb; in setCommandCb()
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/src/
Daenc_svr.c93 message_func cb, in omx_qcelp13_thread_create() argument
108 qcelp13_info->process_msg_cb = cb; in omx_qcelp13_thread_create()
147 message_func cb, in omx_qcelp13_event_thread_create() argument
162 qcelp13_info->process_msg_cb = cb; in omx_qcelp13_event_thread_create()
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/src/
Daenc_svr.c93 message_func cb, in omx_aac_thread_create() argument
108 aac_info->process_msg_cb = cb; in omx_aac_thread_create()
146 message_func cb, in omx_aac_event_thread_create() argument
161 aac_info->process_msg_cb = cb; in omx_aac_event_thread_create()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwificonfig.cpp384 struct nl_cb *cb; in requestEvent() local
386 cb = nl_cb_alloc(NL_CB_DEFAULT); in requestEvent()
387 if (!cb) { in requestEvent()
398 nl_cb_err(cb, NL_CB_CUSTOM, error_handler_wifi_config, &res); in requestEvent()
399 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler_wifi_config, in requestEvent()
401 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler_wifi_config, &res); in requestEvent()
405 nl_recvmsgs(mInfo->cmd_sock, cb); in requestEvent()
Dwifi_hal.cpp253 struct nl_cb *cb = nl_socket_get_cb(user_sock); in wifi_init_user_sock() local
254 if (cb == NULL) { in wifi_init_user_sock()
260 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL); in wifi_init_user_sock()
261 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &info->user_sock_arg); in wifi_init_user_sock()
262 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &info->user_sock_arg); in wifi_init_user_sock()
263 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &info->user_sock_arg); in wifi_init_user_sock()
265 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, user_sock_message_handler, info); in wifi_init_user_sock()
266 nl_cb_put(cb); in wifi_init_user_sock()
376 struct nl_cb *cb = NULL; in wifi_initialize() local
417 cb = nl_socket_get_cb(event_sock); in wifi_initialize()
[all …]
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp3158 qcamera_callback_argm_t *cb = in cbNotifyRoutine() local
3161 if (NULL != cb) { in cbNotifyRoutine()
3163 cb->cb_type); in cbNotifyRoutine()
3165 if (pme->mParent->msgTypeEnabledWithLock(cb->msg_type)) { in cbNotifyRoutine()
3166 switch (cb->cb_type) { in cbNotifyRoutine()
3169 if (cb->msg_type == CAMERA_MSG_FOCUS) { in cbNotifyRoutine()
3174 pme->mNotifyCb(cb->msg_type, in cbNotifyRoutine()
3175 cb->ext1, in cbNotifyRoutine()
3176 cb->ext2, in cbNotifyRoutine()
3181 if (cb->release_cb) { in cbNotifyRoutine()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
Dvpx_decoder.c152 vpx_codec_put_frame_cb_fn_t cb, in vpx_codec_register_put_frame_cb() argument
156 if (!ctx || !cb) in vpx_codec_register_put_frame_cb()
162 ctx->priv->dec.put_frame_cb.u.put_frame = cb; in vpx_codec_register_put_frame_cb()
172 vpx_codec_put_slice_cb_fn_t cb, in vpx_codec_register_put_slice_cb() argument
176 if (!ctx || !cb) in vpx_codec_register_put_slice_cb()
182 ctx->priv->dec.put_slice_cb.u.put_slice = cb; in vpx_codec_register_put_slice_cb()
/hardware/bsp/intel/peripheral/libupm/src/rpr220/
Drpr220.cxx62 void RPR220::installISR(IsrCallback *cb) in installISR() argument
64 installISR(generic_callback_isr, cb); in installISR()
/hardware/bsp/intel/peripheral/libupm/src/a110x/
Da110x.cxx61 void A110X::installISR( IsrCallback *cb) in installISR() argument
63 installISR(generic_callback_isr, cb); in installISR()
/hardware/qcom/audio/msm8909/mm-audio/aenc-amrnb/qdsp6/inc/
Daenc_svr.h91 struct amr_ipc_info *omx_amr_thread_create(message_func cb,
95 struct amr_ipc_info *omx_amr_event_thread_create(message_func cb,
/hardware/qcom/audio/msm8909/mm-audio/aenc-aac/qdsp6/inc/
Daenc_svr.h91 struct aac_ipc_info *omx_aac_thread_create(message_func cb,
95 struct aac_ipc_info *omx_aac_event_thread_create(message_func cb,
/hardware/qcom/audio/msm8909/mm-audio/aenc-qcelp13/qdsp6/inc/
Daenc_svr.h91 struct qcelp13_ipc_info *omx_qcelp13_thread_create(message_func cb,
95 struct qcelp13_ipc_info *omx_qcelp13_event_thread_create(message_func cb,
/hardware/libhardware/tests/input/evdev/
DInputHub_test.cpp53 void setInputCallback(InputCbFunc cb) { mInputCb = cb; } in setInputCallback() argument
54 void setDeviceAddedCallback(DeviceCbFunc cb) { mDeviceAddedCb = cb; } in setDeviceAddedCallback() argument
55 void setDeviceRemovedCallback(DeviceCbFunc cb) { mDeviceRemovedCb = cb; } in setDeviceRemovedCallback() argument
/hardware/qcom/audio/msm8909/mm-audio/aenc-evrc/qdsp6/inc/
Daenc_svr.h91 struct evrc_ipc_info *omx_evrc_thread_create(message_func cb,
95 struct evrc_ipc_info *omx_evrc_event_thread_create(message_func cb,
/hardware/bsp/intel/peripheral/libupm/src/ttp223/
Dttp223.cxx63 void TTP223::installISR(mraa::Edge level, IsrCallback *cb) in installISR() argument
65 installISR(level, generic_callback_isr, cb); in installISR()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/common/
Dmlerrorcode.h61 #define CALL_CHECK_N_CALLBACK(f, cb) { \ argument
66 cb; \
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.cpp595 struct nl_cb *cb = nl_cb_alloc(NL_CB_DEFAULT); in requestResponse() local
596 if (!cb) in requestResponse()
605 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL); in requestResponse()
606 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err); in requestResponse()
607 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err); in requestResponse()
608 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err); in requestResponse()
609 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, response_handler, this); in requestResponse()
612 int res = nl_recvmsgs(mInfo->cmd_sock, cb); in requestResponse()
618 nl_cb_put(cb); in requestResponse()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/
Dvpx_decoder.h284 vpx_codec_put_frame_cb_fn_t cb,
326 vpx_codec_put_slice_cb_fn_t cb,

1234