/openbmc/qemu/tests/qemu-iotests/ |
H A D | 184.out | 50 "bps": 0, 77 "bps": 0, 124 "bps-read-max-length": 1, 126 "bps-read-max": 0, 127 "bps-total": 0, 131 "bps-write": 0, 132 "bps-total-max": 0, 133 "bps-write-max": 0, 138 "bps-total-max-length": 1, 140 "bps-read": 0, [all …]
|
H A D | 051.out | 284 Testing: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678 285 …MU_PROG: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678: 'throttling.bps-total' a… 287 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd=1234,throttling.bps-read=5678 288 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd=1234,throttling.bps-read=5678: 'throttling.bps-read'… 290 Testing: -drive file=TEST_DIR/t.qcow2,bps_wr=1234,throttling.bps-write=5678 291 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_wr=1234,throttling.bps-write=5678: 'throttling.bps-writ… 302 Testing: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678 303 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678: 'throttling.bps… 305 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678 306 …G: -drive file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678: 'throttling.bps-read… [all …]
|
H A D | 051.pc.out | 364 Testing: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678 365 …MU_PROG: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678: 'throttling.bps-total' a… 367 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd=1234,throttling.bps-read=5678 368 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd=1234,throttling.bps-read=5678: 'throttling.bps-read'… 370 Testing: -drive file=TEST_DIR/t.qcow2,bps_wr=1234,throttling.bps-write=5678 371 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_wr=1234,throttling.bps-write=5678: 'throttling.bps-writ… 382 Testing: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678 383 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678: 'throttling.bps… 385 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678 386 …G: -drive file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678: 'throttling.bps-read… [all …]
|
H A D | 191.out | 146 "bps": 0, 174 "bps": 0, 215 "bps": 0, 243 "bps": 0, 284 "bps": 0, 312 "bps": 0, 341 "bps": 0, 369 "bps": 0, 553 "bps": 0, 581 "bps": 0, [all …]
|
H A D | 051 | 290 run_qemu -drive file="$TEST_IMG",bps=1234,throttling.bps-total=5678 291 run_qemu -drive file="$TEST_IMG",bps_rd=1234,throttling.bps-read=5678 292 run_qemu -drive file="$TEST_IMG",bps_wr=1234,throttling.bps-write=5678 298 run_qemu -drive file="$TEST_IMG",bps_max=1234,throttling.bps-total-max=5678 299 run_qemu -drive file="$TEST_IMG",bps_rd_max=1234,throttling.bps-read-max=5678 300 run_qemu -drive file="$TEST_IMG",bps_wr_max=1234,throttling.bps-write-max=5678 310 run_qemu -drive file="$TEST_IMG",bps=-2 314 run_qemu -drive file="$TEST_IMG",throttling.bps-total=-5 316 run_qemu -drive file="$TEST_IMG",bps=0 317 run_qemu -drive file="$TEST_IMG",bps=1 [all …]
|
H A D | 093 | 76 rd_nr = max(params['bps'] // rq_size // 2, 82 wr_nr = max(params['bps'] // rq_size // 2, 133 self.assertTrue(check_limit(params['bps'], rd_bytes + wr_bytes)) 146 params = {"bps": 4096, 164 params = {"bps": 4096, 181 params = {"bps": 4096, 221 params = {"bps": 0, 303 params = {"bps": 0, 390 "bps": 50, "bps_rd": 0, "bps_wr": 0 } 396 self.assert_qmp(result, 'return[0]/inserted/bps', 50) [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | throttle-options.h | 22 #define QEMU_OPT_BPS_TOTAL "bps-total" 23 #define QEMU_OPT_BPS_TOTAL_MAX "bps-total-max" 24 #define QEMU_OPT_BPS_TOTAL_MAX_LENGTH "bps-total-max-length" 25 #define QEMU_OPT_BPS_READ "bps-read" 26 #define QEMU_OPT_BPS_READ_MAX "bps-read-max" 27 #define QEMU_OPT_BPS_READ_MAX_LENGTH "bps-read-max-length" 28 #define QEMU_OPT_BPS_WRITE "bps-write" 29 #define QEMU_OPT_BPS_WRITE_MAX "bps-write-max" 30 #define QEMU_OPT_BPS_WRITE_MAX_LENGTH "bps-write-max-length" 99 .help = "length of the bps-total-max burst period, in seconds",\ [all …]
|
/openbmc/linux/drivers/soundwire/ |
H A D | generic_bandwidth_allocation.c | 38 unsigned int rate, bps, ch = 0; in sdw_compute_slave_ports() local 46 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports() 62 p_rt->num, bps, in sdw_compute_slave_ports() 66 port_bo += bps * ch; in sdw_compute_slave_ports() 93 unsigned int rate, bps, ch; in sdw_compute_master_ports() local 96 bps = m_rt->stream->params.bps; in sdw_compute_master_ports() 115 p_rt->num, bps, in sdw_compute_master_ports() 123 port_bo += bps * ch; in sdw_compute_master_ports() 131 port_bo += bps * ch; in sdw_compute_master_ports() 151 port_bo += m_rt->ch_count * m_rt->stream->params.bps; in _sdw_compute_port_params() [all …]
|
/openbmc/qemu/fsdev/ |
H A D | qemu-fsdev.c | 62 "throttling.bps-total", 63 "throttling.bps-read", 64 "throttling.bps-write", 68 "throttling.bps-total-max", 69 "throttling.bps-read-max", 70 "throttling.bps-write-max", 74 "throttling.bps-total-max-length", 75 "throttling.bps-read-max-length", 76 "throttling.bps-write-max-length",
|
H A D | qemu-fsdev-throttle.c | 38 qemu_opt_get_number(opts, "throttling.bps-total", 0); in fsdev_throttle_parse_opts() 40 qemu_opt_get_number(opts, "throttling.bps-read", 0); in fsdev_throttle_parse_opts() 42 qemu_opt_get_number(opts, "throttling.bps-write", 0); in fsdev_throttle_parse_opts() 51 qemu_opt_get_number(opts, "throttling.bps-total-max", 0); in fsdev_throttle_parse_opts() 53 qemu_opt_get_number(opts, "throttling.bps-read-max", 0); in fsdev_throttle_parse_opts() 55 qemu_opt_get_number(opts, "throttling.bps-write-max", 0); in fsdev_throttle_parse_opts() 64 qemu_opt_get_number(opts, "throttling.bps-total-max-length", 1); in fsdev_throttle_parse_opts() 66 qemu_opt_get_number(opts, "throttling.bps-read-max-length", 1); in fsdev_throttle_parse_opts() 68 qemu_opt_get_number(opts, "throttling.bps-write-max-length", 1); in fsdev_throttle_parse_opts()
|
/openbmc/qemu/docs/ |
H A D | throttle.txt | 37 | throttling.bps-total | bps | 38 | throttling.bps-read | bps_rd | 39 | throttling.bps-write | bps_wr | 42 It is possible to set limits for both IOPS and bps at the same time, 45 iops-read nor iops-write can be set. The same applies to bps-total and 46 bps-read/write. 64 "bps": 0, 104 "bps": 0, 133 | throttling.bps-total-max | bps_max | 134 | throttling.bps-total-max-length | bps_max_length | [all …]
|
/openbmc/linux/include/linux/usb/ |
H A D | irda.h | 114 * 1 - 2400 bps 115 * 2 - 9600 bps 116 * 3 - 19200 bps 117 * 4 - 38400 bps 118 * 5 - 57600 bps 119 * 6 - 115200 bps 120 * 7 - 576000 bps
|
/openbmc/linux/include/uapi/linux/ |
H A D | gen_stats.h | 33 * @bps: current byte rate 37 __u32 bps; member 43 * @bps: current byte rate 47 __u64 bps; member
|
/openbmc/linux/net/netfilter/ |
H A D | xt_rateest.c | 25 bps1 = info->bps1 >= sample.bps ? info->bps1 - sample.bps : 0; in xt_rateest_mt() 28 bps1 = sample.bps; in xt_rateest_mt() 39 bps2 = info->bps2 >= sample.bps ? info->bps2 - sample.bps : 0; in xt_rateest_mt() 42 bps2 = sample.bps; in xt_rateest_mt()
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_sh.h | 730 * You "speedist"! How will I use my 110bps ASR-33 teletype with paper 740 #define SCBRR_VALUE(bps, clk) ((clk+16*bps)/(16*bps)-1) argument 749 #define SCBRR_VALUE(bps, clk) (((clk*2)+16*bps)/(32*bps)-1) argument 752 static inline int scbrr_calc(struct uart_port *port, int bps, int clk) in scbrr_calc() argument 755 return (clk+16*bps)/(32*bps)-1; in scbrr_calc() 757 return ((clk*2)+16*bps)/(16*bps)-1; in scbrr_calc() 759 #define SCBRR_VALUE(bps, clk) scbrr_calc(port, bps, clk) argument 761 #define SCBRR_VALUE(bps, clk) (((clk*1000/32)/bps)-1) argument 763 #define DL_VALUE(bps, clk) (clk / bps / 16) /* External Clock */ argument 765 #define SCBRR_VALUE(bps, clk) (clk / bps / 16 - 1) /* Internal Clock */ argument [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | drxk_hard.h | 33 #define DRXK_8VSB_MPEG_BIT_RATE 19392658UL /*bps*/ 34 #define DRXK_DVBT_MPEG_BIT_RATE 32000000UL /*bps*/ 35 #define DRXK_QAM16_MPEG_BIT_RATE 27000000UL /*bps*/ 36 #define DRXK_QAM32_MPEG_BIT_RATE 33000000UL /*bps*/ 37 #define DRXK_QAM64_MPEG_BIT_RATE 40000000UL /*bps*/ 38 #define DRXK_QAM128_MPEG_BIT_RATE 46000000UL /*bps*/ 39 #define DRXK_QAM256_MPEG_BIT_RATE 52000000UL /*bps*/ 40 #define DRXK_MAX_MPEG_BIT_RATE 52000000UL /*bps*/
|
/openbmc/linux/arch/m68k/atari/ |
H A D | debug.c | 164 * timer values for 1200...115200 bps; > 38400 select 110, 134, or 150 in atari_init_mfp_port() 165 * bps, resp., and work only correct if there's a RSVE or RSSPEED in atari_init_mfp_port() 175 baud = B9600; /* use default 9600bps for non-implemented rates */ in atari_init_mfp_port() 176 baud -= B1200; /* baud_table[] starts at 1200bps */ in atari_init_mfp_port() 224 baud = B9600; /* use default 9600bps for non-implemented rates */ in atari_init_scc_port() 225 baud -= B1200; /* tables starts at 1200bps */ in atari_init_scc_port() 234 baud == 7 ? 0x80 : /* really 76800bps */ in atari_init_scc_port() 235 0x40; /* really 153600bps */ in atari_init_scc_port() 276 div = ACIA_DIV64; /* really 7812.5 bps */ in atari_init_midi_port() 280 div = ACIA_DIV16; /* 31250 bps, standard for MIDI */ in atari_init_midi_port()
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-probes.c | 79 int bps, ret; in hda_probes_compr_set_params() local 83 bps = snd_pcm_format_physical_width(SNDRV_PCM_FORMAT_S32_LE); in hda_probes_compr_set_params() 84 if (bps < 0) in hda_probes_compr_set_params() 85 return bps; in hda_probes_compr_set_params() 86 bits = hda_dsp_get_bits(sdev, bps); in hda_probes_compr_set_params()
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_pnp.c | 196 /* NEC 98NOTE SPEAKER PHONE FAX MODEM(33600bps) */ 213 /* Standard 9600 bps Modem */ 215 /* Standard 14400 bps Modem */ 217 /* Standard 28800 bps Modem*/ 221 /* Standard 9600 bps Modem*/ 223 /* Standard 14400 bps Modem*/ 225 /* Standard 28800 bps Modem*/ 229 /* Standard 9600 bps Modem */ 231 /* Standard 14400 bps Modem */ 233 /* Standard 28800 bps Modem */ [all …]
|
/openbmc/linux/drivers/acpi/ |
H A D | acpi_pnp.c | 220 {"nEC8241"}, /* NEC 98NOTE SPEAKER PHONE FAX MODEM(33600bps) */ 228 {"PNPC100"}, /* Standard 9600 bps Modem */ 229 {"PNPC101"}, /* Standard 14400 bps Modem */ 230 {"PNPC102"}, /* Standard 28800 bps Modem */ 232 {"PNPC104"}, /* Standard 9600 bps Modem */ 233 {"PNPC105"}, /* Standard 14400 bps Modem */ 234 {"PNPC106"}, /* Standard 28800 bps Modem */ 236 {"PNPC108"}, /* Standard 9600 bps Modem */ 237 {"PNPC109"}, /* Standard 14400 bps Modem */ 238 {"PNPC10A"}, /* Standard 28800 bps Modem */ [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | ark3116.c | 114 static inline int calc_divisor(int bps) in calc_divisor() argument 121 return (12000000 + 2*bps) / (4*bps); in calc_divisor() 198 int bps = tty_get_baud_rate(tty); in ark3116_set_termios() local 218 dev_dbg(&port->dev, "%s - setting bps to %d\n", __func__, bps); in ark3116_set_termios() 220 switch (bps) { in ark3116_set_termios() 225 if ((bps < 75) || (bps > 3000000)) in ark3116_set_termios() 226 bps = 9600; in ark3116_set_termios() 227 quot = calc_divisor(bps); in ark3116_set_termios() 231 quot = calc_divisor(bps); in ark3116_set_termios() 235 quot = calc_divisor(bps); in ark3116_set_termios() [all …]
|
/openbmc/linux/Documentation/misc-devices/ |
H A D | oxsemi-tornado.rst | 16 determine the actual baud rate used. Baud rates from 15625000bps down 17 to 0.933bps can be obtained this way. 37 By using these parameters rates from 15625000bps down to 1bps can be 90 below 300bps become unavailable in the regular way, e.g. the rate of 91 200bps requires the baud base to be divided by 78125 and that is beyond 108 the baud rate of 38400bps. Note that the value of 0 in TCR sets the 116 port to 62500000 / 62.500 / 1250 / 16 = 50bps.
|
/openbmc/linux/block/ |
H A D | blk-throttle.c | 157 ret = tg->bps[rw][td->limit_index]; in tg_bps_limit() 167 if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] && in tg_bps_limit() 168 tg->bps[rw][LIMIT_LOW] != tg->bps[rw][LIMIT_MAX]) { in tg_bps_limit() 171 adjusted = throtl_adjusted_limit(tg->bps[rw][LIMIT_LOW], td); in tg_bps_limit() 172 ret = min(tg->bps[rw][LIMIT_MAX], adjusted); in tg_bps_limit() 189 /* intermediate node or bps isn't 0 */ in tg_iops_limit() 191 tg->bps[rw][td->limit_index]) in tg_iops_limit() 362 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 363 tg->bps[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 397 * read_bps limit is set on a parent group, summary bps of in throtl_pd_init() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras.c | 1289 struct ras_badpage **bps, unsigned int *count); 1346 struct ras_badpage *bps = NULL; in amdgpu_ras_sysfs_badpages_read() local 1351 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count)) in amdgpu_ras_sysfs_badpages_read() 1357 bps[start].bp, in amdgpu_ras_sysfs_badpages_read() 1358 bps[start].size, in amdgpu_ras_sysfs_badpages_read() 1359 amdgpu_ras_badpage_flags_str(bps[start].flags)); in amdgpu_ras_sysfs_badpages_read() 1361 kfree(bps); in amdgpu_ras_sysfs_badpages_read() 1979 * caller need free bps. 1982 struct ras_badpage **bps, unsigned int *count) in amdgpu_ras_badpages_read() argument 1989 if (!con || !con->eh_data || !bps || !count) in amdgpu_ras_badpages_read() [all …]
|
/openbmc/linux/sound/hda/ |
H A D | intel-nhlt.c | 241 u32 rate, u8 vbps, u8 bps, bool ignore_vbps) in nhlt_get_specific_cfg() argument 263 (ignore_vbps || vbps == _vbps) && bps == _bps) in nhlt_get_specific_cfg() 291 u32 bus_id, u8 link_type, u8 vbps, u8 bps, in intel_nhlt_get_endpoint_blob() argument 306 if (link_type == NHLT_LINK_DMIC && bps == 32 && (vbps == 24 || vbps == 32)) { in intel_nhlt_get_endpoint_blob() 321 num_ch, bps, rate); in intel_nhlt_get_endpoint_blob() 324 dev_dbg(dev, " ch=%d fmt=%d/%d rate=%d\n", num_ch, vbps, bps, rate); in intel_nhlt_get_endpoint_blob() 335 vbps, bps, ignore_vbps); in intel_nhlt_get_endpoint_blob()
|