Home
last modified time | relevance | path

Searched refs:channel_table (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/dma/
Ddmaengine.c260 static struct dma_chan_tbl_ent __percpu *channel_table[DMA_TX_TYPE_END]; variable
278 channel_table[cap] = alloc_percpu(struct dma_chan_tbl_ent); in dma_channel_table_init()
279 if (!channel_table[cap]) { in dma_channel_table_init()
288 free_percpu(channel_table[cap]); in dma_channel_table_init()
371 per_cpu_ptr(channel_table[cap], cpu)->chan = NULL; in dma_channel_rebalance()
388 per_cpu_ptr(channel_table[cap], cpu)->chan = chan; in dma_channel_rebalance()
547 return this_cpu_read(channel_table[tx_type]->chan); in dma_find_channel()
/linux-6.1.9/drivers/net/wireless/atmel/
Datmel.c564 } channel_table[] = { { REG_DOMAIN_FCC, 1, 11, "USA" }, variable
1341 for (i = 0; i < ARRAY_SIZE(channel_table); i++) in atmel_open()
1342 if (priv->reg_domain == channel_table[i].reg_domain) in atmel_open()
1344 if (i == ARRAY_SIZE(channel_table)) { in atmel_open()
1389 for (i = 0; i < ARRAY_SIZE(channel_table); i++) in atmel_validate_channel()
1390 if (priv->reg_domain == channel_table[i].reg_domain) { in atmel_validate_channel()
1391 if (channel >= channel_table[i].min && in atmel_validate_channel()
1392 channel <= channel_table[i].max) in atmel_validate_channel()
1395 return channel_table[i].min; in atmel_validate_channel()
1439 for (i = 0; i < ARRAY_SIZE(channel_table); i++) in atmel_proc_show()
[all …]