| /device/soc/esp/esp32/components/esp_event/ |
| D | esp_event_private.c | 29 esp_event_handler_node_t* handler; in esp_event_is_handler_registered() local 32 SLIST_FOREACH(handler, &(loop_node->handlers), next) { in esp_event_is_handler_registered() 33 …base == ESP_EVENT_ANY_BASE && event_id == ESP_EVENT_ANY_ID && handler->handler_ctx->handler == eve… in esp_event_is_handler_registered() 42 SLIST_FOREACH(handler, &(base_node->handlers), next) { in esp_event_is_handler_registered() 43 … if(event_id == ESP_EVENT_ANY_ID && handler->handler_ctx->handler == event_handler) in esp_event_is_handler_registered() 52 SLIST_FOREACH(handler, &(id_node->handlers), next) { in esp_event_is_handler_registered() 53 if(handler->handler_ctx->handler == event_handler) in esp_event_is_handler_registered()
|
| D | esp_event.c | 124 static void handler_execute(esp_event_loop_instance_t* loop, esp_event_handler_node_t *handler, esp… in handler_execute() argument 126 …ndler %p and context %p on loop %p", post.base, post.id, handler->handler_ctx->handler, &handler->… in handler_execute() 144 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, data_ptr); in handler_execute() 146 (*(handler->handler_ctx->handler))(handler->handler_ctx->arg, post.base, post.id, post.data); in handler_execute() 154 handler->invoked++; in handler_execute() 155 handler->time += diff; in handler_execute() 174 context->handler = event_handler; in handler_instances_add() 186 if(event_handler == it->handler_ctx->handler) { in handler_instances_add() 327 if (it->handler_ctx->handler == handler_ctx->handler) { in handler_instances_remove() 565 esp_event_handler_node_t *handler, *temp_handler; in esp_event_loop_run() local [all …]
|
| /device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
| D | timeouts.h | 75 lwip_cyclic_timer_handler handler; member 108 err_t sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char *handler_na… 109 #define sys_timeout_ext(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler) argument 111 err_t sys_timeout_ext(u32_t msecs, sys_timeout_handler handler, void *arg); 114 #define sys_timeout(msecs, handler, arg) (void)sys_timeout_ext(msecs, handler, arg) argument 116 void sys_untimeout(sys_timeout_handler handler, void *arg);
|
| D | lowpower.h | 71 lwip_timer_handler handler; member 81 sys_timeout_handler handler; member 125 #define sys_timeout(msecs, handler, arg) (void)sys_timeout_ext(msecs, handler, arg) argument 131 void sys_untimeout(sys_timeout_handler handler, void *arg); 135 err_t sys_timeout_ext(u32_t msecs, sys_timeout_handler handler, void *arg);
|
| /device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| D | mali_osk_wq.c | 27 _mali_osk_wq_work_handler_t handler; member 34 _mali_osk_wq_work_handler_t handler; member 104 _mali_osk_wq_work_t *_mali_osk_wq_create_work(_mali_osk_wq_work_handler_t handler, void *data) in _mali_osk_wq_create_work() argument 110 work->handler = handler; in _mali_osk_wq_create_work() 119 _mali_osk_wq_work_t *_mali_osk_wq_create_work_high_pri(_mali_osk_wq_work_handler_t handler, void *d… in _mali_osk_wq_create_work_high_pri() argument 125 work->handler = handler; in _mali_osk_wq_create_work_high_pri() 187 work_object->handler(work_object->data); in _mali_osk_wq_work_func() 195 work_object->handler(work_object->data); in _mali_osk_wq_delayed_work_func() 198 …ed_work_object_t *_mali_osk_wq_delayed_create_work(_mali_osk_wq_work_handler_t handler, void *data) in _mali_osk_wq_delayed_create_work() argument 204 work->handler = handler; in _mali_osk_wq_delayed_create_work()
|
| /device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
| D | mali_osk_wq.c | 28 _mali_osk_wq_work_handler_t handler; member 35 _mali_osk_wq_work_handler_t handler; member 109 _mali_osk_wq_work_t *mali_osk_wq_create_work(_mali_osk_wq_work_handler_t handler, void *data) in mali_osk_wq_create_work() argument 117 work->handler = handler; in mali_osk_wq_create_work() 126 _mali_osk_wq_work_t *_mali_osk_wq_create_work_high_pri(_mali_osk_wq_work_handler_t handler, void *d… in _mali_osk_wq_create_work_high_pri() argument 134 work->handler = handler; in _mali_osk_wq_create_work_high_pri() 195 work_object->handler(work_object->data); in _mali_osk_wq_work_func() 203 work_object->handler(work_object->data); in _mali_osk_wq_delayed_work_func() 206 …ed_work_object_t *_mali_osk_wq_delayed_create_work(_mali_osk_wq_work_handler_t handler, void *data) in _mali_osk_wq_delayed_create_work() argument 214 work->handler = handler; in _mali_osk_wq_delayed_create_work()
|
| /device/soc/esp/esp32/components/driver/ |
| D | rtc_module.c | 46 intr_handler_t handler; member 64 (*it->handler)(it->handler_arg); in rtc_isr() 93 esp_err_t rtc_isr_register(intr_handler_t handler, void* handler_arg, uint32_t rtc_intr_mask) in rtc_isr_register() argument 104 item->handler = handler; in rtc_isr_register() 113 esp_err_t rtc_isr_deregister(intr_handler_t handler, void* handler_arg) in rtc_isr_deregister() argument 120 if (it->handler == handler && it->handler_arg == handler_arg) { in rtc_isr_deregister()
|
| /device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/cmsis/inc/ |
| D | cmsis_nvic.h | 47 void NVIC_SetDefaultFaultHandler(NVIC_DEFAULT_FAULT_HANDLER_T handler); 49 void NVIC_SetDefaultFaultHandler_cp(NVIC_DEFAULT_FAULT_HANDLER_T handler); 51 void NVIC_SetResetHandler(NVIC_DEFAULT_FAULT_HANDLER_T handler); 53 void NVIC_SetIrqHandler(uint16_t irq, NVIC_DEFAULT_FAULT_HANDLER_T handler); 55 void NVIC_SetIrqHandler_cp(uint16_t irq, NVIC_DEFAULT_FAULT_HANDLER_T handler); 111 void GIC_SetFaultDumpHandler(GIC_FAULT_DUMP_HANDLER_T handler);
|
| /device/soc/winnermicro/wm800/board/platform/common/task/ |
| D | wm_wl_timers.c | 47 tls_timeout_handler handler; in tls_timeouts_mbox_fetch_p() local 68 handler = tmptimeout -> h; in tls_timeouts_mbox_fetch_p() 71 if (handler != NULL) { in tls_timeouts_mbox_fetch_p() 72 handler(arg); in tls_timeouts_mbox_fetch_p() 102 void tls_timeout_p(u8 timeo_assigned, u32 msecs, tls_timeout_handler handler, void *arg) in tls_timeout_p() argument 112 timeout->h = handler; in tls_timeout_p() 152 void tls_untimeout_p(u8 timeo_assigned, tls_timeout_handler handler, void *arg) in tls_untimeout_p() argument 162 if ((t->h == handler) && (t->arg == arg)) { in tls_untimeout_p()
|
| /device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/ |
| D | hal_ir.c | 253 ir_handler = cfg->handler; in hal_ir_open() 381 static int hal_ir_dma_recv(uint8_t id, uint8_t *data, uint32_t len, HAL_IR_DMA_HANDLER_T handler) in hal_ir_dma_recv() argument 391 ir_rxdma_handler[id] = handler; in hal_ir_dma_recv() 424 dma_cfg.handler = handler ? hal_ir_rxdma_handler : NULL; in hal_ir_dma_recv() 439 if (handler == NULL) in hal_ir_dma_recv() 492 …ic int hal_ir_dma_send(uint8_t id, const uint8_t *data, uint32_t len, HAL_IR_DMA_HANDLER_T handler) in hal_ir_dma_send() argument 502 ir_txdma_handler[id] = handler; in hal_ir_dma_send() 535 dma_cfg.handler = handler ? hal_ir_txdma_handler : NULL; in hal_ir_dma_send() 550 if (handler == NULL) in hal_ir_dma_send() 581 int hal_ir_dma_rx(uint8_t *data, uint32_t len, HAL_IR_DMA_HANDLER_T handler) in hal_ir_dma_rx() argument [all …]
|
| D | hal_spi.h | 116 int hal_ispi_dma_send(const void *data, uint32_t len, HAL_SPI_DMA_HANDLER_T handler); 118 int hal_ispi_dma_recv(const void *cmd, void *data, uint32_t len, HAL_SPI_DMA_HANDLER_T handler); 146 int hal_spi_dma_send(const void *data, uint32_t len, HAL_SPI_DMA_HANDLER_T handler); 148 int hal_spi_dma_recv(const void *cmd, void *data, uint32_t len, HAL_SPI_DMA_HANDLER_T handler); 174 int hal_spilcd_dma_send(const void *data, uint32_t len, HAL_SPI_DMA_HANDLER_T handler); 176 int hal_spilcd_dma_recv(const void *cmd, void *data, uint32_t len, HAL_SPI_DMA_HANDLER_T handler); 179 int hal_spi_slave_dma_recv(void *data, uint32_t len, HAL_SPI_DMA_HANDLER_T handler,
|
| /device/soc/esp/esp32/components/esp_system/ |
| D | system_api.c | 37 esp_err_t esp_register_shutdown_handler(shutdown_handler_t handler) in esp_register_shutdown_handler() argument 40 if (shutdown_handlers[i] == handler) { in esp_register_shutdown_handler() 43 shutdown_handlers[i] = handler; in esp_register_shutdown_handler() 50 esp_err_t esp_unregister_shutdown_handler(shutdown_handler_t handler) in esp_unregister_shutdown_handler() argument 53 if (shutdown_handlers[i] == handler) { in esp_unregister_shutdown_handler()
|
| /device/qemu/arm_virt/liteos_a/board/extcmd/ |
| D | reset_shell.c | 43 UINT32 osReHookFuncAdd(STORAGE_HOOK_FUNC handler, VOID *param) in osReHookFuncAdd() argument 52 pstFuncNode->pHandler = handler; in osReHookFuncAdd() 61 UINT32 osReHookFuncDel(STORAGE_HOOK_FUNC handler) in osReHookFuncDel() argument 67 if (g_hook_func_node->pHandler == handler) { in osReHookFuncDel() 79 if (pstFuncNode->pHandler == handler) { in osReHookFuncDel()
|
| /device/soc/esp/esp32/components/xtensa/ |
| D | xtensa_intr.c | 91 void * handler; member 109 return (_xt_interrupt_table[intr*portNUM_PROCESSORS+cpu].handler != xt_unhandled_interrupt); in xt_int_has_handler() 132 old = entry->handler; in xt_set_interrupt_handler() 135 entry->handler = f; in xt_set_interrupt_handler() 139 entry->handler = &xt_unhandled_interrupt; in xt_set_interrupt_handler()
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/ |
| D | ofilm0092.c | 589 struct sensor_info *info = container_of(ctrl->handler, in sensor_g_ctrl() 590 struct sensor_info, handler); in sensor_g_ctrl() 604 struct sensor_info *info = container_of(ctrl->handler, in sensor_s_ctrl() 605 struct sensor_info, handler); in sensor_s_ctrl() 706 struct v4l2_ctrl_handler *handler = &info->handler; in sensor_init_controls() local 710 v4l2_ctrl_handler_init(handler, 2); in sensor_init_controls() 712 v4l2_ctrl_new_std(handler, ops, V4L2_CID_GAIN, 1 * 16, in sensor_init_controls() 714 ctrl = v4l2_ctrl_new_std(handler, ops, V4L2_CID_EXPOSURE, 0, in sensor_init_controls() 719 if (handler->error) { in sensor_init_controls() 720 ret = handler->error; in sensor_init_controls() [all …]
|
| D | c2590_mipi.c | 566 container_of(ctrl->handler, struct sensor_info, handler); in sensor_g_ctrl() 581 container_of(ctrl->handler, struct sensor_info, handler); in sensor_s_ctrl() 652 struct v4l2_ctrl_handler *handler = &info->handler; in sensor_init_controls() local 657 v4l2_ctrl_handler_init(handler, 2 + ARRAY_SIZE(sensor_custom_ctrls)); in sensor_init_controls() 659 v4l2_ctrl_new_std(handler, ops, V4L2_CID_GAIN, 1 * 1600, in sensor_init_controls() 661 ctrl = v4l2_ctrl_new_std(handler, ops, V4L2_CID_EXPOSURE, 0, in sensor_init_controls() 666 v4l2_ctrl_new_custom(handler, &sensor_custom_ctrls[i], NULL); in sensor_init_controls() 668 if (handler->error) { in sensor_init_controls() 669 ret = handler->error; in sensor_init_controls() 670 v4l2_ctrl_handler_free(handler); in sensor_init_controls() [all …]
|
| D | ov2680_mipi.c | 585 container_of(ctrl->handler, struct sensor_info, handler); in sensor_g_ctrl() 600 container_of(ctrl->handler, struct sensor_info, handler); in sensor_s_ctrl() 671 struct v4l2_ctrl_handler *handler = &info->handler; in sensor_init_controls() local 676 v4l2_ctrl_handler_init(handler, 2 + ARRAY_SIZE(sensor_custom_ctrls)); in sensor_init_controls() 678 v4l2_ctrl_new_std(handler, ops, V4L2_CID_GAIN, 1 * 1600, in sensor_init_controls() 680 ctrl = v4l2_ctrl_new_std(handler, ops, V4L2_CID_EXPOSURE, 0, in sensor_init_controls() 685 v4l2_ctrl_new_custom(handler, &sensor_custom_ctrls[i], NULL); in sensor_init_controls() 687 if (handler->error) { in sensor_init_controls() 688 ret = handler->error; in sensor_init_controls() 689 v4l2_ctrl_handler_free(handler); in sensor_init_controls() [all …]
|
| D | sp2509_mipi.c | 457 container_of(ctrl->handler, in sensor_g_ctrl() 458 struct sensor_info, handler); in sensor_g_ctrl() 473 container_of(ctrl->handler, in sensor_s_ctrl() 474 struct sensor_info, handler); in sensor_s_ctrl() 584 struct v4l2_ctrl_handler *handler = &info->handler; in sensor_init_controls() local 588 v4l2_ctrl_handler_init(handler, 2); in sensor_init_controls() 590 v4l2_ctrl_new_std(handler, ops, V4L2_CID_GAIN, 1 * 1600, in sensor_init_controls() 592 ctrl = v4l2_ctrl_new_std(handler, ops, V4L2_CID_EXPOSURE, 0, in sensor_init_controls() 597 if (handler->error) { in sensor_init_controls() 598 ret = handler->error; in sensor_init_controls() [all …]
|
| D | sp5509_mipi.c | 609 container_of(ctrl->handler, struct sensor_info, handler); in sensor_g_ctrl() 624 container_of(ctrl->handler, struct sensor_info, handler); in sensor_s_ctrl() 735 struct v4l2_ctrl_handler *handler = &info->handler; in sensor_init_controls() local 739 v4l2_ctrl_handler_init(handler, 2); in sensor_init_controls() 741 v4l2_ctrl_new_std(handler, ops, V4L2_CID_GAIN, 1 * 1600, in sensor_init_controls() 743 ctrl = v4l2_ctrl_new_std(handler, ops, V4L2_CID_EXPOSURE, 0, in sensor_init_controls() 748 if (handler->error) { in sensor_init_controls() 749 ret = handler->error; in sensor_init_controls() 750 v4l2_ctrl_handler_free(handler); in sensor_init_controls() 753 sd->ctrl_handler = handler; in sensor_init_controls()
|
| D | ov7750_mipi.c | 541 container_of(ctrl->handler, struct sensor_info, handler); in sensor_g_ctrl() 556 container_of(ctrl->handler, struct sensor_info, handler); in sensor_s_ctrl() 681 struct v4l2_ctrl_handler *handler = &info->handler; in sensor_init_controls() local 685 v4l2_ctrl_handler_init(handler, 2); in sensor_init_controls() 687 v4l2_ctrl_new_std(handler, ops, V4L2_CID_GAIN, 1 * 16, 16 * 16, 1, 16); in sensor_init_controls() 688 ctrl = v4l2_ctrl_new_std(handler, ops, V4L2_CID_EXPOSURE, 3 * 16, in sensor_init_controls() 693 if (handler->error) { in sensor_init_controls() 694 ret = handler->error; in sensor_init_controls() 695 v4l2_ctrl_handler_free(handler); in sensor_init_controls() 698 sd->ctrl_handler = handler; in sensor_init_controls()
|
| D | gc0310_mipi.c | 1693 container_of(ctrl->handler, struct sensor_info, handler); in sensor_g_ctrl() 1733 container_of(ctrl->handler, struct sensor_info, handler); in sensor_s_ctrl() 1869 struct v4l2_ctrl_handler *handler = &info->handler; in sensor_init_controls() local 1873 v4l2_ctrl_handler_init(handler, 15); in sensor_init_controls() 1875 v4l2_ctrl_new_std(handler, ops, V4L2_CID_BRIGHTNESS, 0, 255, 1, 128); in sensor_init_controls() 1876 v4l2_ctrl_new_std(handler, ops, V4L2_CID_CONTRAST, 0, 128, 1, 0); in sensor_init_controls() 1877 v4l2_ctrl_new_std(handler, ops, V4L2_CID_SATURATION, -4, 4, 1, 1); in sensor_init_controls() 1878 v4l2_ctrl_new_std(handler, ops, V4L2_CID_HUE, -180, 180, 1, 0); in sensor_init_controls() 1879 v4l2_ctrl_new_std(handler, ops, V4L2_CID_VFLIP, 0, 1, 1, 0); in sensor_init_controls() 1880 v4l2_ctrl_new_std(handler, ops, V4L2_CID_HFLIP, 0, 1, 1, 0); in sensor_init_controls() [all …]
|
| D | imx214.c | 821 container_of(ctrl->handler, struct sensor_info, handler); in sensor_g_ctrl() 836 container_of(ctrl->handler, struct sensor_info, handler); in sensor_s_ctrl() 906 struct v4l2_ctrl_handler *handler = &info->handler; in sensor_init_controls() local 911 v4l2_ctrl_handler_init(handler, 2 + ARRAY_SIZE(sensor_custom_ctrls)); in sensor_init_controls() 913 ctrl = v4l2_ctrl_new_std(handler, ops, V4L2_CID_EXPOSURE, 0, in sensor_init_controls() 917 v4l2_ctrl_new_std(handler, ops, V4L2_CID_GAIN, 1 * 1600, in sensor_init_controls() 920 v4l2_ctrl_new_custom(handler, &sensor_custom_ctrls[i], NULL); in sensor_init_controls() 922 if (handler->error) { in sensor_init_controls() 923 ret = handler->error; in sensor_init_controls() 924 v4l2_ctrl_handler_free(handler); in sensor_init_controls() [all …]
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/flash/ |
| D | flash.c | 241 container_of(ctrl->handler, struct flash_dev, handler); in sunxi_flash_g_ctrl() 259 container_of(ctrl->handler, struct flash_dev, handler); in sunxi_flash_s_ctrl() 299 struct v4l2_ctrl_handler *handler = &flash->handler; in sunxi_flash_controls_init() local 302 v4l2_ctrl_handler_init(handler, 1 + ARRAY_SIZE(custom_ctrls)); in sunxi_flash_controls_init() 303 v4l2_ctrl_new_std_menu(handler, &sunxi_flash_ctrl_ops, in sunxi_flash_controls_init() 308 v4l2_ctrl_new_custom(handler, &custom_ctrls[i], NULL); in sunxi_flash_controls_init() 310 if (handler->error) { in sunxi_flash_controls_init() 311 ret = handler->error; in sunxi_flash_controls_init() 312 v4l2_ctrl_handler_free(handler); in sunxi_flash_controls_init() 315 sd->ctrl_handler = handler; in sunxi_flash_controls_init()
|
| /device/soc/esp/esp32/components/esp_lwip/port/include/arch/ |
| D | cc.h | 96 #define LWIP_ERROR(message, expression, handler) do { if (!(expression)) { \ argument 97 puts(message); handler;}} while(0) 100 #define LWIP_ERROR(message, expression, handler) do { if (!(expression)) { \ argument 101 handler;}} while(0)
|
| /device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6324/ |
| D | nvp6324_mipi_driver.c | 385 container_of(ctrl->handler, struct sensor_info, handler); in sensor_g_ctrl() 401 container_of(ctrl->handler, struct sensor_info, handler); in sensor_s_ctrl() 503 struct v4l2_ctrl_handler *handler = &info->handler; in sensor_init_controls() local 507 v4l2_ctrl_handler_init(handler, 2); in sensor_init_controls() 509 ctrl = v4l2_ctrl_new_std(handler, ops, V4L2_CID_GAIN, 1 * 1600, in sensor_init_controls() 514 ctrl = v4l2_ctrl_new_std(handler, ops, V4L2_CID_EXPOSURE, 0, in sensor_init_controls() 519 if (handler->error) { in sensor_init_controls() 520 ret = handler->error; in sensor_init_controls() 521 v4l2_ctrl_handler_free(handler); in sensor_init_controls() 524 sd->ctrl_handler = handler; in sensor_init_controls()
|