Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/dma/sf-pdma/
Dsf-pdma.c404 for (i = 0; i < pdma->n_chans; i++) { in sf_pdma_irq_init()
456 for (i = 0; i < pdma->n_chans; i++) { in sf_pdma_setup_chans()
498 int ret, n_chans; in sf_pdma_probe() local
505 ret = of_property_read_u32(pdev->dev.of_node, "dma-channels", &n_chans); in sf_pdma_probe()
509 n_chans = PDMA_MAX_NR_CH; in sf_pdma_probe()
510 } else if (n_chans > PDMA_MAX_NR_CH) { in sf_pdma_probe()
515 pdma = devm_kzalloc(&pdev->dev, struct_size(pdma, chans, n_chans), in sf_pdma_probe()
520 pdma->n_chans = n_chans; in sf_pdma_probe()
578 for (i = 0; i < pdma->n_chans; i++) { in sf_pdma_remove()
Dsf-pdma.h116 u32 n_chans; member
/linux-6.1.9/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()
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-6.1.9/drivers/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.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()
2668 unsigned int chanspec[], unsigned int n_chans, in ni_ao_config_chanlist() argument
2674 return ni_m_series_ao_config_chanlist(dev, s, chanspec, n_chans, in ni_ao_config_chanlist()
2677 return ni_old_ao_config_chanlist(dev, s, chanspec, n_chans); in ni_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()
[all …]
/linux-6.1.9/drivers/dma/
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()
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()
Dfsl-edma-common.h164 u32 n_chans; member
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()
Dfsl-edma-common.c115 chans_per_mux = fsl_chan->edma->n_chans / dmamux_nr; in fsl_edma_chan_mux()
/linux-6.1.9/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()
1110 "dma-channels", &cdd->n_chans); in cppi41_dma_probe()
1113 "#dma-channels", &cdd->n_chans); in cppi41_dma_probe()
/linux-6.1.9/drivers/dma/fsl-dpaa2-qdma/
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()
Ddpaa2-qdma.h101 u32 n_chans; member
/linux-6.1.9/net/mac80211/
Dscan.c360 int i, ielen, n_chans; in ieee80211_prep_hw_scan() local
375 n_chans = req->n_channels; in ieee80211_prep_hw_scan()
381 n_chans = 0; in ieee80211_prep_hw_scan()
387 local->hw_scan_req->req.channels[n_chans] = in ieee80211_prep_hw_scan()
389 n_chans++; in ieee80211_prep_hw_scan()
394 } while (!n_chans); in ieee80211_prep_hw_scan()
397 local->hw_scan_req->req.n_channels = n_chans; in ieee80211_prep_hw_scan()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c2326 int n_chans = 0, i; in iwl_mvm_query_num_match_chans() local
2334 n_chans += hweight8(matches[idx].matching_channels[i]); in iwl_mvm_query_num_match_chans()
2340 n_chans += hweight8(matches[idx].matching_channels[i]); in iwl_mvm_query_num_match_chans()
2343 return n_chans; in iwl_mvm_query_num_match_chans()