Home
last modified time | relevance | path

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

12345678910>>...16

/Zephyr-Core-3.4.0/arch/x86/include/ia32/
Dexception.h27 #define __EXCEPTION_STUB_NAME(handler, vec) \ argument
28 _ ## handler ## _vector_ ## vec ## _stub
30 #define _EXCEPTION_STUB_NAME(handler, vec) \ argument
31 __EXCEPTION_STUB_NAME(handler, vec) \
44 #define __EXCEPTION_CONNECT(handler, vector, dpl, codepush) \ argument
49 ".global " STRINGIFY(_EXCEPTION_STUB_NAME(handler, vector)) "\n\t" \
50 STRINGIFY(_EXCEPTION_STUB_NAME(handler, vector)) ":\n\t" \
53 "push $" STRINGIFY(handler) "\n\t" \
68 #define _EXCEPTION_CONNECT_NOCODE(handler, vector, dpl) \ argument
69 __EXCEPTION_CONNECT(handler, vector, dpl, "push $0\n\t")
[all …]
/Zephyr-Core-3.4.0/drivers/smbus/
Dsmbus_utils.h22 __ASSERT(callback->handler, "No callback handler!"); in smbus_callback_set()
45 __ASSERT(callback->handler, "No callback handler!"); in smbus_callback_remove()
70 __ASSERT(cb->handler, "No callback handler!"); in smbus_fire_callbacks()
71 cb->handler(dev, cb, addr); in smbus_fire_callbacks()
84 smbus_callback_handler_t handler, in smbus_init_callback() argument
88 __ASSERT(handler, "Callback handler pointer should not be NULL"); in smbus_init_callback()
90 callback->handler = handler; in smbus_init_callback()
/Zephyr-Core-3.4.0/arch/arm/core/aarch32/
Dnmi.c25 #define handler z_SysNmiOnReset macro
30 static _NmiHandler_t handler = z_SysNmiOnReset; variable
60 handler = DefaultHandler; in z_arm_nmi_init()
75 handler = pHandler; in z_arm_nmi_set_handler()
89 handler(); in z_arm_nmi()
/Zephyr-Core-3.4.0/samples/subsys/zbus/work_queue/
DREADME.rst30 I: Sensor msg processed by WORK QUEUE handler dh1: temp = 10, press = 1, humidity = 100
31 I: Sensor msg processed by WORK QUEUE handler dh2: temp = 10, press = 1, humidity = 100
32 I: Sensor msg processed by WORK QUEUE handler dh3: temp = 10, press = 1, humidity = 100
33 I: Sensor msg processed by THREAD handler 1: temp = 10, press = 1, humidity = 100
34 I: Sensor msg processed by THREAD handler 2: temp = 10, press = 1, humidity = 100
35 I: Sensor msg processed by THREAD handler 3: temp = 10, press = 1, humidity = 100
39 I: Sensor msg processed by WORK QUEUE handler dh1: temp = 20, press = 2, humidity = 200
40 I: Sensor msg processed by WORK QUEUE handler dh2: temp = 20, press = 2, humidity = 200
41 I: Sensor msg processed by WORK QUEUE handler dh3: temp = 20, press = 2, humidity = 200
42 I: Sensor msg processed by THREAD handler 1: temp = 20, press = 2, humidity = 200
[all …]
/Zephyr-Core-3.4.0/drivers/modem/
Dmodem_cmd_handler.h180 struct modem_cmd_handler *handler,
199 struct modem_cmd_handler *handler, in modem_cmd_send_nolock() argument
205 return modem_cmd_send_ext(iface, handler, handler_cmds, in modem_cmd_send_nolock()
224 struct modem_cmd_handler *handler, in modem_cmd_send() argument
229 return modem_cmd_send_ext(iface, handler, handler_cmds, in modem_cmd_send()
246 struct modem_cmd_handler *handler,
263 struct modem_cmd_handler *handler,
316 int modem_cmd_handler_init(struct modem_cmd_handler *handler,
333 int modem_cmd_handler_tx_lock(struct modem_cmd_handler *handler,
341 void modem_cmd_handler_tx_unlock(struct modem_cmd_handler *handler);
[all …]
Dmodem_cmd_handler.c485 struct modem_cmd_handler *handler, in modem_cmd_send_ext() argument
493 if (!iface || !handler || !handler->cmd_handler_data || !buf) { in modem_cmd_send_ext()
505 data = (struct modem_cmd_handler_data *)(handler->cmd_handler_data); in modem_cmd_send_ext()
564 struct modem_cmd_handler *handler, in modem_cmd_handler_setup_cmds() argument
574 ret = modem_cmd_send(iface, handler, in modem_cmd_handler_setup_cmds()
579 ret = modem_cmd_send(iface, handler, in modem_cmd_handler_setup_cmds()
598 struct modem_cmd_handler *handler, in modem_cmd_handler_setup_cmds_nolock() argument
609 ret = modem_cmd_send_nolock(iface, handler, in modem_cmd_handler_setup_cmds_nolock()
614 ret = modem_cmd_send_nolock(iface, handler, in modem_cmd_handler_setup_cmds_nolock()
631 int modem_cmd_handler_tx_lock(struct modem_cmd_handler *handler, in modem_cmd_handler_tx_lock() argument
[all …]
/Zephyr-Core-3.4.0/scripts/pylib/twister/twisterlib/
Dtestinstance.py42 self.handler = None
144 if self.handler:
148 handler = Handler(self, "")
150 handler = DeviceHandler(self, "device")
151 handler.call_make_run = False
152 handler.ready = True
155 handler = QEMUHandler(self, "qemu")
156 handler.args.append(f"QEMU_PIPE={handler.get_fifo()}")
157 handler.ready = True
159 handler = SimulationHandler(self, self.platform.simulation)
[all …]
/Zephyr-Core-3.4.0/drivers/sensor/iis2dlpc/
Diis2dlpc_trigger.c94 sensor_trigger_handler_t handler) in iis2dlpc_trigger_set() argument
100 int state = (handler != NULL) ? PROPERTY_ENABLE : PROPERTY_DISABLE; in iis2dlpc_trigger_set()
104 iis2dlpc->drdy_handler = handler; in iis2dlpc_trigger_set()
113 iis2dlpc->tap_handler = handler; in iis2dlpc_trigger_set()
117 iis2dlpc->double_tap_handler = handler; in iis2dlpc_trigger_set()
123 iis2dlpc->activity_handler = handler; in iis2dlpc_trigger_set()
148 sensor_trigger_handler_t handler = data->activity_handler; in iis2dlpc_handle_activity_int() local
150 if (handler) { in iis2dlpc_handle_activity_int()
151 handler(dev, data->activity_trig); in iis2dlpc_handle_activity_int()
162 sensor_trigger_handler_t handler = data->tap_handler; in iis2dlpc_handle_single_tap_int() local
[all …]
/Zephyr-Core-3.4.0/arch/x86/
Dgen_idt.py64 def create_irq_gate(handler, dpl): argument
69 offset_hi = handler >> 16
70 offset_lo = handler & 0xFFFF
88 for handler, tss, dpl in idt_config:
89 if handler and tss:
92 if not handler and not tss:
95 if handler:
96 data = create_irq_gate(handler, dpl)
141 for handler, irq, prio, vec, dpl, tss in intlist:
154 vectors[vec] = (handler, tss, dpl)
[all …]
/Zephyr-Core-3.4.0/lib/os/
Duser_work.c19 k_work_user_handler_t handler; in z_work_user_q_main() local
26 handler = work->handler; in z_work_user_q_main()
27 __ASSERT(handler != NULL, "handler must be provided"); in z_work_user_q_main()
32 handler(work); in z_work_user_q_main()
/Zephyr-Core-3.4.0/drivers/sensor/bmi160/
Dbmi160_trigger.c113 sensor_trigger_handler_t handler) in bmi160_trigger_drdy_set() argument
120 data->handler_drdy_acc = handler; in bmi160_trigger_drdy_set()
131 data->handler_drdy_gyr = handler; in bmi160_trigger_drdy_set()
151 sensor_trigger_handler_t handler) in bmi160_trigger_anym_set() argument
156 data->handler_anymotion = handler; in bmi160_trigger_anym_set()
159 if (handler) { in bmi160_trigger_anym_set()
175 sensor_trigger_handler_t handler) in bmi160_trigger_set_acc() argument
178 return bmi160_trigger_drdy_set(dev, trig->chan, trig, handler); in bmi160_trigger_set_acc()
180 return bmi160_trigger_anym_set(dev, trig, handler); in bmi160_trigger_set_acc()
234 sensor_trigger_handler_t handler) in bmi160_trigger_set_gyr() argument
[all …]
/Zephyr-Core-3.4.0/drivers/sensor/lis2dw12/
Dlis2dw12_trigger.c111 sensor_trigger_handler_t handler) in lis2dw12_trigger_set() argument
117 int state = (handler != NULL) ? PROPERTY_ENABLE : PROPERTY_DISABLE; in lis2dw12_trigger_set()
126 lis2dw12->drdy_handler = handler; in lis2dw12_trigger_set()
147 lis2dw12->tap_handler = handler; in lis2dw12_trigger_set()
153 lis2dw12->double_tap_handler = handler; in lis2dw12_trigger_set()
160 LOG_DBG("Set trigger %d (handler: %p)\n", trig->type, handler); in lis2dw12_trigger_set()
161 lis2dw12->threshold_handler = handler; in lis2dw12_trigger_set()
168 LOG_DBG("Set freefall %d (handler: %p)\n", trig->type, handler); in lis2dw12_trigger_set()
169 lis2dw12->freefall_handler = handler; in lis2dw12_trigger_set()
195 sensor_trigger_handler_t handler = data->tap_handler; in lis2dw12_handle_single_tap_int() local
[all …]
/Zephyr-Core-3.4.0/include/zephyr/net/
Ddhcpv4.h110 net_dhcpv4_option_callback_handler_t handler; member
135 net_dhcpv4_option_callback_handler_t handler, in net_dhcpv4_init_option_callback() argument
141 __ASSERT(handler, "Callback handler pointer should not be NULL"); in net_dhcpv4_init_option_callback()
144 callback->handler = handler; in net_dhcpv4_init_option_callback()
/Zephyr-Core-3.4.0/drivers/sensor/adt7310/
DKconfig25 Sets thread type for the interrupt handler.
34 Use a global thread for the interrupt handler.
40 Use a separate thread for the interrupt handler.
47 int "Thread priority of the interrupt handler"
50 Thread priority of the interrupt handler. A higher number implies a
55 int "Stack size of the interrupt handler thread"
58 Stack size of the interrupt handler thread.
/Zephyr-Core-3.4.0/subsys/testsuite/ztest/include/zephyr/
Dztress.h55 #define ZTRESS_TIMER(handler, user_data, exec_cnt, init_timeout) \ argument
56 (ZTRESS_ID_K_TIMER, handler, user_data, exec_cnt, 0, init_timeout)
80 #define ZTRESS_THREAD(handler, user_data, exec_cnt, preempt_cnt, init_timeout) \ argument
81 (ZTRESS_ID_THREAD, handler, user_data, exec_cnt, preempt_cnt, init_timeout)
102 ztress_handler handler; member
132 .handler = (_handler), \
/Zephyr-Core-3.4.0/drivers/sensor/fxos8700/
Dfxos8700_trigger.c52 sensor_trigger_handler_t handler = NULL; in fxos8700_handle_pulse_int() local
66 handler = data->double_tap_handler; in fxos8700_handle_pulse_int()
69 handler = data->tap_handler; in fxos8700_handle_pulse_int()
73 if (handler) { in fxos8700_handle_pulse_int()
74 handler(dev, trig); in fxos8700_handle_pulse_int()
86 sensor_trigger_handler_t handler = data->motion_handler; in fxos8700_handle_motion_int() local
98 if (handler) { in fxos8700_handle_motion_int()
100 handler(dev, data->motion_trig); in fxos8700_handle_motion_int()
192 sensor_trigger_handler_t handler) in fxos8700_trigger_set() argument
205 data->drdy_handler = handler; in fxos8700_trigger_set()
[all …]
/Zephyr-Core-3.4.0/drivers/sensor/bmg160/
Dbmg160_trigger.c49 sensor_trigger_handler_t handler) in bmg160_anymotion_set() argument
54 if (handler) { in bmg160_anymotion_set()
65 bmg160->anymotion_handler = handler; in bmg160_anymotion_set()
73 sensor_trigger_handler_t handler) in bmg160_drdy_set() argument
79 handler ? BMG160_DATA_EN : 0) < 0) { in bmg160_drdy_set()
83 bmg160->drdy_handler = handler; in bmg160_drdy_set()
126 sensor_trigger_handler_t handler) in bmg160_trigger_set() argument
135 return bmg160_anymotion_set(dev, trig, handler); in bmg160_trigger_set()
137 return bmg160_drdy_set(dev, trig, handler); in bmg160_trigger_set()
254 bmg160->work.handler = bmg160_work_cb; in bmg160_trigger_init()
/Zephyr-Core-3.4.0/tests/bluetooth/audio/mocks/src/
Dkernel.c29 void k_work_init_delayable(struct k_work_delayable *dwork, k_work_handler_t handler) in k_work_init_delayable() argument
31 dwork->work.handler = handler; in k_work_init_delayable()
74 work->handler(work); in k_sleep()
94 work->handler(work); in mock_kernel_cleanup()
/Zephyr-Core-3.4.0/drivers/sensor/ccs811/
Dccs811_trigger.c79 if (data->handler != NULL) { in process_irq()
80 data->handler(dev, data->trigger); in process_irq()
83 if (data->handler != NULL) { in process_irq()
121 sensor_trigger_handler_t handler) in ccs811_trigger_set() argument
135 drv_data->handler = handler; in ccs811_trigger_set()
136 if (handler == NULL) { in ccs811_trigger_set()
167 drv_data->handler = NULL; in ccs811_trigger_set()
199 drv_data->work.handler = work_cb; in ccs811_init_interrupt()
/Zephyr-Core-3.4.0/samples/subsys/settings/
DREADME.rst50 subtree <alpha> handler registered: OK
51 subtree <alpha/beta> has static handler
61 loading all settings under <beta> handler is done
62 loading all settings under <alpha> handler is done
68 loading all settings under <beta> handler is done
71 export keys under <beta> handler
72 export keys under <alpha> handler
75 export keys under <beta> handler
76 export keys under <alpha> handler
/Zephyr-Core-3.4.0/drivers/espi/
Despi_utils.h27 __ASSERT(callback->handler, "No callback handler!"); in espi_manage_callback()
61 __ASSERT(cb->handler, "No callback handler!"); in espi_send_callbacks()
62 cb->handler(dev, cb, evt); in espi_send_callbacks()
/Zephyr-Core-3.4.0/arch/x86/core/ia32/
Dirq_manage.c26 extern void z_SpuriousIntHandler(void *handler);
27 extern void z_SpuriousIntNoErrCodeHandler(void *handler);
59 void (*handler)(const void *param); member
222 dyn_irq_list[stub_idx].handler = routine; in arch_irq_connect_dynamic()
243 dyn_irq_list[stub_idx].handler(dyn_irq_list[stub_idx].param); in z_x86_dynamic_irq_handler()
/Zephyr-Core-3.4.0/subsys/mgmt/ec_host_cmd/
DKconfig1 # Host command handler functionality
6 menu "Host command handler subsystem"
9 bool "Support Embedded Controller host command handler subsystem"
21 int "Stack size for the EC host command handler thread"
31 Buffer size in bytes for TX buffer defined by the host command handler.
43 Buffer size in bytes for TX buffer defined by the host command handler.
53 If the priority is too low (high in value), the host commands handler may be unable to
69 The handler defines common tx buffer
75 The handler defines common rx buffer
/Zephyr-Core-3.4.0/include/zephyr/drivers/gpio/
Dgpio_utils.h43 __ASSERT(callback->handler, "No callback handler!"); in gpio_manage_callback()
77 __ASSERT(cb->handler, "No callback handler!"); in gpio_fire_callbacks()
78 cb->handler(port, cb, cb->pin_mask & pins); in gpio_fire_callbacks()
/Zephyr-Core-3.4.0/drivers/sensor/wsen_itds/
Ditds_trigger.c21 sensor_trigger_handler_t handler) in itds_trigger_drdy_set() argument
28 ddata->handler_drdy = handler; in itds_trigger_drdy_set()
45 sensor_trigger_handler_t handler) in itds_trigger_set() argument
59 return itds_trigger_drdy_set(dev, trig->chan, trig, handler); in itds_trigger_set()
116 ddata->work.handler = itds_work_handler; in itds_trigger_mode_init()

12345678910>>...16