Home
last modified time | relevance | path

Searched refs:dma_config (Results 1 – 25 of 107) sorted by relevance

12345

/Zephyr-latest/drivers/dma/
Ddma_intel_adsp_hda.h35 struct dma_config *dma_cfg);
39 struct dma_config *dma_cfg);
43 struct dma_config *dma_cfg);
47 struct dma_config *dma_cfg);
Ddma_sedi.c35 struct dma_config dma_configs[DMA_CHANNEL_NUM];
52 struct dma_config *config = &(data->dma_configs[channel]); in dma_handler()
131 static void dma_config_convert(struct dma_config *config, in dma_config_convert()
168 struct dma_config *config, uint8_t *dir) in dma_sedi_apply_common_config()
211 struct dma_config *config) in dma_sedi_apply_single_config()
247 struct dma_config *config) in dma_sedi_chan_config()
258 memcpy(&(data->dma_configs[channel]), config, sizeof(struct dma_config)); in dma_sedi_chan_config()
281 struct dma_config *config = &(data->dma_configs[channel]); in dma_sedi_reload()
311 struct dma_config *config = &(data->dma_configs[channel]); in dma_sedi_start()
Ddma_stm32.h103 uint32_t stm32_dma_get_mburst(struct dma_config *config, bool source_periph);
104 uint32_t stm32_dma_get_pburst(struct dma_config *config, bool source_periph);
111 struct dma_config *config);
Ddma_emul.c34 struct dma_config config;
123 static const char *dma_emul_xfer_config_to_string(const struct dma_config *cfg) in dma_emul_xfer_config_to_string()
203 struct dma_config xfer_config; in dma_emul_work_handler()
300 const struct dma_config *xfer_config) in dma_emul_config_valid()
348 struct dma_config *xfer_config) in dma_emul_configure()
416 struct dma_config *xfer_config; in dma_emul_start()
Ddma_nxp_sdma.c38 struct dma_config *dma_cfg;
145 void sdma_set_transfer_type(struct dma_config *config, sdma_transfer_type_t *type) in sdma_set_transfer_type()
168 int sdma_set_peripheral_type(struct dma_config *config, sdma_peripheral_t *type) in sdma_set_peripheral_type()
226 struct dma_config *config) in dma_nxp_sdma_setup_bd()
267 struct dma_config *config) in dma_nxp_sdma_config()
Ddma_intel_adsp_hda.c32 struct dma_config *dma_cfg) in intel_adsp_hda_dma_host_in_config()
66 struct dma_config *dma_cfg) in intel_adsp_hda_dma_host_out_config()
100 struct dma_config *dma_cfg) in intel_adsp_hda_dma_link_in_config()
130 struct dma_config *dma_cfg) in intel_adsp_hda_dma_link_out_config()
Ddma_stm32_bdma.h85 struct dma_config *config);
Ddma_silabs_ldma.c88 static int dma_silabs_block_to_descriptor(struct dma_config *config, in dma_silabs_block_to_descriptor()
213 static int dma_silabs_configure_descriptor(struct dma_config *config, struct dma_silabs_data *data, in dma_silabs_configure_descriptor()
303 struct dma_config *config) in dma_silabs_configure()
DKconfig.dw_common16 LLI struct pool. If during dma_config() a log notes there are not enough LLI structs
Ddma_mcux_smartdma.c42 uint32_t channel, struct dma_config *config) in dma_mcux_smartdma_configure()
/Zephyr-latest/tests/boards/altera_max10/msgdma/src/
Ddma.c26 static struct dma_config dma_cfg = {0};
77 zassert_true(dma_config(dma, chan_id, &dma_cfg) == 0, in ZTEST()
/Zephyr-latest/tests/drivers/dma/chan_link_transfer/src/
Dtest_dma.c54 struct dma_config dma_cfg = { 0 }; in test_task()
97 if (dma_config(dma, TEST_DMA_CHANNEL_1, &dma_cfg)) { in test_task()
119 if (dma_config(dma, TEST_DMA_CHANNEL_0, &dma_cfg)) { in test_task()
/Zephyr-latest/tests/boards/intel_adsp/hda/src/
Ddma.c90 struct dma_config dma_cfg = { in ZTEST()
96 res = dma_config(dma, channel, &dma_cfg); in ZTEST()
179 struct dma_config dma_cfg = { in test_hda_host_out_dma()
185 res = dma_config(dma, channel, &dma_cfg); in test_hda_host_out_dma()
/Zephyr-latest/tests/drivers/dma/loop_transfer/src/
Dtest_dma_loop.c41 static struct dma_config dma_cfg = {0};
58 zassert_ok(dma_config(dev, id, &dma_cfg), "Not able to config transfer %d", in test_transfer()
142 if (dma_config(dma, chan_id, &dma_cfg)) { in test_loop()
235 if (dma_config(dma, chan_id, &dma_cfg)) { in test_loop_suspend_resume()
412 if (dma_config(dma, chan_id, &dma_cfg)) { in test_loop_repeated_start_stop()
/Zephyr-latest/tests/drivers/dma/chan_blen_transfer/src/
Dtest_dma.c37 struct dma_config dma_cfg = { 0 }; in test_task()
73 if (dma_config(dma, chan_id, &dma_cfg)) { in test_task()
/Zephyr-latest/tests/drivers/dma/scatter_gather/src/
Dtest_dma_sg.c39 static struct dma_config dma_cfg = {0};
126 if (dma_config(dma, chan_id, &dma_cfg)) { in test_sg()
/Zephyr-latest/include/zephyr/drivers/
Ddma.h197 struct dma_config { struct
316 struct dma_config *config);
396 static inline int dma_config(const struct device *dev, uint32_t channel, in dma_config() function
397 struct dma_config *config) in dma_config()
/Zephyr-latest/tests/boards/intel_adsp/ssp/src/
Dmain.c60 static struct dma_config dma_cfg = {0};
62 static struct dma_config dma_cfg_rx = {0};
277 if (dma_config(dev_dma_dw, chan_id, &dma_cfg)) { in ZTEST()
295 if (dma_config(dev_dma_dw, chan_id_rx, &dma_cfg_rx)) { in ZTEST()
/Zephyr-latest/drivers/i2s/
Di2s_ll_stm32.h39 struct dma_config dma_cfg;
/Zephyr-latest/drivers/crypto/
Dcrypto_si32.c327 struct dma_config dma_cfg; in crypto_si32_dma_setup_tx()
346 dma_cfg = (struct dma_config){ in crypto_si32_dma_setup_tx()
364 ret = dma_config(dma, DMA_CHANNEL_ID_TX, &dma_cfg); in crypto_si32_dma_setup_tx()
402 struct dma_config dma_cfg; in crypto_si32_dma_setup_rx()
435 dma_cfg = (struct dma_config){ in crypto_si32_dma_setup_rx()
453 ret = dma_config(dma, DMA_CHANNEL_ID_RX, &dma_cfg); in crypto_si32_dma_setup_rx()
492 struct dma_config dma_cfg; in crypto_si32_dma_setup_xor()
511 dma_cfg = (struct dma_config){ in crypto_si32_dma_setup_xor()
529 ret = dma_config(dma, DMA_CHANNEL_ID_XOR, &dma_cfg); in crypto_si32_dma_setup_xor()
/Zephyr-latest/drivers/serial/
Duart_stm32.h71 struct dma_config dma_cfg;
/Zephyr-latest/drivers/spi/
Dspi_smartbond.c79 struct dma_config tx_dma_cfg;
80 struct dma_config rx_dma_cfg;
814 struct dma_config *tx = &data->tx_dma_cfg; in spi_smartbond_dma_config()
815 struct dma_config *rx = &data->rx_dma_cfg; in spi_smartbond_dma_config()
920 struct dma_config *tx = &data->tx_dma_cfg; in spi_smartbond_dma_trigger()
921 struct dma_config *rx = &data->rx_dma_cfg; in spi_smartbond_dma_trigger()
948 if (dma_config(config->tx_dma_ctrl, config->tx_dma_chan, tx) < 0) { in spi_smartbond_dma_trigger()
952 if (dma_config(config->rx_dma_ctrl, config->rx_dma_chan, rx) < 0) { in spi_smartbond_dma_trigger()
973 if (dma_config(config->tx_dma_ctrl, config->tx_dma_chan, tx) < 0) { in spi_smartbond_dma_trigger()
1010 if (dma_config(config->tx_dma_ctrl, config->tx_dma_chan, tx) < 0) { in spi_smartbond_dma_trigger()
[all …]
/Zephyr-latest/drivers/flash/
Dflash_stm32_xspi.h60 struct dma_config cfg;
/Zephyr-latest/doc/hardware/peripherals/
Ddma.rst65 init -> CONFIGURED [label=dma_config];
69 CONFIGURED -> CONFIGURED [label=dma_config, headport=c, tailport=w];
/Zephyr-latest/drivers/video/
Dvideo_stm32_dcmi.c33 struct dma_config cfg;
132 struct dma_config dma_cfg = config->dma.cfg; in stm32_dma_init()
140 ret = dma_config(config->dma.dma_dev, in stm32_dma_init()

12345