/Zephyr-Core-3.7.0/tests/kernel/fifo/fifo_api/src/ |
D | test_fifo_cancel.c | 32 uint32_t dur = k_uptime_get_32() - start_t; in tfifo_thread_thread() local 49 zassert_true(dur < 80, in tfifo_thread_thread()
|
/Zephyr-Core-3.7.0/tests/bsim/ |
D | run_parallel.sh | 120 dur=$(($SECONDS - $start)) 122 name=\"bsim tests\" skip=\"0\" tests=\"$n_cases\" time=\"$dur\">" \
|
/Zephyr-Core-3.7.0/drivers/sensor/st/iis328dq/ |
D | iis328dq.c | 204 static int iis328dq_set_duration(const struct device *dev, uint16_t dur) in iis328dq_set_duration() argument 210 if (dur > 0x7F) { in iis328dq_set_duration() 211 LOG_WRN("Duration value %u too large", dur); in iis328dq_set_duration() 215 err = iis328dq_int1_dur_set(ctx, dur); in iis328dq_set_duration() 217 LOG_ERR("Could not set INT1_DUR to 0x%02X, error %d", dur, err); in iis328dq_set_duration() 220 err = iis328dq_int2_dur_set(ctx, dur); in iis328dq_set_duration() 222 LOG_ERR("Could not set INT2_DUR to 0x%02X, error %d", dur, err); in iis328dq_set_duration()
|
/Zephyr-Core-3.7.0/tests/kernel/sleep/src/ |
D | main.c | 94 static int sleep_time_valid(uint32_t start, uint32_t end, uint32_t dur) in sleep_time_valid() argument 98 return dt >= dur && dt <= (dur + TICK_MARGIN); in sleep_time_valid()
|
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bme680/ |
D | bme680.c | 198 static uint8_t bme680_calc_gas_wait(uint16_t dur) in bme680_calc_gas_wait() argument 202 if (dur >= 0xfc0) { in bme680_calc_gas_wait() 205 while (dur > 0x3F) { in bme680_calc_gas_wait() 206 dur = dur / 4; in bme680_calc_gas_wait() 209 durval = dur + (factor * 64); in bme680_calc_gas_wait()
|
/Zephyr-Core-3.7.0/samples/kernel/metairq_dispatch/src/ |
D | main.c | 205 uint32_t dur = k_cycle_get_32() - start; in thread_fn() local 217 start - m.timestamp, m.proc_cyc, dur); in thread_fn()
|
/Zephyr-Core-3.7.0/tests/kernel/context/src/ |
D | main.c | 227 uint32_t dur = k_ms_to_ticks_ceil32(10); in _test_kernel_cpu_idle() local 239 k_timer_start(&idle_timer, K_TICKS(dur), K_NO_WAIT); in _test_kernel_cpu_idle() 252 zassert_true(abs((int32_t) (dt - dur)) <= slop, in _test_kernel_cpu_idle() 254 dt, dur); in _test_kernel_cpu_idle()
|
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2dlpc/ |
D | iis2dlpc.c | 156 static int iis2dlpc_set_slope_dur(const struct device *dev, uint16_t dur) in iis2dlpc_set_slope_dur() argument 163 val = (dur & 0x0F); in iis2dlpc_set_slope_dur() 170 val = ((dur >> 5) & 0x03); in iis2dlpc_set_slope_dur()
|
/Zephyr-Core-3.7.0/tests/subsys/openthread/ |
D | radio_test.c | 159 const uint8_t dur = 100; in ZTEST() local 165 zassert_equal(otPlatRadioEnergyScan(ot, chan, dur), OT_ERROR_NONE, in ZTEST() 168 zassert_equal(dur, scan_mock_fake.arg1_val); in ZTEST() 191 const uint8_t dur = 100; in ZTEST() local 198 zassert_equal(otPlatRadioEnergyScan(ot, chan, dur), OT_ERROR_NONE, in ZTEST() 201 zassert_equal(dur, scan_mock_fake.arg1_val); in ZTEST() 217 zassert_equal(dur, scan_mock_fake.arg1_val); in ZTEST()
|
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/audio/btp/ |
D | btp_mcp.h | 196 int32_t dur; member
|
/Zephyr-Core-3.7.0/include/zephyr/bluetooth/audio/ |
D | mcc.h | 119 typedef void (*bt_mcc_read_track_duration_cb)(struct bt_conn *conn, int err, int32_t dur);
|
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/audio/ |
D | btp_mcp.c | 149 static void btp_send_mcp_track_duration_ev(struct bt_conn *conn, uint8_t status, int32_t dur) in btp_send_mcp_track_duration_ev() argument 156 ev.dur = sys_cpu_to_le32(dur); in btp_send_mcp_track_duration_ev() 449 static void mcc_read_track_duration_cb(struct bt_conn *conn, int err, int32_t dur) in mcc_read_track_duration_cb() argument 453 btp_send_mcp_track_duration_ev(conn, err ? BTP_STATUS_FAILED : BTP_STATUS_SUCCESS, dur); in mcc_read_track_duration_cb()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/ |
D | test_replay_cache.c | 44 static void tx_started(uint16_t dur, int err, void *data) in tx_started() argument
|
D | mesh_test.c | 408 static void tx_started(uint16_t dur, int err, void *data) in tx_started() argument
|
/Zephyr-Core-3.7.0/doc/connectivity/bluetooth/api/audio/shell/ |
D | bap.rst | 49 [dur <duration>] 331 [dur <duration>]
|
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/ |
D | dfu_cli.c | 286 static void tx_start(uint16_t dur, int err, void *cb_data); 294 static void tx_start(uint16_t dur, int err, void *cb_data) in tx_start() argument
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/ |
D | mcc.c | 246 int32_t dur = 0; in mcc_track_duration_cb() local 250 } else if ((!data) || (length != sizeof(dur))) { in mcc_track_duration_cb() 254 dur = sys_get_le32((uint8_t *)data); in mcc_track_duration_cb() 255 LOG_DBG("Track duration: %d", dur); in mcc_track_duration_cb() 260 mcc_cb->read_track_duration(conn, cb_err, dur); in mcc_track_duration_cb()
|
D | media_proxy.c | 331 static void mcc_read_track_duration_cb(struct bt_conn *conn, int err, int32_t dur) in mcc_read_track_duration_cb() argument 338 mprx.ctrlr.cbs->track_duration_recv(&mprx.remote_player, err, dur); in mcc_read_track_duration_cb()
|
/Zephyr-Core-3.7.0/subsys/bluetooth/audio/shell/ |
D | mcc.c | 125 static void mcc_read_track_duration_cb(struct bt_conn *conn, int err, int32_t dur) in mcc_read_track_duration_cb() argument 132 shell_print(ctx_shell, "Track duration: %d", dur); in mcc_read_track_duration_cb()
|
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/audio/src/ |
D | mcc_test.c | 144 static void mcc_read_track_duration_cb(struct bt_conn *conn, int err, int32_t dur) in mcc_read_track_duration_cb() argument
|