Home
last modified time | relevance | path

Searched refs:maxburst (Results 1 – 64 of 64) sorted by relevance

/linux-4.4.14/sound/soc/pxa/
Dpxa2xx-ac97.c61 .maxburst = 32,
73 .maxburst = 32,
84 .maxburst = 16,
95 .maxburst = 16,
106 .maxburst = 16,
Dpxa2xx-i2s.c89 .maxburst = 32,
97 .maxburst = 32,
Dpxa-ssp.c87 dma->maxburst = 16; in pxa_ssp_set_dma_params()
/linux-4.4.14/drivers/mmc/host/
Datmel-mci-regs.h163 static inline unsigned int atmci_convert_chksize(unsigned int maxburst) in atmci_convert_chksize() argument
165 if (maxburst > 1) in atmci_convert_chksize()
166 return fls(maxburst) - 2; in atmci_convert_chksize()
Datmel-mci.c1000 u32 maxburst; in atmci_prepare_data_dma() local
1037 maxburst = atmci_convert_chksize(host->dma_conf.src_maxburst); in atmci_prepare_data_dma()
1041 maxburst = atmci_convert_chksize(host->dma_conf.dst_maxburst); in atmci_prepare_data_dma()
1045 atmci_writel(host, ATMCI_DMA, ATMCI_DMA_CHKSIZE(maxburst) | in atmci_prepare_data_dma()
/linux-4.4.14/drivers/dma/
Dat_hdmac_regs.h291 static inline void convert_burst(u32 *maxburst) in convert_burst() argument
293 if (*maxburst > 1) in convert_burst()
294 *maxburst = fls(*maxburst) - 2; in convert_burst()
296 *maxburst = 0; in convert_burst()
Dzx296702_dma.c467 u32 maxburst = 0; in zx_pre_config() local
484 maxburst = cfg->dst_maxburst; in zx_pre_config()
485 maxburst = maxburst < ZX_MAX_BURST_LEN ? in zx_pre_config()
486 maxburst : ZX_MAX_BURST_LEN; in zx_pre_config()
488 | ZX_SRC_BURST_LEN(maxburst - 1) in zx_pre_config()
495 maxburst = cfg->src_maxburst; in zx_pre_config()
496 maxburst = maxburst < ZX_MAX_BURST_LEN ? in zx_pre_config()
497 maxburst : ZX_MAX_BURST_LEN; in zx_pre_config()
499 | ZX_SRC_BURST_LEN(maxburst - 1) in zx_pre_config()
Ddma-jz4740.c194 static enum jz4740_dma_transfer_size jz4740_dma_maxburst(u32 maxburst) in jz4740_dma_maxburst() argument
196 if (maxburst <= 1) in jz4740_dma_maxburst()
198 else if (maxburst <= 3) in jz4740_dma_maxburst()
200 else if (maxburst <= 15) in jz4740_dma_maxburst()
202 else if (maxburst <= 31) in jz4740_dma_maxburst()
Didma64.c403 static void convert_burst(u32 *maxburst) in convert_burst() argument
405 if (*maxburst) in convert_burst()
406 *maxburst = __fls(*maxburst); in convert_burst()
408 *maxburst = 0; in convert_burst()
Dk3dma.c524 u32 maxburst = 0, val = 0; in k3_dma_config() local
533 maxburst = cfg->src_maxburst; in k3_dma_config()
538 maxburst = cfg->dst_maxburst; in k3_dma_config()
554 if ((maxburst == 0) || (maxburst > 16)) in k3_dma_config()
557 val = maxburst - 1; in k3_dma_config()
Dsa11x0-dma.c674 u32 maxburst; in sa11x0_dma_device_config() local
679 maxburst = cfg->src_maxburst; in sa11x0_dma_device_config()
683 maxburst = cfg->dst_maxburst; in sa11x0_dma_device_config()
688 (maxburst != 4 && maxburst != 8)) in sa11x0_dma_device_config()
693 if (maxburst == 8) in sa11x0_dma_device_config()
697 &c->vc, addr, width, maxburst); in sa11x0_dma_device_config()
Dmmp_pdma.c692 u32 maxburst = 0, addr = 0; in mmp_pdma_config() local
700 maxburst = cfg->src_maxburst; in mmp_pdma_config()
705 maxburst = cfg->dst_maxburst; in mmp_pdma_config()
717 if (maxburst == 8) in mmp_pdma_config()
719 else if (maxburst == 16) in mmp_pdma_config()
721 else if (maxburst == 32) in mmp_pdma_config()
Ddma-jz4780.c259 uint32_t width, maxburst, tsz; in jz4780_dma_setup_hwdesc() local
268 maxburst = config->dst_maxburst; in jz4780_dma_setup_hwdesc()
276 maxburst = config->src_maxburst; in jz4780_dma_setup_hwdesc()
286 tsz = jz4780_dma_transfer_size(addr | len | (width * maxburst), in jz4780_dma_setup_hwdesc()
Damba-pl08x.c1350 static u32 pl08x_burst(u32 maxburst) in pl08x_burst() argument
1355 if (burst_sizes[i].burstwords <= maxburst) in pl08x_burst()
1362 enum dma_slave_buswidth addr_width, u32 maxburst) in pl08x_get_cctl() argument
1379 maxburst = 1; in pl08x_get_cctl()
1381 burst = pl08x_burst(maxburst); in pl08x_get_cctl()
1484 u32 maxburst, cctl; in pl08x_init_txd() local
1501 maxburst = plchan->cfg.dst_maxburst; in pl08x_init_txd()
1508 maxburst = plchan->cfg.src_maxburst; in pl08x_init_txd()
1518 cctl |= pl08x_get_cctl(plchan, addr_width, maxburst); in pl08x_init_txd()
Dpxa_dma.c918 u32 maxburst = 0, dev_addr = 0; in pxad_get_config() local
924 maxburst = chan->cfg.src_maxburst; in pxad_get_config()
933 maxburst = chan->cfg.dst_maxburst; in pxad_get_config()
947 __func__, dev_addr, maxburst, width, dir); in pxad_get_config()
956 if (maxburst == 8) in pxad_get_config()
958 else if (maxburst == 16) in pxad_get_config()
960 else if (maxburst == 32) in pxad_get_config()
Dqcom_bam_dma.c866 u32 maxburst; in bam_apply_new_config() local
869 maxburst = bchan->slave.src_maxburst; in bam_apply_new_config()
871 maxburst = bchan->slave.dst_maxburst; in bam_apply_new_config()
873 writel_relaxed(maxburst, bam_addr(bdev, 0, BAM_DESC_CNT_TRSHLD)); in bam_apply_new_config()
Dcoh901318.c2523 u32 maxburst; in coh901318_dma_set_runtimeconfig() local
2531 maxburst = config->src_maxburst; in coh901318_dma_set_runtimeconfig()
2535 maxburst = config->dst_maxburst; in coh901318_dma_set_runtimeconfig()
2550 if (burst_sizes[i].burst_8bit <= maxburst) in coh901318_dma_set_runtimeconfig()
2562 if (burst_sizes[i].burst_16bit <= maxburst) in coh901318_dma_set_runtimeconfig()
2575 if (burst_sizes[i].burst_32bit <= maxburst) in coh901318_dma_set_runtimeconfig()
2590 burst_sizes[i].burst_8bit, addr_width, maxburst); in coh901318_dma_set_runtimeconfig()
Dsun4i-dma.c196 static int convert_burst(u32 maxburst) in convert_burst() argument
198 if (maxburst > 8) in convert_burst()
202 return (maxburst >> 2); in convert_burst()
Dste_dma40.c2655 u32 maxburst) in dma40_config_to_halfchannel() argument
2660 if (maxburst >= 16) in dma40_config_to_halfchannel()
2662 else if (maxburst >= 8) in dma40_config_to_halfchannel()
2664 else if (maxburst >= 4) in dma40_config_to_halfchannel()
2669 if (maxburst >= 16) in dma40_config_to_halfchannel()
2671 else if (maxburst >= 8) in dma40_config_to_halfchannel()
2673 else if (maxburst >= 4) in dma40_config_to_halfchannel()
Dsun6i-dma.c236 static inline s8 convert_burst(u32 maxburst) in convert_burst() argument
238 switch (maxburst) { in convert_burst()
Dat_xdmac.c300 static inline int at_xdmac_csize(u32 maxburst) in at_xdmac_csize() argument
304 csize = ffs(maxburst) - 1; in at_xdmac_csize()
/linux-4.4.14/drivers/usb/gadget/udc/
Dmv_u3d_core.c532 unsigned maxburst = 0; in mv_u3d_ep_enable() local
547 if (!_ep->maxburst) in mv_u3d_ep_enable()
548 _ep->maxburst = 1; in mv_u3d_ep_enable()
549 maxburst = _ep->maxburst; in mv_u3d_ep_enable()
557 if (maxburst > 16) { in mv_u3d_ep_enable()
561 maxburst = 1; in mv_u3d_ep_enable()
562 _ep->maxburst = maxburst; in mv_u3d_ep_enable()
565 "maxburst: %d on bulk %s\n", maxburst, ep->name); in mv_u3d_ep_enable()
569 maxburst = 1; in mv_u3d_ep_enable()
570 _ep->maxburst = maxburst; in mv_u3d_ep_enable()
[all …]
Dnet2280.c302 tmp |= (ep->ep.maxburst << MAX_BURST_SIZE); in net2280_enable()
/linux-4.4.14/sound/soc/fsl/
Dfsl_asrc_dma.c178 dma_params_fe->maxburst = dma_params_be->maxburst; in fsl_asrc_dma_hw_params()
231 config_be.src_maxburst = dma_params_be->maxburst; in fsl_asrc_dma_hw_params()
233 config_be.dst_maxburst = dma_params_be->maxburst; in fsl_asrc_dma_hw_params()
Dimx-ssi.c353 val = SSI_SFCSR_TFWM0(ssi->dma_params_tx.maxburst) | in imx_ssi_dai_probe()
354 SSI_SFCSR_RFWM0(ssi->dma_params_rx.maxburst); in imx_ssi_dai_probe()
566 ssi->dma_params_tx.maxburst = 6; in imx_ssi_probe()
567 ssi->dma_params_rx.maxburst = 4; in imx_ssi_probe()
Dimx-pcm-fiq.c370 params->dma_params_tx->maxburst = 4; in imx_pcm_fiq_init()
371 params->dma_params_rx->maxburst = 6; in imx_pcm_fiq_init()
Dfsl_ssi.c1314 ssi_private->dma_params_tx.maxburst = ssi_private->fifo_depth - 2; in fsl_ssi_imx_probe()
1315 ssi_private->dma_params_rx.maxburst = ssi_private->fifo_depth - 2; in fsl_ssi_imx_probe()
1325 ssi_private->dma_params_tx.maxburst &= ~0x1; in fsl_ssi_imx_probe()
1326 ssi_private->dma_params_rx.maxburst &= ~0x1; in fsl_ssi_imx_probe()
Dfsl_sai.c805 sai->dma_params_rx.maxburst = FSL_SAI_MAXBURST_RX; in fsl_sai_probe()
806 sai->dma_params_tx.maxburst = FSL_SAI_MAXBURST_TX; in fsl_sai_probe()
Dfsl_esai.c848 esai_priv->dma_params_tx.maxburst = 16; in fsl_esai_probe()
849 esai_priv->dma_params_rx.maxburst = 16; in fsl_esai_probe()
Dfsl_spdif.c1292 spdif_priv->dma_params_tx.maxburst = FSL_SPDIF_TXFIFO_WML; in fsl_spdif_probe()
1293 spdif_priv->dma_params_rx.maxburst = FSL_SPDIF_RXFIFO_WML; in fsl_spdif_probe()
/linux-4.4.14/sound/arm/
Dpxa2xx-ac97.c55 .maxburst = 32,
67 .maxburst = 32,
/linux-4.4.14/sound/core/
Dpcm_dmaengine.c119 slave_config->dst_maxburst = dma_data->maxburst; in snd_dmaengine_pcm_set_config_from_dai_data()
124 slave_config->src_maxburst = dma_data->maxburst; in snd_dmaengine_pcm_set_config_from_dai_data()
/linux-4.4.14/sound/soc/adi/
Daxi-i2s.c218 i2s->playback_dma_data.maxburst = 1; in axi_i2s_probe()
222 i2s->capture_dma_data.maxburst = 1; in axi_i2s_probe()
Daxi-spdif.c217 spdif->dma_data.maxburst = 1; in axi_spdif_probe()
/linux-4.4.14/include/sound/
Ddmaengine_pcm.h70 u32 maxburst; member
/linux-4.4.14/sound/soc/tegra/
Dtegra20_i2s.c381 i2s->capture_dma_data.maxburst = 4; in tegra20_i2s_platform_probe()
385 i2s->playback_dma_data.maxburst = 4; in tegra20_i2s_platform_probe()
Dtegra20_ac97.c372 ac97->capture_dma_data.maxburst = 4; in tegra20_ac97_platform_probe()
376 ac97->playback_dma_data.maxburst = 4; in tegra20_ac97_platform_probe()
Dtegra30_i2s.c445 i2s->playback_dma_data.maxburst = 4; in tegra30_i2s_platform_probe()
462 i2s->capture_dma_data.maxburst = 4; in tegra30_i2s_platform_probe()
Dtegra20_spdif.c308 spdif->playback_dma_data.maxburst = 4; in tegra20_spdif_platform_probe()
/linux-4.4.14/sound/soc/zte/
Dzx296702-i2s.c170 zx_i2s->dma_playback.maxburst = 16; in zx_i2s_dai_probe()
172 zx_i2s->dma_capture.maxburst = 16; in zx_i2s_dai_probe()
Dzx296702-spdif.c89 zx_spdif->dma_data.maxburst = 8; in zx_spdif_dai_probe()
/linux-4.4.14/sound/soc/omap/
Domap-hdmi-audio.c125 ad->dma_data.maxburst = 16; in hdmi_dai_hw_params()
128 ad->dma_data.maxburst = 32; in hdmi_dai_hw_params()
Domap-mcpdm.c337 dma_data->maxburst = in omap_mcpdm_dai_hw_params()
344 dma_data->maxburst = threshold * channels; in omap_mcpdm_dai_hw_params()
Domap-dmic.c228 dma_data->maxburst = dmic->threshold * channels; in omap_dmic_dai_hw_params()
Dmcbsp.c1026 mcbsp->dma_data[0].maxburst = 4; in omap_mcbsp_init()
1029 mcbsp->dma_data[1].maxburst = 4; in omap_mcbsp_init()
Domap-mcbsp.c277 dma_data->maxburst = pkt_size; in omap_mcbsp_dai_hw_params()
/linux-4.4.14/sound/soc/jz4740/
Djz4740-i2s.c375 dma_data->maxburst = 16; in jz4740_i2c_init_pcm_config()
381 dma_data->maxburst = 16; in jz4740_i2c_init_pcm_config()
/linux-4.4.14/sound/soc/rockchip/
Drockchip_i2s.c498 i2s->playback_dma_data.maxburst = 4; in rockchip_i2s_probe()
502 i2s->capture_dma_data.maxburst = 4; in rockchip_i2s_probe()
Drockchip_spdif.c343 spdif->playback_dma_data.maxburst = 4; in rk_spdif_probe()
/linux-4.4.14/sound/soc/sti/
Dsti_uniperif.c54 dma_data->maxburst = transfer_size; in sti_uniperiph_dai_hw_params()
/linux-4.4.14/sound/soc/bcm/
Dbcm2835-i2s.c834 dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK].maxburst = 2; in bcm2835_i2s_probe()
835 dev->dma_data[SNDRV_PCM_STREAM_CAPTURE].maxburst = 2; in bcm2835_i2s_probe()
/linux-4.4.14/drivers/dma/dw/
Dcore.c950 static inline void convert_burst(u32 *maxburst) in convert_burst() argument
952 if (*maxburst > 1) in convert_burst()
953 *maxburst = fls(*maxburst) - 2; in convert_burst()
955 *maxburst = 0; in convert_burst()
/linux-4.4.14/sound/soc/ux500/
Dux500_msp_dai.c680 playback_dma_data->maxburst = 4; in ux500_msp_dai_of_probe()
681 capture_dma_data->maxburst = 4; in ux500_msp_dai_of_probe()
/linux-4.4.14/sound/soc/dwc/
Ddesignware_i2s.c559 dev->play_dma_data.dt.maxburst = 16; in dw_configure_dai_by_dt()
570 dev->capture_dma_data.dt.maxburst = 16; in dw_configure_dai_by_dt()
/linux-4.4.14/drivers/usb/gadget/function/
Duvc_video.c245 * max_t(unsigned int, video->ep->maxburst, 1) in uvc_video_alloc_requests()
/linux-4.4.14/sound/soc/sunxi/
Dsun4i-codec.c639 scodec->playback_dma_data.maxburst = 4; in sun4i_codec_probe()
/linux-4.4.14/include/linux/usb/
Dgadget.h223 unsigned maxburst:5; member
/linux-4.4.14/sound/soc/davinci/
Ddavinci-mcasp.c818 dma_data->maxburst = active_serializers; in mcasp_common_hw_param()
820 dma_data->maxburst = 0; in mcasp_common_hw_param()
850 dma_data->maxburst = numevt; in mcasp_common_hw_param()
/linux-4.4.14/drivers/usb/gadget/
Dcomposite.c150 _ep->maxburst = 0; in config_ep_by_speed()
171 _ep->maxburst = comp_desc->bMaxBurst + 1; in config_ep_by_speed()
176 _ep->maxburst = 1; in config_ep_by_speed()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
Dsym_hipd.h925 u_char maxburst; /* log base 2 of dwords burst */ member
Dsym_glue.c1301 np->maxburst = dev->chip.burst_max; in sym_attach()
Dsym_hipd.c812 if (burst_max > np->maxburst)
813 burst_max = np->maxburst;
/linux-4.4.14/drivers/usb/dwc3/
Dgadget.c470 u32 burst = dep->endpoint.maxburst - 1; in dwc3_gadget_set_ep_config()
1749 dep->endpoint.maxburst = 1; in dwc3_gadget_init_hw_endpoints()
/linux-4.4.14/drivers/scsi/
Dncr53c8xx.c1687 u_char maxburst; /* log base 2 of dwords burst */ member
3856 if (burst_max > np->maxburst) in ncr_prepare_setting()
3857 burst_max = np->maxburst; in ncr_prepare_setting()
8349 np->maxburst = device->chip.burst_max;