Home
last modified time | relevance | path

Searched refs:max_burst (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/spi/
H A Dspi-dw-dma.c40 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/dw/
H A Dof.c91 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 Dcore.c787 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()
H A Dregs.h288 u32 max_burst; member
/linux/include/sound/
H A Dspear_dma.h16 u32 max_burst; member
H A Ddesignware_i2s.h53 u32 max_burst; member
/linux/drivers/dma/stm32/
H A Dstm32-mdma.c393 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/net/ethernet/marvell/prestera/
H A Dprestera_rxtx.c88 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 Ddma-dw.h69 u32 max_burst[DW_DMA_MAX_NR_CHANNELS]; member
/linux/include/net/netns/
H A Dsctp.h73 int max_burst; member
/linux/drivers/gpu/drm/ingenic/
H A Dingenic-drm-drv.c73 u32 max_burst; member
325 JZ_LCD_CTRL_OFUP | priv->soc_info->max_burst); in ingenic_drm_crtc_update_timings()
1544 .max_burst = JZ_LCD_CTRL_BURST_16,
1556 .max_burst = JZ_LCD_CTRL_BURST_16,
1569 .max_burst = JZ_LCD_CTRL_BURST_32,
1582 .max_burst = JZ_LCD_CTRL_BURST_64,
1595 .max_burst = JZ_LCD_CTRL_BURST_64,
1610 .max_burst = JZ_LCD_CTRL_BURST_64,
/linux/drivers/usb/cdns3/
H A Dcdnsp-mem.c919 int max_burst; in cdnsp_get_max_esit_payload() local
935 max_burst = usb_endpoint_maxp_mult(pep->endpoint.desc); in cdnsp_get_max_esit_payload()
938 return max_packet * max_burst; in cdnsp_get_max_esit_payload()
950 unsigned int max_burst; in cdnsp_endpoint_init() local
975 max_burst = cdnsp_get_endpoint_max_burst(&pdev->gadget, pep); in cdnsp_endpoint_init()
999 MAX_PACKET(max_packet) | MAX_BURST(max_burst) | in cdnsp_endpoint_init()
H A Dcdnsp-ring.c2171 unsigned int max_burst; in cdnsp_get_burst_count() local
2176 max_burst = preq->pep->endpoint.comp_desc->bMaxBurst; in cdnsp_get_burst_count()
2177 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in cdnsp_get_burst_count()
2193 unsigned int max_burst; in cdnsp_get_last_burst_packet_count() local
2198 max_burst = preq->pep->endpoint.comp_desc->bMaxBurst; in cdnsp_get_last_burst_packet_count()
2199 residue = total_packet_count % (max_burst + 1); in cdnsp_get_last_burst_packet_count()
2206 return max_burst; in cdnsp_get_last_burst_packet_count()
/linux/drivers/media/platform/verisilicon/
H A Dhantro_postproc.c40 .max_burst = {G1_REG_PP_DEV_CONFIG, 0, 0x1f},
96 HANTRO_PP_REG_WRITE(vpu, max_burst, 16); in hantro_postproc_g1_enable()
H A Dhantro.h311 struct hantro_reg max_burst; member
/linux/drivers/usb/host/
H A Dxhci-mtk-sch.c295 u32 max_burst; in setup_sch_info() local
306 max_burst = CTX_TO_MAX_BURST(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
336 sch_ep->pkts = max_burst + 1; in setup_sch_info()
349 esit_pkts = (mult + 1) * (max_burst + 1); in setup_sch_info()
H A Dxhci-mem.c1357 int max_burst; in xhci_get_max_esit_payload() local
1375 max_burst = usb_endpoint_maxp_mult(&ep->desc); in xhci_get_max_esit_payload()
1377 return max_packet * max_burst; in xhci_get_max_esit_payload()
1396 unsigned int max_burst; in xhci_endpoint_init() local
1432 max_burst = xhci_get_endpoint_max_burst(udev, ep); in xhci_endpoint_init()
1471 MAX_BURST(max_burst) | in xhci_endpoint_init()
/linux/drivers/tty/serial/8250/
H A D8250_dw.c424 static u32 dw8250_rzn1_get_dmacr_burst(int max_burst) in dw8250_rzn1_get_dmacr_burst() argument
426 if (max_burst >= 8) in dw8250_rzn1_get_dmacr_burst()
428 else if (max_burst >= 4) in dw8250_rzn1_get_dmacr_burst()
/linux/drivers/usb/early/
H A Dxhci-dbc.c233 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 Dfsl_sai.c1519 sai->soc_data->max_burst[RX] ? sai->soc_data->max_burst[RX] : FSL_SAI_MAXBURST_RX; in fsl_sai_probe()
1521 sai->soc_data->max_burst[TX] ? sai->soc_data->max_burst[TX] : FSL_SAI_MAXBURST_TX; in fsl_sai_probe()
1705 .max_burst = {8, 8},
1717 .max_burst = {8, 8},
/linux/sound/soc/spear/
H A Dspdif_in.c240 host->dma_params.max_burst = 16; in spdif_in_probe()
H A Dspdif_out.c304 host->dma_params.max_burst = 16; in spdif_out_probe()
/linux/drivers/scsi/be2iscsi/
H A Dbe_iscsi.c685 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()
/linux/net/sctp/
H A Dtransport.c761 if (t->burst_limited || asoc->max_burst == 0) in sctp_transport_burst_limited()
764 max_burst_bytes = t->flight_size + (asoc->max_burst * asoc->pathmtu); in sctp_transport_burst_limited()
/linux/include/scsi/
H A Dlibiscsi.h309 unsigned max_burst; member

12