/Zephyr-Core-3.5.0/dts/bindings/i2s/ |
D | nxp,mcux-i2s.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: NXP mcux SAI-I2S controller 6 compatible: "nxp,mcux-i2s" 8 include: [i2s-controller.yaml, pinctrl-device.yaml] 17 dma-names: 20 nxp,tx-dma-channel: 25 nxp,rx-dma-channel: 30 nxp,tx-sync-mode: 32 description: tx sync mode 34 nxp,rx-sync-mode: [all …]
|
/Zephyr-Core-3.5.0/dts/bindings/mipi-dsi/ |
D | nxp,imx-mipi-dsi.yaml | 4 # SPDX-License-Identifier: Apache-2.0 8 compatible: "nxp,imx-mipi-dsi" 10 include: mipi-dsi-host.yaml 20 DSI in video mode. 22 dpi-color-coding: 25 - "16-bit-config-1" 26 - "16-bit-config-2" 27 - "16-bit-config-3" 28 - "18-bit-config-1" 29 - "18-bit-config-2" [all …]
|
D | nxp,mipi-dsi-2l.yaml | 4 # SPDX-License-Identifier: Apache-2.0 8 compatible: "nxp,mipi-dsi-2l" 10 include: mipi-dsi-host.yaml 20 in video mode 21 dpi-color-coding: 24 - "16-bit-config-1" 25 - "16-bit-config-2" 26 - "16-bit-config-3" 27 - "18-bit-config-1" 28 - "18-bit-config-2" [all …]
|
/Zephyr-Core-3.5.0/drivers/dai/intel/dmic/ |
D | Kconfig.dmic | 4 # SPDX-License-Identifier: Apache-2.0 17 prompt "Driver operation mode" 34 bool "Use parameters from topology - WIP" 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/dts/bindings/led/ |
D | issi,is31fl3733.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 include: "i2c-device.yaml" 10 sdb-gpios: 11 type: phandle-array 17 current-limit: 23 formula: (840/R_ISET) * (current-limit/256). Defaults to max value 27 sync-mode: 31 - "none" 32 - "master" 33 - "slave" [all …]
|
/Zephyr-Core-3.5.0/drivers/led/ |
D | is31fl3733.c | 2 * Copyright 2022-2023 Daniel DeGrasse <daniel@degrasse.com> 4 * SPDX-License-Identifier: Apache-2.0 33 #define CONF_REG_SYNC_SHIFT 0x6 /* Sync mode shift */ 34 #define CONF_REG_SYNC_MASK 0xC /* Sync mode mask */ 52 uint8_t sync; member 70 const struct is31fl3733_config *config = dev->config; in is31fl3733_select_page() 71 struct is31fl3733_data *data = dev->data; in is31fl3733_select_page() 74 if (data->selected_page == page) { in is31fl3733_select_page() 80 ret = i2c_reg_write_byte_dt(&config->bus, CMD_LOCK_REG, CMD_LOCK_UNLOCK); in is31fl3733_select_page() 87 ret = i2c_reg_write_byte_dt(&config->bus, CMD_SEL_REG, page); in is31fl3733_select_page() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/ |
D | direction.h | 4 * SPDX-License-Identifier: Apache-2.0 16 /** Angle of Arrival mode. Antenna switching done on receiver site. */ 19 * @brief Angle of Departure mode with 1 us antenna switching slots. 25 * @brief Angle of Departure mode with 2 us antenna switching slots. 118 /** The RSSI of the PDU with CTE (excluding CTE). Range: -1270 to +200. Units: 0.1 dBm. */ 172 /** The RSSI of the PDU with CTE (excluding CTE). Range: -1270 to +200. Units: 0.1 dBm. */ 194 /** Constant Tone Extension parameters for CTE transmission in connected mode. */ 260 * @brief Enable receive and sampling of Constant Tone Extension for the given sync set. 263 * sync is established. 265 * @param sync Periodic advertising sync object. [all …]
|
D | bluetooth.h | 7 * Copyright (c) 2015-2016 Intel Corporation 9 * SPDX-License-Identifier: Apache-2.0 51 /** Opaque type representing an periodic advertising sync. */ 275 * @see https://specificationrefs.bluetooth.com/assigned-values/Appearance%20Values.pdf 308 * subsequent call to this function with non-NULL @a addrs parameter. 328 * pre-defined address is provided, since in such a situation the app clearly 347 * parameter was non-NULL). 352 * the parameter was non-NULL). If privacy 381 * parameter was non-NULL). 386 * the parameter was non-NULL). If privacy [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/crypto/ |
D | crypto.h | 4 * SPDX-License-Identifier: Apache-2.0 71 enum cipher_algo algo, enum cipher_mode mode, 93 * have four cipher mode specific (CTR, CCM, CBC ...) calls to perform the 114 api = (struct crypto_driver_api *) dev->api; in crypto_query_hwcaps() 116 tmp = api->query_hw_caps(dev); in crypto_query_hwcaps() 125 "Driver should support at least one op-type: sync/async"); in crypto_query_hwcaps() 145 * mode which may remain constant for all operations in the session. The state 155 * @param mode The cipher mode to be used in this session. e.g CBC, CTR 163 enum cipher_mode mode, in cipher_begin_session() argument 169 api = (struct crypto_driver_api *) dev->api; in cipher_begin_session() [all …]
|
/Zephyr-Core-3.5.0/samples/bluetooth/iso_broadcast_benchmark/ |
D | README.rst | 6 The ISO Broadcast Benchmark sample measures and report packet loss and sync loss 14 and measures the quality of the sync. 16 The application is used as both a broadcaster and a receiver, and the mode 35 See :ref:`bluetooth samples section <bluetooth-samples>` for details. 57 The receiver will output statistics for overall (since boot), current sync 60 *** Booting Zephyr OS build zephyr-v2.5.0-3768-g42f09317bfbe *** 62 Choose device role - type r (receiver role) or b (broadcaster role), or q to quit: r 66 … <inf> iso_broadcast_receiver: Found broadcaster with address 28:3B:AD:F5:EE:0C (random) (RSSI -33) 69 [00:00:05.793,701] <inf> iso_broadcast_receiver: Creating Periodic Advertising Sync 70 [00:00:05.796,081] <inf> iso_broadcast_receiver: Waiting for periodic sync [all …]
|
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/ |
D | test_iv_index.c | 4 * SPDX-License-Identifier: Apache-2.0 63 /* Out of sync */ in test_ivu_recovery() 64 ASSERT_FALSE(bt_mesh_net_iv_update(TEST_IV_IDX - 1, BCN_IV_IN_IDLE)); in test_ivu_recovery() 80 /* Already in IV normal mode */ in test_ivu_recovery() 83 /* Out of sync */ in test_ivu_recovery() 84 ASSERT_FALSE(bt_mesh_net_iv_update(TEST_IV_IDX - 1, BCN_IV_IN_IDLE)); in test_ivu_recovery() 107 /* moving back into the normal mode */ in test_ivu_normal() 120 /* moving into the IV update mode */ in test_ivu_normal()
|
/Zephyr-Core-3.5.0/tests/bluetooth/df/connectionless_cte_chains/src/ |
D | common.c | 4 * SPDX-License-Identifier: Apache-2.0 43 /* Controller code uses static function sync_acquire to get adv. sync. 83 adv_set->lll.sync = &g_sync_set.lll; in common_create_adv_set() 84 lll_hdr_init(&adv_set->lll, adv_set); in common_create_adv_set() 85 g_sync_set.lll.adv = &adv_set->lll; in common_create_adv_set() 94 lll_adv_data_reset(&lll_sync->data); in common_create_adv_set() 95 err = lll_adv_data_init(&lll_sync->data); in common_create_adv_set() 99 adv_set->is_created = 1U; in common_create_adv_set() 111 struct ll_adv_sync_set *sync; in common_release_adv_set() local 113 if (adv_set->lll.sync) { in common_release_adv_set() [all …]
|
/Zephyr-Core-3.5.0/drivers/flash/ |
D | flash_stm32_qspi.c | 6 * SPDX-License-Identifier: Apache-2.0 102 struct k_sem sync; member 110 enum jesd216_mode_type mode; member 117 * If set addressed operations should use 32-bit rather than 118 * 24-bit addresses. 125 struct flash_stm32_qspi_data *dev_data = dev->data; in qspi_lock_thread() 127 k_sem_take(&dev_data->sem, K_FOREVER); in qspi_lock_thread() 132 struct flash_stm32_qspi_data *dev_data = dev->data; in qspi_unlock_thread() 134 k_sem_give(&dev_data->sem); in qspi_unlock_thread() 140 struct flash_stm32_qspi_data *dev_data = dev->data; in qspi_set_address_size() [all …]
|
/Zephyr-Core-3.5.0/drivers/entropy/ |
D | entropy_cc13xx_cc26xx.c | 4 * SPDX-License-Identifier: Apache-2.0 32 struct k_sem sync; member 52 /* De-tune FROs */ in start_trng() 87 /* De-tune FROs */ in handle_shutdown_ovf() 89 /* Re-enable FROs */ in handle_shutdown_ovf() 97 struct entropy_cc13xx_cc26xx_data *data = dev->data; in entropy_cc13xx_cc26xx_get_entropy() 103 if (!data->constrained) { in entropy_cc13xx_cc26xx_get_entropy() 105 data->constrained = true; in entropy_cc13xx_cc26xx_get_entropy() 113 k_sem_take(&data->lock, K_FOREVER); in entropy_cc13xx_cc26xx_get_entropy() 114 cnt = ring_buf_get(&data->pool, buf, len); in entropy_cc13xx_cc26xx_get_entropy() [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ |
D | Kconfig.ll_sw_split | 3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 102 # Controller's Co-Operative high priority Rx thread stack size. 129 https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers 144 to Extended Advertising mode, and restore it when switching back to 145 Legacy Non-Directed Advertising mode. 157 zero-based numbering. When using with Zephyr host this option can be 244 bool "Run in-system unit tests" 246 Run in-system unit tests 252 bool "LE Controller-based Software Privacy" [all …]
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/ll_sw/ |
D | ull_adv_sync.c | 2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 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() [all …]
|
D | ull_df.c | 4 * SPDX-License-Identifier: Apache-2.0 106 * - Add release of df_adv_cfg when adv_sync is released. 180 adv->df_cfg = NULL; in ull_df_reset() 203 /* Re-initialize the free IQ report mfifo */ in init_reset() 276 if (!adv->df_cfg) { in ll_df_set_cl_cte_tx_params() 277 adv->df_cfg = df_adv_cfg_acquire(); in ll_df_set_cl_cte_tx_params() 280 cfg = adv->df_cfg; in ll_df_set_cl_cte_tx_params() 282 if (cfg->is_enabled) { in ll_df_set_cl_cte_tx_params() 286 cfg->cte_count = cte_count; in ll_df_set_cl_cte_tx_params() 287 cfg->cte_length = cte_len; in ll_df_set_cl_cte_tx_params() [all …]
|
/Zephyr-Core-3.5.0/drivers/display/ |
D | mb_display.c | 5 * SPDX-License-Identifier: Apache-2.0 65 return &mb_font[' ' - MB_FONT_START]; in get_font() 68 return &mb_font[ch - MB_FONT_START]; in get_font() 91 if (disp->msb) { in update_content() 93 tmp_img.row[i] = flip_pixels(img->row[i]); in update_content() 96 ret = display_write(disp->lm_dev, 0, 0, &buf_desc, &tmp_img); in update_content() 98 ret = display_write(disp->lm_dev, 0, 0, &buf_desc, img); in update_content() 106 LOG_DBG("Image duration %d", disp->duration); in update_content() 107 if (disp->duration != SYS_FOREVER_MS) { in update_content() 108 k_work_reschedule(&disp->dwork, K_MSEC(disp->duration)); in update_content() [all …]
|
/Zephyr-Core-3.5.0/tests/boards/frdm_k64f/i2c/src/ |
D | i2c.c | 4 * SPDX-License-Identifier: Apache-2.0 60 /* Enable FIFO mode with a watermark of 16 */ in fxos8700_fifo_cfg() 102 TC_PRINT("fxos8700 sync test ...\n"); in test_i2c_fxos8700_sync() 120 zassert_equal(test_i2c_fxos8700_sync(), TC_PASS, "i2c sync test"); in ZTEST() 227 zassert_true(signaled > 0, "expected signaled to be non-zero"); in test_i2c_fxos8700_transfer_signal() 241 "i2c_transfer_signal supervisor mode"); in ZTEST()
|
/Zephyr-Core-3.5.0/include/zephyr/drivers/ |
D | mipi_dsi.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Public APIs for MIPI-DSI drivers 16 * @brief MIPI-DSI driver APIs 17 * @defgroup mipi_dsi_interface MIPI-DSI driver APIs 23 #include <zephyr/dt-bindings/mipi_dsi/mipi_dsi.h> 30 * @name MIPI-DSI DCS (Display Command Set) 100 * @name MIPI-DSI Address mode register fields. 116 * @name MIPI-DSI Processor-to-Peripheral transaction types. 156 /** MIPI-DSI display timings. */ 164 /** Horizontal sync length. */ [all …]
|
/Zephyr-Core-3.5.0/drivers/sensor/bmi08x/ |
D | bmi08x_accel.c | 5 * SPDX-License-Identifier: Apache-2.0 27 const struct bmi08x_accel_config *bmi08x = dev->config; in bmi08x_accel_transceive_i2c() 30 return i2c_write_read_dt(&bmi08x->bus.i2c, ®, 1, data, length); in bmi08x_accel_transceive_i2c() 33 return -EINVAL; in bmi08x_accel_transceive_i2c() 39 return i2c_write_dt(&bmi08x->bus.i2c, buf, 1 + length); in bmi08x_accel_transceive_i2c() 88 length -= len1; in bmi08x_write_config_file_i2c() 96 return i2c_is_ready_dt(&bus->i2c) ? 0 : -ENODEV; in bmi08x_bus_check_i2c() 114 const struct bmi08x_accel_config *bmi08x = dev->config; in bmi08x_accel_transceive_spi() 124 return spi_transceive_dt(&bmi08x->bus.spi, &tx, &rx); in bmi08x_accel_transceive_spi() 127 return spi_write_dt(&bmi08x->bus.spi, &tx); in bmi08x_accel_transceive_spi() [all …]
|
/Zephyr-Core-3.5.0/soc/arm/ti_simplelink/cc13x2_cc26x2/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 81 /* 1. Get the current VIMS mode */ in pm_state_set() 100 /* 7. Make sure MCU and AON are in sync after wakeup */ in pm_state_set() 105 /* go to standby mode */ in pm_state_set() 116 /* Handle SOC specific activity after Low Power Mode Exit */ 123 * System is now in active mode. Reenable interrupts which were disabled in pm_state_exit_post_ops()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/host/ |
D | scan.c | 2 * Copyright (c) 2017-2021 Nordic Semiconductor ASA 3 * Copyright (c) 2015-2016 Intel Corporation 5 * SPDX-License-Identifier: Apache-2.0 55 return a->sid == sid && bt_addr_le_eq(&a->addr, addr); in fragmented_advertisers_equal() 96 return -ENOBUFS; in set_le_ext_scan_enable() 102 cp->filter_dup = atomic_test_bit(bt_dev.flags, in set_le_ext_scan_enable() 105 cp->filter_dup = BT_HCI_LE_SCAN_FILTER_DUP_DISABLE; in set_le_ext_scan_enable() 108 cp->enable = enable; in set_le_ext_scan_enable() 109 cp->duration = sys_cpu_to_le16(duration); in set_le_ext_scan_enable() 110 cp->period = 0; in set_le_ext_scan_enable() [all …]
|
/Zephyr-Core-3.5.0/drivers/dma/ |
D | dma_iproc_pax_v1.c | 4 * SPDX-License-Identifier: Apache-2.0 33 return ring->pkt_id = 0x0; in reset_pkt_id() 41 ring->pkt_id = (ring->pkt_id + 1) % 32; in alloc_pkt_id() 42 return ring->pkt_id; in alloc_pkt_id() 47 return ring->pkt_id; in curr_pkt_id() 52 return ring->curr.toggle; in curr_toggle_val() 63 r->opq = opq; in rm_write_header_desc() 65 r->bdcount = bdcount; in rm_write_header_desc() 66 r->prot = 0x0; in rm_write_header_desc() 68 r->start = 1; in rm_write_header_desc() [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/logging/log_core_additional/src/ |
D | log_test.c | 4 * SPDX-License-Identifier: Apache-2.0 49 size_t sync; member 59 * used in async mode, to make sure all logs have been handled by compare 69 struct backend_cb *cb = (struct backend_cb *)backend->cb->ctx; in process() 72 if (log_msg_get_level(&(msg->log)) == LOG_LEVEL_INTERNAL_RAW_STRING) { in process() 77 cb->sync++; in process() 80 if (cb->check_domain_id) { in process() 81 zassert_equal(log_msg_get_domain(&(msg->log)), Z_LOG_LOCAL_DOMAIN_ID, in process() 85 if (cb->check_timestamp) { in process() 86 uint32_t exp_timestamp = cb->exp_timestamps[cb->counter]; in process() [all …]
|