| /linux/drivers/spi/ |
| H A D | spi-dw-dma.c | 40 u32 max_burst, def_burst; in dw_spi_dma_maxburst_init() local 46 if (!ret && caps.max_burst) in dw_spi_dma_maxburst_init() 47 max_burst = caps.max_burst; in dw_spi_dma_maxburst_init() 49 max_burst = DW_SPI_RX_BURST_LEVEL; in dw_spi_dma_maxburst_init() 51 dws->rxburst = min(max_burst, def_burst); in dw_spi_dma_maxburst_init() 55 if (!ret && caps.max_burst) in dw_spi_dma_maxburst_init() 56 max_burst = caps.max_burst; in dw_spi_dma_maxburst_init() 58 max_burst = DW_SPI_TX_BURST_LEVEL; in dw_spi_dma_maxburst_init() 71 dws->txburst = min(max_burst, def_burst); in dw_spi_dma_maxburst_init()
|
| /linux/drivers/dma/stm32/ |
| H A D | stm32-dma3.c | 289 u32 max_burst; member 554 u32 max_burst = chan_max_burst ? chan_max_burst / dw : 1; in stm32_dma3_get_max_burst() local 558 max_burst = len / dw; in stm32_dma3_get_max_burst() 565 return min_t(u32, max_burst, bus_max_burst); in stm32_dma3_get_max_burst() 585 sdw = chan->dma_config.src_addr_width ? : get_chan_max_dw(sap, chan->max_burst); in stm32_dma3_chan_prep_hw() 586 ddw = chan->dma_config.dst_addr_width ? : get_chan_max_dw(dap, chan->max_burst); in stm32_dma3_chan_prep_hw() 640 ddw = min_t(u32, ddw, stm32_dma3_get_max_dw(chan->max_burst, dap_max_dw, in stm32_dma3_chan_prep_hw() 642 dbl_max = min_t(u32, dbl_max, stm32_dma3_get_max_burst(len, ddw, chan->max_burst, in stm32_dma3_chan_prep_hw() 646 sdw = stm32_dma3_get_max_dw(chan->max_burst, sap_max_dw, len, src_addr); in stm32_dma3_chan_prep_hw() 647 sbl_max = stm32_dma3_get_max_burst(len, sdw, chan->max_burst, src_max_burst); in stm32_dma3_chan_prep_hw() [all …]
|
| H A D | stm32-mdma.c | 393 static u32 stm32_mdma_get_best_burst(u32 buf_len, u32 tlen, u32 max_burst, in stm32_mdma_get_best_burst() argument 399 max_burst * width) / width; in stm32_mdma_get_best_burst() 945 u32 ccr, ctcr, ctbr, cbndtr, count, max_burst, mdma_burst; in stm32_mdma_prep_dma_memcpy() local 1019 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy() 1020 best_burst = stm32_mdma_get_best_burst(len, tlen, max_burst, in stm32_mdma_prep_dma_memcpy() 1032 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy() 1033 best_burst = stm32_mdma_get_best_burst(len, tlen, max_burst, in stm32_mdma_prep_dma_memcpy() 1073 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy() 1075 max_burst, in stm32_mdma_prep_dma_memcpy() 1087 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy() [all …]
|
| /linux/drivers/dma/dw/ |
| H A D | of.c | 91 memset32(pdata->max_burst, DW_DMA_MAX_BURST, nr_channels); in dw_dma_parse_dt() 92 of_property_read_u32_array(np, "snps,max-burst-len", pdata->max_burst, nr_channels); in dw_dma_parse_dt()
|
| H A D | core.c | 787 clamp(dwc->dma_sconfig.src_maxburst, 1U, dwc->max_burst); in dwc_verify_maxburst() 789 clamp(dwc->dma_sconfig.dst_maxburst, 1U, dwc->max_burst); in dwc_verify_maxburst() 1136 caps->max_burst = dwc->max_burst; in dwc_caps() 1291 dwc->max_burst = in do_dma_probe() 1296 dwc->max_burst = pdata->max_burst[i] ?: DW_DMA_MAX_BURST; in do_dma_probe() 1330 dw->dma.max_burst = DW_DMA_MAX_BURST; in do_dma_probe()
|
| /linux/include/sound/ |
| H A D | spear_dma.h | 16 u32 max_burst; member
|
| H A D | designware_i2s.h | 53 u32 max_burst; member
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_rxtx.c | 88 int max_burst; member 541 tx_ring->max_burst = PRESTERA_SDMA_TX_MAX_BURST; in prestera_sdma_tx_init() 542 tx_ring->burst = tx_ring->max_burst; in prestera_sdma_tx_init() 704 int tx_wait_num = PRESTERA_SDMA_WAIT_MUL * tx_ring->max_burst; in prestera_sdma_tx_wait() 756 tx_ring->burst = tx_ring->max_burst; in prestera_sdma_xmit()
|
| /linux/include/linux/platform_data/ |
| H A D | dma-dw.h | 69 u32 max_burst[DW_DMA_MAX_NR_CHANNELS]; member
|
| /linux/drivers/dma/ |
| H A D | img-mdc-dma.c | 210 unsigned int max_burst, burst_size; in mdc_list_desc_config() local 230 max_burst = mdma->bus_width * mdma->max_burst_mult; in mdc_list_desc_config() 232 max_burst = mdma->bus_width * (mdma->max_burst_mult - 1); in mdc_list_desc_config() 239 burst_size = min(max_burst, mchan->config.dst_maxburst * in mdc_list_desc_config() 246 burst_size = min(max_burst, mchan->config.src_maxburst * in mdc_list_desc_config() 253 burst_size = max_burst; in mdc_list_desc_config()
|
| H A D | sun4i-dma.c | 180 u8 max_burst; member 724 sconfig->src_maxburst = priv->cfg->max_burst; in sun4i_dma_prep_dma_memcpy() 725 sconfig->dst_maxburst = priv->cfg->max_burst; in sun4i_dma_prep_dma_memcpy() 1384 .max_burst = SUN4I_MAX_BURST, 1405 .max_burst = SUNIV_MAX_BURST,
|
| H A D | nbpfaxi.c | 436 int max_burst = nbpf->config->buffer_size * 8; in nbpf_xfer_ds() local 441 max_burst = min_not_zero(nbpf->max_burst_mem_read, in nbpf_xfer_ds() 446 max_burst = nbpf->max_burst_mem_read; in nbpf_xfer_ds() 450 max_burst = nbpf->max_burst_mem_write; in nbpf_xfer_ds() 459 return min_t(int, __ffs(size), ilog2(max_burst)); in nbpf_xfer_ds()
|
| H A D | mmp_tdma.c | 703 tdev->device.max_burst = SZ_128; in mmp_tdma_probe() 707 tdev->device.max_burst = SZ_32; in mmp_tdma_probe()
|
| H A D | uniphier-xdmac.c | 345 if (maxburst > xc->xdev->ddev.max_burst) { in uniphier_xdmac_prep_slave_sg() 515 ddev->max_burst = XDMAC_MAX_WORDS; in uniphier_xdmac_probe()
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-mem.c | 918 int max_burst; in cdnsp_get_max_esit_payload() local 934 max_burst = usb_endpoint_maxp_mult(pep->endpoint.desc); in cdnsp_get_max_esit_payload() 937 return max_packet * max_burst; in cdnsp_get_max_esit_payload() 949 unsigned int max_burst; in cdnsp_endpoint_init() local 974 max_burst = cdnsp_get_endpoint_max_burst(&pdev->gadget, pep); in cdnsp_endpoint_init() 998 MAX_PACKET(max_packet) | MAX_BURST(max_burst) | in cdnsp_endpoint_init()
|
| H A D | cdnsp-ring.c | 2174 unsigned int max_burst; in cdnsp_get_burst_count() local 2179 max_burst = preq->pep->endpoint.comp_desc->bMaxBurst; in cdnsp_get_burst_count() 2180 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in cdnsp_get_burst_count() 2196 unsigned int max_burst; in cdnsp_get_last_burst_packet_count() local 2201 max_burst = preq->pep->endpoint.comp_desc->bMaxBurst; in cdnsp_get_last_burst_packet_count() 2202 residue = total_packet_count % (max_burst + 1); in cdnsp_get_last_burst_packet_count() 2209 return max_burst; in cdnsp_get_last_burst_packet_count()
|
| /linux/drivers/usb/host/ |
| H A D | xhci-mtk-sch.c | 294 u32 max_burst; in setup_sch_info() local 305 max_burst = CTX_TO_MAX_BURST(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info() 335 sch_ep->pkts = max_burst + 1; in setup_sch_info() 348 esit_pkts = (mult + 1) * (max_burst + 1); in setup_sch_info()
|
| H A D | xhci-dbgcap.c | 64 unsigned int max_burst; in xhci_dbc_init_ep_contexts() local 67 max_burst = DBC_CTRL_MAXBURST(readl(&dbc->regs->control)); in xhci_dbc_init_ep_contexts() 73 ep_ctx->ep_info2 = dbc_epctx_info2(BULK_OUT_EP, 1024, max_burst); in xhci_dbc_init_ep_contexts() 80 ep_ctx->ep_info2 = dbc_epctx_info2(BULK_IN_EP, 1024, max_burst); in xhci_dbc_init_ep_contexts()
|
| /linux/drivers/usb/early/ |
| H A D | xhci-dbc.c | 233 unsigned int max_burst; in xdbc_mem_init() local 321 max_burst = DEBUG_MAX_BURST(readl(&xdbc.xdbc_reg->control)); in xdbc_mem_init() 325 ep_out->ep_info2 = cpu_to_le32(EP_TYPE(BULK_OUT_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init() 332 ep_in->ep_info2 = cpu_to_le32(EP_TYPE(BULK_IN_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()
|
| /linux/sound/soc/fsl/ |
| H A D | fsl_sai.c | 1636 sai->soc_data->max_burst[RX] ? sai->soc_data->max_burst[RX] : FSL_SAI_MAXBURST_RX; in fsl_sai_probe() 1638 sai->soc_data->max_burst[TX] ? sai->soc_data->max_burst[TX] : FSL_SAI_MAXBURST_TX; in fsl_sai_probe() 1840 .max_burst = {8, 8}, in fsl_sai_runtime_resume() 1852 .max_burst = {8, 8}, in fsl_sai_runtime_resume()
|
| H A D | fsl_sai.h | 251 unsigned int max_burst[2]; 243 unsigned int max_burst[2]; global() member
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_dw.c | 609 static u32 dw8250_rzn1_get_dmacr_burst(int max_burst) in dw8250_rzn1_get_dmacr_burst() argument 611 if (max_burst >= 8) in dw8250_rzn1_get_dmacr_burst() 613 else if (max_burst >= 4) in dw8250_rzn1_get_dmacr_burst()
|
| /linux/sound/soc/spear/ |
| H A D | spdif_in.c | 237 host->dma_params.max_burst = 16; in spdif_in_probe()
|
| H A D | spdif_out.c | 301 host->dma_params.max_burst = 16; in spdif_out_probe()
|
| /linux/drivers/scsi/be2iscsi/ |
| H A D | be_iscsi.c | 685 if (session->max_burst > 262144) in beiscsi_set_param() 686 session->max_burst = 262144; in beiscsi_set_param() 866 params, session->max_burst); in beiscsi_set_params_for_offld()
|