/Zephyr-Core-3.5.0/arch/x86/include/ia32/ |
D | exception.h | 27 #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" \ 60 * @brief Connect an exception handler that doesn't expect error code 62 * Assign an exception handler to a particular vector in the IDT. [all …]
|
/Zephyr-Core-3.5.0/arch/arm/core/ |
D | nmi.c | 9 * @brief NMI handler infrastructure 11 * Provides a boot time handler that simply hangs in a sleep loop, and a run 12 * time handler that resets the CPU. Also provides a mechanism for hooking a 13 * custom run time handler. 25 #define handler z_SysNmiOnReset macro 30 static _NmiHandler_t handler = z_SysNmiOnReset; variable 34 * @brief Install a custom runtime NMI handler 37 * handler that reboots. It should be installed after the console is 44 handler = pHandler; in z_arm_nmi_set_handler() 50 * @brief Handler installed in the vector table [all …]
|
/Zephyr-Core-3.5.0/scripts/tests/twister/ |
D | test_handlers.py | 27 Handler, 124 handler = Handler(mocked_instance) 125 handler.suite_name_check = True 135 handler._final_handle_actions(harness, handler_time) 137 assert handler.instance.status == 'failed' 138 assert handler.instance.execution_time == handler_time 139 assert handler.instance.reason == 'RunID mismatch' 141 testcase in handler.instance.testcases) 143 handler.instance.reason = 'This reason shan\'t be changed.' 144 handler._final_handle_actions(harness, handler_time) [all …]
|
/Zephyr-Core-3.5.0/drivers/modem/ |
D | modem_cmd_handler.h | 2 * @brief Modem command handler header file. 4 * Text-based command handler implementation for modem context driver. 129 * @param data: command handler data reference 138 * @param data: command handler data reference 147 * @brief update the parser's handler commands 149 * @param data: handler data to use 169 * @param handler: command handler to use 180 struct modem_cmd_handler *handler, 189 * @param handler: command handler to use 199 struct modem_cmd_handler *handler, in modem_cmd_send_nolock() argument [all …]
|
/Zephyr-Core-3.5.0/samples/subsys/zbus/work_queue/ |
D | README.rst | 31 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 …]
|
D | sample.yaml | 15 - "I: Sensor msg processed by WORK QUEUE handler dh1: temp = 10, press = 1, humidity = 100" 16 - "I: Sensor msg processed by WORK QUEUE handler dh2: temp = 10, press = 1, humidity = 100" 17 - "I: Sensor msg processed by WORK QUEUE handler dh3: temp = 10, press = 1, humidity = 100" 18 - "I: Sensor msg processed by THREAD handler 1: temp = 10, press = 1, humidity = 100" 19 - "I: Sensor msg processed by THREAD handler 2: temp = 10, press = 1, humidity = 100" 20 - "I: Sensor msg processed by THREAD handler 3: temp = 10, press = 1, humidity = 100" 24 - "I: Sensor msg processed by WORK QUEUE handler dh1: temp = 20, press = 2, humidity = 200" 25 - "I: Sensor msg processed by WORK QUEUE handler dh2: temp = 20, press = 2, humidity = 200" 26 - "I: Sensor msg processed by WORK QUEUE handler dh3: temp = 20, press = 2, humidity = 200" 27 - "I: Sensor msg processed by THREAD handler 1: temp = 20, press = 2, humidity = 200" [all …]
|
/Zephyr-Core-3.5.0/drivers/smbus/ |
D | smbus_utils.h | 22 __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() 80 * @param handler A valid handler function pointer. 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.5.0/drivers/sensor/adt7310/ |
D | Kconfig | 25 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.5.0/subsys/usb/device_next/ |
D | usbd_class_api.h | 20 * @brief Endpoint request completion event handler 22 * This is the event handler for all endpoint accommodated 44 * @brief USB control request handler 46 * Common handler for all control request. 49 * and call this handler. 54 * The execution of the handler must not block. 77 * @brief USB control request handler 79 * Common handler for all control request. 82 * and call this handler. 87 * The execution of the handler must not block. [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | icmp.h | 41 * @brief Handler function that is called when ICMP response is received. 57 * @brief Handler function that is called when an Echo-Request is sent 58 * to offloaded device. This handler is typically setup by the 68 * @param user_data User supplied opaque data passed to the handler. May be NULL. 84 /** ICMP response handler */ 85 net_icmp_handler_t handler; member 153 * ICMP messages can be sent. This will register handler to the 159 * @param handler Callback function that is called when a response is received. 162 net_icmp_handler_t handler); 165 * @brief Cleanup the ICMP context structure. This will unregister the ICMP handler [all …]
|
/Zephyr-Core-3.5.0/lib/os/ |
D | user_work.c | 19 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() 29 /* Reset pending state so it can be resubmitted by handler */ in z_work_user_q_main() 32 handler(work); in z_work_user_q_main()
|
/Zephyr-Core-3.5.0/subsys/mgmt/ec_host_cmd/ |
D | Kconfig | 1 # 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" 32 Buffer size in bytes for TX buffer defined by the host command handler. 45 Buffer size in bytes for TX buffer defined by the host command handler. 55 If the priority is too low (high in value), the host commands handler may be unable to 71 The handler defines common tx buffer 77 The handler defines common rx buffer
|
/Zephyr-Core-3.5.0/subsys/testsuite/ztest/include/zephyr/ |
D | ztress.h | 36 /** @brief Descriptor of a k_timer handler execution context. 38 * The handler is executed in the k_timer handler context which typically means 44 * @param handler User handler of type @ref ztress_handler. 46 * @param user_data User data passed to the @p handler. 48 * @param exec_cnt Number of handler executions to complete the test. If 0 then 55 #define ZTRESS_TIMER(handler, user_data, exec_cnt, init_timeout) \ argument 56 (ZTRESS_ID_K_TIMER, handler, user_data, exec_cnt, 0, init_timeout) 60 * The handler is executed in the thread context. The priority of the thread is 66 * @param handler User handler of type @ref ztress_handler. 68 * @param user_data User data passed to the @p handler. [all …]
|
/Zephyr-Core-3.5.0/scripts/pylib/twister/twisterlib/ |
D | testinstance.py | 19 Handler, 50 self.handler = None 158 if self.handler: 162 handler = Handler(self, "") 164 handler = DeviceHandler(self, "device") 165 handler.call_make_run = False 166 handler.ready = True 169 handler = QEMUHandler(self, "qemu") 170 handler.args.append(f"QEMU_PIPE={handler.get_fifo()}") 171 handler.ready = True [all …]
|
/Zephyr-Core-3.5.0/tests/arch/x86/static_idt/src/ |
D | main.c | 47 /* Assume the spurious interrupt handler will execute and abort the task */ 63 * Handler to perform various actions from within an ISR context 65 * This routine is the ISR handler for _trigger_isr_handler(). 75 * This is the handler for the divide by zero exception. 83 * This handler is part of a test that is only interested in detecting the 95 /* provide evidence that the handler executed */ in exc_divide_error_handler() 153 * and spurious interrupt using various method, the registered handler 162 TC_PRINT("Testing to see interrupt handler executes properly\n"); in ZTEST() 166 "Interrupt handler did not execute"); in ZTEST() 168 "Interrupt handler executed more than once! (%d)\n", in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/settings/ |
D | settings.h | 48 * h_set handler implementations. 51 * transferred to h_set handler implementation by 63 * Config handlers for subtree implement a set of handler functions. 72 /**< Get values handler of settings items identified by keyword names. 76 * handler registration 85 /**< Set value handler of settings items identified by keyword names. 89 * handler registration 99 /**< This handler gets called after settings has been loaded in full. 116 * @remarks The User might limit a implementations of handler to serving 138 /**< Get values handler of settings items identified by keyword names. [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/audio/mocks/src/ |
D | kernel.c | 29 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() 66 void k_work_init(struct k_work *work, k_work_handler_t handler) in k_work_init() argument 68 work->handler = handler; in k_work_init() 73 work->handler(work); in k_work_submit() 98 work->handler(work); in k_sleep() 118 work->handler(work); in mock_kernel_cleanup()
|
/Zephyr-Core-3.5.0/samples/subsys/logging/logger/src/ |
D | ext_log_system.h | 23 /** Log message handler type. */ 27 /** @brief Set log handler function. 29 * @param handler External log handler. 31 void ext_log_handler_set(ext_log_handler handler);
|
/Zephyr-Core-3.5.0/arch/x86/ |
D | gen_idt.py | 64 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: 90 error("entry specifies both handler function and tss") 92 if not handler and not tss: 93 error("entry does not specify either handler or tss") 95 if handler: 96 data = create_irq_gate(handler, dpl) [all …]
|
/Zephyr-Core-3.5.0/drivers/flash/ |
D | soc_flash_nrf.h | 58 flash_op_handler_t handler; member 88 * Function executes callbacks op_desc->handler() in execution windows according 90 * This routine need to be called the handler as many time as it returns 92 * When the handler() returns FLASH_OP_DONE or an error code, no further 93 * execution windows are needed so function should return as the handler() 96 * @retval 0 if op_desc->handler() was executed and finished its operation 97 * successfully. Otherwise (handler returned error, timeout, couldn't schedule 113 * | # call flash_op_handler_t handler() 116 * | # flash_op_handler_t handler() return 125 * | # call flash_op_handler_t handler() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/mgmt/mcumgr/mgmt/ |
D | handlers.h | 19 * @brief MCUmgr handler registration API 20 * @defgroup mcumgr_handler_api MCUmgr handler API 25 /** Type definition for a MCUmgr handler initialisation function */ 36 * @brief Define a MCUmgr handler to register. 40 * @param name Name of the MCUmgr handler to registger.
|
/Zephyr-Core-3.5.0/drivers/sensor/iis2dlpc/ |
D | iis2dlpc_trigger.c | 94 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.5.0/tests/subsys/settings/src/ |
D | settings_test_getset_int64.c | 21 zassert_true(test_set_called == 1, "the SET handler wasn't called"); in ZTEST() 23 "SET handler: was called with wrong parameters"); in ZTEST() 29 zassert_true(test_get_called == 1, "the GET handler wasn't called"); in ZTEST() 39 zassert_true(test_set_called == 1, "the SET handler wasn't called"); in ZTEST() 41 "SET handler: was called with wrong parameters"); in ZTEST() 47 zassert_true(test_get_called == 1, "the GET handler wasn't called"); in ZTEST()
|
/Zephyr-Core-3.5.0/samples/subsys/settings/ |
D | README.rst | 51 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-Core-3.5.0/drivers/sensor/bmi160/ |
D | bmi160_trigger.c | 113 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 …]
|