/Zephyr-Core-3.4.0/tests/lib/notify/src/ |
D | main.c | 8 #include <zephyr/sys/notify.h> 33 struct sys_notify notify = { in ZTEST() local 39 zassert_equal(sys_notify_validate(¬ify), -EINVAL, in ZTEST() 50 struct sys_notify notify; in ZTEST() local 53 memset(¬ify, 0xac, sizeof(notify)); in ZTEST() 54 rc = sys_notify_validate(¬ify); in ZTEST() 58 sys_notify_init_spinwait(¬ify); in ZTEST() 59 rc = sys_notify_validate(¬ify); in ZTEST() 63 zassert_false(sys_notify_uses_callback(¬ify), in ZTEST() 66 zassert_equal(notify.flags, SYS_NOTIFY_METHOD_SPINWAIT, in ZTEST() [all …]
|
/Zephyr-Core-3.4.0/lib/os/ |
D | notify.c | 9 #include <zephyr/sys/notify.h> 11 int sys_notify_validate(struct sys_notify *notify) in sys_notify_validate() argument 15 if (notify == NULL) { in sys_notify_validate() 20 switch (sys_notify_get_method(notify)) { in sys_notify_validate() 24 if (notify->method.callback == NULL) { in sys_notify_validate() 30 if (notify->method.signal == NULL) { in sys_notify_validate() 42 notify->result = 0; in sys_notify_validate() 48 sys_notify_generic_callback sys_notify_finalize(struct sys_notify *notify, in sys_notify_finalize() argument 53 uint32_t method = sys_notify_get_method(notify); in sys_notify_finalize() 58 notify->result = res; in sys_notify_finalize() [all …]
|
/Zephyr-Core-3.4.0/include/zephyr/sys/ |
D | notify.h | 81 * @brief Generic signature used to notify of result completion by 129 * After control has reverted to the client the notify object must be 140 /* Pointer to signal used to notify client. 155 * async notify API init functions like 162 * are zeroed by the async notify API init functions, and will 178 static inline uint32_t sys_notify_get_method(const struct sys_notify *notify) in sys_notify_get_method() argument 180 uint32_t method = notify->flags >> SYS_NOTIFY_METHOD_POS; in sys_notify_get_method() 186 * @brief Validate and initialize the notify structure. 193 * async notify API init functions like sys_notify_init_callback()). 204 int sys_notify_validate(struct sys_notify *notify); [all …]
|
D | heap_listener.h | 139 * @brief Notify listeners of heap allocation event 141 * Notify registered heap event listeners with matching heap identifier that an 151 * @brief Notify listeners of heap free event 153 * Notify registered heap event listeners with matching heap identifier that 163 * @brief Notify listeners of heap resize event 165 * Notify registered heap event listeners with matching heap identifier that the
|
/Zephyr-Core-3.4.0/samples/subsys/zbus/remote_mock/ |
D | README.rst | 72 Proxy NOTIFY: [sensor_data] -> sensor value 1 74 Proxy NOTIFY: [sensor_data] -> sensor value 2 76 Proxy NOTIFY: [sensor_data] -> sensor value 3 78 Proxy NOTIFY: [sensor_data] -> sensor value 4 80 Proxy NOTIFY: [sensor_data] -> sensor value 5 82 Proxy NOTIFY: [sensor_data] -> sensor value 6 84 Proxy NOTIFY: [sensor_data] -> sensor value 7 86 Proxy NOTIFY: [sensor_data] -> sensor value 8 88 Proxy NOTIFY: [sensor_data] -> sensor value 9 90 Proxy NOTIFY: [sensor_data] -> sensor value 10
|
/Zephyr-Core-3.4.0/drivers/smbus/ |
D | intel_pch_smbus.h | 113 #define PCH_SMBUS_SSTS_HNS BIT(0) /* Host Notify Status */ 117 #define PCH_SMBUS_SCMD_HNI_EN BIT(0) /* Host Notify INT En */ 118 #define PCH_SMBUS_SCMD_HNW_EN BIT(1) /* Host Notify Wake */ 121 /* Notify Device Address Register (NDA) */ 122 #define PCH_SMBUS_NDA 0x14 /* Notify Device addr */ 124 /* Notify Data Low Byte Register (NDLB) */ 125 #define PCH_SMBUS_NDLB 0x16 /* Notify Data low */ 127 /* Notify Data High Byte Register (NDHB) */ 128 #define PCH_SMBUS_NDHB 0x17 /* Notify Data high */
|
D | Kconfig | 66 bool "SMBus Intel PCH Host Notify support" 69 Support Host Notify from peripheral devices.
|
/Zephyr-Core-3.4.0/tests/lib/onoff/src/ |
D | main.c | 93 int rc = sys_notify_fetch_result(&cp->notify, &result); in cli_result() 113 onoff_notify_fn notify; member 121 tsp->notify = NULL; in reset_transit_state() 126 onoff_notify_fn notify, in run_transit() argument 131 tsp->notify = notify; in run_transit() 134 TC_PRINT("%s notify %d\n", tsp->tag, tsp->retval); in run_transit() 135 notify(srv, tsp->retval); in run_transit() 139 static void notify(struct transit_state *tsp) in notify() function 141 TC_PRINT("%s settle %d %p\n", tsp->tag, tsp->retval, tsp->notify); in notify() 142 tsp->notify(tsp->srv, tsp->retval); in notify() [all …]
|
/Zephyr-Core-3.4.0/samples/modules/chre/ |
D | README.rst | 7 * A ``nanoappStart`` function used to notify the nanoapp that it is now active. 8 * A ``nanoappHandleEvent`` function used to notify the nanoapp tha an event of interest took place. 9 * A ``nanoappEnd`` function used to notify the nanoapp that it is now deactivated. 40 #. Notify that the event loop started via an ``inf`` level log 41 #. Notify that a nanoapp was started and assigned an instance/app ID of 1 via a ``dbg`` level log 44 #. Notify that the event was processed
|
/Zephyr-Core-3.4.0/subsys/bluetooth/host/ |
D | ecc.h | 24 * Used to notify of the local public key or that the local key is not 56 * @param cb Callback to notify the new key. 79 * Used to notify of the calculated DH Key. 90 * @param cb Callback to notify the calculated key.
|
D | iso_internal.h | 99 /* Notify ISO channels of a new connection */ 102 /* Notify ISO channels of a disconnect event */ 105 /* Notify ISO connected channels of security changed */
|
/Zephyr-Core-3.4.0/tests/drivers/clock_control/onoff/src/ |
D | test_clock_control_onoff.c | 46 sys_notify_init_spinwait(&cli.notify); in ZTEST() 50 while (sys_notify_fetch_result(&cli.notify, &err) < 0) { in ZTEST() 70 sys_notify_init_spinwait(&cli.notify); in ZTEST() 105 sys_notify_init_callback(&cli.notify, request_cb); in ZTEST()
|
/Zephyr-Core-3.4.0/include/zephyr/ipc/ |
D | ipc_static_vrings.h | 33 * @brief Define the notify callback. 35 * This callback is defined at instance level and it is called on virtqueue notify. 83 /** Private data to be passed to the notify callback. */ 86 /** Notify callback. */
|
/Zephyr-Core-3.4.0/drivers/clock_control/ |
D | nrf_clock_calibration.h | 30 * @brief Notify calibration module about LF clock start 35 * @brief Notify calibration module about LF clock stop
|
/Zephyr-Core-3.4.0/modules/openthread/platform/ |
D | platform-zephyr.h | 58 * Outer component calls this method to notify UART driver that it should 92 * Notify OpenThread task about new rx message. 97 * Notify OpenThread task about new tx message.
|
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/ |
D | vcp_vol_rend.c | 74 bool notify = false; in write_vcs_control() local 112 notify = true; in write_vcs_control() 120 notify = true; in write_vcs_control() 128 notify = true; in write_vcs_control() 132 notify = true; in write_vcs_control() 140 notify = true; in write_vcs_control() 144 notify = true; in write_vcs_control() 153 notify = true; in write_vcs_control() 161 notify = true; in write_vcs_control() 168 notify = true; in write_vcs_control() [all …]
|
D | mcs.c | 36 static void notify(const struct bt_uuid *uuid, const void *data, uint16_t len); 623 /* MCS does not specify what to return in case of an error - Only what to notify*/ in write_control_point() 632 notify(BT_UUID_MCS_MEDIA_CONTROL_POINT, &cmd_ntf, sizeof(cmd_ntf)); in write_control_point() 643 notify(BT_UUID_MCS_MEDIA_CONTROL_POINT, &cmd_ntf, sizeof(cmd_ntf)); in write_control_point() 709 notify(BT_UUID_MCS_SEARCH_CONTROL_POINT, &result_code, sizeof(result_code)); in write_search_control_point() 929 /* Helper function to notify non-string values */ 930 static void notify(const struct bt_uuid *uuid, const void *data, uint16_t len) in notify() function 1018 notify(BT_UUID_MCS_TRACK_DURATION, &duration_le, sizeof(duration_le)); in notify_cb() 1026 notify(BT_UUID_MCS_TRACK_POSITION, &position_le, sizeof(position_le)); in notify_cb() 1033 notify(BT_UUID_MCS_PLAYBACK_SPEED, &speed, sizeof(speed)); in notify_cb() [all …]
|
/Zephyr-Core-3.4.0/tests/lib/notify/ |
D | testcase.yaml | 3 tags: notify
|
/Zephyr-Core-3.4.0/lib/libc/newlib/ |
D | Kconfig | 61 bool "Notify heap listeners of newlib libc heap events" 64 Notify registered heap listeners upon certain events related to the newlib
|
/Zephyr-Core-3.4.0/samples/bluetooth/st_ble_sensor/src/ |
D | main.c | 46 /* ST Notify button service */ 124 LOG_ERR("Notify error: %d", err); in button_callback() 126 LOG_INF("Send notify ok"); in button_callback() 130 LOG_INF("Notify not enabled"); in button_callback()
|
/Zephyr-Core-3.4.0/doc/connectivity/usb/pd/ |
D | ucds.rst | 80 This callback is used by the subsystem to notify the application of an event: 84 :start-after: usbc.rst notify start 85 :end-before: usbc.rst notify end 170 This callback is used by the subsystem to notify the application of an event: 174 :start-after: usbc.rst notify start 175 :end-before: usbc.rst notify end
|
/Zephyr-Core-3.4.0/drivers/counter/ |
D | Kconfig.maxim_ds3231 | 12 select NOTIFY
|
/Zephyr-Core-3.4.0/include/zephyr/drivers/rtc/ |
D | maxim_ds3231.h | 40 #include <zephyr/sys/notify.h> 235 /** @brief Signature used to notify a user of the DS3231 that an 243 * @param notify the notification structure provided in the call 248 struct sys_notify *notify, 487 * through the @p notify parameter. 496 * @param notify pointer to the object used to specify asynchronous 501 * @retval -EINVAL if notify is not provided 505 struct sys_notify *notify); 551 * notify parameter. 559 * @param notify pointer to the object used to specify asynchronous [all …]
|
/Zephyr-Core-3.4.0/modules/hal_nordic/nrf_802154/sl_opensource/platform/ |
D | nrf_802154_clock_zephyr.c | 47 sys_notify_init_callback(&hfclk_cli.notify, hfclk_on_callback); in nrf_802154_clock_hfclk_start() 88 sys_notify_init_callback(&lfclk_cli.notify, lfclk_on_callback); in nrf_802154_clock_lfclk_start()
|
/Zephyr-Core-3.4.0/doc/hardware/peripherals/ |
D | smbus.rst | 28 * **Host Notify protocol**: Peripheral device that supports the Host Notify
|