/drivers/i2c/muxes/ |
D | i2c-demux-pinctrl.c | 32 int num_chan; member 169 for (i = 0; i < priv->num_chan && count < PAGE_SIZE; i++) in available_masters_show() 172 i == priv->num_chan - 1 ? '\n' : ' '); in available_masters_show() 199 if (val >= priv->num_chan) in current_master_store() 213 int num_chan, i, j, err; in i2c_demux_pinctrl_probe() local 215 num_chan = of_count_phandle_with_args(np, "i2c-parent", NULL); in i2c_demux_pinctrl_probe() 216 if (num_chan < 2) { in i2c_demux_pinctrl_probe() 222 + num_chan * sizeof(struct i2c_demux_pinctrl_chan), GFP_KERNEL); in i2c_demux_pinctrl_probe() 224 props = devm_kcalloc(&pdev->dev, num_chan, sizeof(*props), GFP_KERNEL); in i2c_demux_pinctrl_probe() 233 for (i = 0; i < num_chan; i++) { in i2c_demux_pinctrl_probe() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_aic.c | 457 int i, num_chan; in ar9003_aic_cal_continue() local 459 num_chan = MS(mci_hw->config, ATH_MCI_CONFIG_AIC_CAL_NUM_CHAN); in ar9003_aic_cal_continue() 461 if (!num_chan) { in ar9003_aic_cal_continue() 505 if ((aic->aic_caled_chan >= num_chan) || cal_once) { in ar9003_aic_cal_continue() 585 int num_chan; in ar9003_aic_calibration_single() local 587 num_chan = MS(mci_hw->config, ATH_MCI_CONFIG_AIC_CAL_NUM_CHAN); in ar9003_aic_calibration_single() 589 (void) ar9003_aic_cal_start(ah, num_chan); in ar9003_aic_calibration_single()
|
/drivers/dma/ |
D | pl330.c | 281 unsigned int num_chan:4; member 1476 pl330->dmac_tbd.reset_chan = (1 << pl330->pcfg.num_chan) - 1; in pl330_dotask() 1481 for (i = 0; i < pl330->pcfg.num_chan; i++) { in pl330_dotask() 1533 val = readl(regs + FSC) & ((1 << pl330->pcfg.num_chan) - 1); in pl330_update() 1537 while (i < pl330->pcfg.num_chan) { in pl330_update() 1648 chans = pl330->pcfg.num_chan; in pl330_request_channel() 1718 pl330->pcfg.num_chan = val; in read_dmac_config() 1765 int chans = pl330->pcfg.num_chan; in dmac_alloc_threads() 1796 int chans = pl330->pcfg.num_chan; in dmac_alloc_resources() 1878 for (i = 0; i < pl330->pcfg.num_chan; i++) { in dmac_free_threads() [all …]
|
/drivers/tty/ |
D | rocket.c | 1886 int num_aiops, aiop, max_num_aiops, num_chan, chan; in register_PCI() local 2158 num_chan = ports_per_aiop; in register_PCI() 2159 for (chan = 0; chan < num_chan; chan++) in register_PCI() 2167 num_chan = ports_per_aiop; in register_PCI() 2168 for (chan = 0; chan < num_chan; chan++) in register_PCI() 2171 for (chan = 0; chan < num_chan; chan++) in register_PCI() 2207 int num_aiops, num_chan = 0, total_num_chan = 0; in init_ISA() local 2279 num_chan = sGetAiopNumChan(ctlp, aiop); in init_ISA() 2280 total_num_chan += num_chan; in init_ISA() 2281 for (chan = 0; chan < num_chan; chan++) in init_ISA() [all …]
|
/drivers/misc/mic/bus/ |
D | scif_bus.c | 144 void __iomem *rdp, struct dma_chan **chan, int num_chan, in scif_register_device() argument 171 sdev->num_dma_ch = num_chan; in scif_register_device()
|
D | scif_bus.h | 120 struct dma_chan **chan, int num_chan,
|
/drivers/mailbox/ |
D | mailbox-sti.c | 74 unsigned int num_chan; member 337 if (instance >= pdata->num_inst || channel >= pdata->num_chan) { in sti_mbox_xlate() 396 .num_chan = 32,
|
/drivers/soc/ti/ |
D | knav_dma.c | 618 int ret, len, num_chan = 0; in dma_init() local 702 num_chan++; in dma_init() 707 num_chan++; in dma_init() 723 dma->name, num_chan, dma->max_rx_flow, in dma_init()
|
/drivers/net/ethernet/ti/ |
D | davinci_cpdma.c | 168 #define num_chan params.num_chan macro 527 if (WARN_ON(ctlr->num_chan > CPDMA_MAX_CHANNELS)) in cpdma_ctlr_create() 528 ctlr->num_chan = CPDMA_MAX_CHANNELS; in cpdma_ctlr_create() 558 for (i = 0; i < ctlr->num_chan; i++) { in cpdma_ctlr_start() 895 if (__chan_linear(chan_num) >= ctlr->num_chan) in cpdma_chan_create()
|
D | davinci_cpdma.h | 32 int num_chan; member
|
D | davinci_emac.c | 1864 dma_params.num_chan = EMAC_MAX_TXRX_CHANNELS; in davinci_emac_probe()
|
D | cpsw.c | 3051 dma_params.num_chan = data->channels; in cpsw_probe()
|
/drivers/net/wireless/ath/ath6kl/ |
D | wmi.c | 1967 s8 num_chan, u16 *ch_list) in ath6kl_wmi_startscan_cmd() argument 1979 if (num_chan > WMI_MAX_CHANNELS) in ath6kl_wmi_startscan_cmd() 1982 if (num_chan) in ath6kl_wmi_startscan_cmd() 1983 size += sizeof(u16) * (num_chan - 1); in ath6kl_wmi_startscan_cmd() 1995 sc->num_ch = num_chan; in ath6kl_wmi_startscan_cmd() 1997 for (i = 0; i < num_chan; i++) in ath6kl_wmi_startscan_cmd() 2015 s8 num_chan, u16 *ch_list, u32 no_cck, u32 *rates) in ath6kl_wmi_beginscan_cmd() argument 2032 num_chan, ch_list); in ath6kl_wmi_beginscan_cmd() 2040 if (num_chan > WMI_MAX_CHANNELS) in ath6kl_wmi_beginscan_cmd() 2043 if (num_chan) in ath6kl_wmi_beginscan_cmd() [all …]
|
D | wmi.h | 2574 s8 num_chan, u16 *ch_list, u32 no_cck,
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sta_cmdresp.c | 1028 u16 num_chan = buf_len / 2; in mwifiex_create_custom_regdomain() local 1036 if (WARN_ON_ONCE(num_chan > NL80211_MAX_SUPP_REG_RULES)) in mwifiex_create_custom_regdomain() 1040 num_chan * sizeof(struct ieee80211_reg_rule); in mwifiex_create_custom_regdomain() 1046 for (idx = 0; idx < num_chan; idx++) { in mwifiex_create_custom_regdomain()
|
D | scan.c | 2511 u8 i, num_chan; in mwifiex_update_chan_statistics() local 2517 num_chan = le16_to_cpu(tlv_stat->header.len) / in mwifiex_update_chan_statistics() 2520 for (i = 0 ; i < num_chan; i++) { in mwifiex_update_chan_statistics()
|
/drivers/crypto/bcm/ |
D | cipher.h | 432 u32 num_chan; member
|
D | cipher.c | 121 return chan_idx % iproc_priv.spu.num_chan; in select_channel() 4501 iproc_priv.mbox = devm_kcalloc(dev, iproc_priv.spu.num_chan, in spu_mb_init() 4513 for (i = 0; i < iproc_priv.spu.num_chan; i++) { in spu_mb_init() 4527 for (i = 0; i < iproc_priv.spu.num_chan; i++) { in spu_mb_init() 4539 for (i = 0; i < iproc_priv.spu.num_chan; i++) in spu_mb_release() 4550 atomic_set(&iproc_priv.next_chan, (int)iproc_priv.spu.num_chan); in spu_counters_init() 4800 spu->num_chan = of_count_phandle_with_args(dn, "mboxes", "#mbox-cells"); in spu_dt_read()
|
/drivers/staging/comedi/drivers/ |
D | usbduxsigma.c | 468 static int usbduxsigma_chans_to_interval(int num_chan) in usbduxsigma_chans_to_interval() argument 470 if (num_chan <= 2) in usbduxsigma_chans_to_interval() 472 if (num_chan <= 8) in usbduxsigma_chans_to_interval()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 9093 int first_chan, num_chan; in niu_ldg_init() local 9175 num_chan = parent->rxchan_per_port[port]; in niu_ldg_init() 9177 for (i = first_chan; i < (first_chan + num_chan); i++) { in niu_ldg_init() 9191 num_chan = parent->txchan_per_port[port]; in niu_ldg_init() 9192 for (i = first_chan; i < (first_chan + num_chan); i++) { in niu_ldg_init()
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi.h | 2971 __le32 num_chan; member 4037 __le32 num_chan; member
|
D | wmi.c | 6064 channels->num_chan = __cpu_to_le32(arg->n_channels); in ath10k_wmi_put_start_scan_tlvs()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 6141 u32 num_chan; in brcmf_enable_bw40_2g() local 6186 num_chan = le32_to_cpu(list->count); in brcmf_enable_bw40_2g() 6187 for (i = 0; i < num_chan; i++) { in brcmf_enable_bw40_2g()
|