/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/ |
D | ull_sync.c | 56 * indicate that a sync is established. And is used to check for sync being 64 static void sync_ticker_cleanup(struct ll_sync_set *sync, ticker_op_func stop_op_cb); 106 struct ll_sync_set *sync; in ll_sync_create() local 109 if (!scan || scan->periodic.sync) { in ll_sync_create() 115 if (!scan_coded || scan_coded->periodic.sync) { in ll_sync_create() 121 /* Do not sync twice to the same peer and same SID */ in ll_sync_create() 148 sync = sync_acquire(); in ll_sync_create() 149 if (!sync) { in ll_sync_create() 182 /* Initialize sync context */ in ll_sync_create() 184 sync->node_rx_lost.hdr.link = link_sync_lost; in ll_sync_create() [all …]
|
D | ull_sync_types.h | 21 /* Non-zero when sync is setup. It can be in two sub-stated: 22 * - Waiting for first AUX_SYNC_IND, before sync established was notified to Host. 23 * If sync establishment is in progress node_rx_sync_estab is not NULL. 24 * - sync is already established, node_rx_sync_estab is NULL. 29 /* Member to store periodic advertising sync prepare. 30 * Also serves as a flag to inform if sync established was 51 /* Member used to notify event done handler to terminate sync scanning. 57 uint8_t is_stop:1; /* sync terminate or cancel requested */ 64 /* node rx type with memory aligned storage for sync lost reason. 76 /* Not-Null when sync was setup and Controller is waiting for first AUX_SYNC_IND PDU. [all …]
|
D | ull_adv_sync.c | 53 static inline void sync_release(struct ll_adv_sync_set *sync); 54 static inline uint16_t sync_handle_get(const struct ll_adv_sync_set *sync); 55 static uint32_t sync_time_get(const struct ll_adv_sync_set *sync, 57 static inline uint8_t sync_remove(struct ll_adv_sync_set *sync, 92 struct ll_adv_sync_set *sync; in ll_adv_sync_param_set() local 108 lll_sync = adv->lll.sync; in ll_adv_sync_param_set() 114 sync = sync_acquire(); in ll_adv_sync_param_set() 115 if (!sync) { in ll_adv_sync_param_set() 120 lll_sync = &sync->lll; in ll_adv_sync_param_set() 121 lll->sync = lll_sync; in ll_adv_sync_param_set() [all …]
|
D | ull_sync_iso.c | 55 static uint8_t sync_iso_handle_get(struct ll_sync_iso_set *sync); 85 struct ll_sync_set *sync; in ll_big_sync_create() local 88 sync = ull_sync_is_enabled_get(sync_handle); in ll_big_sync_create() 89 if (!sync || sync->iso.sync_iso) { in ll_big_sync_create() 94 if (sync_iso->sync) { in ll_big_sync_create() 125 /* Initialize the ISO sync ULL context */ in ll_big_sync_create() 126 sync_iso->sync = sync; in ll_big_sync_create() 131 /* Setup the periodic sync to establish ISO sync */ in ll_big_sync_create() 133 sync->iso.node_rx_estab = node_rx; in ll_big_sync_create() 136 /* Initialize sync LLL context */ in ll_big_sync_create() [all …]
|
D | ull_scan_aux.c | 55 sync_iso_create_get(struct ll_sync_set *sync); 115 struct ll_sync_set *sync; in ull_scan_aux_setup() local 147 sync = sync_create_get(scan); in ull_scan_aux_setup() 166 sync = sync_create_get(scan); in ull_scan_aux_setup() 186 /* aux parent will be NULL for periodic sync */ in ull_scan_aux_setup() 215 /* If none of the above, node is part of sync scanning in ull_scan_aux_setup() 230 sync = (void *)scan; in ull_scan_aux_setup() 233 sync = NULL; in ull_scan_aux_setup() 237 sync = HDR_LLL2ULL(sync_lll); in ull_scan_aux_setup() 243 sync = sync_create_get(scan); in ull_scan_aux_setup() [all …]
|
D | ull_sync_internal.h | 9 uint16_t ull_sync_handle_get(struct ll_sync_set *sync); 11 void ull_sync_release(struct ll_sync_set *sync); 21 int ull_sync_slot_update(struct ll_sync_set *sync, uint32_t slot_plus_us, 23 struct ll_sync_set *ull_sync_is_valid_get(struct ll_sync_set *sync);
|
/Zephyr-Core-3.5.0/samples/subsys/zbus/benchmark/ |
D | README.rst | 23 …NFIG_BM_ASYNC** if the execution must be asynchronous or synchronous. Use y to async and n to sync; 32 I: Benchmark 1 to 1: Dynamic memory, SYNC transmission and message size 1 49 | SYNC/ASYNC | 1,2,4,8 | 1,2,4,8,16,32,64,128,256 | float | int | int … 62 SYNC,1,1,2312815348.3333335,7286,23752 63 SYNC,1,2,1172444661.3333333,7287,23760 64 SYNC,1,4,602284749.6666666,7289,23768 65 SYNC,1,8,323750814.0,7293,23772 66 SYNC,1,16,175120035.66666666,7301,23776 67 SYNC,1,32,103942871.33333333,7317,23776 68 SYNC,1,64,68318685.0,7349,23776 [all …]
|
/Zephyr-Core-3.5.0/tests/bluetooth/df/connectionless_cte_rx/src/ |
D | common.c | 38 struct ll_sync_set *sync; in common_create_per_sync_set() local 48 zassert_equal(err, 0, "Failed to create periodic sync set"); in common_create_per_sync_set() 50 /* Below code makes fake sync enable and provides appropriate handle value to in common_create_per_sync_set() 51 * g_per_sync->handle. There is no complete sync established procedure, in common_create_per_sync_set() 55 sync = scan->periodic.sync; in common_create_per_sync_set() 56 g_per_sync->handle = ull_sync_handle_get(sync); in common_create_per_sync_set() 57 sync->lll.phy = PHY_2M; in common_create_per_sync_set() 58 /* timeout_reload member is used by controller to check if sync was established. */ in common_create_per_sync_set() 59 sync->timeout_reload = 1; in common_create_per_sync_set()
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/adv/periodic/src/ |
D | per_adv_syncer.c | 110 static void sync_cb(struct bt_le_per_adv_sync *sync, in sync_cb() argument 119 bt_le_per_adv_sync_get_index(sync), le_addr, in sync_cb() 125 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument 132 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb() 133 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb() 201 static void create_pa_sync(struct bt_le_per_adv_sync **sync) in create_pa_sync() argument 206 printk("Creating periodic advertising sync..."); in create_pa_sync() 212 err = bt_le_per_adv_sync_create(&sync_create_param, sync); in create_pa_sync() 214 FAIL("Failed to create periodic advertising sync: %d\n", err); in create_pa_sync() 219 printk("Waiting for periodic sync...\n"); in create_pa_sync() [all …]
|
/Zephyr-Core-3.5.0/modules/canopennode/ |
D | canopen_sync.c | 10 * @brief CANopen sync thread. 12 * The CANopen real-time sync thread processes SYNC RPDOs and TPDOs 25 bool sync; in canopen_sync_thread() local 35 sync = CO_process_SYNC(CO, elapsed); in canopen_sync_thread() 36 CO_process_RPDO(CO, sync); in canopen_sync_thread() 37 CO_process_TPDO(CO, sync, elapsed); in canopen_sync_thread()
|
D | Kconfig | 80 bool "CANopen SYNC thread" 83 Enable internal thread for processing CANopen SYNC RPDOs and 84 TPDOs. Application layer must take care of SYNC RPDO and 88 int "Stack size for the CANopen SYNC thread" 93 processes CANopen SYNC RPDOs and TPDOs. 96 int "Priority for CANopen SYNC thread" 102 CANopen SYNC RPDOs and TPDOs.
|
/Zephyr-Core-3.5.0/samples/bluetooth/iso_broadcast_benchmark/src/ |
D | receiver.c | 120 static void sync_cb(struct bt_le_per_adv_sync *sync, in sync_cb() argument 128 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument 131 LOG_INF("Periodic advertisement sync terminated"); in term_cb() 137 static void biginfo_cb(struct bt_le_per_adv_sync *sync, in biginfo_cb() argument 224 print_stats("Current Sync", &stats_current_sync); in iso_recv() 301 static int create_pa_sync(struct bt_le_per_adv_sync **sync) in create_pa_sync() argument 307 LOG_INF("Creating Periodic Advertising Sync"); in create_pa_sync() 315 err = bt_le_per_adv_sync_create(&sync_create_param, sync); in create_pa_sync() 317 LOG_ERR("Periodic advertisement sync create failed (err %d)", in create_pa_sync() 322 LOG_INF("Waiting for periodic sync"); in create_pa_sync() [all …]
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/audio/src/ |
D | bap_scan_delegator_test.c | 72 static struct sync_state *sync_state_get_by_pa(struct bt_le_per_adv_sync *sync) in sync_state_get_by_pa() argument 75 if (sync_states[i].pa_sync == sync) { in sync_state_get_by_pa() 184 printk("Could not sync per adv: %d\n", err); in pa_sync_no_past() 189 printk("PA sync pending for addr %s\n", addr_str); in pa_sync_no_past() 209 printk("Deleting PA sync\n"); in pa_sync_term() 213 FAIL("Could not delete per adv sync: %d\n", err); in pa_sync_term() 237 FAIL("Sync state receive state mismatch: %p - %p", in recv_state_updated_cb() 255 printk("PA Sync request: past_avail %u, pa_interval 0x%04x\n: %p", in pa_sync_req_cb() 270 /* TODO: Terminate existing sync and then sync to new?*/ in pa_sync_req_cb() 288 printk("PA Sync term request for %p\n", recv_state); in pa_sync_term_req_cb() [all …]
|
/Zephyr-Core-3.5.0/samples/bluetooth/iso_receive/src/ |
D | main.c | 133 static void sync_cb(struct bt_le_per_adv_sync *sync, in sync_cb() argument 142 bt_le_per_adv_sync_get_index(sync), le_addr, in sync_cb() 148 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument 155 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb() 156 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb() 162 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() argument 174 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in recv_cb() 178 static void biginfo_cb(struct bt_le_per_adv_sync *sync, in biginfo_cb() argument 190 bt_le_per_adv_sync_get_index(sync), le_addr, biginfo->sid, in biginfo_cb() 287 struct bt_le_per_adv_sync *sync; in main() local [all …]
|
/Zephyr-Core-3.5.0/samples/bluetooth/peripheral_past/src/ |
D | main.c | 18 static void sync_cb(struct bt_le_per_adv_sync *sync, in sync_cb() argument 25 printk("Sync not from PAST\n"); in sync_cb() 35 bt_le_per_adv_sync_get_index(sync), le_addr, info->interval, in sync_cb() 41 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument 48 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb() 49 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb() 54 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() argument 65 "data: %s\n", bt_le_per_adv_sync_get_index(sync), le_addr, in recv_cb() 135 printk("Subscribing to periodic advertising sync transfers\n"); in main() 152 printk("Waiting for periodic sync...\n"); in main() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_df_internal.h | 15 /* Allocate memory for new DF sync configuration. It will always return the same 20 /* Returns pointer to last allocated DF sync configuration. If it is called before 29 /* Enqueue new DF sync configuration data. */ 35 /* Get latest DF sync configuration data. Latest configuration data are the one 40 /* Get current DF sync configuration data. Current configuration data 49 /* Return information if DF sync configuration data were modified since last 64 int lll_df_iq_report_no_resources_prepare(struct lll_sync *sync);
|
/Zephyr-Core-3.5.0/dts/bindings/display/panel/ |
D | panel-timing.yaml | 86 Polarity of horizontal sync pulse 97 Polarity of vertical sync pulse 129 Drive sync on rising or sample sync on falling edge. If not specified 131 Use 0 to drive sync on falling edge 132 and sample sync on rising edge of pixel clock. 133 Use 1 to drive sync on rising edge 134 and sample sync on falling edge of pixel clock.
|
/Zephyr-Core-3.5.0/subsys/bluetooth/audio/shell/ |
D | has_client.c | 136 bool sync = false; in cmd_has_client_preset_set() local 149 if (!strcmp(arg, "sync")) { in cmd_has_client_preset_set() 150 sync = true; in cmd_has_client_preset_set() 167 err = bt_has_client_preset_set(inst, index, sync); in cmd_has_client_preset_set() 178 bool sync = false; in cmd_has_client_preset_next() local 184 if (!strcmp(arg, "sync")) { in cmd_has_client_preset_next() 185 sync = true; in cmd_has_client_preset_next() 202 err = bt_has_client_preset_next(inst, sync); in cmd_has_client_preset_next() 213 bool sync = false; in cmd_has_client_preset_prev() local 219 if (!strcmp(arg, "sync")) { in cmd_has_client_preset_prev() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/input/ |
D | input.h | 37 /** Sync flag. */ 38 uint8_t sync; member 61 * @param sync Set the synchronization bit for the event. 69 uint8_t type, uint16_t code, int32_t value, bool sync, 79 uint16_t code, int32_t value, bool sync, in input_report_key() argument 82 return input_report(dev, INPUT_EV_KEY, code, !!value, sync, timeout); in input_report_key() 91 uint16_t code, int32_t value, bool sync, in input_report_rel() argument 94 return input_report(dev, INPUT_EV_REL, code, value, sync, timeout); in input_report_rel() 103 uint16_t code, int32_t value, bool sync, in input_report_abs() argument 106 return input_report(dev, INPUT_EV_ABS, code, value, sync, timeout); in input_report_abs()
|
/Zephyr-Core-3.5.0/samples/bluetooth/periodic_sync/src/ |
D | main.c | 108 static void sync_cb(struct bt_le_per_adv_sync *sync, in sync_cb() argument 117 bt_le_per_adv_sync_get_index(sync), le_addr, in sync_cb() 123 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument 130 printk("PER_ADV_SYNC[%u]: [DEVICE]: %s sync terminated\n", in term_cb() 131 bt_le_per_adv_sync_get_index(sync), le_addr); in term_cb() 136 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() argument 148 bt_le_per_adv_sync_get_index(sync), le_addr, info->tx_power, in recv_cb() 161 struct bt_le_per_adv_sync *sync; in main() local 227 printk("Creating Periodic Advertising Sync..."); in main() 233 err = bt_le_per_adv_sync_create(&sync_create_param, &sync); in main() [all …]
|
/Zephyr-Core-3.5.0/tests/kernel/events/sys_event/src/ |
D | main.c | 78 * Sync point 1-1 : test_event contains events 0x1234. in receive_existing_events() 87 * Sync point 1-2 : test_event still contains event 0x1234. in receive_existing_events() 96 * Sync point 1-3: test_event still contains event 0x1234. in receive_existing_events() 105 * Sync point 1-4: test_event still contains event 0x1234. in receive_existing_events() 114 * Sync point 1-5: test_event still contains event 0x1234. in receive_existing_events() 123 * Sync point 1-6: test_event still contains event 0x1234. in receive_existing_events() 134 /* Sync point 2-1 - with reset */ in reset_on_receive() 141 /* Sync point 2-2 - with reset */ in reset_on_receive() 147 /* Sync point 2-3 - with reset */ in reset_on_receive() 154 /* Sync point 2-4 - with reset */ in reset_on_receive() [all …]
|
/Zephyr-Core-3.5.0/drivers/dai/intel/dmic/ |
D | Kconfig.dmic | 52 bool "Use DMIC sync for multiple lines" 56 dmic sync registers must be set before use of dmic 71 int "Sync period per platform" 74 DMIC sync period used for: 76 From spec: E.g. for 19.2 MHz XTAL oscillator clock, 4 KHz sync period,
|
/Zephyr-Core-3.5.0/samples/bluetooth/periodic_sync_conn/src/ |
D | main.c | 24 static void sync_cb(struct bt_le_per_adv_sync *sync, struct bt_le_per_adv_sync_synced_info *info) in sync_cb() argument 38 err = bt_le_per_adv_sync_subevent(sync, ¶ms); in sync_cb() 40 printk("Failed to set subevents to sync to (err %d)\n", err); in sync_cb() 46 static void term_cb(struct bt_le_per_adv_sync *sync, in term_cb() argument 53 printk("Sync terminated (reason %d)\n", info->reason); in term_cb() 60 static void recv_cb(struct bt_le_per_adv_sync *sync, in recv_cb() argument 96 err = bt_le_per_adv_set_response_data(sync, &rsp_params, &rsp_buf); in recv_cb() 185 struct bt_le_per_adv_sync *sync; in main() local 215 printk("Creating Periodic Advertising Sync"); in main() 221 err = bt_le_per_adv_sync_create(&sync_create_param, &sync); in main() [all …]
|
/Zephyr-Core-3.5.0/samples/drivers/ipm/ipm_esp32/ipm_esp32_net/src/ |
D | main.c | 14 struct k_sem sync; variable 19 k_sem_give(&sync); in ipm_receive_callback() 24 k_sem_init(&sync, 0, 1); in main() 35 k_sem_take(&sync, K_FOREVER); in main()
|
/Zephyr-Core-3.5.0/tests/kernel/events/event_api/src/ |
D | test_event_apis.c | 80 * Sync point 1-1 : test_event contains events 0x1234. in receive_existing_events() 89 * Sync point 1-2 : test_event still contains event 0x1234. in receive_existing_events() 98 * Sync point 1-3: test_event still contains event 0x1234. in receive_existing_events() 107 * Sync point 1-4: test_event still contains event 0x1234. in receive_existing_events() 116 * Sync point 1-5: test_event still contains event 0x1234. in receive_existing_events() 125 * Sync point 1-6: test_event still contains event 0x1234. in receive_existing_events() 136 /* Sync point 2-1 */ in reset_on_wait() 143 /* Sync point 2-2 */ in reset_on_wait() 150 /* Sync point 2-3 */ in reset_on_wait() 157 /* Sync point 2-4 */ in reset_on_wait() [all …]
|