Searched refs:channel_table (Results 1 – 2 of 2) sorted by relevance
288 static struct dma_chan_tbl_ent __percpu *channel_table[DMA_TX_TYPE_END]; variable306 channel_table[cap] = alloc_percpu(struct dma_chan_tbl_ent); in dma_channel_table_init()307 if (!channel_table[cap]) { in dma_channel_table_init()316 if (channel_table[cap]) in dma_channel_table_init()317 free_percpu(channel_table[cap]); in dma_channel_table_init()330 return this_cpu_read(channel_table[tx_type]->chan); in dma_find_channel()419 per_cpu_ptr(channel_table[cap], cpu)->chan = NULL; in dma_channel_rebalance()441 per_cpu_ptr(channel_table[cap], cpu)->chan = chan; in dma_channel_rebalance()
566 } channel_table[] = { { REG_DOMAIN_FCC, 1, 11, "USA" }, variable1353 for (i = 0; i < ARRAY_SIZE(channel_table); i++) in atmel_open()1354 if (priv->reg_domain == channel_table[i].reg_domain) in atmel_open()1356 if (i == ARRAY_SIZE(channel_table)) { in atmel_open()1401 for (i = 0; i < ARRAY_SIZE(channel_table); i++) in atmel_validate_channel()1402 if (priv->reg_domain == channel_table[i].reg_domain) { in atmel_validate_channel()1403 if (channel >= channel_table[i].min && in atmel_validate_channel()1404 channel <= channel_table[i].max) in atmel_validate_channel()1407 return channel_table[i].min; in atmel_validate_channel()1452 for (i = 0; i < ARRAY_SIZE(channel_table); i++) in atmel_proc_output()[all …]