Home
last modified time | relevance | path

Searched refs:burst_length (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/qemu/util/
H A Dthrottle.c49 if (bkt->burst_length > 1) { in throttle_leak_bucket()
114 bucket_size = bkt->max * bkt->burst_length; in throttle_compute_wait()
126 if (bkt->burst_length > 1) { in throttle_compute_wait()
223 cfg->buckets[i].burst_length = 1; in throttle_config_init()
360 if (!bkt->burst_length) { in throttle_is_valid()
365 if (bkt->burst_length > 1 && !bkt->max) { in throttle_is_valid()
370 if (bkt->max && bkt->burst_length > THROTTLE_VALUE_MAX / bkt->max) { in throttle_is_valid()
495 if (bkt->burst_length > 1) { in throttle_account()
501 if (bkt->burst_length > 1) { in throttle_account()
561 cfg->buckets[THROTTLE_BPS_TOTAL].burst_length = arg->bps_total_max_length; in throttle_limits_to_config()
[all …]
/openbmc/qemu/fsdev/
H A Dqemu-fsdev-throttle.c63 fst->cfg.buckets[THROTTLE_BPS_TOTAL].burst_length = in fsdev_throttle_parse_opts()
65 fst->cfg.buckets[THROTTLE_BPS_READ].burst_length = in fsdev_throttle_parse_opts()
67 fst->cfg.buckets[THROTTLE_BPS_WRITE].burst_length = in fsdev_throttle_parse_opts()
69 fst->cfg.buckets[THROTTLE_OPS_TOTAL].burst_length = in fsdev_throttle_parse_opts()
71 fst->cfg.buckets[THROTTLE_OPS_READ].burst_length = in fsdev_throttle_parse_opts()
73 fst->cfg.buckets[THROTTLE_OPS_WRITE].burst_length = in fsdev_throttle_parse_opts()
/openbmc/qemu/hw/ssi/
H A Dimx_spi.c68 VMSTATE_INT16(burst_length, IMXSPIState),
173 if (s->burst_length <= 0) { in imx_spi_flush_txfifo()
174 s->burst_length = imx_spi_burst_length(s); in imx_spi_flush_txfifo()
176 DPRINTF("Burst length = %d\n", s->burst_length); in imx_spi_flush_txfifo()
187 tx_burst = (s->burst_length % 32) ? : 32; in imx_spi_flush_txfifo()
205 s->burst_length -= 8; in imx_spi_flush_txfifo()
216 if (s->burst_length <= 0) { in imx_spi_flush_txfifo()
256 s->burst_length = 0; in imx_spi_common_reset()
/openbmc/linux/drivers/iio/imu/
H A Dadis_buffer.c26 unsigned int burst_length, burst_max_length; in adis_update_scan_mode_burst() local
29 burst_length = adis->data->burst_len + adis->burst_extra_len; in adis_update_scan_mode_burst()
34 burst_max_length = burst_length; in adis_update_scan_mode_burst()
58 adis->xfer[1].len = burst_length; in adis_update_scan_mode_burst()
/openbmc/qemu/tests/unit/
H A Dtest-throttle.c71 bkt.burst_length = 2; /* otherwise burst_level will not leak */ in test_leak_bucket()
125 bkt.burst_length = 2; in test_compute_wait()
485 b->burst_length = 0; in test_ranges()
490 b->burst_length = 1; in test_ranges()
495 b->burst_length = THROTTLE_VALUE_MAX; in test_ranges()
500 b->burst_length = THROTTLE_VALUE_MAX + 1; in test_ranges()
506 b->burst_length = THROTTLE_VALUE_MAX / 2; in test_ranges()
511 b->burst_length = THROTTLE_VALUE_MAX / 2; in test_ranges()
516 b->burst_length = 1; in test_ranges()
521 b->burst_length = 2; in test_ranges()
/openbmc/qemu/block/
H A Dqapi-sysemu.c467 cfg.buckets[THROTTLE_BPS_TOTAL].burst_length = arg->bps_max_length; in qmp_block_set_io_throttle()
470 cfg.buckets[THROTTLE_BPS_READ].burst_length = arg->bps_rd_max_length; in qmp_block_set_io_throttle()
473 cfg.buckets[THROTTLE_BPS_WRITE].burst_length = arg->bps_wr_max_length; in qmp_block_set_io_throttle()
476 cfg.buckets[THROTTLE_OPS_TOTAL].burst_length = arg->iops_max_length; in qmp_block_set_io_throttle()
479 cfg.buckets[THROTTLE_OPS_READ].burst_length = arg->iops_rd_max_length; in qmp_block_set_io_throttle()
482 cfg.buckets[THROTTLE_OPS_WRITE].burst_length = arg->iops_wr_max_length; in qmp_block_set_io_throttle()
H A Dqapi.c121 cfg.buckets[THROTTLE_BPS_TOTAL].burst_length; in bdrv_block_device_info()
124 cfg.buckets[THROTTLE_BPS_READ].burst_length; in bdrv_block_device_info()
127 cfg.buckets[THROTTLE_BPS_WRITE].burst_length; in bdrv_block_device_info()
131 cfg.buckets[THROTTLE_OPS_TOTAL].burst_length; in bdrv_block_device_info()
134 cfg.buckets[THROTTLE_OPS_READ].burst_length; in bdrv_block_device_info()
137 cfg.buckets[THROTTLE_OPS_WRITE].burst_length; in bdrv_block_device_info()
/openbmc/qemu/tests/qemu-iotests/
H A D093193 burst_length = 4
199 settings['%s_max_length' % tk] = burst_length
203 wait_ns = nsec_per_sec * burst_length * burst_rate // rate
209 self.do_test_throttle(ndrives, burst_length, limits)
/openbmc/u-boot/drivers/ddr/fsl/
H A Dctrl_regs.c833 if (popts->burst_length == DDR_BL8) in set_ddr_sdram_cfg()
835 if (popts->burst_length == DDR_OTF) in set_ddr_sdram_cfg()
1442 switch (popts->burst_length) { in set_ddr_sdram_mode()
1454 popts->burst_length); in set_ddr_sdram_mode()
1632 switch (popts->burst_length) { in set_ddr_sdram_mode()
1645 popts->burst_length); in set_ddr_sdram_mode()
1809 switch (popts->burst_length) { in set_ddr_sdram_mode()
1819 popts->burst_length); in set_ddr_sdram_mode()
1918 if (popts->burst_length == DDR_BL8) { in set_timing_cfg_4()
2070 if (popts->burst_length == DDR_BL8) { in set_timing_cfg_8()
H A Doptions.c956 popts->burst_length = DDR_BL8; /* Fixed 8-beat burst len */ in populate_memctl_options()
961 popts->burst_length = DDR_BL8; in populate_memctl_options()
964 popts->burst_length = DDR_OTF; /* on-the-fly BC4 and BL8 */ in populate_memctl_options()
968 popts->burst_length = DDR_BL4; /* has to be 4 for DDR2 */ in populate_memctl_options()
/openbmc/qemu/include/hw/ssi/
H A Dimx_spi.h104 int16_t burst_length; member
/openbmc/u-boot/drivers/ddr/marvell/a38x/
H A Dddr3_training_ip_bist.h53 u32 burst_length);
/openbmc/qemu/include/qemu/
H A Dthrottle.h84 uint64_t burst_length; /* max length of the burst period, in seconds */ member
/openbmc/u-boot/board/freescale/ls1046aqds/
H A Dddr.c69 popts->burst_length = DDR_BL8; in fsl_ddr_board_options()
/openbmc/linux/drivers/scsi/
H A Dsni_53c710.c79 hostdata->burst_length = 4; in snirm710_probe()
H A Dlasi700.c110 hostdata->burst_length = 8; in lasi700_probe()
H A D53c700.c664 __u8 burst_length = 0; in NCR_700_chip_setup() local
666 switch (hostdata->burst_length) { in NCR_700_chip_setup()
668 burst_length = BURST_LENGTH_1; in NCR_700_chip_setup()
671 burst_length = BURST_LENGTH_2; in NCR_700_chip_setup()
674 burst_length = BURST_LENGTH_4; in NCR_700_chip_setup()
677 burst_length = BURST_LENGTH_8; in NCR_700_chip_setup()
686 NCR_700_writeb(burst_length | hostdata->dmode_extra, in NCR_700_chip_setup()
H A Dsim710.c112 hostdata->burst_length = 8; in sim710_probe_common()
/openbmc/u-boot/board/freescale/ls1043aqds/
H A Dddr.c73 popts->burst_length = DDR_BL8; in fsl_ddr_board_options()
/openbmc/u-boot/board/freescale/ls2080a/
H A Dddr.c80 popts->burst_length = DDR_BL8; in fsl_ddr_board_options()
/openbmc/u-boot/board/freescale/ls1021aqds/
H A Dddr.c71 popts->burst_length = DDR_BL8; in fsl_ddr_board_options()
/openbmc/u-boot/board/freescale/ls2080ardb/
H A Dddr.c92 popts->burst_length = DDR_BL8; in fsl_ddr_board_options()
/openbmc/u-boot/board/freescale/ls2080aqds/
H A Dddr.c90 popts->burst_length = DDR_BL8; in fsl_ddr_board_options()
/openbmc/linux/drivers/soc/tegra/cbb/
H A Dtegra234-cbb.c351 u8 cache_type, prot_type, burst_length, mstr_id, grpsec, vqc, falconsec, beat_size; in print_errlog_err() local
386 burst_length = FIELD_GET(FAB_EM_EL_BURSTLENGTH, cbb->mn_attr0); in print_errlog_err()
425 tegra_cbb_print_err(file, "\t Burst_length\t\t: %#x\n", burst_length); in print_errlog_err()
/openbmc/u-boot/board/freescale/ls1043ardb/
H A Dddr.c73 popts->burst_length = DDR_BL8; in fsl_ddr_board_options()

12