Lines Matching refs:channel_table
286 * channel_table - percpu lookup table for memory-to-memory offload providers
288 static struct dma_chan_tbl_ent __percpu *channel_table[DMA_TX_TYPE_END];
299 * an entry in the channel_table
306 channel_table[cap] = alloc_percpu(struct dma_chan_tbl_ent);
307 if (!channel_table[cap]) {
316 if (channel_table[cap])
317 free_percpu(channel_table[cap]);
330 return this_cpu_read(channel_table[tx_type]->chan);
419 per_cpu_ptr(channel_table[cap], cpu)->chan = NULL;
428 /* don't populate the channel_table if no clients are available */
441 per_cpu_ptr(channel_table[cap], cpu)->chan = chan;