| /components/drivers/wlan/ |
| A D | dev_wlan_prot.c | 32 rt_wlan_prot_event_handler handler; member 45 rt_wlan_prot_event_handler handler; in rt_wlan_prot_event_handle() local 51 handler = RT_NULL; in rt_wlan_prot_event_handle() 104 if ((prot_event_tab[prot_event][i].handler != RT_NULL) && in rt_wlan_prot_event_handle() 107 handler = prot_event_tab[prot_event][i].handler; in rt_wlan_prot_event_handle() 113 if (handler != RT_NULL) in rt_wlan_prot_event_handle() 115 handler(prot, wlan, prot_event); in rt_wlan_prot_event_handle() 283 if ((prot == RT_NULL) || (handler == RT_NULL)) in rt_wlan_prot_event_register() 290 if (prot_event_tab[event][i].handler == RT_NULL) in rt_wlan_prot_event_register() 292 prot_event_tab[event][i].handler = handler; in rt_wlan_prot_event_register() [all …]
|
| A D | dev_wlan_mgnt.c | 78 rt_wlan_event_handler handler; member 169 handler = event_tab[msg->event].handler; in rt_wlan_mgnt_work() 175 if (handler) in rt_wlan_mgnt_work() 576 handler = event_tab[user_event].handler; in rt_wlan_event_dispatch() 582 if (handler) in rt_wlan_event_dispatch() 745 handler = RT_NULL; in rt_wlan_set_mode() 752 handler = RT_NULL; in rt_wlan_set_mode() 773 if (handler) in rt_wlan_set_mode() 1692 event_tab[event].handler = handler; in rt_wlan_register_event_handler() 1752 handler = event_tab[RT_WLAN_EVT_READY].handler; in rt_wlan_prot_ready_event() [all …]
|
| A D | dev_wlan.c | 351 …wlan_device *device, rt_wlan_dev_event_t event, rt_wlan_dev_event_handler handler, void *parameter) in rt_wlan_dev_register_event_handler() argument 368 if (device->handler_table[event][i].handler == RT_NULL) in rt_wlan_dev_register_event_handler() 370 device->handler_table[event][i].handler = handler; in rt_wlan_dev_register_event_handler() 382 …andler(struct rt_wlan_device *device, rt_wlan_dev_event_t event, rt_wlan_dev_event_handler handler) in rt_wlan_dev_unregister_event_handler() argument 399 if (device->handler_table[event][i].handler == handler) in rt_wlan_dev_unregister_event_handler() 414 rt_wlan_dev_event_handler handler[RT_WLAN_DEV_EVENT_NUM] = {0}; in rt_wlan_dev_indicate_event_handle() local 431 handler[i] = device->handler_table[event][i].handler; in rt_wlan_dev_indicate_event_handle() 439 if (handler[i] != RT_NULL) in rt_wlan_dev_indicate_event_handle() 441 handler[i](device, event, buff, parameter[i]); in rt_wlan_dev_indicate_event_handle()
|
| A D | dev_wlan_prot.h | 71 …egister(struct rt_wlan_prot *prot, rt_wlan_prot_event_t event, rt_wlan_prot_event_handler handler);
|
| A D | dev_wlan_mgnt.h | 140 rt_err_t rt_wlan_register_event_handler(rt_wlan_event_t event, rt_wlan_event_handler handler, void …
|
| A D | dev_wlan.h | 448 rt_wlan_dev_event_handler handler; member 569 …lan_device *device, rt_wlan_dev_event_t event, rt_wlan_dev_event_handler handler, void *parameter); 570 …ndler(struct rt_wlan_device *device, rt_wlan_dev_event_t event, rt_wlan_dev_event_handler handler);
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | timeouts.h | 67 lwip_cyclic_timer_handler handler; member 99 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_nam… 100 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler) argument 102 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg); 105 void sys_untimeout(sys_timeout_handler handler, void *arg);
|
| A D | debug.h | 135 #define LWIP_ERROR(message, expression, handler) do { if (!(expression)) { \ argument 136 LWIP_PLATFORM_ERROR(message); handler;}} while(0)
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | timeouts.h | 72 lwip_cyclic_timer_handler handler; member 106 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_nam… 107 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler) argument 109 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg); 112 void sys_untimeout(sys_timeout_handler handler, void *arg);
|
| A D | debug.h | 132 #define LWIP_ERROR(message, expression, handler) do { if (!(expression)) { \ argument 133 LWIP_PLATFORM_ERROR(message); handler;}} while(0)
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | timers.h | 80 void sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_nam… 81 #define sys_timeout(msecs, handler, arg) sys_timeout_debug(msecs, handler, arg, #handler) argument 83 void sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg); 86 void sys_untimeout(sys_timeout_handler handler, void *arg);
|
| A D | debug.h | 74 #define LWIP_ERROR(message, expression, handler) do { if (!(expression)) { \ argument 75 LWIP_PLATFORM_ASSERT(message); handler;}} while(0)
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | timers.c | 277 timeout->h = handler; in sys_timeout_debug() 363 sys_timeout_handler handler; in sys_check_timeouts() local 384 handler = tmptimeout->h; in sys_check_timeouts() 387 if (handler != NULL) { in sys_check_timeouts() 393 if (handler != NULL) { in sys_check_timeouts() 394 handler(arg); in sys_check_timeouts() 427 sys_timeout_handler handler; in sys_timeouts_mbox_fetch() local 446 handler = tmptimeout->h; in sys_timeouts_mbox_fetch() 449 if (handler != NULL) { in sys_timeouts_mbox_fetch() 455 if (handler != NULL) { in sys_timeouts_mbox_fetch() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | timeouts.c | 195 timeout->h = handler; in sys_timeout_abs() 241 cyclic->handler(); in lwip_cyclic_timer() 290 sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg) in sys_timeout_debug() 304 sys_timeout_abs(next_timeout_time, handler, arg); in sys_timeout_debug() 317 sys_untimeout(sys_timeout_handler handler, void *arg) in sys_untimeout() argument 328 if ((t->h == handler) && (t->arg == arg)) { in sys_untimeout() 363 sys_timeout_handler handler; in sys_check_timeouts() local 379 handler = tmptimeout->h; in sys_check_timeouts() 383 if (handler != NULL) { in sys_check_timeouts() 389 if (handler != NULL) { in sys_check_timeouts() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | timeouts.c | 170 cyclic->handler(); in cyclic_timer() 201 sys_timeout_debug(u32_t msecs, sys_timeout_handler handler, void *arg, const char* handler_name) in sys_timeout_debug() argument 204 sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg) in sys_timeout_debug() 225 timeout->h = handler; in sys_timeout_debug() 273 sys_untimeout(sys_timeout_handler handler, void *arg) in sys_untimeout() argument 282 if ((t->h == handler) && (t->arg == arg)) { in sys_untimeout() 318 sys_timeout_handler handler; in sys_check_timeouts() local 336 handler = tmptimeout->h; in sys_check_timeouts() 339 if (handler != NULL) { in sys_check_timeouts() 345 if (handler != NULL) { in sys_check_timeouts() [all …]
|
| /components/drivers/pic/ |
| A D | pic_rthw.c | 47 rt_isr_handler_t rt_hw_interrupt_install(int vector, rt_isr_handler_t handler, in rt_hw_interrupt_install() argument 50 rt_pic_attach_irq(vector, handler, param, name, RT_IRQ_F_NONE); in rt_hw_interrupt_install() 61 void rt_hw_interrupt_uninstall(int vector, rt_isr_handler_t handler, void *param) in rt_hw_interrupt_uninstall() argument
|
| A D | pic.c | 28 rt_bool_t (*handler)(void *); member 366 if (handler && name && (pirq = irq2pirq(irq))) in rt_pic_attach_irq() 373 if (!pirq->isr.action.handler) in rt_pic_attach_irq() 401 isr->action.handler = handler; in rt_pic_attach_irq() 436 isr->action.handler = RT_NULL; in rt_pic_detach_irq() 445 isr->action.handler = next_isr->action.handler; in rt_pic_detach_irq() 491 if (handler) in rt_pic_add_traps() 502 traps->handler = handler; in rt_pic_add_traps() 528 if (traps->handler(traps->data)) in rt_pic_do_traps() 583 if (action->handler) in rt_pic_handle_isr() [all …]
|
| /components/drivers/include/drivers/ |
| A D | pic.h | 172 rt_err_t rt_pic_attach_irq(int irq, rt_isr_handler_t handler, void *uid, const char *name, int flag… 175 rt_err_t rt_pic_add_traps(rt_bool_t (*handler)(void *), void *data); 213 #define RT_PIC_OFW_DECLARE(name, ids, handler) RT_OFW_STUB_EXPORT(name, ids, pic, handler) argument
|
| A D | usb_device.h | 46 #define EP_HANDLER(ep, func, size) RT_ASSERT(ep != RT_NULL); ep->handler(func, size) 128 udep_handler_t handler; member 162 uintf_handler_t handler; member 260 uintf_t rt_usbd_interface_new(udevice_t device, uintf_handler_t handler); 261 uep_t rt_usbd_endpoint_new(uep_desc_t ep_desc, udep_handler_t handler);
|
| A D | dev_sdio.h | 213 rt_sdio_irq_handler_t *handler);
|
| /components/drivers/usb/cherryusb/common/ |
| A D | usb_osal.h | 33 usb_timer_handler_t handler; member 63 …_timer_create(const char *name, uint32_t timeout_ms, usb_timer_handler_t handler, void *argument, …
|
| /components/lwp/arch/x86/i386/ |
| A D | lwp_arch.c | 314 lwp_sighandler_t handler = lwp_sighandler_get(signal); in lwp_try_do_signal() local 315 if (handler == RT_NULL) /* no handler, ignore */ in lwp_try_do_signal() 346 frame->eip = (rt_uint32_t) handler; in lwp_try_do_signal()
|
| /components/drivers/usb/cherryusb/osal/ |
| A D | usb_osal_rtthread.c | 163 …_timer_create(const char *name, uint32_t timeout_ms, usb_timer_handler_t handler, void *argument, … in usb_osal_timer_create() argument 175 …timer->timer = (void *)rt_timer_create(name, handler, argument, timeout_ms, is_period ? (RT_TIMER_… in usb_osal_timer_create()
|
| /components/lwp/ |
| A D | lwp_signal.c | 650 lwp_siginfo_t siginfo, lwp_sighandler_t handler, in _catch_signal_locked() argument 678 if (handler == LWP_SIG_ACT_DFL) in _catch_signal_locked() 701 else if (handler == LWP_SIG_ACT_IGN) in _catch_signal_locked() 725 LOG_D("%s: enter signal handler(signo=%d) at %p", __func__, signo, handler); in _catch_signal_locked() 726 arch_thread_signal_enter(signo, p_usi, exp_frame, handler, &save_sig_mask); in _catch_signal_locked() 773 lwp_sighandler_t handler; in lwp_thread_signal_catch() local 779 handler = _get_sighandler_locked(lwp, signo); in lwp_thread_signal_catch() 781 if (_is_stop_signal(lwp, signo) && handler == LWP_SIG_ACT_DFL) in lwp_thread_signal_catch() 796 _catch_signal_locked(lwp, thread, signo, siginfo, handler, exp_frame); in lwp_thread_signal_catch()
|
| /components/legacy/usb/usbdevice/core/ |
| A D | usbdevice_core.c | 271 if (intf->handler) in _get_interface() 273 intf->handler(func, setup); in _get_interface() 323 if (intf->handler) in _set_interface() 325 intf->handler(func, setup); in _set_interface() 486 ret = intf->handler(func, setup); in _request_interface() 676 intf->handler(func, setup); in _function_request() 735 intf->handler(func, setup); in _vendor_request() 1185 uintf_t rt_usbd_interface_new(udevice_t device, uintf_handler_t handler) in rt_usbd_interface_new() argument 1203 intf->handler = handler; in rt_usbd_interface_new() 1320 uep_t rt_usbd_endpoint_new(uep_desc_t ep_desc, udep_handler_t handler) in rt_usbd_endpoint_new() argument [all …]
|