Home
last modified time | relevance | path

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

12

/linux-6.1.9/kernel/trace/
Dpreemptirq_delay_test.c23 static uint burst_size = 1; variable
28 module_param_named(burst_size, burst_size, uint, 0444);
32 MODULE_PARM_DESC(burst_size, "The size of a burst (default 1)");
121 int s = MIN(burst_size, NR_TEST_FUNCS); in preemptirq_delay_run()
/linux-6.1.9/drivers/gpu/ipu-v3/
Dipu-ic.c453 u32 width, u32 height, int burst_size, in ipu_ic_task_idma_init() argument
464 if ((burst_size != 8) && (burst_size != 16)) { in ipu_ic_task_idma_init()
483 if (burst_size == 16) in ipu_ic_task_idma_init()
500 if (burst_size == 16) in ipu_ic_task_idma_init()
510 if (burst_size == 16) in ipu_ic_task_idma_init()
516 if (burst_size == 16) in ipu_ic_task_idma_init()
537 if (burst_size == 16) in ipu_ic_task_idma_init()
558 if (burst_size == 16) in ipu_ic_task_idma_init()
564 if (burst_size == 16) in ipu_ic_task_idma_init()
570 if (burst_size == 16) in ipu_ic_task_idma_init()
Dipu-image-convert.c1298 unsigned int burst_size; in init_idmac_channel() local
1360 burst_size = 8; in init_idmac_channel()
1363 burst_size = (width % 16) ? 8 : 16; in init_idmac_channel()
1365 ipu_cpmem_set_burstsize(channel, burst_size); in init_idmac_channel()
1368 burst_size, rot_mode); in init_idmac_channel()
/linux-6.1.9/drivers/dma/
Duniphier-xdmac.c73 u32 burst_size; member
142 its = xd->nodes[xd->cur_node].burst_size; in uniphier_xdmac_chan_start()
287 size_t burst_size, tlen; in uniphier_xdmac_prep_dma_memcpy() local
300 burst_size = min_t(size_t, len, XDMAC_MAX_WORD_SIZE); in uniphier_xdmac_prep_dma_memcpy()
303 xd->nodes[i].burst_size = burst_size; in uniphier_xdmac_prep_dma_memcpy()
304 xd->nodes[i].nr_burst = len / burst_size; in uniphier_xdmac_prep_dma_memcpy()
305 tlen = rounddown(len, burst_size); in uniphier_xdmac_prep_dma_memcpy()
360 xd->nodes[i].burst_size = maxburst * buswidth; in uniphier_xdmac_prep_slave_sg()
362 sg_dma_len(sg) / xd->nodes[i].burst_size; in uniphier_xdmac_prep_slave_sg()
372 if (sg_dma_len(sg) % xd->nodes[i].burst_size) { in uniphier_xdmac_prep_slave_sg()
Dtegra210-adma.c84 unsigned int (*adma_get_burst_config)(unsigned int burst_size);
537 static unsigned int tegra210_adma_get_burst_config(unsigned int burst_size) in tegra210_adma_get_burst_config() argument
539 if (!burst_size || burst_size > ADMA_CH_CONFIG_MAX_BURST_SIZE) in tegra210_adma_get_burst_config()
540 burst_size = ADMA_CH_CONFIG_MAX_BURST_SIZE; in tegra210_adma_get_burst_config()
542 return fls(burst_size) << ADMA_CH_CONFIG_BURST_SIZE_SHIFT; in tegra210_adma_get_burst_config()
545 static unsigned int tegra186_adma_get_burst_config(unsigned int burst_size) in tegra186_adma_get_burst_config() argument
547 if (!burst_size || burst_size > ADMA_CH_CONFIG_MAX_BURST_SIZE) in tegra186_adma_get_burst_config()
548 burst_size = ADMA_CH_CONFIG_MAX_BURST_SIZE; in tegra186_adma_get_burst_config()
550 return (burst_size - 1) << ADMA_CH_CONFIG_BURST_SIZE_SHIFT; in tegra186_adma_get_burst_config()
560 unsigned int burst_size, adma_dir, fifo_size_shift; in tegra_adma_set_xfer_params() local
[all …]
Dtegra186-gpc-dma.c799 u32 burst_size, enum dma_slave_buswidth slave_bw, in get_burst_size() argument
810 burst_byte = burst_size ? burst_size * slave_bw : len; in get_burst_size()
826 unsigned int *burst_size, in get_transfer_param() argument
833 *burst_size = tdc->dma_sconfig.dst_maxburst; in get_transfer_param()
840 *burst_size = tdc->dma_sconfig.src_maxburst; in get_transfer_param()
1000 u32 burst_size; in tegra_dma_prep_slave_sg() local
1018 &burst_size, &slave_bw); in tegra_dma_prep_slave_sg()
1051 if (burst_size == 64) in tegra_dma_prep_slave_sg()
1078 mmio_seq |= get_burst_size(tdc, burst_size, slave_bw, len); in tegra_dma_prep_slave_sg()
1114 u32 csr, mc_seq, apb_ptr = 0, mmio_seq = 0, burst_size; in tegra_dma_prep_dma_cyclic() local
[all …]
Dtegra20-apb-dma.c965 u32 burst_size, in get_burst_size() argument
975 burst_byte = burst_size * slave_bw; in get_burst_size()
1000 unsigned int *burst_size, in get_transfer_param() argument
1007 *burst_size = tdc->dma_sconfig.dst_maxburst; in get_transfer_param()
1015 *burst_size = tdc->dma_sconfig.src_maxburst; in get_transfer_param()
1055 unsigned int burst_size; in tegra_dma_prep_slave_sg() local
1068 &burst_size, &slave_bw) < 0) in tegra_dma_prep_slave_sg()
1128 ahb_seq |= get_burst_size(tdc, burst_size, slave_bw, len); in tegra_dma_prep_slave_sg()
1179 unsigned int burst_size; in tegra_dma_prep_dma_cyclic() local
1220 &burst_size, &slave_bw) < 0) in tegra_dma_prep_dma_cyclic()
[all …]
Dimg-mdc-dma.c211 unsigned int max_burst, burst_size; in mdc_list_desc_config() local
240 burst_size = min(max_burst, mchan->config.dst_maxburst * in mdc_list_desc_config()
247 burst_size = min(max_burst, mchan->config.src_maxburst * in mdc_list_desc_config()
254 burst_size = max_burst; in mdc_list_desc_config()
256 ldesc->readport_conf |= (burst_size - 1) << in mdc_list_desc_config()
Dstm32-dma.c1357 u32 modulo, burst_size; in stm32_dma_desc_residue() local
1411 burst_size = chan->mem_burst * chan->mem_width; in stm32_dma_desc_residue()
1412 modulo = residue % burst_size; in stm32_dma_desc_residue()
1414 residue = residue - modulo + burst_size; in stm32_dma_desc_residue()
Dstm32-mdma.c1324 u32 cbndtr, residue, modulo, burst_size; in stm32_mdma_desc_residue() local
1338 burst_size = chan->mem_burst * chan->mem_width; in stm32_mdma_desc_residue()
1339 modulo = residue % burst_size; in stm32_mdma_desc_residue()
1341 residue = residue - modulo + burst_size; in stm32_mdma_desc_residue()
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv04/
Darb.c241 unsigned int fifo_size, burst_size, graphics_lwm; in nv20_update_arb() local
244 burst_size = 512; in nv20_update_arb()
245 graphics_lwm = fifo_size - burst_size; in nv20_update_arb()
247 *burst = ilog2(burst_size >> 5); in nv20_update_arb()
/linux-6.1.9/drivers/hwtracing/coresight/
Dcoresight-tmc-core.c417 u32 burst_size; in tmc_etr_get_max_burst_size() local
420 &burst_size)) in tmc_etr_get_max_burst_size()
424 if (burst_size > 0xF) in tmc_etr_get_max_burst_size()
425 burst_size = TMC_AXICTL_WR_BURST_16; in tmc_etr_get_max_burst_size()
427 return burst_size; in tmc_etr_get_max_burst_size()
/linux-6.1.9/drivers/crypto/stm32/
Dstm32-crc32.c41 static unsigned int burst_size; variable
42 module_param(burst_size, uint, 0644);
43 MODULE_PARM_DESC(burst_size, "Select burst byte size (0 unlimited)");
220 const unsigned int burst_sz = burst_size; in stm32_crc_update()
/linux-6.1.9/drivers/crypto/qce/
Dcore.h39 int burst_size; member
Dcore.c165 qce->burst_size = QCE_BAM_BURST_SIZE; in qce_check_version()
/linux-6.1.9/net/openvswitch/
Dmeter.h28 u32 burst_size; member
Dmeter.c387 band->burst_size = nla_get_u32(attr[OVS_BAND_ATTR_BURST]); in dp_meter_create()
394 band->bucket = band->burst_size * 1000ULL; in dp_meter_create()
651 max_bucket_size = band->burst_size * 1000LL; in ovs_meter_execute()
/linux-6.1.9/drivers/staging/media/imx/
Dimx-media-csi.c420 u32 burst_size; in csi_idmac_setup_channel() local
457 burst_size = 16; in csi_idmac_setup_channel()
466 burst_size = 8; in csi_idmac_setup_channel()
472 burst_size = (image.pix.width & 0x3f) ? in csi_idmac_setup_channel()
485 burst_size = (image.pix.width & 0x1f) ? in csi_idmac_setup_channel()
491 burst_size = 16; in csi_idmac_setup_channel()
498 burst_size = (image.pix.width & 0xf) ? 8 : 16; in csi_idmac_setup_channel()
529 ipu_cpmem_set_burstsize(priv->idmac_ch, burst_size); in csi_idmac_setup_channel()
548 burst_size = passthrough ? in csi_idmac_setup_channel()
549 (burst_size >> 3) - 1 : (burst_size >> 2) - 1; in csi_idmac_setup_channel()
[all …]
Dimx-ic-prpencvf.c354 unsigned int burst_size; in prp_setup_channel() local
417 burst_size = 8; in prp_setup_channel()
420 burst_size = (image.pix.width & 0xf) ? 8 : 16; in prp_setup_channel()
423 ipu_cpmem_set_burstsize(channel, burst_size); in prp_setup_channel()
437 burst_size, rot_mode); in prp_setup_channel()
Dimx-media-vdic.c242 unsigned int burst_size; in setup_vdi_channel() local
261 burst_size = (image.pix.width & 0xf) ? 8 : 16; in setup_vdi_channel()
262 ipu_cpmem_set_burstsize(channel, burst_size); in setup_vdi_channel()
/linux-6.1.9/drivers/dma/ti/
Dk3-udma.c136 u8 burst_size[3]; member
1869 u8 burst_size = 0; in udma_tisci_m2m_channel_config() local
1881 burst_size = ud->match_data->burst_size[tpl]; in udma_tisci_m2m_channel_config()
1891 if (burst_size) { in udma_tisci_m2m_channel_config()
1893 req_tx.tx_burst_size = burst_size; in udma_tisci_m2m_channel_config()
1909 if (burst_size) { in udma_tisci_m2m_channel_config()
1911 req_rx.rx_burst_size = burst_size; in udma_tisci_m2m_channel_config()
1928 u8 burst_size = 0; in bcdma_tisci_m2m_channel_config() local
1935 burst_size = ud->match_data->burst_size[tpl]; in bcdma_tisci_m2m_channel_config()
1942 if (burst_size) { in bcdma_tisci_m2m_channel_config()
[all …]
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc.c1004 enum omap_burst_size burst_size) in dispc_ovl_set_burst_size() argument
1010 REG_FLD_MOD(DISPC_OVL_ATTRIBUTES(plane), burst_size, shift + 1, shift); in dispc_ovl_set_burst_size()
1016 const int burst_size = BURST_SIZE_X8; in dispc_configure_burst_sizes() local
1020 dispc_ovl_set_burst_size(i, burst_size); in dispc_configure_burst_sizes()
1022 dispc_ovl_set_burst_size(OMAP_DSS_WB, burst_size); in dispc_configure_burst_sizes()
1254 unsigned ovl_fifo_size, total_fifo_size, burst_size; in dispc_ovl_compute_fifo_thresholds() local
1257 burst_size = dispc_ovl_get_burst_size(plane); in dispc_ovl_compute_fifo_thresholds()
1275 *fifo_low = ovl_fifo_size - burst_size * 2; in dispc_ovl_compute_fifo_thresholds()
1276 *fifo_high = total_fifo_size - burst_size; in dispc_ovl_compute_fifo_thresholds()
1284 *fifo_high = burst_size; in dispc_ovl_compute_fifo_thresholds()
[all …]
/linux-6.1.9/drivers/video/fbdev/nvidia/
Dnv_hw.c662 unsigned int fifo_size, burst_size, graphics_lwm; in nv30UpdateArbitrationSettings() local
665 burst_size = 512; in nv30UpdateArbitrationSettings()
666 graphics_lwm = fifo_size - burst_size; in nv30UpdateArbitrationSettings()
671 burst_size >>= 5; in nv30UpdateArbitrationSettings()
672 while(burst_size >>= 1) (*burst)++; in nv30UpdateArbitrationSettings()
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
Ddispc.c1255 enum omap_burst_size burst_size) in dispc_ovl_set_burst_size() argument
1261 REG_FLD_MOD(dispc, DISPC_OVL_ATTRIBUTES(plane), burst_size, in dispc_ovl_set_burst_size()
1268 const int burst_size = BURST_SIZE_X8; in dispc_configure_burst_sizes() local
1272 dispc_ovl_set_burst_size(dispc, i, burst_size); in dispc_configure_burst_sizes()
1274 dispc_ovl_set_burst_size(dispc, OMAP_DSS_WB, burst_size); in dispc_configure_burst_sizes()
1527 unsigned int ovl_fifo_size, total_fifo_size, burst_size; in dispc_ovl_compute_fifo_thresholds() local
1530 burst_size = dispc_ovl_get_burst_size(dispc, plane); in dispc_ovl_compute_fifo_thresholds()
1548 *fifo_low = ovl_fifo_size - burst_size * 2; in dispc_ovl_compute_fifo_thresholds()
1549 *fifo_high = total_fifo_size - burst_size; in dispc_ovl_compute_fifo_thresholds()
1557 *fifo_high = burst_size; in dispc_ovl_compute_fifo_thresholds()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c996 u8 burst_size; in mlxsw_sp_qdisc_tbf_check_params() local
1006 err = mlxsw_sp_qdisc_tbf_bs(mlxsw_sp_port, p->max_size, &burst_size); in mlxsw_sp_qdisc_tbf_check_params()
1031 u8 burst_size; in mlxsw_sp_qdisc_tbf_replace() local
1043 err = mlxsw_sp_qdisc_tbf_bs(mlxsw_sp_port, p->max_size, &burst_size); in mlxsw_sp_qdisc_tbf_replace()
1049 rate_kbps, burst_size); in mlxsw_sp_qdisc_tbf_replace()

12