Home
last modified time | relevance | path

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

12345678910>>...21

/Zephyr-latest/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-latest/scripts/tests/twister/
Dtest_handlers.py130 handler = Handler(mocked_instance, 'build', mock.Mock())
131 handler.suite_name_check = True
142 handler._final_handle_actions(harness, handler_time)
144 assert handler.instance.status == TwisterStatus.FAIL
145 assert handler.instance.execution_time == handler_time
146 assert handler.instance.reason == 'RunID mismatch'
148 testcase in handler.instance.testcases)
150 handler.instance.reason = 'This reason shan\'t be changed.'
151 handler._final_handle_actions(harness, handler_time)
155 assert handler.instance.reason == 'This reason shan\'t be changed.'
[all …]
/Zephyr-latest/drivers/smbus/
Dsmbus_utils.h27 __ASSERT(callback->handler, "No callback handler!"); in smbus_callback_set()
50 __ASSERT(callback->handler, "No callback handler!"); in smbus_callback_remove()
75 __ASSERT(cb->handler, "No callback handler!"); in smbus_fire_callbacks()
76 cb->handler(dev, cb, addr); in smbus_fire_callbacks()
89 smbus_callback_handler_t handler, in smbus_init_callback() argument
93 __ASSERT(handler, "Callback handler pointer should not be NULL"); in smbus_init_callback()
95 callback->handler = handler; in smbus_init_callback()
/Zephyr-latest/include/zephyr/net/
Ddhcpv4.h111 net_dhcpv4_option_callback_handler_t handler; member
136 net_dhcpv4_option_callback_handler_t handler, in net_dhcpv4_init_option_callback() argument
142 __ASSERT(handler, "Callback handler pointer should not be NULL"); in net_dhcpv4_init_option_callback()
145 callback->handler = handler; in net_dhcpv4_init_option_callback()
176 net_dhcpv4_option_callback_handler_t handler, uint8_t option, in net_dhcpv4_init_option_vendor_callback() argument
180 __ASSERT(handler, "Callback handler pointer should not be NULL"); in net_dhcpv4_init_option_vendor_callback()
183 callback->handler = handler; in net_dhcpv4_init_option_vendor_callback()
Dnet_mgmt.h154 net_mgmt_event_handler_t handler; member
209 net_mgmt_event_static_handler_t handler; member
231 .handler = _func, \
244 net_mgmt_event_handler_t handler, in net_mgmt_init_event_callback() argument
248 __ASSERT(handler, "Handler pointer should not be NULL"); in net_mgmt_init_event_callback()
250 cb->handler = handler; in net_mgmt_init_event_callback()
/Zephyr-latest/include/zephyr/mgmt/hawkbit/
Devent.h95 hawkbit_event_callback_handler_t handler; member
115 .handler = _handler, \
127 hawkbit_event_callback_handler_t handler, in hawkbit_event_init_callback() argument
131 __ASSERT(handler, "Callback handler pointer should not be NULL"); in hawkbit_event_init_callback()
133 callback->handler = handler; in hawkbit_event_init_callback()
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Dkernel.c28 void k_work_init_delayable(struct k_work_delayable *dwork, k_work_handler_t handler) in k_work_init_delayable() argument
30 dwork->work.handler = handler; in k_work_init_delayable()
49 dwork->work.handler(&dwork->work); in k_work_reschedule()
73 dwork->work.handler(&dwork->work); in k_work_schedule()
95 void k_work_init(struct k_work *work, k_work_handler_t handler) in k_work_init() argument
97 work->handler = handler; in k_work_init()
102 work->handler(work); in k_work_submit()
127 work->handler(work); in k_sleep()
147 work->handler(work); in mock_kernel_cleanup()
/Zephyr-latest/arch/arm/core/
Dnmi.c25 #define handler z_SysNmiOnReset macro
30 static _NmiHandler_t handler = z_SysNmiOnReset; variable
44 handler = pHandler; in z_arm_nmi_set_handler()
58 handler(); in z_arm_nmi()
/Zephyr-latest/samples/subsys/zbus/work_queue/
DREADME.rst31 I: Sensor msg processed by WORK QUEUE handler dh1: temp = 10, press = 1, humidity = 100
32 I: Sensor msg processed by WORK QUEUE handler dh2: temp = 10, press = 1, humidity = 100
33 I: Sensor msg processed by WORK QUEUE handler dh3: temp = 10, press = 1, humidity = 100
34 I: Sensor msg processed by THREAD handler 1: temp = 10, press = 1, humidity = 100
35 I: Sensor msg processed by THREAD handler 2: temp = 10, press = 1, humidity = 100
36 I: Sensor msg processed by THREAD handler 3: temp = 10, press = 1, humidity = 100
40 I: Sensor msg processed by WORK QUEUE handler dh1: temp = 20, press = 2, humidity = 200
41 I: Sensor msg processed by WORK QUEUE handler dh2: temp = 20, press = 2, humidity = 200
42 I: Sensor msg processed by WORK QUEUE handler dh3: temp = 20, press = 2, humidity = 200
43 I: Sensor msg processed by THREAD handler 1: temp = 20, press = 2, humidity = 200
[all …]
/Zephyr-latest/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 …]
/Zephyr-latest/drivers/sensor/st/lis2dw12/
Dlis2dw12_trigger.c126 sensor_trigger_handler_t handler) in lis2dw12_trigger_set() argument
132 int state = (handler != NULL) ? PROPERTY_ENABLE : PROPERTY_DISABLE; in lis2dw12_trigger_set()
141 lis2dw12->drdy_handler = handler; in lis2dw12_trigger_set()
162 lis2dw12->tap_handler = handler; in lis2dw12_trigger_set()
168 lis2dw12->double_tap_handler = handler; in lis2dw12_trigger_set()
175 LOG_DBG("Set trigger %d (handler: %p)\n", trig->type, handler); in lis2dw12_trigger_set()
176 lis2dw12->motion_handler = handler; in lis2dw12_trigger_set()
184 LOG_DBG("Set trigger %d (handler: %p)\n", trig->type, handler); in lis2dw12_trigger_set()
185 lis2dw12->stationary_handler = handler; in lis2dw12_trigger_set()
192 LOG_DBG("Set freefall %d (handler: %p)\n", trig->type, handler); in lis2dw12_trigger_set()
[all …]
/Zephyr-latest/drivers/sensor/st/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-latest/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-latest/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-latest/subsys/rtio/
Drtio_workq.c30 req->handler(iodev_sqe); in rtio_work_handler()
56 rtio_work_submit_t handler) in rtio_work_req_submit() argument
62 if (!iodev_sqe || !handler) { in rtio_work_req_submit()
73 req->handler = handler; in rtio_work_req_submit()
76 work->handler = rtio_work_handler; in rtio_work_req_submit()
/Zephyr-latest/drivers/sensor/bosch/bmi160/
Dbmi160_trigger.c115 sensor_trigger_handler_t handler) in bmi160_trigger_drdy_set() argument
122 data->handler_drdy_acc = handler; in bmi160_trigger_drdy_set()
133 data->handler_drdy_gyr = handler; in bmi160_trigger_drdy_set()
153 sensor_trigger_handler_t handler) in bmi160_trigger_anym_set() argument
158 data->handler_anymotion = handler; in bmi160_trigger_anym_set()
161 if (handler) { in bmi160_trigger_anym_set()
177 sensor_trigger_handler_t handler) in bmi160_trigger_set_acc() argument
180 return bmi160_trigger_drdy_set(dev, trig->chan, trig, handler); in bmi160_trigger_set_acc()
182 return bmi160_trigger_anym_set(dev, trig, handler); in bmi160_trigger_set_acc()
236 sensor_trigger_handler_t handler) in bmi160_trigger_set_gyr() argument
[all …]
/Zephyr-latest/drivers/sensor/memsic/mc3419/
Dmc3419_trigger.c45 if (data->handler[MC3419_TRIG_DATA_READY]) { in mc3419_process_int()
46 data->handler[MC3419_TRIG_DATA_READY](dev, in mc3419_process_int()
52 if (data->handler[MC3419_TRIG_ANY_MOTION]) { in mc3419_process_int()
53 data->handler[MC3419_TRIG_ANY_MOTION](dev, in mc3419_process_int()
85 sensor_trigger_handler_t handler) in mc3419_configure_trigger() argument
99 data->handler[MC3419_TRIG_DATA_READY] = handler; in mc3419_configure_trigger()
108 data->handler[MC3419_TRIG_ANY_MOTION] = handler; in mc3419_configure_trigger()
112 int_mask, handler ? int_mask : 0); in mc3419_configure_trigger()
/Zephyr-latest/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-latest/drivers/sensor/adi/adt7310/
DKconfig25 Sets thread type for the interrupt handler.
36 Use a global thread for the interrupt handler.
44 Use a separate thread for the interrupt handler.
51 int "Thread priority of the interrupt handler"
54 Thread priority of the interrupt handler. A higher number implies a
59 int "Stack size of the interrupt handler thread"
62 Stack size of the interrupt handler thread.
/Zephyr-latest/scripts/dts/
Dedtlib_logger.py28 handler = logging.StreamHandler(sys.stderr)
29 handler.setFormatter(LogFormatter())
33 logger.addHandler(handler)
/Zephyr-latest/drivers/sensor/nxp/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()
197 sensor_trigger_handler_t handler) in fxos8700_trigger_set() argument
210 data->drdy_handler = handler; in fxos8700_trigger_set()
[all …]
/Zephyr-latest/drivers/sensor/bosch/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()
259 bmg160->work.handler = bmg160_work_cb; in bmg160_trigger_init()
/Zephyr-latest/drivers/sensor/ams/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()
126 sensor_trigger_handler_t handler) in ccs811_trigger_set() argument
140 drv_data->handler = handler; in ccs811_trigger_set()
141 if (handler == NULL) { in ccs811_trigger_set()
172 drv_data->handler = NULL; in ccs811_trigger_set()
204 drv_data->work.handler = work_cb; in ccs811_init_interrupt()
/Zephyr-latest/samples/subsys/settings/
DREADME.rst51 subtree <alpha> handler registered: OK
52 subtree <alpha/beta> has static handler
62 loading all settings under <beta> handler is done
63 loading all settings under <alpha> handler is done
69 loading all settings under <beta> handler is done
72 export keys under <beta> handler
73 export keys under <alpha> handler
76 export keys under <beta> handler
77 export keys under <alpha> handler
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtestinstance.py60 self.handler = None
224 if self.handler:
231 handler = DeviceHandler(self, "device", *common_args)
232 handler.call_make_run = False
233 handler.ready = True
237 handler = QEMUHandler(self, "qemu", *common_args)
239 handler = QEMUWinHandler(self, "qemu", *common_args)
240 handler.args.append(f"QEMU_PIPE={handler.get_fifo()}")
241 handler.ready = True
243 handler = SimulationHandler(self, simulator.name, *common_args)
[all …]

12345678910>>...21