Searched refs:n_chans (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/drivers/mailbox/ |
D | stm32-ipcc.c | 57 u32 n_chans; member 98 for (chan = 0; chan < ipcc->n_chans; chan++) { in stm32_ipcc_rx_irq() 128 for (chan = 0; chan < ipcc->n_chans ; chan++) { in stm32_ipcc_tx_irq() 302 ipcc->n_chans = readl_relaxed(ipcc->reg_base + IPCC_HWCFGR); in stm32_ipcc_probe() 303 ipcc->n_chans &= IPCFGR_CHAN_MASK; in stm32_ipcc_probe() 308 ipcc->controller.num_chans = ipcc->n_chans; in stm32_ipcc_probe()
|
/Linux-v5.4/drivers/dma/ |
D | mcf-edma.c | 31 for (ch = 0; ch < mcf_edma->n_chans; ch++) { in mcf_edma_tx_handler() 193 mcf_edma->n_chans = chans; in mcf_edma_probe() 199 if (!mcf_edma->n_chans) { in mcf_edma_probe() 201 mcf_edma->n_chans = 64; in mcf_edma_probe() 216 for (i = 0; i < mcf_edma->n_chans; i++) { in mcf_edma_probe()
|
D | fsl-edma.c | 41 for (ch = 0; ch < fsl_edma->n_chans; ch++) { in fsl_edma_tx_handler() 77 for (ch = 0; ch < fsl_edma->n_chans; ch++) { in fsl_edma_err_handler() 103 unsigned long chans_per_mux = fsl_edma->n_chans / dmamux_nr; in fsl_edma_xlate() 282 fsl_edma->n_chans = chans; in fsl_edma_probe() 337 for (i = 0; i < fsl_edma->n_chans; i++) { in fsl_edma_probe() 426 for (i = 0; i < fsl_edma->n_chans; i++) { in fsl_edma_suspend_late() 450 for (i = 0; i < fsl_edma->n_chans; i++) { in fsl_edma_resume_early()
|
D | fsl-edma-common.h | 162 u32 n_chans; member
|
D | fsl-qdma.c | 202 u32 n_chans; member 1123 fsl_qdma->n_chans = chans; in fsl_qdma_probe() 1161 for (i = 0; i < fsl_qdma->n_chans; i++) { in fsl_qdma_probe()
|
D | fsl-edma-common.c | 114 chans_per_mux = fsl_chan->edma->n_chans / dmamux_nr; in fsl_edma_chan_mux()
|
/Linux-v5.4/drivers/staging/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 | 2552 unsigned int n_chans, int timed) in ni_m_series_ao_config_chanlist() argument 2569 for (i = 0; i < n_chans; i++) { in ni_m_series_ao_config_chanlist() 2625 unsigned int n_chans) in ni_old_ao_config_chanlist() argument 2634 for (i = 0; i < n_chans; i++) { in ni_old_ao_config_chanlist() 2665 unsigned int chanspec[], unsigned int n_chans, in ni_ao_config_chanlist() argument 2671 return ni_m_series_ao_config_chanlist(dev, s, chanspec, n_chans, in ni_ao_config_chanlist() 2674 return ni_old_ao_config_chanlist(dev, s, chanspec, n_chans); in ni_ao_config_chanlist() 4341 int n_chans; member 4373 if (addr < caldacs[type].n_chans) { in ni_write_caldac() 4378 addr -= caldacs[type].n_chans; in ni_write_caldac() [all …]
|
/Linux-v5.4/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() 1109 "#dma-channels", &cdd->n_chans); in cppi41_dma_probe()
|
/Linux-v5.4/net/mac80211/ |
D | scan.c | 315 int i, ielen, n_chans; in ieee80211_prep_hw_scan() local 330 n_chans = req->n_channels; in ieee80211_prep_hw_scan() 336 n_chans = 0; in ieee80211_prep_hw_scan() 342 local->hw_scan_req->req.channels[n_chans] = in ieee80211_prep_hw_scan() 344 n_chans++; in ieee80211_prep_hw_scan() 349 } while (!n_chans); in ieee80211_prep_hw_scan() 352 local->hw_scan_req->req.n_channels = n_chans; in ieee80211_prep_hw_scan()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 1751 int n_chans = 0, i; in iwl_mvm_query_num_match_chans() local 1759 n_chans += hweight8(matches[idx].matching_channels[i]); in iwl_mvm_query_num_match_chans() 1765 n_chans += hweight8(matches[idx].matching_channels[i]); in iwl_mvm_query_num_match_chans() 1768 return n_chans; in iwl_mvm_query_num_match_chans()
|