Home
last modified time | relevance | path

Searched refs:sync_state (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_scan_delegator_test.c45 struct sync_state { struct
55 static struct sync_state *sync_state_get(const struct bt_bap_scan_delegator_recv_state *recv_state) in sync_state_get() argument
66 static struct sync_state *sync_state_get_or_new( in sync_state_get_or_new()
69 struct sync_state *free_state = NULL; in sync_state_get_or_new()
89 static struct sync_state *sync_state_get_by_pa(struct bt_le_per_adv_sync *sync) in sync_state_get_by_pa()
100 static struct sync_state *sync_state_get_by_src_id(uint8_t src_id) in sync_state_get_by_src_id()
114 struct sync_state *state = CONTAINER_OF(dwork, struct sync_state, pa_timer); in pa_timer_handler()
135 struct sync_state *state, in pa_sync_past()
159 static int pa_sync_no_past(struct sync_state *state, in pa_sync_no_past()
194 static int pa_sync_term(struct sync_state *state) in pa_sync_term()
[all …]
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap_scan_delegator.c40 static struct sync_state { struct
68 static struct sync_state *sync_state_get(const struct bt_bap_scan_delegator_recv_state *recv_state) in sync_state_get() argument
79 static struct sync_state *sync_state_get_or_new( in sync_state_get_or_new()
82 struct sync_state *free_state = NULL; in sync_state_get_or_new()
98 static struct sync_state *sync_state_get_by_pa(struct bt_le_per_adv_sync *sync) in sync_state_get_by_pa()
109 static struct sync_state *
124 static struct sync_state *sync_state_new(void) in sync_state_new()
135 static struct sync_state *sync_state_get_by_src_id(uint8_t src_id) in sync_state_get_by_src_id()
172 struct sync_state *state = CONTAINER_OF(dwork, struct sync_state, pa_timer); in pa_timer_handler()
194 struct sync_state *state, in pa_sync_past()
[all …]
/Zephyr-latest/samples/boards/nordic/clock_skew/src/
Dmain.c21 static struct timeutil_sync_state sync_state; variable
119 const struct timeutil_sync_instant *base = &sync_state.base; in sync_work_handler()
120 const struct timeutil_sync_instant *latest = &sync_state.latest; in sync_work_handler()
130 rc = timeutil_sync_state_update(&sync_state, &inst); in sync_work_handler()
159 float skew = timeutil_sync_estimate_skew(&sync_state); in sync_work_handler()
167 struct timeutil_sync_state st2 = sync_state; in sync_work_handler()
245 sync_state.cfg = &sync_config; in main()
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dbap_broadcast_assistant.rst87 …BASS recv state: src_id 0, addr 11:22:33:44:55:66 (public), sid 5, sync_state 1, encrypt_state 000…
99 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 0, encrypt_state 0
102 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
104 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
116 BASS recv state: src_id 0, addr 1E:4D:0A:AA:6E:49 (random), sid 0, sync_state 2, encrypt_state 0
/Zephyr-latest/drivers/counter/
Dmaxim_ds3231.c131 uint8_t sync_state; member
254 if (data->sync_state != SYNCSM_IDLE) { in validate_isw_monitoring()
793 data->sync_state = SYNCSM_IDLE; in sync_finish()
821 data->sync_state = SYNCSM_FINISH_READ; in sync_prep_read()
873 data->sync_state = SYNCSM_FINISH_WRITE; in sync_prep_write()
936 LOG_DBG("SYNC.%u %u latency %u", data->sync_state, data->isw_syncclock, in sync_worker()
938 switch (data->sync_state) { in sync_worker()
972 } else if (data->sync_state != SYNCSM_IDLE) { in isw_gpio_callback()
1018 if (data->sync_state != SYNCSM_IDLE) { in maxim_ds3231_synchronize()
1025 data->sync_state = SYNCSM_PREP_READ; in maxim_ds3231_synchronize()
[all …]