Home
last modified time | relevance | path

Searched refs:dma (Results 1 – 7 of 7) sorted by relevance

/hal_intel-3.7.0/zephyr/iut_test/test_zephyr/dma/
Dtest_dma_m2m.c48 const struct device *const dma = DEVICE_DT_GET(DT_DRV_INST(0)); in test_dma_m2m() local
51 TEST_ASSERT_TRUE(dma != NULL); in test_dma_m2m()
90 TEST_ASSERT_TRUE(!dma_config(dma, chan_id, &dma_cfg)); in test_dma_m2m()
91 TEST_ASSERT_TRUE(!dma_start(dma, chan_id)); in test_dma_m2m()
96 TEST_ASSERT_TRUE(!dma_stop(dma, chan_id)); in test_dma_m2m()
105 DEFINE_IUT_CASE(dma_m2m, dma, IUT_ATTRI_NONE);
/hal_intel-3.7.0/bsp_sedi/drivers/i2c/
Dsedi_i2c_dw_apb_200a.c580 driver_capabilities[i2c_device].dma = in sedi_i2c_get_capabilities()
664 static void callback_dma_transfer(const sedi_dma_t dma, const int chan, in callback_dma_transfer() argument
671 sedi_dma_set_power(dma, chan, SEDI_POWER_LOW); in callback_dma_transfer()
705 static int config_and_enable_dma_channel(sedi_i2c_t i2c_dev, int dma, int handshake, int chan, in config_and_enable_dma_channel() argument
716 ret = sedi_dma_init(dma, chan, callback_dma_transfer, (void *)i2c_dev); in config_and_enable_dma_channel()
719 ret = sedi_dma_set_power(dma, chan, SEDI_POWER_FULL); in config_and_enable_dma_channel()
722 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_BURST_LENGTH, DMA_BURST_TRANS_LENGTH_1); in config_and_enable_dma_channel()
725 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_SR_TRANS_WIDTH, DMA_TRANS_WIDTH_8); in config_and_enable_dma_channel()
728 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_DT_TRANS_WIDTH, DMA_TRANS_WIDTH_8); in config_and_enable_dma_channel()
731 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_HS_DEVICE_ID, handshake); in config_and_enable_dma_channel()
[all …]
/hal_intel-3.7.0/bsp_sedi/drivers/spi/
Dsedi_spi_dw_apb.c730 static void callback_dma_transfer(const sedi_dma_t dma, const int chan,
733 static int config_and_enable_dma_channel(sedi_spi_t spi_dev, int dma, in config_and_enable_dma_channel() argument
768 ret = sedi_dma_init(dma, chan, callback_dma_transfer, (void *)spi_dev); in config_and_enable_dma_channel()
771 ret = sedi_dma_set_power(dma, chan, SEDI_POWER_FULL); in config_and_enable_dma_channel()
774 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_BURST_LENGTH, in config_and_enable_dma_channel()
778 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_SR_TRANS_WIDTH, wid); in config_and_enable_dma_channel()
781 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_DT_TRANS_WIDTH, wid); in config_and_enable_dma_channel()
784 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_HS_DEVICE_ID, in config_and_enable_dma_channel()
788 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_HS_POLARITY, in config_and_enable_dma_channel()
792 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_DIRECTION, dma_dir); in config_and_enable_dma_channel()
[all …]
/hal_intel-3.7.0/zephyr/iut_test/test_zephyr/
DCMakeLists.txt7 target_sources(app PRIVATE dma/test_dma_m2m.c)
/hal_intel-3.7.0/zephyr/
DCMakeLists.txt22 zephyr_library_sources(${BSP_SEDI_SRC}/drivers/dma/sedi_dma_ann_1p0.c)
/hal_intel-3.7.0/bsp_sedi/include/driver/
Dsedi_driver_i2c.h255 uint32_t dma : 1; /**< supports DMA */ member
/hal_intel-3.7.0/bsp_sedi/drivers/usart/
Dsedi_dw_uart.c1828 static int sedi_uart_dma_config(IN sedi_dma_t dma, int32_t channel, IN sedi_dma_event_cb_t cb, in sedi_uart_dma_config() argument
1835 ret = sedi_dma_init(dma, channel, cb, param); in sedi_uart_dma_config()
1838 ret = sedi_dma_set_power(dma, channel, SEDI_POWER_FULL); in sedi_uart_dma_config()
1842 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_BURST_LENGTH, in sedi_uart_dma_config()
1845 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_BURST_LENGTH, in sedi_uart_dma_config()
1853 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_SR_TRANS_WIDTH, DMA_TRANS_WIDTH_8); in sedi_uart_dma_config()
1856 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_DT_TRANS_WIDTH, DMA_TRANS_WIDTH_8); in sedi_uart_dma_config()
1859 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_HS_POLARITY, DMA_HS_POLARITY_HIGH); in sedi_uart_dma_config()