Home
last modified time | relevance | path

Searched refs:bps (Results 1 – 25 of 144) sorted by relevance

123456

/openbmc/qemu/tests/qemu-iotests/
H A D184.out50 "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 D051.out284 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 D051290 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 D051.pc.out364 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 D191.out146 "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 …]
/openbmc/linux/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c38 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/u-boot/drivers/serial/
H A Dserial_sh.h740 #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
767 #define SCBRR_VALUE(bps, clk) (clk / bps / 32 - 1) /* Internal Clock */ argument
[all …]
H A Dserial_sti_asc.c47 #define BAUDRATE_VAL_M0(bps) (PCLK / (16 * (bps))) argument
48 #define BAUDRATE_VAL_M1(bps) ((bps * (1 << 14)) + (1<<13)) / (PCLK/(1 << 6)) argument
/openbmc/linux/drivers/usb/serial/
H A Dark3116.c114 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/net/netfilter/
H A Dxt_rateest.c25 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/linux/sound/soc/sof/intel/
H A Dhda-probes.c79 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/gpu/drm/amd/amdgpu/
H A Damdgpu_ras.c1289 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()
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()
1995 *bps = NULL; in amdgpu_ras_badpages_read()
[all …]
H A Damdgpu_virt.c300 void *bps = NULL; in amdgpu_virt_init_ras_err_handler_data() local
307 bps = kmalloc_array(align_space, sizeof((*data)->bps), GFP_KERNEL); in amdgpu_virt_init_ras_err_handler_data()
308 if (!bps) in amdgpu_virt_init_ras_err_handler_data()
315 (*data)->bps = bps; in amdgpu_virt_init_ras_err_handler_data()
325 kfree(bps); in amdgpu_virt_init_ras_err_handler_data()
362 kfree(data->bps); in amdgpu_virt_release_ras_err_handler_data()
369 struct eeprom_table_record *bps, int pages) in amdgpu_virt_ras_add_bps() argument
377 memcpy(&data->bps[data->count], bps, pages * sizeof(*data->bps)); in amdgpu_virt_ras_add_bps()
393 bp = data->bps[i].retired_page; in amdgpu_virt_ras_reserve_bps()
422 if (retired_page == data->bps[i].retired_page) in amdgpu_virt_ras_check_bad_page()
/openbmc/linux/sound/hda/
H A Dhdac_device.c853 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local
859 bps = 0; in snd_hdac_query_supported_pcm()
863 bps = 8; in snd_hdac_query_supported_pcm()
867 bps = 16; in snd_hdac_query_supported_pcm()
875 bps = 24; in snd_hdac_query_supported_pcm()
877 bps = 20; in snd_hdac_query_supported_pcm()
882 bps = 32; in snd_hdac_query_supported_pcm()
884 bps = 24; in snd_hdac_query_supported_pcm()
886 bps = 20; in snd_hdac_query_supported_pcm()
892 if (!bps) in snd_hdac_query_supported_pcm()
[all …]
H A Dintel-nhlt.c241 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()
/openbmc/linux/block/
H A Dblk-throttle.c157 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()
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()
457 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid()
478 tg->bps[READ][LIMIT_LOW] = 0; in throtl_pd_offline()
[all …]
/openbmc/qemu/docs/
H A Dthrottle.txt37 | 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/Documentation/misc-devices/
H A Doxsemi-tornado.rst16 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/include/uapi/linux/
H A Dgen_stats.h37 __u32 bps; member
47 __u64 bps; member
/openbmc/linux/net/core/
H A Dgen_stats.c317 est.bps = min_t(u64, UINT_MAX, sample.bps); in gnet_stats_copy_rate_est()
322 d->tc_stats.bps = est.bps; in gnet_stats_copy_rate_est()
329 if (res < 0 || est.bps == sample.bps) in gnet_stats_copy_rate_est()
/openbmc/linux/drivers/tty/serial/
H A Dzs.h53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
H A Dip22zilog.h32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
H A Dsunzilog.h24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
/openbmc/linux/sound/soc/intel/avs/
H A Dprobes.c133 int bps, ret; in avs_probe_compr_set_params() local
144 bps = snd_pcm_format_physical_width(format); in avs_probe_compr_set_params()
145 if (bps < 0) in avs_probe_compr_set_params()
146 return bps; in avs_probe_compr_set_params()
148 format, bps, 0); in avs_probe_compr_set_params()
/openbmc/linux/net/mac80211/
H A Dairtime.c19 #define MCS_N_KSYMS(bps) DIV_ROUND_UP(MCS_NBITS << 10, (bps)) argument
31 #define MCS_DURATION(streams, sgi, bps) \ argument
32 ((u32)MCS_SYMBOL_TIME(sgi, MCS_N_KSYMS((streams) * (bps))))
34 #define MCS_DURATION_S(shift, streams, sgi, bps) \ argument
35 ((u16)((MCS_DURATION(streams, sgi, bps) >> shift)))
52 #define HE_DURATION(streams, gi, bps) \ argument
53 ((u32)HE_SYMBOL_TIME(gi, MCS_N_KSYMS((streams) * (bps))))
55 #define HE_DURATION_S(shift, streams, gi, bps) \ argument
56 (HE_DURATION(streams, gi, bps) >> shift)

123456