Home
last modified time | relevance | path

Searched refs:n_chans (Results 1 – 14 of 14) sorted by relevance

/drivers/mailbox/
Dstm32-ipcc.c56 u32 n_chans; member
97 for (chan = 0; chan < ipcc->n_chans; chan++) { in stm32_ipcc_rx_irq()
127 for (chan = 0; chan < ipcc->n_chans ; chan++) { in stm32_ipcc_tx_irq()
294 ipcc->n_chans = readl_relaxed(ipcc->reg_base + IPCC_HWCFGR); in stm32_ipcc_probe()
295 ipcc->n_chans &= IPCFGR_CHAN_MASK; in stm32_ipcc_probe()
300 ipcc->controller.num_chans = ipcc->n_chans; in stm32_ipcc_probe()
/drivers/staging/comedi/drivers/
Ddt2801.c379 int n_chans; in probe_number_of_ai_chans() local
383 for (n_chans = 0; n_chans < 16; n_chans++) { in probe_number_of_ai_chans()
386 dt2801_writedata(dev, n_chans); in probe_number_of_ai_chans()
396 return n_chans; in probe_number_of_ai_chans()
Dni_mio_common.c2556 unsigned int n_chans, int timed) in ni_m_series_ao_config_chanlist() argument
2573 for (i = 0; i < n_chans; i++) { in ni_m_series_ao_config_chanlist()
2629 unsigned int n_chans) in ni_old_ao_config_chanlist() argument
2638 for (i = 0; i < n_chans; i++) { in ni_old_ao_config_chanlist()
2669 unsigned int chanspec[], unsigned int n_chans, in ni_ao_config_chanlist() argument
2675 return ni_m_series_ao_config_chanlist(dev, s, chanspec, n_chans, in ni_ao_config_chanlist()
2678 return ni_old_ao_config_chanlist(dev, s, chanspec, n_chans); in ni_ao_config_chanlist()
4347 int n_chans; member
4379 if (addr < caldacs[type].n_chans) { in ni_write_caldac()
4384 addr -= caldacs[type].n_chans; in ni_write_caldac()
[all …]
/drivers/dma/
Dfsl-edma.c41 for (ch = 0; ch < fsl_edma->n_chans; ch++) { in fsl_edma_tx_handler()
84 for (ch = 0; ch < fsl_edma->n_chans; ch++) { in fsl_edma_err_handler()
110 unsigned long chans_per_mux = fsl_edma->n_chans / dmamux_nr; in fsl_edma_xlate()
297 fsl_edma->n_chans = chans; in fsl_edma_probe()
352 for (i = 0; i < fsl_edma->n_chans; i++) { in fsl_edma_probe()
441 for (i = 0; i < fsl_edma->n_chans; i++) { in fsl_edma_suspend_late()
465 for (i = 0; i < fsl_edma->n_chans; i++) { in fsl_edma_resume_early()
Dmcf-edma.c31 for (ch = 0; ch < mcf_edma->n_chans; ch++) { in mcf_edma_tx_handler()
206 mcf_edma->n_chans = chans; in mcf_edma_probe()
224 for (i = 0; i < mcf_edma->n_chans; i++) { in mcf_edma_probe()
Dfsl-edma-common.h163 u32 n_chans; member
Dfsl-qdma.c214 u32 n_chans; member
1176 fsl_qdma->n_chans = chans; in fsl_qdma_probe()
1213 for (i = 0; i < fsl_qdma->n_chans; i++) { in fsl_qdma_probe()
Dfsl-edma-common.c115 chans_per_mux = fsl_chan->edma->n_chans / dmamux_nr; in fsl_edma_chan_mux()
/drivers/dma/ti/
Dcppi41.c143 u32 n_chans; member
780 u32 n_chans = cdd->n_chans; in cppi41_add_chans() local
786 n_chans *= 2; in cppi41_add_chans()
788 chans = devm_kcalloc(dev, n_chans, sizeof(*chans), GFP_KERNEL); in cppi41_add_chans()
792 for (i = 0; i < n_chans; i++) { in cppi41_add_chans()
810 cdd->first_td_desc = n_chans; in cppi41_add_chans()
894 for (ch = 0; ch < cdd->n_chans; ch += 2) { in init_sched()
904 reg = cdd->n_chans * 2 - 1; in init_sched()
1109 "#dma-channels", &cdd->n_chans); in cppi41_dma_probe()
/drivers/dma/fsl-dpaa2-qdma/
Ddpaa2-qdma.c397 u32 n_chans = priv->dpaa2_qdma->n_chans; in dpaa2_qdma_fqdan_cb() local
429 for (i = 0; i < n_chans; i++) { in dpaa2_qdma_fqdan_cb()
611 num = dpaa2_qdma->n_chans; in dpaa2_dpdmai_free_channels()
644 for (i = 0; i < dpaa2_qdma->n_chans; i++) { in dpaa2_dpdmai_init_channels()
722 dpaa2_qdma->n_chans = NUM_CH; in dpaa2_qdma_probe()
Ddpaa2-qdma.h101 u32 n_chans; member
/drivers/dma/sf-pdma/
Dsf-pdma.h120 u32 n_chans; member
Dsf-pdma.c406 for (i = 0; i < pdma->n_chans; i++) { in sf_pdma_irq_init()
462 for (i = 0; i < pdma->n_chans; i++) { in sf_pdma_setup_chans()
519 pdma->n_chans = chans; in sf_pdma_probe()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c1896 int n_chans = 0, i; in iwl_mvm_query_num_match_chans() local
1904 n_chans += hweight8(matches[idx].matching_channels[i]); in iwl_mvm_query_num_match_chans()
1910 n_chans += hweight8(matches[idx].matching_channels[i]); in iwl_mvm_query_num_match_chans()
1913 return n_chans; in iwl_mvm_query_num_match_chans()