Home
last modified time | relevance | path

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

1234

/Zephyr-Core-3.7.0/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.h101 uint32_t stm32_dma_get_mburst(struct dma_config *config, bool source_periph);
102 uint32_t stm32_dma_get_pburst(struct dma_config *config, bool source_periph);
109 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_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.h84 struct dma_config *config);
DKconfig.dw_common16 LLI struct pool. If during dma_config() a log notes there are not enough LLI structs
Ddma_stm32_v1.c357 uint32_t stm32_dma_get_mburst(struct dma_config *config, bool source_periph) in stm32_dma_get_mburst()
383 uint32_t stm32_dma_get_pburst(struct dma_config *config, bool source_periph) in stm32_dma_get_pburst()
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/tests/drivers/dma/chan_blen_transfer/src/
Dtest_dma.c40 struct dma_config dma_cfg = { 0 }; in test_task()
76 if (dma_config(dma, chan_id, &dma_cfg)) { in test_task()
/Zephyr-Core-3.7.0/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-Core-3.7.0/include/zephyr/drivers/
Ddma.h197 struct dma_config { struct
316 struct dma_config *config);
381 static inline int dma_config(const struct device *dev, uint32_t channel, in dma_config() function
382 struct dma_config *config) in dma_config()
/Zephyr-Core-3.7.0/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-Core-3.7.0/drivers/i2s/
Di2s_ll_stm32.h39 struct dma_config dma_cfg;
/Zephyr-Core-3.7.0/drivers/serial/
Duart_stm32.h71 struct dma_config dma_cfg;
/Zephyr-Core-3.7.0/drivers/spi/
Dspi_smartbond.c78 struct dma_config tx_dma_cfg;
79 struct dma_config rx_dma_cfg;
813 struct dma_config *tx = &data->tx_dma_cfg; in spi_smartbond_dma_config()
814 struct dma_config *rx = &data->rx_dma_cfg; in spi_smartbond_dma_config()
919 struct dma_config *tx = &data->tx_dma_cfg; in spi_smartbond_dma_trigger()
920 struct dma_config *rx = &data->rx_dma_cfg; in spi_smartbond_dma_trigger()
947 if (dma_config(config->tx_dma_ctrl, config->tx_dma_chan, tx) < 0) { in spi_smartbond_dma_trigger()
951 if (dma_config(config->rx_dma_ctrl, config->rx_dma_chan, rx) < 0) { in spi_smartbond_dma_trigger()
972 if (dma_config(config->tx_dma_ctrl, config->tx_dma_chan, tx) < 0) { in spi_smartbond_dma_trigger()
1009 if (dma_config(config->tx_dma_ctrl, config->tx_dma_chan, tx) < 0) { in spi_smartbond_dma_trigger()
[all …]
Dspi_gd32.c51 struct dma_config config;
253 struct dma_config *dma_cfg = &data->dma[dir].config; in spi_gd32_dma_setup()
258 memset(dma_cfg, 0, sizeof(struct dma_config)); in spi_gd32_dma_setup()
308 ret = dma_config(dma->dev, dma->channel, dma_cfg); in spi_gd32_dma_setup()
/Zephyr-Core-3.7.0/drivers/flash/
Dflash_stm32_xspi.h60 struct dma_config cfg;
/Zephyr-Core-3.7.0/doc/
Dknown-warnings.txt8 .*Duplicate C declaration.*\n.*'\.\. c:.*:: dma_config'.*
/Zephyr-Core-3.7.0/drivers/video/
Dvideo_stm32_dcmi.c32 struct dma_config cfg;
147 struct dma_config dma_cfg = config->dma.cfg; in stm32_dma_init()
155 ret = dma_config(config->dma.dma_dev, in stm32_dma_init()
/Zephyr-Core-3.7.0/drivers/sdhc/
Dimx_usdhc.c441 usdhc_adma_config_t dma_config = {0}; in imx_usdhc_transfer() local
444 dma_config.admaTable = dev_data->usdhc_dma_descriptor; in imx_usdhc_transfer()
445 dma_config.admaTableWords = dev_data->dma_descriptor_len; in imx_usdhc_transfer()
447 dma_config.burstLen = kUSDHC_EnBurstLenForINCR; in imx_usdhc_transfer()
449 dma_config.dmaMode = kUSDHC_DmaModeAdma2; in imx_usdhc_transfer()
458 &dma_config, request->transfer); in imx_usdhc_transfer()
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_esp32.c325 emac_hal_dma_config_t dma_config = { .dma_burst_len = 0 }; in eth_esp32_initialize() local
329 emac_hal_init_dma_default(&dev_data->hal, &dma_config); in eth_esp32_initialize()

1234