Searched refs:alloc_rx_channel (Results 1 – 1 of 1) sorted by relevance
70 gdma_rx_channel_t *alloc_rx_channel = NULL; in gdma_new_channel() local85 alloc_rx_channel = heap_caps_calloc(1, sizeof(gdma_rx_channel_t), GDMA_MEM_ALLOC_CAPS); in gdma_new_channel()86 ESP_GOTO_ON_FALSE(alloc_rx_channel, ESP_ERR_NO_MEM, err, TAG, "no mem for gdma rx channel"); in gdma_new_channel()136 if (alloc_rx_channel) { in gdma_new_channel()137 pair->rx_chan = alloc_rx_channel; in gdma_new_channel()138 alloc_rx_channel->base.pair = pair; in gdma_new_channel()139 alloc_rx_channel->base.direction = GDMA_CHANNEL_DIRECTION_RX; in gdma_new_channel()140 alloc_rx_channel->base.periph_id = GDMA_INVALID_PERIPH_TRIG; in gdma_new_channel()141 alloc_rx_channel->base.del = gdma_del_rx_channel; // set channel deletion function in gdma_new_channel()142 *ret_chan = &alloc_rx_channel->base; // return the installed channel in gdma_new_channel()[all …]