Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/usb/host/
Dxhci-mtk-sch.c73 u32 max_burst; in setup_sch_info() local
80 max_burst = CTX_TO_MAX_BURST(le32_to_cpu(ep_ctx->ep_info2)); in setup_sch_info()
103 sch_ep->pkts = max_burst + 1; in setup_sch_info()
108 esit_pkts = (mult + 1) * (max_burst + 1); in setup_sch_info()
Dxhci-dbgcap.c94 unsigned int max_burst; in xhci_dbc_init_contexts() local
111 max_burst = DBC_CTRL_MAXBURST(readl(&dbc->regs->control)); in xhci_dbc_init_contexts()
114 ep_ctx->ep_info2 = dbc_epctx_info2(BULK_OUT_EP, 1024, max_burst); in xhci_dbc_init_contexts()
121 ep_ctx->ep_info2 = dbc_epctx_info2(BULK_IN_EP, 1024, max_burst); in xhci_dbc_init_contexts()
Dxhci-mem.c1396 int max_burst; in xhci_get_max_esit_payload() local
1413 max_burst = usb_endpoint_maxp_mult(&ep->desc); in xhci_get_max_esit_payload()
1415 return max_packet * max_burst; in xhci_get_max_esit_payload()
1434 unsigned int max_burst; in xhci_endpoint_init() local
1470 max_burst = xhci_get_endpoint_max_burst(udev, ep); in xhci_endpoint_init()
1503 MAX_BURST(max_burst) | in xhci_endpoint_init()
Dxhci-ring.c3401 unsigned int max_burst; in xhci_get_burst_count() local
3406 max_burst = urb->ep->ss_ep_comp.bMaxBurst; in xhci_get_burst_count()
3407 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in xhci_get_burst_count()
3421 unsigned int max_burst; in xhci_get_last_burst_packet_count() local
3429 max_burst = urb->ep->ss_ep_comp.bMaxBurst; in xhci_get_last_burst_packet_count()
3430 residue = total_packet_count % (max_burst + 1); in xhci_get_last_burst_packet_count()
3435 return max_burst; in xhci_get_last_burst_packet_count()
/Linux-v4.19/include/sound/
Dspear_dma.h30 u32 max_burst; member
Ddesignware_i2s.h64 u32 max_burst; member
/Linux-v4.19/drivers/usb/host/whci/
Dqset.c56 qset->max_burst = epcd->bMaxBurst; in qset_fill_qh()
59 qset->max_burst = 1; in qset_fill_qh()
86 QH_INFO2_BURST(qset->max_burst) in qset_fill_qh()
101 qset->qh.cur_window = cpu_to_le32((1 << qset->max_burst) - 1); in qset_fill_qh()
138 qset->qh.cur_window = cpu_to_le32((1 << qset->max_burst) - 1); in qset_reset()
557 max_std_len = qset->max_burst * qset->max_packet; in qset_add_urb_sg_linearize()
Dwhci-hc.h251 uint8_t max_burst; member
/Linux-v4.19/include/net/netns/
Dsctp.h62 int max_burst; member
/Linux-v4.19/drivers/dma/
Dstm32-mdma.c426 static u32 stm32_mdma_get_best_burst(u32 buf_len, u32 tlen, u32 max_burst, in stm32_mdma_get_best_burst() argument
432 max_burst * width) / width; in stm32_mdma_get_best_burst()
930 u32 ccr, ctcr, ctbr, cbndtr, count, max_burst, mdma_burst; in stm32_mdma_prep_dma_memcpy() local
1004 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy()
1005 best_burst = stm32_mdma_get_best_burst(len, tlen, max_burst, in stm32_mdma_prep_dma_memcpy()
1017 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy()
1018 best_burst = stm32_mdma_get_best_burst(len, tlen, max_burst, in stm32_mdma_prep_dma_memcpy()
1058 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy()
1060 max_burst, in stm32_mdma_prep_dma_memcpy()
1072 max_burst = tlen / max_width; in stm32_mdma_prep_dma_memcpy()
[all …]
Dimg-mdc-dma.c214 unsigned int max_burst, burst_size; in mdc_list_desc_config() local
234 max_burst = mdma->bus_width * mdma->max_burst_mult; in mdc_list_desc_config()
236 max_burst = mdma->bus_width * (mdma->max_burst_mult - 1); in mdc_list_desc_config()
243 burst_size = min(max_burst, mchan->config.dst_maxburst * in mdc_list_desc_config()
250 burst_size = min(max_burst, mchan->config.src_maxburst * in mdc_list_desc_config()
257 burst_size = max_burst; in mdc_list_desc_config()
Dnbpfaxi.c433 int max_burst = nbpf->config->buffer_size * 8; in nbpf_xfer_ds() local
438 max_burst = min_not_zero(nbpf->max_burst_mem_read, in nbpf_xfer_ds()
443 max_burst = nbpf->max_burst_mem_read; in nbpf_xfer_ds()
447 max_burst = nbpf->max_burst_mem_write; in nbpf_xfer_ds()
456 return min_t(int, __ffs(size), ilog2(max_burst)); in nbpf_xfer_ds()
Dstm32-dma.c327 static u32 stm32_dma_get_best_burst(u32 buf_len, u32 max_burst, u32 threshold, in stm32_dma_get_best_burst() argument
330 u32 best_burst = max_burst; in stm32_dma_get_best_burst()
1281 dd->max_burst = STM32_DMA_MAX_BURST; in stm32_dma_probe()
/Linux-v4.19/drivers/usb/early/
Dxhci-dbc.c232 unsigned int max_burst; in xdbc_mem_init() local
320 max_burst = DEBUG_MAX_BURST(readl(&xdbc.xdbc_reg->control)); in xdbc_mem_init()
324 ep_out->ep_info2 = cpu_to_le32(EP_TYPE(BULK_OUT_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()
331 ep_in->ep_info2 = cpu_to_le32(EP_TYPE(BULK_IN_EP) | MAX_PACKET(1024) | MAX_BURST(max_burst)); in xdbc_mem_init()
/Linux-v4.19/net/sctp/
Dtransport.c617 if (t->burst_limited || asoc->max_burst == 0) in sctp_transport_burst_limited()
620 max_burst_bytes = t->flight_size + (asoc->max_burst * asoc->pathmtu); in sctp_transport_burst_limited()
Dsysctl.c151 .data = &init_net.sctp.max_burst,
/Linux-v4.19/sound/soc/spear/
Dspdif_in.c240 host->dma_params.max_burst = 16; in spdif_in_probe()
Dspdif_out.c301 host->dma_params.max_burst = 16; in spdif_out_probe()
/Linux-v4.19/sound/soc/dwc/
Ddwc-i2s.c561 dev->play_dma_data.pd.max_burst = 16; in dw_configure_dai_by_pd()
562 dev->capture_dma_data.pd.max_burst = 16; in dw_configure_dai_by_pd()
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_iscsi.c676 if (session->max_burst > 262144) in beiscsi_set_param()
677 session->max_burst = 262144; in beiscsi_set_param()
856 params, session->max_burst); in beiscsi_set_params_for_offld()
/Linux-v4.19/include/scsi/
Dlibiscsi.h300 unsigned max_burst; member
Dscsi_transport_iscsi.h363 unsigned max_burst; member
/Linux-v4.19/drivers/spi/
Dspi-rockchip.c458 if (rs->dma_caps.max_burst > 4) in rockchip_spi_prepare_dma()
480 if (rs->dma_caps.max_burst > 4) in rockchip_spi_prepare_dma()
/Linux-v4.19/include/linux/
Ddmaengine.h430 u32 max_burst; member
756 u32 max_burst; member
/Linux-v4.19/drivers/net/xen-netback/
Dnetback.c169 unsigned long max_burst, max_credit; in tx_add_credit() local
175 max_burst = max(131072UL, queue->credit_bytes); in tx_add_credit()
182 queue->remaining_credit = min(max_credit, max_burst); in tx_add_credit()

12