Home
last modified time | relevance | path

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

/linux/drivers/mailbox/
A 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()
289 ipcc->n_chans = readl_relaxed(ipcc->reg_base + IPCC_HWCFGR); in stm32_ipcc_probe()
290 ipcc->n_chans &= IPCFGR_CHAN_MASK; in stm32_ipcc_probe()
295 ipcc->controller.num_chans = ipcc->n_chans; in stm32_ipcc_probe()
/linux/drivers/comedi/drivers/
A 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()
A Dni_mio_common.c2555 unsigned int n_chans, int timed) in ni_m_series_ao_config_chanlist() argument
2572 for (i = 0; i < n_chans; i++) { in ni_m_series_ao_config_chanlist()
2628 unsigned int n_chans) in ni_old_ao_config_chanlist() argument
2637 for (i = 0; i < n_chans; i++) { in ni_old_ao_config_chanlist()
4346 int n_chans; member
4378 if (addr < caldacs[type].n_chans) { in ni_write_caldac()
4383 addr -= caldacs[type].n_chans; in ni_write_caldac()
4436 int n_chans = 0; in caldac_setup() local
4452 n_chans += caldacs[type].n_chans; in caldac_setup()
4455 s->n_chan = n_chans; in caldac_setup()
[all …]
/linux/drivers/dma/
A Dfsl-edma.c42 for (ch = 0; ch < fsl_edma->n_chans; ch++) { in fsl_edma_tx_handler()
85 for (ch = 0; ch < fsl_edma->n_chans; ch++) { in fsl_edma_err_handler()
111 unsigned long chans_per_mux = fsl_edma->n_chans / dmamux_nr; in fsl_edma_xlate()
298 fsl_edma->n_chans = chans; in fsl_edma_probe()
353 for (i = 0; i < fsl_edma->n_chans; i++) { in fsl_edma_probe()
448 for (i = 0; i < fsl_edma->n_chans; i++) { in fsl_edma_suspend_late()
472 for (i = 0; i < fsl_edma->n_chans; i++) { in fsl_edma_resume_early()
A Dmcf-edma.c31 for (ch = 0; ch < mcf_edma->n_chans; ch++) { in mcf_edma_tx_handler()
200 mcf_edma->n_chans = chans; in mcf_edma_probe()
206 if (!mcf_edma->n_chans) { in mcf_edma_probe()
208 mcf_edma->n_chans = 64; in mcf_edma_probe()
223 for (i = 0; i < mcf_edma->n_chans; i++) { in mcf_edma_probe()
A Dfsl-edma-common.h164 u32 n_chans; member
A Dfsl-qdma.c213 u32 n_chans; member
1174 fsl_qdma->n_chans = chans; in fsl_qdma_probe()
1215 for (i = 0; i < fsl_qdma->n_chans; i++) { in fsl_qdma_probe()
A Dfsl-edma-common.c115 chans_per_mux = fsl_chan->edma->n_chans / dmamux_nr; in fsl_edma_chan_mux()
/linux/drivers/dma/ti/
A 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()
/linux/drivers/dma/fsl-dpaa2-qdma/
A Ddpaa2-qdma.c394 u32 n_chans = priv->dpaa2_qdma->n_chans; in dpaa2_qdma_fqdan_cb() local
426 for (i = 0; i < n_chans; i++) { in dpaa2_qdma_fqdan_cb()
608 num = dpaa2_qdma->n_chans; in dpaa2_dpdmai_free_channels()
640 for (i = 0; i < dpaa2_qdma->n_chans; i++) { in dpaa2_dpdmai_init_channels()
718 dpaa2_qdma->n_chans = NUM_CH; in dpaa2_qdma_probe()
A Ddpaa2-qdma.h101 u32 n_chans; member
/linux/net/mac80211/
A Dscan.c346 int i, ielen, n_chans; in ieee80211_prep_hw_scan() local
361 n_chans = req->n_channels; in ieee80211_prep_hw_scan()
367 n_chans = 0; in ieee80211_prep_hw_scan()
373 local->hw_scan_req->req.channels[n_chans] = in ieee80211_prep_hw_scan()
375 n_chans++; in ieee80211_prep_hw_scan()
380 } while (!n_chans); in ieee80211_prep_hw_scan()
383 local->hw_scan_req->req.n_channels = n_chans; in ieee80211_prep_hw_scan()
/linux/drivers/dma/sf-pdma/
A Dsf-pdma.h120 u32 n_chans; member
A Dsf-pdma.c388 for (i = 0; i < pdma->n_chans; i++) { in sf_pdma_irq_init()
444 for (i = 0; i < pdma->n_chans; i++) { in sf_pdma_setup_chans()
501 pdma->n_chans = chans; in sf_pdma_probe()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dd3.c2180 int n_chans = 0, i; in iwl_mvm_query_num_match_chans() local
2188 n_chans += hweight8(matches[idx].matching_channels[i]); in iwl_mvm_query_num_match_chans()
2194 n_chans += hweight8(matches[idx].matching_channels[i]); in iwl_mvm_query_num_match_chans()
2197 return n_chans; in iwl_mvm_query_num_match_chans()

Completed in 47 milliseconds