/linux-6.1.9/drivers/dma/sf-pdma/ |
D | sf-pdma.c | 404 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()
|
D | sf-pdma.h | 116 u32 n_chans; member
|
/linux-6.1.9/drivers/mailbox/ |
D | stm32-ipcc.c | 56 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/ |
D | dt2801.c | 379 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()
|
D | ni_mio_common.c | 2555 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/ |
D | fsl-edma.c | 42 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()
|
D | mcf-edma.c | 31 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()
|
D | fsl-edma-common.h | 164 u32 n_chans; member
|
D | fsl-qdma.c | 213 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()
|
D | fsl-edma-common.c | 115 chans_per_mux = fsl_chan->edma->n_chans / dmamux_nr; in fsl_edma_chan_mux()
|
/linux-6.1.9/drivers/dma/ti/ |
D | cppi41.c | 143 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/ |
D | dpaa2-qdma.c | 394 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()
|
D | dpaa2-qdma.h | 101 u32 n_chans; member
|
/linux-6.1.9/net/mac80211/ |
D | scan.c | 360 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/ |
D | d3.c | 2326 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()
|