Home
last modified time | relevance | path

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

12345678910>>...12

/Zephyr-Core-2.7.6/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-2.7.6/arch/arm/core/aarch32/
Dnmi.c25 #define handler z_SysNmiOnReset macro
30 static _NmiHandler_t handler = z_SysNmiOnReset; variable
62 handler = DefaultHandler; in z_arm_nmi_init()
78 handler = pHandler; in z_NmiHandlerSet()
93 handler(); in z_arm_nmi()
/Zephyr-Core-2.7.6/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-2.7.6/drivers/sensor/bmi160/
Dbmi160_trigger.c122 sensor_trigger_handler_t handler) in bmi160_trigger_drdy_set() argument
129 data->handler_drdy_acc = handler; in bmi160_trigger_drdy_set()
139 data->handler_drdy_gyr = handler; in bmi160_trigger_drdy_set()
157 sensor_trigger_handler_t handler) in bmi160_trigger_anym_set() argument
162 data->handler_anymotion = handler; in bmi160_trigger_anym_set()
164 if (handler) { in bmi160_trigger_anym_set()
180 sensor_trigger_handler_t handler) in bmi160_trigger_set_acc() argument
183 return bmi160_trigger_drdy_set(dev, trig->chan, handler); in bmi160_trigger_set_acc()
185 return bmi160_trigger_anym_set(dev, handler); in bmi160_trigger_set_acc()
239 sensor_trigger_handler_t handler) in bmi160_trigger_set_gyr() argument
[all …]
/Zephyr-Core-2.7.6/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-2.7.6/drivers/modem/
Dmodem_cmd_handler.h175 struct modem_cmd_handler *handler,
192 struct modem_cmd_handler *handler, in modem_cmd_send_nolock() argument
198 return modem_cmd_send_ext(iface, handler, handler_cmds, in modem_cmd_send_nolock()
215 struct modem_cmd_handler *handler, in modem_cmd_send() argument
220 return modem_cmd_send_ext(iface, handler, handler_cmds, in modem_cmd_send()
237 struct modem_cmd_handler *handler,
254 struct modem_cmd_handler *handler,
267 int modem_cmd_handler_init(struct modem_cmd_handler *handler,
284 int modem_cmd_handler_tx_lock(struct modem_cmd_handler *handler,
286 void modem_cmd_handler_tx_unlock(struct modem_cmd_handler *handler);
Dmodem_cmd_handler.c471 struct modem_cmd_handler *handler, in modem_cmd_send_ext() argument
479 if (!iface || !handler || !handler->cmd_handler_data || !buf) { in modem_cmd_send_ext()
491 data = (struct modem_cmd_handler_data *)(handler->cmd_handler_data); in modem_cmd_send_ext()
550 struct modem_cmd_handler *handler, in modem_cmd_handler_setup_cmds() argument
562 ret = modem_cmd_send(iface, handler, in modem_cmd_handler_setup_cmds()
567 ret = modem_cmd_send(iface, handler, in modem_cmd_handler_setup_cmds()
584 struct modem_cmd_handler *handler, in modem_cmd_handler_setup_cmds_nolock() argument
597 ret = modem_cmd_send_nolock(iface, handler, in modem_cmd_handler_setup_cmds_nolock()
602 ret = modem_cmd_send_nolock(iface, handler, in modem_cmd_handler_setup_cmds_nolock()
617 int modem_cmd_handler_tx_lock(struct modem_cmd_handler *handler, in modem_cmd_handler_tx_lock() argument
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/iis2dlpc/
Diis2dlpc_trigger.c81 sensor_trigger_handler_t handler) in iis2dlpc_trigger_set() argument
87 int state = (handler != NULL) ? PROPERTY_ENABLE : PROPERTY_DISABLE; in iis2dlpc_trigger_set()
91 iis2dlpc->drdy_handler = handler; in iis2dlpc_trigger_set()
99 iis2dlpc->tap_handler = handler; in iis2dlpc_trigger_set()
102 iis2dlpc->double_tap_handler = handler; in iis2dlpc_trigger_set()
131 sensor_trigger_handler_t handler = data->tap_handler; in iis2dlpc_handle_single_tap_int() local
138 if (handler) { in iis2dlpc_handle_single_tap_int()
139 handler(dev, &tap_trig); in iis2dlpc_handle_single_tap_int()
148 sensor_trigger_handler_t handler = data->double_tap_handler; in iis2dlpc_handle_double_tap_int() local
155 if (handler) { in iis2dlpc_handle_double_tap_int()
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/ccs811/
Dccs811_trigger.c76 if (data->handler != NULL) { in process_irq()
77 data->handler(dev, &data->trigger); in process_irq()
80 if (data->handler != NULL) { in process_irq()
118 sensor_trigger_handler_t handler) in ccs811_trigger_set() argument
127 drv_data->handler = handler; in ccs811_trigger_set()
128 if (handler == NULL) { in ccs811_trigger_set()
159 drv_data->handler = NULL; in ccs811_trigger_set()
191 drv_data->work.handler = work_cb; in ccs811_init_interrupt()
/Zephyr-Core-2.7.6/drivers/sensor/fxos8700/
Dfxos8700_trigger.c55 sensor_trigger_handler_t handler = NULL; in fxos8700_handle_pulse_int() local
74 handler = data->double_tap_handler; in fxos8700_handle_pulse_int()
77 handler = data->tap_handler; in fxos8700_handle_pulse_int()
80 if (handler) { in fxos8700_handle_pulse_int()
81 handler(dev, &pulse_trig); in fxos8700_handle_pulse_int()
93 sensor_trigger_handler_t handler = data->motion_handler; in fxos8700_handle_motion_int() local
110 if (handler) { in fxos8700_handle_motion_int()
112 handler(dev, &motion_trig); in fxos8700_handle_motion_int()
212 sensor_trigger_handler_t handler) in fxos8700_trigger_set() argument
225 data->drdy_handler = handler; in fxos8700_trigger_set()
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/bmg160/
Dbmg160_trigger.c53 sensor_trigger_handler_t handler) in bmg160_anymotion_set() argument
58 if (handler) { in bmg160_anymotion_set()
69 bmg160->anymotion_handler = handler; in bmg160_anymotion_set()
75 sensor_trigger_handler_t handler) in bmg160_drdy_set() argument
81 handler ? BMG160_DATA_EN : 0) < 0) { in bmg160_drdy_set()
85 bmg160->drdy_handler = handler; in bmg160_drdy_set()
127 sensor_trigger_handler_t handler) in bmg160_trigger_set() argument
130 return bmg160_anymotion_set(dev, handler); in bmg160_trigger_set()
132 return bmg160_drdy_set(dev, handler); in bmg160_trigger_set()
258 bmg160->work.handler = bmg160_work_cb; in bmg160_trigger_init()
/Zephyr-Core-2.7.6/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-2.7.6/drivers/sensor/lis2dw12/
Dlis2dw12_trigger.c81 sensor_trigger_handler_t handler) in lis2dw12_trigger_set() argument
87 int state = (handler != NULL) ? PROPERTY_ENABLE : PROPERTY_DISABLE; in lis2dw12_trigger_set()
96 lis2dw12->drdy_handler = handler; in lis2dw12_trigger_set()
116 lis2dw12->tap_handler = handler; in lis2dw12_trigger_set()
121 lis2dw12->double_tap_handler = handler; in lis2dw12_trigger_set()
150 sensor_trigger_handler_t handler = data->tap_handler; in lis2dw12_handle_single_tap_int() local
157 if (handler) { in lis2dw12_handle_single_tap_int()
158 handler(dev, &pulse_trig); in lis2dw12_handle_single_tap_int()
167 sensor_trigger_handler_t handler = data->double_tap_handler; in lis2dw12_handle_double_tap_int() local
174 if (handler) { in lis2dw12_handle_double_tap_int()
[all …]
/Zephyr-Core-2.7.6/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"
19 int "Stack size for the EC host command handler thread"
/Zephyr-Core-2.7.6/arch/x86/core/ia32/
Dirq_manage.c27 extern void z_SpuriousIntHandler(void *handler);
28 extern void z_SpuriousIntNoErrCodeHandler(void *handler);
60 void (*handler)(const void *param); member
223 dyn_irq_list[stub_idx].handler = routine; in arch_irq_connect_dynamic()
244 dyn_irq_list[stub_idx].handler(dyn_irq_list[stub_idx].param); in z_x86_dynamic_irq_handler()
/Zephyr-Core-2.7.6/drivers/espi/
Despi_utils.h27 __ASSERT(callback->handler, "No callback handler!"); in espi_manage_callback()
59 __ASSERT(cb->handler, "No callback handler!"); in espi_send_callbacks()
60 cb->handler(dev, cb, evt); in espi_send_callbacks()
/Zephyr-Core-2.7.6/include/shell/
Dshell.h168 shell_cmd_handler handler; /*!< Command handler. */ member
187 #define SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \ argument
190 SHELL_CMD_ARG(syntax, subcmd, help, handler, mandatory, optional); \
219 #define SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, \ argument
224 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, \
229 handler;\
245 #define SHELL_CMD_REGISTER(syntax, subcmd, help, handler) \ argument
246 SHELL_CMD_ARG_REGISTER(syntax, subcmd, help, handler, 0, 0)
261 #define SHELL_COND_CMD_REGISTER(flag, syntax, subcmd, help, handler) \ argument
262 SHELL_COND_CMD_ARG_REGISTER(flag, syntax, subcmd, help, handler, 0, 0)
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/wsen_itds/
Ditds_trigger.c20 sensor_trigger_handler_t handler) in itds_trigger_drdy_set() argument
27 ddata->handler_drdy = handler; in itds_trigger_drdy_set()
43 sensor_trigger_handler_t handler) in itds_trigger_set() argument
51 return itds_trigger_drdy_set(dev, trig->chan, handler); in itds_trigger_set()
105 ddata->work.handler = itds_work_handler; in itds_trigger_mode_init()
/Zephyr-Core-2.7.6/drivers/gpio/
Dgpio_utils.h37 __ASSERT(callback->handler, "No callback handler!"); in gpio_manage_callback()
69 __ASSERT(cb->handler, "No callback handler!"); in gpio_fire_callbacks()
70 cb->handler(port, cb, cb->pin_mask & pins); in gpio_fire_callbacks()
/Zephyr-Core-2.7.6/include/net/
Dnet_mgmt.h132 net_mgmt_event_handler_t handler; member
175 net_mgmt_event_handler_t handler, in net_mgmt_init_event_callback() argument
179 __ASSERT(handler, "Handler pointer should not be NULL"); in net_mgmt_init_event_callback()
181 cb->handler = handler; in net_mgmt_init_event_callback()
/Zephyr-Core-2.7.6/drivers/sensor/ism330dhcx/
Dism330dhcx_trigger.c127 sensor_trigger_handler_t handler) in ism330dhcx_trigger_set() argument
132 ism330dhcx->handler_drdy_acc = handler; in ism330dhcx_trigger_set()
133 if (handler) { in ism330dhcx_trigger_set()
139 ism330dhcx->handler_drdy_gyr = handler; in ism330dhcx_trigger_set()
140 if (handler) { in ism330dhcx_trigger_set()
148 ism330dhcx->handler_drdy_temp = handler; in ism330dhcx_trigger_set()
149 if (handler) { in ism330dhcx_trigger_set()
268 ism330dhcx->work.handler = ism330dhcx_work_cb; in ism330dhcx_init_interrupt()
/Zephyr-Core-2.7.6/drivers/sensor/lsm6dso/
Dlsm6dso_trigger.c127 sensor_trigger_handler_t handler) in lsm6dso_trigger_set() argument
138 lsm6dso->handler_drdy_acc = handler; in lsm6dso_trigger_set()
139 if (handler) { in lsm6dso_trigger_set()
145 lsm6dso->handler_drdy_gyr = handler; in lsm6dso_trigger_set()
146 if (handler) { in lsm6dso_trigger_set()
154 lsm6dso->handler_drdy_temp = handler; in lsm6dso_trigger_set()
155 if (handler) { in lsm6dso_trigger_set()
273 lsm6dso->work.handler = lsm6dso_work_cb; in lsm6dso_init_interrupt()
/Zephyr-Core-2.7.6/drivers/sensor/sht3xd/
Dsht3xd_trigger.c114 sensor_trigger_handler_t handler) in sht3xd_trigger_set() argument
126 data->handler = handler; in sht3xd_trigger_set()
127 if (handler == NULL) { in sht3xd_trigger_set()
158 if (data->handler != NULL) { in sht3xd_thread_cb()
159 data->handler(dev, &data->trigger); in sht3xd_thread_cb()
251 data->work.handler = sht3xd_work_cb; in sht3xd_init_interrupt()
/Zephyr-Core-2.7.6/drivers/sensor/qdec_nrfx/
Dqdec_nrfx.c105 sensor_trigger_handler_t handler) in qdec_nrfx_trigger_set() argument
123 data->data_ready_handler = handler; in qdec_nrfx_trigger_set()
131 sensor_trigger_handler_t handler; in qdec_nrfx_event_handler() local
139 handler = qdec_nrfx_data.data_ready_handler; in qdec_nrfx_event_handler()
142 if (handler) { in qdec_nrfx_event_handler()
148 handler(DEVICE_DT_INST_GET(0), &trig); in qdec_nrfx_event_handler()
/Zephyr-Core-2.7.6/samples/subsys/logging/logger/src/
Dext_log_system.c11 void ext_log_handler_set(ext_log_handler handler)
13 log_handler = handler;

12345678910>>...12