/lk-master/external/lib/lwip/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);
|
/lk-master/external/platform/pico/rp2_common/hardware_irq/ |
A D | irq.c | 32 get_vtable()[16 + num] = handler; in set_raw_irq_handler_and_unlock() 92 irq_handler_t handler; member 107 void irq_set_exclusive_handler(uint num, irq_handler_t handler) { in irq_set_exclusive_handler() argument 114 set_raw_irq_handler_and_unlock(num, handler, save); in irq_set_exclusive_handler() 204 .handler = handler in irq_add_shared_handler() 228 .handler = handler in irq_add_shared_handler() 242 .handler = handler in irq_add_shared_handler() 255 void irq_remove_handler(uint num, irq_handler_t handler) { in irq_remove_handler() argument 290 while (to_free_slot->handler != handler) { in irq_remove_handler() 295 if (to_free_slot->handler == handler) { in irq_remove_handler() [all …]
|
/lk-master/external/lib/lwip/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 …]
|
/lk-master/platform/microblaze/ |
A D | intc.c | 36 int_handler handler; member 42 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 43 LTRACEF("vector %u, handler %p, arg %p\n", vector, handler, arg); in register_int_handler() 51 int_handler_table[vector].handler = handler; in register_int_handler() 80 if (irq < MAX_INT && int_handler_table[irq].handler) in platform_irq_handler() 81 ret = int_handler_table[irq].handler(int_handler_table[irq].arg); in platform_irq_handler()
|
/lk-master/platform/armemu/ |
A D | interrupts.c | 21 int_handler handler; member 69 if (int_handler_table[vector].handler) in platform_irq() 70 ret = int_handler_table[vector].handler(int_handler_table[vector].arg); in platform_irq() 83 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 87 int_handler_table[vector].handler = handler; in register_int_handler()
|
/lk-master/platform/qemu-virt-riscv/ |
A D | plic.c | 31 int_handler handler; member 60 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 61 LTRACEF("vector %u handler %p arg %p\n", vector, handler, arg); in register_int_handler() 65 handlers[vector].handler = handler; in register_int_handler() 83 if (handlers[vector].handler) { in riscv_platform_irq() 84 ret = handlers[vector].handler(handlers[vector].arg); in riscv_platform_irq()
|
/lk-master/platform/sifive/ |
A D | plic.c | 32 int_handler handler; member 60 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 61 LTRACEF("vector %u handler %p arg %p\n", vector, handler, arg); in register_int_handler() 65 handlers[vector].handler = handler; in register_int_handler() 83 if (handlers[vector].handler) { in riscv_platform_irq() 84 ret = handlers[vector].handler(handlers[vector].arg); in riscv_platform_irq()
|
/lk-master/dev/interrupt/or1k_pic/ |
A D | or1k_pic.c | 23 int_handler handler; member 29 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 37 int_handler_table[vector].handler = handler; in register_int_handler() 66 if (irq < MAX_INT && int_handler_table[irq].handler) in platform_irq() 67 ret = int_handler_table[irq].handler(int_handler_table[irq].arg); in platform_irq()
|
/lk-master/platform/qemu-virt-m68k/ |
A D | pic.c | 37 int_handler handler; member 86 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 87 LTRACEF("vector %u handler %p arg %p\n", vector, handler, arg); in register_int_handler() 91 handlers[vector].handler = handler; in register_int_handler() 121 if (handlers[vector].handler) { in m68k_platform_irq() 122 ret = handlers[vector].handler(handlers[vector].arg); in m68k_platform_irq()
|
/lk-master/external/platform/nrfx/drivers/src/prs/ |
A D | nrfx_prs.c | 47 nrfx_irq_handler_t handler; member 52 static prs_box_t m_prs_box_##n = { .handler = NULL, .acquired = false }; \ 55 NRFX_ASSERT(m_prs_box_##n.handler); \ 56 m_prs_box_##n.handler(); \ 126 p_box->handler = irq_handler; in nrfx_prs_acquire() 151 p_box->handler = NULL; in nrfx_prs_release()
|
/lk-master/external/platform/nrfx/drivers/src/ |
A D | nrfx_pwm.c | 74 nrfx_pwm_handler_t handler; member 132 nrfx_pwm_handler_t handler, in nrfx_pwm_init() argument 150 p_cb->handler = handler; in nrfx_pwm_init() 177 if (p_cb->handler) in nrfx_pwm_init() 219 if (p_cb->handler) in start_playback() 447 if ((p_cb->flags & NRFX_PWM_FLAG_SIGNAL_END_SEQ0) && p_cb->handler) in irq_handler() 449 p_cb->handler(NRFX_PWM_EVT_END_SEQ0, p_cb->p_context); in irq_handler() 457 p_cb->handler(NRFX_PWM_EVT_END_SEQ1, p_cb->p_context); in irq_handler() 467 p_cb->handler(NRFX_PWM_EVT_FINISHED, p_cb->p_context); in irq_handler() 477 if (p_cb->handler) in irq_handler() [all …]
|
A D | nrfx_ipc.c | 41 nrfx_ipc_handler_t handler; member 48 nrfx_err_t nrfx_ipc_init(uint8_t irq_priority, nrfx_ipc_handler_t handler, void * p_context) in nrfx_ipc_init() argument 50 NRFX_ASSERT(handler); in nrfx_ipc_init() 60 m_ipc_cb.handler = handler; in nrfx_ipc_init() 159 m_ipc_cb.handler(events_map, m_ipc_cb.p_context); in nrfx_ipc_irq_handler()
|
A D | nrfx_spi.c | 51 nrfx_spi_evt_handler_t handler; member 70 nrfx_spi_evt_handler_t handler, in nrfx_spi_init() argument 109 p_cb->handler = handler; in nrfx_spi_init() 171 if (p_cb->handler) in nrfx_spi_init() 192 if (p_cb->handler) in nrfx_spi_uninit() 239 p_cb->handler(&p_cb->evt, p_cb->p_context); in finish_transfer() 328 if (p_cb->handler) in spi_xfer() 367 if (p_cb->handler) in nrfx_spi_xfer() 404 NRFX_ASSERT(p_cb->handler); in irq_handler()
|
A D | nrfx_power.c | 154 if (p_config->handler != NULL) in nrfx_power_pof_init() 156 m_pofwarn_handler = p_config->handler; in nrfx_power_pof_init() 202 if (p_config->handler != NULL) in nrfx_power_sleepevt_init() 204 m_sleepevt_handler = p_config->handler; in nrfx_power_sleepevt_init() 242 if (p_config->handler != NULL) in nrfx_power_usbevt_init() 244 m_usbevt_handler = p_config->handler; in nrfx_power_usbevt_init()
|
A D | nrfx_qspi.c | 53 nrfx_qspi_handler_t handler; /**< Handler. */ member 71 if (m_cb.handler) in qspi_task_perform() 79 if (m_cb.handler == NULL) in qspi_task_perform() 119 nrfx_qspi_handler_t handler, in nrfx_qspi_init() argument 138 m_cb.handler = handler; in nrfx_qspi_init() 145 if (handler) in nrfx_qspi_init() 448 m_cb.handler(NRFX_QSPI_EVENT_DONE, m_cb.p_context); in nrfx_qspi_irq_handler()
|
A D | nrfx_gpiote.c | 109 m_cb.handlers[channel_id] = handler; in pin_in_use_by_te_set() 182 pin_in_use_by_te_set(pin, i, handler, channel); in channel_port_alloc() 596 if (handler) in nrfx_gpiote_in_event_enable() 721 nrfx_gpiote_evt_handler_t handler = in port_event_handle() local 723 if (handler && in port_event_handle() 728 handler(pin, polarity); in port_event_handle() 804 nrfx_gpiote_evt_handler_t handler = in port_event_handle() local 806 if (handler && in port_event_handle() 813 handler(pin, polarity); in port_event_handle() 873 if (handler) in nrfx_gpiote_irq_handler() [all …]
|
A D | nrfx_rng.c | 51 nrfx_err_t nrfx_rng_init(nrfx_rng_config_t const * p_config, nrfx_rng_evt_handler_t handler) in nrfx_rng_init() argument 54 NRFX_ASSERT(handler); in nrfx_rng_init() 60 m_rng_hndl = handler; in nrfx_rng_init()
|
A D | nrfx_uart.c | 57 nrfx_uart_event_handler_t handler; member 193 p_cb->handler = event_handler; in nrfx_uart_init() 196 if (p_cb->handler) in nrfx_uart_init() 219 if (p_cb->handler) in nrfx_uart_uninit() 231 p_cb->handler = NULL; in nrfx_uart_uninit() 302 if (p_cb->handler == NULL) in nrfx_uart_tx() 363 if (p_cb->handler) in nrfx_uart_rx() 372 if (p_cb->handler) in nrfx_uart_rx() 406 if (p_cb->handler == NULL) in nrfx_uart_rx() 504 p_cb->handler(&event, p_cb->p_context); in rx_done_event() [all …]
|
A D | nrfx_i2s.c | 71 nrfx_i2s_data_handler_t handler; member 188 nrfx_i2s_data_handler_t handler) in nrfx_i2s_init() argument 191 NRFX_ASSERT(handler); in nrfx_i2s_init() 225 m_cb.handler = handler; in nrfx_i2s_init() 444 m_cb.handler(&m_cb.current_buffers, 0); in nrfx_i2s_irq_handler() 452 m_cb.handler(&m_cb.next_buffers, NRFX_I2S_STATUS_TRANSFER_STOPPED); in nrfx_i2s_irq_handler() 481 m_cb.handler(NULL, in nrfx_i2s_irq_handler() 495 m_cb.handler(&released_buffers, in nrfx_i2s_irq_handler()
|
/lk-master/platform/pc/ |
A D | interrupts.c | 31 int_handler handler; member 190 if (int_handler_table[vector].handler) in platform_irq() 191 ret = int_handler_table[vector].handler(int_handler_table[vector].arg); in platform_irq() 199 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 207 int_handler_table[vector].handler = handler; in register_int_handler()
|
/lk-master/external/platform/pico/rp2_common/hardware_irq/include/hardware/ |
A D | irq.h | 170 void irq_set_exclusive_handler(uint num, irq_handler_t handler); 206 void irq_add_shared_handler(uint num, irq_handler_t handler, uint8_t order_priority); 224 void irq_remove_handler(uint num, irq_handler_t handler);
|
/lk-master/platform/qemu-mips/ |
A D | intc.c | 50 int_handler handler; member 242 if (int_handler_table[vector].handler) in platform_irq() 243 ret = int_handler_table[vector].handler(int_handler_table[vector].arg); in platform_irq() 248 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 256 int_handler_table[vector].handler = handler; in register_int_handler()
|
/lk-master/dev/interrupt/arm_gic/ |
A D | arm_gic.c | 73 int_handler handler; member 87 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 100 h->handler = handler; in register_int_handler() 395 struct int_handler_struct *handler = get_int_handler(vector, cpu); in __platform_irq() local 396 if (handler->handler) in __platform_irq() 397 ret = handler->handler(handler->arg); in __platform_irq() 417 if (pending_irq < MAX_INT && get_int_handler(pending_irq, cpu)->handler) { in platform_irq() 438 if (irq < MAX_INT && (h = get_int_handler(pending_irq, cpu))->handler) in platform_irq() 439 ret = h->handler(h->arg); in platform_irq() 470 if (get_int_handler(irq, cpu)->handler) in arm_gic_get_next_irq_locked()
|
/lk-master/platform/bcm28xx/ |
A D | intc.c | 77 int_handler handler; member 149 void register_int_handler(unsigned int vector, int_handler handler, void *arg) { in register_int_handler() argument 156 int_handler_table[vector].handler = handler; in register_int_handler() 237 } else if (int_handler_table[vector].handler) { in platform_irq() 238 ret = int_handler_table[vector].handler(int_handler_table[vector].arg); in platform_irq()
|
/lk-master/arch/arm/include/arch/ |
A D | asm_macros.h | 11 .macro set_fault_handler, handler 15 .long \handler
|