apldma_alloc_channel
struct apldma_channel *apldma_alloc_channel(unsigned int);
ad->ad_ac = apldma_alloc_channel(idx);