Home
last modified time | relevance | path

Searched +full:tx +full:- +full:sync +full:- +full:mode (Results 1 – 25 of 91) sorted by relevance

1234

/Zephyr-latest/dts/bindings/i2s/
Dnxp,mcux-i2s.yaml2 # 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:
23 description: tx dma channel number
25 nxp,rx-dma-channel:
30 nxp,tx-sync-mode:
32 description: tx sync mode
[all …]
/Zephyr-latest/dts/bindings/dai/
Dnxp,dai-sai.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,dai-sai"
8 include: [base.yaml, pinctrl-device.yaml]
13 mclk-is-output:
21 rx-fifo-watermark:
24 Use this property to specify the watermark value for the TX
28 tx-fifo-watermark:
37 fifo-depth:
49 for tx/rx-fifo-watermark uses DEFAULT_FIFO_DEPTH instead of this
53 dai-index:
[all …]
/Zephyr-latest/drivers/dai/nxp/sai/
Dsai.c4 * SPDX-License-Identifier: Apache-2.0
53 cfg = dev->config; in sai_mclk_config()
54 data = dev->data; in sai_mclk_config()
56 mclk_config.mclkOutputEnable = cfg->mclk_is_output; in sai_mclk_config()
65 ret = get_mclk_rate(&cfg->clk_data, bclk_source, &mclk_rate); in sai_mclk_config()
73 LOG_DBG("target MCLK is %u", bespoke->mclk_rate); in sai_mclk_config()
79 mclk_config.mclkHz = bespoke->mclk_rate; in sai_mclk_config()
82 SAI_SetMasterClockConfig(UINT_TO_I2S(data->regmap), &mclk_config); in sai_mclk_config()
84 set_msel(data->regmap, msel); in sai_mclk_config()
96 data = dev->data; in sai_isr()
[all …]
Dsai.h3 * SPDX-License-Identifier: Apache-2.0
51 /* used to convert the clock-names property into an array of clock names */
72 /* used to convert a clock-names property into an array of clock names. If the
89 /* used to parse the tx-fifo-watermark property. If said property is not
97 /* used to parse the rx-fifo-watermark property. If said property is not
107 POINTER_TO_UINT(&(UINT_TO_I2S(DT_INST_REG_ADDR(inst))->TDR[idx]))
111 POINTER_TO_UINT(&(UINT_TO_I2S(DT_INST_REG_ADDR(inst))->RDR[idx]))
113 /* internal macro used to retrieve the default TX/RX FIFO's size (in FIFO words) */
117 /* used to retrieve the TX/RX FIFO's size (in FIFO words) */
129 /* used to retrieve the synchronization mode of the transmitter. If this
[all …]
/Zephyr-latest/subsys/bluetooth/controller/
DKconfig.ll_sw_split3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA
4 # SPDX-License-Identifier: Apache-2.0
120 # Hidden, Controller's Co-Operative high priority Rx thread stack size.
125 # Hidden, Controller's Co-Operative Rx thread stack size.
152 https://www.bluetooth.com/specifications/assigned-numbers/company-identifiers
167 to Extended Advertising mode, and restore it when switching back to
168 Legacy Non-Directed Advertising mode.
180 zero-based numbering. When using with Zephyr host this option can be
233 module-str = "Bluetooth Controller ISO-AL"
237 bool "ISO-AL verbose debug logging"
[all …]
/Zephyr-latest/drivers/ethernet/
Doa_tc6.c4 * SPDX-License-Identifier: Apache-2.0
13 * When IPv6 support enabled - the minimal size of network buffer
24 const struct spi_buf_set tx = { .buffers = &tx_buf, .count = 1 }; in oa_tc6_reg_read() local
32 * When non-protected case - we need to decrase them in oa_tc6_reg_read()
34 if (!tc6->protected) { in oa_tc6_reg_read()
35 tx_buf.len -= sizeof(rvn); in oa_tc6_reg_read()
36 rx_buf.len -= sizeof(rvn); in oa_tc6_reg_read()
49 ret = spi_transceive_dt(tc6->spi, &tx, &rx); in oa_tc6_reg_read()
58 return -1; in oa_tc6_reg_read()
63 /* In protected mode read data is followed by its compliment value */ in oa_tc6_reg_read()
[all …]
Deth_xlnx_gem_priv.h7 * SPDX-License-Identifier: Apache-2.0
22 #define ETH_XLNX_BUFFER_ALIGNMENT 4 /* RX/TX buffer alignment (in bytes) */
26 /* Receive Buffer Descriptor bits & masks: comp. Zynq-7000 TRM, Table 16-2. */
30 * [31 .. 02] Mask for effective buffer address -> excludes [1..0]
47 * [23 .. 22] These bits have different semantics depending on whether RX check-
54 * [15] End-of-frame bit
55 * [14] Start-of-frame bit
56 * [13] FCS status bit for FCS ignore mode
78 /* Transmit Buffer Descriptor bits & masks: comp. Zynq-7000 TRM, Table 16-3. */
83 * [30] Wrap bit, last BD in TX BD ring
[all …]
/Zephyr-latest/include/zephyr/drivers/
Di2s.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public APIs for the I2S (Inter-IC Sound) bus drivers.
20 * @brief I2S (Inter-IC Sound) Interface
23 * as common non-standard extensions such as PCM Short/Long Frame Sync,
55 * -. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-.
56 * SCK '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '-' '
57 * -. .-------------------------------.
58 * WS '-------------------------------' '----
59 * -.---.---.---.---.---.---.---.---.---.---.---.---.---.---.---.---.---.
61 * -'---'---'---'---'---'---'---'---'---'---'---'---'---'---'---'---'---'
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_df.c4 * 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 …]
Dull_sync.c2 * Copyright (c) 2020-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
72 * allocated using mem interface. timeout_reload being non-zero is used to
73 * indicate that a sync is established. And is used to check for sync being
74 * terminated under race conditions between HCI Tx and Rx thread when
83 static void sync_ticker_cleanup(struct ll_sync_set *sync, ticker_op_func stop_op_cb);
121 struct ll_sync_set *sync; in ll_sync_create() local
126 if (!scan || scan->periodic.sync) { in ll_sync_create()
132 if (!scan_coded || scan_coded->periodic.sync) { in ll_sync_create()
138 /* Do not sync twice to the same peer and same SID */ in ll_sync_create()
[all …]
Dull_conn.c2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
89 static struct node_tx *tx_ull_dequeue(struct ll_conn *conn, struct node_tx *tx);
106 static int empty_data_start_release(struct ll_conn *conn, struct node_tx *tx);
195 if (conn->lll.handle != handle) { in ll_connected_get()
212 void ll_tx_mem_release(void *tx) in ll_tx_mem_release() argument
214 mem_release(tx, &mem_conn_tx.free); in ll_tx_mem_release()
217 int ll_tx_mem_enqueue(uint16_t handle, void *tx) in ll_tx_mem_enqueue() argument
230 return -EINVAL; in ll_tx_mem_enqueue()
235 return -ENOBUFS; in ll_tx_mem_enqueue()
[all …]
/Zephyr-latest/drivers/sensor/bosch/bmi08x/
Dbmi08x_accel.c5 * 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, &reg, 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()
116 const struct spi_buf_set tx = {.buffers = tx_buf, .count = write ? 2 : 1}; in bmi08x_accel_transceive_spi() local
124 return spi_transceive_dt(&bmi08x->bus.spi, &tx, &rx); in bmi08x_accel_transceive_spi()
[all …]
Dbmi08x_gyro.c5 * SPDX-License-Identifier: Apache-2.0
26 const struct bmi08x_gyro_config *bmi08x = dev->config; in bmi08x_gyro_transceive_i2c()
29 return i2c_write_read_dt(&bmi08x->bus.i2c, &reg, 1, data, length); in bmi08x_gyro_transceive_i2c()
32 return -EINVAL; in bmi08x_gyro_transceive_i2c()
38 return i2c_write_dt(&bmi08x->bus.i2c, buf, 1 + length); in bmi08x_gyro_transceive_i2c()
43 return i2c_is_ready_dt(&bus->i2c) ? 0 : -ENODEV; in bmi08x_bus_check_i2c()
58 const struct bmi08x_gyro_config *bmi08x = dev->config; in bmi08x_gyro_transceive_spi()
60 const struct spi_buf_set tx = {.buffers = tx_buf, .count = write ? 2 : 1}; in bmi08x_gyro_transceive_spi() local
68 return spi_transceive_dt(&bmi08x->bus.spi, &tx, &rx); in bmi08x_gyro_transceive_spi()
71 return spi_write_dt(&bmi08x->bus.spi, &tx); in bmi08x_gyro_transceive_spi()
[all …]
/Zephyr-latest/arch/xtensa/core/startup/
Dreset_vector.S3 * SPDX-License-Identifier: Apache-2.0
10 #include <xtensa/xtensa-xer.h>
11 #include <xtensa/xdm-regs.h>
14 #include <xtensa/xtruntime-core-state.h>
42 .size __start, . - __start
46 * Xtensa TX: reset vector segment is only 4 bytes, so must place the
57 #warning "Xtensa TX reset vector not at start of iram0, irom0, or uram0 -- ROMing LSPs may not work"
76 * Even if the processor supports the non-PC-relative L32R option,
77 * it will always start up in PC-relative mode. We take advantage of
78 * this, and use PC-relative mode at least until we're sure the .lit4
[all …]
/Zephyr-latest/drivers/spi/
Dspi_context.h4 * SPDX-License-Identifier: Apache-2.0
35 struct k_sem sync; member
62 ._ctx_name.sync = Z_SEM_INITIALIZER(_data._ctx_name.sync, 0, 1)
81 return !!(ctx->config == config); in spi_context_configured()
86 return (ctx->config->operation & SPI_OP_MODE_SLAVE); in spi_context_is_slave()
95 if ((spi_cfg->operation & SPI_LOCK_ON) && in spi_context_lock()
96 (k_sem_count_get(&ctx->lock) == 0) && in spi_context_lock()
97 (ctx->owner == spi_cfg)) { in spi_context_lock()
101 k_sem_take(&ctx->lock, K_FOREVER); in spi_context_lock()
102 ctx->owner = spi_cfg; in spi_context_lock()
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_dw1000_regs.h4 * SPDX-License-Identifier: Apache-2.0
7 * https://github.com/Decawave/mynewt-dw1000-core.git
14 * Copyright (C) 2017-2018, Decawave Limited, All Rights Reserved
24 * http://www.apache.org/licenses/LICENSE-2.0
75 /* Frame Filtering Behave as a Co-ordinator */
106 /* Standard Frame mode */
108 /* Long Frames mode */
110 /* Disable Smart TX Power control */
112 /* Receiver Mode 110 kbps data rate */
117 * Receiver Auto-Re-enable.
[all …]
Dieee802154_cc1200.c1 /* ieee802154_cc1200.c - TI CC1200 driver */
8 * SPDX-License-Identifier: Apache-2.0
61 LOG_DBG("FS TX on"); in cc1200_print_status()
69 LOG_DBG("TX FIFO error!"); in cc1200_print_status()
80 const struct cc1200_config *config = dev->config; in z_cc1200_access_reg()
93 struct spi_buf_set tx = { .buffers = buf }; in z_cc1200_access_reg() local
116 tx.count = 1; in z_cc1200_access_reg()
118 return (spi_transceive_dt(&config->bus, &tx, &rx) == 0); in z_cc1200_access_reg()
122 tx.count = data ? 2 : 1; in z_cc1200_access_reg()
124 return (spi_write_dt(&config->bus, &tx) == 0); in z_cc1200_access_reg()
[all …]
/Zephyr-latest/drivers/sdhc/
Drcar_mmc.c4 * SPDX-License-Identifier: Apache-2.0
109 struct mmc_rcar_data *data = dev->data; in rcar_mmc_reset_and_mask_irqs()
124 k_sem_reset(&data->irq_xref_fin); in rcar_mmc_reset_and_mask_irqs()
138 * @retval -EINVAL: the dev pointer is NULL
145 return -EINVAL; in rcar_mmc_card_busy()
160 * @retval -ETIMEDOUT: timed out while tx/rx
161 * @retval -EIO: I/O error
162 * @retval -EILSEQ: communication out of sync
170 return -ETIMEDOUT; in rcar_mmc_check_errors()
174 LOG_DBG("communication out of sync 0x%08x", info2); in rcar_mmc_check_errors()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_stm32_qspi.c6 * SPDX-License-Identifier: Apache-2.0
58 /* In dual-flash mode, total size is twice the size of one flash component */
110 struct k_sem sync; member
118 enum jesd216_mode_type mode; member
125 * If set addressed operations should use 32-bit rather than
126 * 24-bit addresses.
138 struct flash_stm32_qspi_data *dev_data = dev->data; in qspi_lock_thread()
140 k_sem_take(&dev_data->sem, K_FOREVER); in qspi_lock_thread()
145 struct flash_stm32_qspi_data *dev_data = dev->data; in qspi_unlock_thread()
147 k_sem_give(&dev_data->sem); in qspi_unlock_thread()
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Diso.h8 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
10 * SPDX-License-Identifier: Apache-2.0
64 * As a general notation, to sync to BIS index N use BIT(N - 1).
66 #define BT_ISO_BIS_INDEX_BIT(x) (BIT((x) - 1))
117 /** Minimum BIG sync timeout value (N * 10 ms) */
119 /** Maximum BIG sync timeout value (N * 10 ms) */
123 /** Minimum BIG sync maximum subevent count value */
125 /** Maximum BIG sync maximum subevent count value */
141 /** Minimum pre-transmission offset */
143 /** Maximum pre-transmission offset */
[all …]
/Zephyr-latest/drivers/i2s/
Di2s_mcux_sai.c2 * Copyright 2021,2023-2024 NXP Semiconductor INC.
5 * SPDX-License-Identifier: Apache-2.0
22 #include <zephyr/dt-bindings/clock/imx_ccm.h>
52 * This indicates the Tx/Rx stream.
106 struct stream tx; member
124 while (k_msgq_get(&strm->in_queue, &buffer, K_NO_WAIT) == 0) { in i2s_purge_stream_buffers()
130 while (k_msgq_get(&strm->out_queue, &buffer, K_NO_WAIT) == 0) { in i2s_purge_stream_buffers()
138 struct i2s_dev_data *dev_data = dev->data; in i2s_tx_stream_disable()
139 struct stream *strm = &dev_data->tx; in i2s_tx_stream_disable()
140 const struct device *dev_dma = dev_data->dev_dma; in i2s_tx_stream_disable()
[all …]
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_nxp_lcdic.c4 * SPDX-License-Identifier: Apache-2.0
55 /* Dummy SCLK cycles between TX and RX (for SPI mode) */
58 /* Use auto repeat mode */
60 /* Tearing enable sync mode */
62 /* TRX command timeout mode */
70 /* TX or RX command, see lcdic_cmd_type */
133 /* RX and TX FIFO thresholds */
150 /* Resets state of the LCDIC TX/RX FIFO */
153 const struct mipi_dbi_lcdic_config *config = dev->config; in mipi_dbi_lcdic_reset_state()
154 LCDIC_Type *base = config->base; in mipi_dbi_lcdic_reset_state()
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/
Dlll_df_types.h4 * SPDX-License-Identifier: Apache-2.0
68 #define RSSI_DBM_TO_DECI_DBM(x) (-(x) * 10)
129 /* Double buffer to store DF sync configuration */
136 /* Parameters for reception of Constant Tone Extension in connected mode */
144 /* Double buffer to store receive and sampling configuration for connected mode */
175 /* Configuration for transmission of Constant Tone Extension in connected mode */
177 /* Stores information if the TX configuration was set at least once.
/Zephyr-latest/drivers/wifi/nxp/
DKconfig.nxp1 # Copyright 2022-2024 NXP
2 # SPDX-License-Identifier: Apache-2.0
5 bool "NXP Wi-Fi driver support"
14 Enable NXP SoC Wi-Fi support.
28 bool "Custom NXP Wi-Fi part"
30 Customize NXP Wi-Fi chip support.
33 prompt "Select NXP Wi-Fi part"
36 Choose NXP Wi-Fi chip support.
39 bool "NXP RW610-based Chipset"
44 Select this option if you have a NXP RW610-based
[all …]
/Zephyr-latest/samples/boards/st/power_mgmt/suspend_to_ram/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
37 /* Data of ADC io-channels specified in devicetree. */
60 static const char spi_tx_data[SPI_BUF_SIZE] = "0123456789abcdef-\0";
90 const struct spi_buf_set tx = { in spi_test() local
101 ret = spi_transceive_dt(&spi_test_dev, &tx, &rx); in spi_test()
111 printk("tx: %s\n", spi_buffer_print_tx); in spi_test()
113 return -1; in spi_test()
143 printk("ADC controller device %s not ready\n", adc_channels[i].dev->name); in adc_test()
158 printk("- %s, channel %d: ", in adc_test()
159 adc_channels[i].dev->name, in adc_test()
[all …]

1234