Lines Matching refs:tx_dma
589 obj->tx_dma.resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_init()
955 obj->tx_dma.resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_init_cfg()
1073 if(CYHAL_RSC_INVALID != obj->tx_dma.resource.type) in _cyhal_audioss_free()
1075 cyhal_dma_free(&obj->tx_dma); in _cyhal_audioss_free()
1925 …if(_cyhal_audioss_is_direction_enabled(obj, true) && CYHAL_RSC_INVALID == obj->tx_dma.resource.typ… in _cyhal_audioss_set_async_mode()
1928 … result = cyhal_dma_init(&obj->tx_dma, CYHAL_DMA_PRIORITY_DEFAULT, CYHAL_DMA_DIRECTION_MEM2PERIPH); in _cyhal_audioss_set_async_mode()
1929 cyhal_dma_register_callback(&obj->tx_dma, &_cyhal_audioss_dma_handler_tx, obj); in _cyhal_audioss_set_async_mode()
1946 if(CYHAL_RSC_INVALID != obj->tx_dma.resource.type) in _cyhal_audioss_set_async_mode()
1949 cyhal_dma_free(&obj->tx_dma); in _cyhal_audioss_set_async_mode()
1951 obj->tx_dma.resource.type = CYHAL_RSC_INVALID; in _cyhal_audioss_set_async_mode()
2375 if(cyhal_dma_is_busy(&(obj->tx_dma)))
2386 …cyhal_dma_enable_event(&(obj->tx_dma), CYHAL_DMA_TRANSFER_COMPLETE, obj->async_dma_priority, true);
2404 cy_rslt_t result = cyhal_dma_configure(&(obj->tx_dma), &dma_cfg);
2412 result = cyhal_dma_enable(&(obj->tx_dma));
2430 result = cyhal_dma_start_transfer(&(obj->tx_dma));
2497 … cyhal_dma_enable_event(&obj->tx_dma, CYHAL_DMA_TRANSFER_COMPLETE, obj->async_dma_priority, false);