Home
last modified time | relevance | path

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

/hal_intel-3.6.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.6.0/bsp_sedi/drivers/i2c/
Dsedi_i2c_dw_apb_200a.c574 driver_capabilities[i2c_device].dma = in sedi_i2c_get_capabilities()
652 static void callback_tx_dma_transfer(const sedi_dma_t dma, const int chan, const int event, in callback_tx_dma_transfer() argument
659 PARAM_UNUSED(dma); in callback_tx_dma_transfer()
689 static void callback_rx_dma_transfer(const sedi_dma_t dma, const int chan, const int event, in callback_rx_dma_transfer() argument
696 PARAM_UNUSED(dma); in callback_rx_dma_transfer()
712 static void callback_rx_cmd_dma_transfer(const sedi_dma_t dma, const int chan, const int event, in callback_rx_cmd_dma_transfer() argument
719 PARAM_UNUSED(dma); in callback_rx_cmd_dma_transfer()
742 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
753 ret = sedi_dma_init(dma, chan, callback_tx_dma_transfer, (void *)i2c_dev); in config_and_enable_dma_channel()
758 ret = sedi_dma_init(dma, chan, callback_rx_dma_transfer, (void *)i2c_dev); in config_and_enable_dma_channel()
[all …]
/hal_intel-3.6.0/bsp_sedi/drivers/spi/
Dsedi_spi_dw_apb.c731 static void callback_dma_transfer(const sedi_dma_t dma, const int chan,
734 static int config_and_enable_dma_channel(sedi_spi_t spi_dev, int dma, in config_and_enable_dma_channel() argument
769 ret = sedi_dma_init(dma, chan, callback_dma_transfer, (void *)spi_dev); in config_and_enable_dma_channel()
772 ret = sedi_dma_set_power(dma, chan, SEDI_POWER_FULL); in config_and_enable_dma_channel()
775 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_BURST_LENGTH, in config_and_enable_dma_channel()
779 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_SR_TRANS_WIDTH, wid); in config_and_enable_dma_channel()
782 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_DT_TRANS_WIDTH, wid); in config_and_enable_dma_channel()
785 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_HS_DEVICE_ID, in config_and_enable_dma_channel()
789 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_HS_POLARITY, in config_and_enable_dma_channel()
793 ret = sedi_dma_control(dma, chan, SEDI_CONFIG_DMA_DIRECTION, dma_dir); in config_and_enable_dma_channel()
[all …]
/hal_intel-3.6.0/zephyr/iut_test/test_zephyr/
DCMakeLists.txt7 target_sources(app PRIVATE dma/test_dma_m2m.c)
/hal_intel-3.6.0/zephyr/
DCMakeLists.txt22 zephyr_library_sources(${BSP_SEDI_SRC}/drivers/dma/sedi_dma_ann_1p0.c)
/hal_intel-3.6.0/bsp_sedi/include/driver/
Dsedi_driver_i2c.h255 uint32_t dma : 1; /**< supports DMA */ member
/hal_intel-3.6.0/bsp_sedi/drivers/usart/
Dsedi_dw_uart.c1829 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
1836 ret = sedi_dma_init(dma, channel, cb, param); in sedi_uart_dma_config()
1839 ret = sedi_dma_set_power(dma, channel, SEDI_POWER_FULL); in sedi_uart_dma_config()
1843 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_BURST_LENGTH, in sedi_uart_dma_config()
1846 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_BURST_LENGTH, in sedi_uart_dma_config()
1854 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_SR_TRANS_WIDTH, DMA_TRANS_WIDTH_8); in sedi_uart_dma_config()
1857 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_DT_TRANS_WIDTH, DMA_TRANS_WIDTH_8); in sedi_uart_dma_config()
1860 ret = sedi_dma_control(dma, channel, SEDI_CONFIG_DMA_HS_POLARITY, DMA_HS_POLARITY_HIGH); in sedi_uart_dma_config()