Home
last modified time | relevance | path

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

12

/linux-6.12.1/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)");
119 int s = MIN(burst_size, NR_TEST_FUNCS); in preemptirq_delay_run()
/linux-6.12.1/drivers/dma/
Dls2x-apb-dma.c106 size_t burst_size; member
257 num_segments = DIV_ROUND_UP((ldma_sg->len + 3) >> 2, desc->burst_size); in ls2x_dma_fill_desc()
328 size_t burst_size; in ls2x_dma_prep_slave_sg() local
334 burst_size = ls2x_dmac_detect_burst(lchan); in ls2x_dma_prep_slave_sg()
335 if (!burst_size) in ls2x_dma_prep_slave_sg()
344 desc->burst_size = burst_size; in ls2x_dma_prep_slave_sg()
388 size_t burst_size; in ls2x_dma_prep_dma_cyclic() local
398 burst_size = ls2x_dmac_detect_burst(lchan); in ls2x_dma_prep_dma_cyclic()
399 if (!burst_size) in ls2x_dma_prep_dma_cyclic()
409 desc->burst_size = burst_size; in ls2x_dma_prep_dma_cyclic()
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
301 burst_size = min_t(size_t, len, XDMAC_MAX_WORD_SIZE); in uniphier_xdmac_prep_dma_memcpy()
304 xd->nodes[i].burst_size = burst_size; in uniphier_xdmac_prep_dma_memcpy()
305 xd->nodes[i].nr_burst = len / burst_size; in uniphier_xdmac_prep_dma_memcpy()
306 tlen = rounddown(len, burst_size); in uniphier_xdmac_prep_dma_memcpy()
361 xd->nodes[i].burst_size = maxburst * buswidth; in uniphier_xdmac_prep_slave_sg()
363 sg_dma_len(sg) / xd->nodes[i].burst_size; in uniphier_xdmac_prep_slave_sg()
373 if (sg_dma_len(sg) % xd->nodes[i].burst_size) { in uniphier_xdmac_prep_slave_sg()
Dtegra210-adma.c85 unsigned int (*adma_get_burst_config)(unsigned int burst_size);
539 static unsigned int tegra210_adma_get_burst_config(unsigned int burst_size) in tegra210_adma_get_burst_config() argument
541 if (!burst_size || burst_size > ADMA_CH_CONFIG_MAX_BURST_SIZE) in tegra210_adma_get_burst_config()
542 burst_size = ADMA_CH_CONFIG_MAX_BURST_SIZE; in tegra210_adma_get_burst_config()
544 return fls(burst_size) << ADMA_CH_CONFIG_BURST_SIZE_SHIFT; in tegra210_adma_get_burst_config()
547 static unsigned int tegra186_adma_get_burst_config(unsigned int burst_size) in tegra186_adma_get_burst_config() argument
549 if (!burst_size || burst_size > ADMA_CH_CONFIG_MAX_BURST_SIZE) in tegra186_adma_get_burst_config()
550 burst_size = ADMA_CH_CONFIG_MAX_BURST_SIZE; in tegra186_adma_get_burst_config()
552 return (burst_size - 1) << ADMA_CH_CONFIG_BURST_SIZE_SHIFT; in tegra186_adma_get_burst_config()
562 unsigned int burst_size, adma_dir, fifo_size_shift; in tegra_adma_set_xfer_params() local
[all …]
Dtegra186-gpc-dma.c806 u32 burst_size, enum dma_slave_buswidth slave_bw, in get_burst_size() argument
817 burst_byte = burst_size ? burst_size * slave_bw : len; in get_burst_size()
833 unsigned int *burst_size, in get_transfer_param() argument
840 *burst_size = tdc->dma_sconfig.dst_maxburst; in get_transfer_param()
847 *burst_size = tdc->dma_sconfig.src_maxburst; in get_transfer_param()
1007 u32 burst_size; in tegra_dma_prep_slave_sg() local
1025 &burst_size, &slave_bw); in tegra_dma_prep_slave_sg()
1058 if (burst_size == 64) in tegra_dma_prep_slave_sg()
1085 mmio_seq |= get_burst_size(tdc, burst_size, slave_bw, len); in tegra_dma_prep_slave_sg()
1121 u32 csr, mc_seq, apb_ptr = 0, mmio_seq = 0, burst_size; in tegra_dma_prep_dma_cyclic() local
[all …]
Dtegra20-apb-dma.c959 u32 burst_size, in get_burst_size() argument
969 burst_byte = burst_size * slave_bw; in get_burst_size()
994 unsigned int *burst_size, in get_transfer_param() argument
1001 *burst_size = tdc->dma_sconfig.dst_maxburst; in get_transfer_param()
1009 *burst_size = tdc->dma_sconfig.src_maxburst; in get_transfer_param()
1049 unsigned int burst_size; in tegra_dma_prep_slave_sg() local
1062 &burst_size, &slave_bw) < 0) in tegra_dma_prep_slave_sg()
1122 ahb_seq |= get_burst_size(tdc, burst_size, slave_bw, len); in tegra_dma_prep_slave_sg()
1173 unsigned int burst_size; in tegra_dma_prep_dma_cyclic() local
1214 &burst_size, &slave_bw) < 0) in tegra_dma_prep_dma_cyclic()
[all …]
Dimg-mdc-dma.c210 unsigned int max_burst, burst_size; in mdc_list_desc_config() local
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()
255 ldesc->readport_conf |= (burst_size - 1) << in mdc_list_desc_config()
/linux-6.12.1/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()
/linux-6.12.1/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.12.1/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.12.1/drivers/hwtracing/coresight/
Dcoresight-tmc-core.c460 u32 burst_size; in tmc_etr_get_max_burst_size() local
463 &burst_size)) in tmc_etr_get_max_burst_size()
467 if (burst_size > 0xF) in tmc_etr_get_max_burst_size()
468 burst_size = TMC_AXICTL_WR_BURST_16; in tmc_etr_get_max_burst_size()
470 return burst_size; in tmc_etr_get_max_burst_size()
/linux-6.12.1/drivers/crypto/qce/
Dcore.h40 int burst_size; member
Dcore.c168 qce->burst_size = QCE_BAM_BURST_SIZE; in qce_check_version()
/linux-6.12.1/drivers/staging/media/imx/
Dimx-media-csi.c417 u32 burst_size; in csi_idmac_setup_channel() local
454 burst_size = 16; in csi_idmac_setup_channel()
463 burst_size = 8; in csi_idmac_setup_channel()
469 burst_size = (image.pix.width & 0x3f) ? in csi_idmac_setup_channel()
482 burst_size = (image.pix.width & 0x1f) ? in csi_idmac_setup_channel()
488 burst_size = 16; in csi_idmac_setup_channel()
495 burst_size = (image.pix.width & 0xf) ? 8 : 16; in csi_idmac_setup_channel()
526 ipu_cpmem_set_burstsize(priv->idmac_ch, burst_size); in csi_idmac_setup_channel()
545 burst_size = passthrough ? in csi_idmac_setup_channel()
546 (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.12.1/net/openvswitch/
Dmeter.h27 u32 burst_size; member
Dmeter.c385 band->burst_size = nla_get_u32(attr[OVS_BAND_ATTR_BURST]); in dp_meter_create()
392 band->bucket = band->burst_size * 1000ULL; in dp_meter_create()
651 max_bucket_size = band->burst_size * 1000LL; in ovs_meter_execute()
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Dusb.c747 u8 rxdma, burst_size; in rtw_usb_init_burst_pkt_len() local
752 burst_size = BIT_DMA_BURST_SIZE_1024; in rtw_usb_init_burst_pkt_len()
754 burst_size = BIT_DMA_BURST_SIZE_512; in rtw_usb_init_burst_pkt_len()
756 burst_size = BIT_DMA_BURST_SIZE_64; in rtw_usb_init_burst_pkt_len()
758 u8p_replace_bits(&rxdma, burst_size, BIT_DMA_BURST_SIZE); in rtw_usb_init_burst_pkt_len()
/linux-6.12.1/drivers/dma/ti/
Dk3-udma.c136 u8 burst_size[3]; member
1872 u8 burst_size = 0; in udma_tisci_m2m_channel_config() local
1884 burst_size = ud->match_data->burst_size[tpl]; in udma_tisci_m2m_channel_config()
1894 if (burst_size) { in udma_tisci_m2m_channel_config()
1896 req_tx.tx_burst_size = burst_size; in udma_tisci_m2m_channel_config()
1912 if (burst_size) { in udma_tisci_m2m_channel_config()
1914 req_rx.rx_burst_size = burst_size; in udma_tisci_m2m_channel_config()
1931 u8 burst_size = 0; in bcdma_tisci_m2m_channel_config() local
1938 burst_size = ud->match_data->burst_size[tpl]; in bcdma_tisci_m2m_channel_config()
1945 if (burst_size) { in bcdma_tisci_m2m_channel_config()
[all …]
/linux-6.12.1/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.12.1/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.12.1/drivers/iio/imu/
Dadis16475.c1497 u16 burst_size, u16 start_idx) in adis16475_validate_crc() argument
1501 for (i = start_idx; i < burst_size - 2; i++) in adis16475_validate_crc()
1569 u16 burst_size = ADIS16475_BURST_MAX_DATA; in adis16475_push_single_sample() local
1577 burst_size = adis->data->burst_max_len; in adis16475_push_single_sample()
1587 valid = adis16475_validate_crc(adis->buffer, crc, burst_size, start_idx); in adis16475_push_single_sample()
/linux-6.12.1/drivers/usb/gadget/udc/cdns2/
Dcdns2-trace.h563 __field(u8, burst_size)
572 __entry->burst_size = pep->trb_burst_size;
/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/
Ddispc.c1250 enum omap_burst_size burst_size) in dispc_ovl_set_burst_size() argument
1256 REG_FLD_MOD(dispc, DISPC_OVL_ATTRIBUTES(plane), burst_size, in dispc_ovl_set_burst_size()
1263 const int burst_size = BURST_SIZE_X8; in dispc_configure_burst_sizes() local
1267 dispc_ovl_set_burst_size(dispc, i, burst_size); in dispc_configure_burst_sizes()
1269 dispc_ovl_set_burst_size(dispc, OMAP_DSS_WB, burst_size); in dispc_configure_burst_sizes()
1522 unsigned int ovl_fifo_size, total_fifo_size, burst_size; in dispc_ovl_compute_fifo_thresholds() local
1525 burst_size = dispc_ovl_get_burst_size(dispc, plane); in dispc_ovl_compute_fifo_thresholds()
1543 *fifo_low = ovl_fifo_size - burst_size * 2; in dispc_ovl_compute_fifo_thresholds()
1544 *fifo_high = total_fifo_size - burst_size; in dispc_ovl_compute_fifo_thresholds()
1552 *fifo_high = burst_size; in dispc_ovl_compute_fifo_thresholds()
[all …]

12