/Zephyr-Core-3.7.0/drivers/smbus/ |
D | smbus_utils.h | 23 static inline int smbus_callback_set(sys_slist_t *callbacks, in smbus_callback_set() argument 29 if (!sys_slist_is_empty(callbacks)) { in smbus_callback_set() 30 sys_slist_find_and_remove(callbacks, &callback->node); in smbus_callback_set() 33 sys_slist_prepend(callbacks, &callback->node); in smbus_callback_set() 46 static inline int smbus_callback_remove(sys_slist_t *callbacks, in smbus_callback_remove() argument 52 if (sys_slist_is_empty(callbacks) || in smbus_callback_remove() 53 !sys_slist_find_and_remove(callbacks, &callback->node)) { in smbus_callback_remove() 108 void smbus_loop_alert_devices(const struct device *dev, sys_slist_t *callbacks);
|
D | smbus_utils.c | 13 void smbus_loop_alert_devices(const struct device *dev, sys_slist_t *callbacks) in smbus_loop_alert_devices() argument 41 smbus_fire_callbacks(callbacks, dev, address); in smbus_loop_alert_devices()
|
/Zephyr-Core-3.7.0/drivers/espi/ |
D | espi_utils.h | 23 static inline int espi_manage_callback(sys_slist_t *callbacks, in espi_manage_callback() argument 29 if (!sys_slist_is_empty(callbacks)) { in espi_manage_callback() 30 if (!sys_slist_find_and_remove(callbacks, &callback->node)) { in espi_manage_callback() 40 sys_slist_prepend(callbacks, &callback->node); in espi_manage_callback()
|
D | host_subs_npcx.c | 148 sys_slist_t *callbacks; /* pointer on the espi callback list */ member 277 espi_send_callbacks(host_sub_data.callbacks, host_sub_data.host_bus_dev, in host_kbc_ibf_isr() 305 espi_send_callbacks(host_sub_data.callbacks, host_sub_data.host_bus_dev, in host_kbc_obe_isr() 357 espi_send_callbacks(host_sub_data.callbacks, host_sub_data.host_bus_dev, in host_acpi_process_input_data() 401 espi_send_callbacks(host_sub_data.callbacks, host_sub_data.host_bus_dev, in host_hcmd_process_input_data() 522 espi_send_callbacks(host_sub_data.callbacks, host_sub_data.host_bus_dev, in host_port80_work_handler() 535 espi_send_callbacks(host_sub_data.callbacks, host_sub_data.host_bus_dev, in host_port80_work_handler() 568 espi_send_callbacks(host_sub_data.callbacks, host_sub_data.host_bus_dev, evt); in host_port80_isr() 1102 sys_slist_t *callbacks) in npcx_host_init_subs_core_domain() argument 1110 host_sub_data.callbacks = callbacks; in npcx_host_init_subs_core_domain()
|
D | espi_mchp_xec.c | 79 sys_slist_t callbacks; member 747 return espi_manage_callback(&data->callbacks, callback, set); in espi_xec_manage_callback() 863 espi_send_callbacks(&data->callbacks, dev, evt); in espi_rst_isr() 1001 espi_send_callbacks(&data->callbacks, dev, evt); in espi_vwire_chanel_isr() 1026 espi_send_callbacks(&data->callbacks, dev, evt); in espi_oob_down_isr() 1058 espi_send_callbacks(&data->callbacks, dev, evt); in espi_oob_up_isr() 1094 espi_send_callbacks(&data->callbacks, dev, evt); in espi_flash_isr() 1113 espi_send_callbacks(&data->callbacks, dev, evt); in vw_pltrst_isr() 1127 espi_send_callbacks(&data->callbacks, dev, evt); in notify_system_state() 1144 espi_send_callbacks(&data->callbacks, dev, evt); in notify_host_warning() [all …]
|
/Zephyr-Core-3.7.0/soc/nxp/imxrt/imxrt10xx/ |
D | power.c | 32 void imxrt_clock_pm_callbacks_register(struct clock_callbacks *callbacks) in imxrt_clock_pm_callbacks_register() argument 35 __ASSERT_NO_MSG(callbacks && callbacks->clock_set_run && callbacks->clock_set_low_power); in imxrt_clock_pm_callbacks_register() 36 lpm_clock_hooks.clock_set_run = callbacks->clock_set_run; in imxrt_clock_pm_callbacks_register() 37 lpm_clock_hooks.clock_set_low_power = callbacks->clock_set_low_power; in imxrt_clock_pm_callbacks_register() 38 if (callbacks->clock_lpm_init) { in imxrt_clock_pm_callbacks_register() 39 lpm_clock_hooks.clock_lpm_init = callbacks->clock_lpm_init; in imxrt_clock_pm_callbacks_register()
|
D | power.h | 32 void imxrt_clock_pm_callbacks_register(struct clock_callbacks *callbacks);
|
D | lpm_rt1064.c | 345 struct clock_callbacks callbacks; in imxrt_lpm_init() local 348 callbacks.clock_set_run = clock_full_power; in imxrt_lpm_init() 349 callbacks.clock_set_low_power = clock_low_power; in imxrt_lpm_init() 350 callbacks.clock_lpm_init = clock_lpm_init; in imxrt_lpm_init() 466 imxrt_clock_pm_callbacks_register(&callbacks); in imxrt_lpm_init()
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/gpio/ |
D | gpio_utils.h | 54 static inline int gpio_manage_callback(sys_slist_t *callbacks, in gpio_manage_callback() argument 61 if (!sys_slist_is_empty(callbacks)) { in gpio_manage_callback() 62 if (!sys_slist_find_and_remove(callbacks, &callback->node)) { in gpio_manage_callback() 72 sys_slist_prepend(callbacks, &callback->node); in gpio_manage_callback()
|
/Zephyr-Core-3.7.0/tests/drivers/i2c/i2c_target_api/common/ |
D | i2c_virtual.c | 95 config->callbacks->write_requested(config); in i2c_virtual_msg_write() 101 ret = config->callbacks->write_received(config, *buf); in i2c_virtual_msg_write() 110 config->callbacks->stop(config); in i2c_virtual_msg_write() 130 config->callbacks->read_requested(config, buf); in i2c_virtual_msg_read() 135 config->callbacks->read_processed(config, buf); in i2c_virtual_msg_read() 141 config->callbacks->stop(config); in i2c_virtual_msg_read()
|
/Zephyr-Core-3.7.0/drivers/i2c/ |
D | i2c_ifx_xmc4.c | 314 !cfg->callbacks->read_requested || in ifx_xmc4_i2c_target_register() 315 !cfg->callbacks->read_processed || in ifx_xmc4_i2c_target_register() 316 !cfg->callbacks->write_requested || in ifx_xmc4_i2c_target_register() 317 !cfg->callbacks->write_received || in ifx_xmc4_i2c_target_register() 318 !cfg->callbacks->stop) { in ifx_xmc4_i2c_target_register() 376 const struct i2c_target_callbacks *callbacks = data->p_target_config->callbacks; in i2c_xmc4_isr() local 387 callbacks->stop(data->p_target_config); in i2c_xmc4_isr() 396 callbacks->read_requested(data->p_target_config, in i2c_xmc4_isr() 400 callbacks->write_requested(data->p_target_config); in i2c_xmc4_isr() 406 callbacks->read_processed(data->p_target_config, &data->target_wr_byte); in i2c_xmc4_isr() [all …]
|
D | i2c_ifx_cat1.c | 120 if (data->p_target_config->callbacks->read_requested) { in ifx_master_event_handler() 121 data->p_target_config->callbacks->read_requested(data->p_target_config, in ifx_master_event_handler() 131 if (data->p_target_config->callbacks->read_processed) { in ifx_master_event_handler() 132 data->p_target_config->callbacks->read_processed(data->p_target_config, in ifx_master_event_handler() 144 if (data->p_target_config->callbacks->write_requested) { in ifx_master_event_handler() 145 data->p_target_config->callbacks->write_requested(data->p_target_config); in ifx_master_event_handler() 150 if (data->p_target_config->callbacks->write_received) { in ifx_master_event_handler() 152 data->p_target_config->callbacks->write_received( in ifx_master_event_handler() 156 if (data->p_target_config->callbacks->stop) { in ifx_master_event_handler() 157 data->p_target_config->callbacks->stop(data->p_target_config); in ifx_master_event_handler() [all …]
|
D | i2c_lpc11u6x.c | 239 if (data->slave->callbacks->write_requested(data->slave)) { in lpc11u6x_i2c_isr() 247 if (data->slave->callbacks->write_received(data->slave, val)) { in lpc11u6x_i2c_isr() 255 data->slave->callbacks->write_received(data->slave, val); in lpc11u6x_i2c_isr() 256 data->slave->callbacks->stop(data->slave); in lpc11u6x_i2c_isr() 261 data->slave->callbacks->stop(data->slave); in lpc11u6x_i2c_isr() 267 if (data->slave->callbacks->read_requested(data->slave, &val)) { in lpc11u6x_i2c_isr() 273 if (data->slave->callbacks->read_processed(data->slave, &val)) { in lpc11u6x_i2c_isr() 280 data->slave->callbacks->stop(data->slave); in lpc11u6x_i2c_isr()
|
D | i2c_gecko.c | 238 data->target_cfg->callbacks->read_requested(data->target_cfg, in i2c_gecko_isr() 242 data->target_cfg->callbacks->write_requested(data->target_cfg); in i2c_gecko_isr() 249 data->target_cfg->callbacks->write_received(data->target_cfg, rx_byte); in i2c_gecko_isr() 257 data->target_cfg->callbacks->read_processed(data->target_cfg, &tx_byte); in i2c_gecko_isr() 265 data->target_cfg->callbacks->stop(data->target_cfg); in i2c_gecko_isr()
|
/Zephyr-Core-3.7.0/doc/connectivity/usb/pd/ |
D | ucds.rst | 27 The following devicetree, structures and callbacks need to be defined: 32 * Policy callbacks 64 These callbacks are used by the subsystem to set or get application specific data: 68 :start-after: usbc.rst callbacks start 69 :end-before: usbc.rst callbacks end 88 Registering the callbacks: 117 Define the following devicetree, structures and callbacks: 122 * Policy callbacks 154 These callbacks are used by the subsystem to set or get application specific data: 158 :start-after: usbc.rst callbacks start [all …]
|
/Zephyr-Core-3.7.0/drivers/rtc/ |
D | Kconfig.am1805 | 19 Size of the stack used for the thread handling interrupts and dispatching callbacks. 25 Priority level for the thread handling interrupts and dispatching callbacks.
|
D | Kconfig.pcf8523 | 44 Size of the stack used for the thread handling interrupts and dispatching callbacks. 50 Priority level for the thread handling interrupts and dispatching callbacks.
|
/Zephyr-Core-3.7.0/drivers/can/ |
D | Kconfig.tcan4x5x | 21 Size of the stack used for the thread handling interrupts and dispatching callbacks. 27 Priority level for the thread handling interrupts and dispatching callbacks.
|
D | Kconfig.loopback | 28 The TX thread calls the callbacks of the receiver 36 The TX thread calls the callbacks of the receiver
|
/Zephyr-Core-3.7.0/tests/kernel/timer/timer_behavior/src/ |
D | tick_timer_train.c | 19 uint32_t callbacks; member 44 tm_wrap->callbacks++; in tm_fn() 45 if (tm_wrap->callbacks >= MAX_CALLBACKS) { in tm_fn() 106 remaining_timers, timers[0].callbacks); in ZTEST()
|
/Zephyr-Core-3.7.0/soc/nuvoton/npcx/common/ |
D | soc_host.h | 34 sys_slist_t *callbacks);
|
/Zephyr-Core-3.7.0/drivers/gpio/ |
D | gpio_dw.h | 32 sys_slist_t callbacks; member
|
D | gpio_emul.c | 98 sys_slist_t callbacks; member 285 gpio_fire_callbacks(&drv_data->callbacks, port, interrupts); in gpio_emul_pend_interrupt() 463 gpio_fire_callbacks(&drv_data->callbacks, port, BIT(pin)); in gpio_emul_pin_configure() 548 gpio_fire_callbacks(&drv_data->callbacks, port, mask & ~get_input_pins(port)); in gpio_emul_port_set_masked_raw() 577 gpio_fire_callbacks(&drv_data->callbacks, port, pins & ~get_input_pins(port)); in gpio_emul_port_set_bits_raw() 604 gpio_fire_callbacks(&drv_data->callbacks, port, pins & ~get_input_pins(port)); in gpio_emul_port_clear_bits_raw() 624 gpio_fire_callbacks(&drv_data->callbacks, port, pins); in gpio_emul_port_toggle_bits() 749 gpio_fire_callbacks(&drv_data->callbacks, port, BIT(pin)); 762 return gpio_manage_callback(&drv_data->callbacks, cb, set); 830 sys_slist_init(&drv_data->callbacks);
|
/Zephyr-Core-3.7.0/subsys/input/ |
D | Kconfig | 28 Input events callbacks are processed synchronously in the context of 35 Input events are added to a message queue and the callbacks are 66 enough space for executing the registered callbacks.
|
/Zephyr-Core-3.7.0/doc/services/device_mgmt/ |
D | mcumgr_callbacks.rst | 10 (and module) code to receive callbacks for MCUmgr events that they are 27 callbacks by default as the callbacks that are supported by a build must also 28 be selected by enabling the Kconfig's for the required callbacks (see 42 #include <zephyr/mgmt/mcumgr/mgmt/callbacks.h> 71 Multiple callbacks can be setup to use a single function as a common callback, 77 5 img_mgmt callbacks can be setup with a single registration call, but to also 132 Some callbacks expect a return status to either allow or disallow an operation, 143 #include <zephyr/mgmt/mcumgr/mgmt/callbacks.h> 217 #include <zephyr/mgmt/mcumgr/mgmt/callbacks.h> 283 to register for callbacks using :c:func:`mgmt_callback_register` (note that [all …]
|