Home
last modified time | relevance | path

Searched full:bps (Results 1 – 25 of 179) sorted by relevance

12345678

/Linux-v6.1/drivers/soundwire/
Dgeneric_bandwidth_allocation.c44 unsigned int rate, bps, ch = 0; in sdw_compute_slave_ports() local
52 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports()
68 p_rt->num, bps, in sdw_compute_slave_ports()
72 port_bo += bps * ch; in sdw_compute_slave_ports()
98 unsigned int rate, bps, ch; in sdw_compute_master_ports() local
101 bps = m_rt->stream->params.bps; in sdw_compute_master_ports()
120 p_rt->num, bps, in sdw_compute_master_ports()
128 port_bo += bps * ch; in sdw_compute_master_ports()
136 port_bo += bps * ch; in sdw_compute_master_ports()
159 m_rt->stream->params.bps; in _sdw_compute_port_params()
[all …]
Dbus.h195 int port_num, int bps, in sdw_fill_port_params() argument
199 params->bps = bps; in sdw_fill_port_params()
/Linux-v6.1/include/linux/usb/
Dirda.h114 * 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
/Linux-v6.1/net/netfilter/
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()
/Linux-v6.1/include/uapi/linux/
Dgen_stats.h33 * @bps: current byte rate
37 __u32 bps; member
43 * @bps: current byte rate
47 __u64 bps; member
Dtty_flags.h19 #define ASYNCB_SPD_HI 4 /* Use 57600 instead of 38400 bps */
20 #define ASYNCB_SPD_VHI 5 /* Use 115200 instead of 38400 bps */
28 #define ASYNCB_SPD_SHI 12 /* Use 230400 instead of 38400 bps */
/Linux-v6.1/arch/m68k/atari/
Ddebug.c164 * 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()
/Linux-v6.1/drivers/media/dvb-frontends/
Ddrxk_hard.h33 #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*/
/Linux-v6.1/drivers/acpi/
Dacpi_pnp.c220 {"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 …]
/Linux-v6.1/sound/soc/sof/intel/
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()
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras.c1187 struct ras_badpage **bps, unsigned int *count);
1244 struct ras_badpage *bps = NULL; in amdgpu_ras_sysfs_badpages_read() local
1249 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count)) in amdgpu_ras_sysfs_badpages_read()
1255 bps[start].bp, in amdgpu_ras_sysfs_badpages_read()
1256 bps[start].size, in amdgpu_ras_sysfs_badpages_read()
1257 amdgpu_ras_badpage_flags_str(bps[start].flags)); in amdgpu_ras_sysfs_badpages_read()
1259 kfree(bps); in amdgpu_ras_sysfs_badpages_read()
1870 * caller need free bps.
1873 struct ras_badpage **bps, unsigned int *count) in amdgpu_ras_badpages_read() argument
1880 if (!con || !con->eh_data || !bps || !count) in amdgpu_ras_badpages_read()
[all …]
Damdgpu_virt.c292 void *bps = NULL; in amdgpu_virt_init_ras_err_handler_data() local
299 bps = kmalloc_array(align_space, sizeof((*data)->bps), GFP_KERNEL); in amdgpu_virt_init_ras_err_handler_data()
300 if (!bps) in amdgpu_virt_init_ras_err_handler_data()
307 (*data)->bps = bps; in amdgpu_virt_init_ras_err_handler_data()
317 kfree(bps); in amdgpu_virt_init_ras_err_handler_data()
354 kfree(data->bps); in amdgpu_virt_release_ras_err_handler_data()
361 struct eeprom_table_record *bps, int pages) in amdgpu_virt_ras_add_bps() argument
369 memcpy(&data->bps[data->count], bps, pages * sizeof(*data->bps)); in amdgpu_virt_ras_add_bps()
385 bp = data->bps[i].retired_page; in amdgpu_virt_ras_reserve_bps()
415 if (retired_page == data->bps[i].retired_page) in amdgpu_virt_ras_check_bad_page()
/Linux-v6.1/drivers/tty/serial/8250/
D8250_pnp.c196 /* 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 …]
/Linux-v6.1/drivers/usb/serial/
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 …]
/Linux-v6.1/Documentation/misc-devices/
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.
/Linux-v6.1/block/
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()
189 /* intermediate node or bps isn't 0 */ in tg_iops_limit()
191 tg->bps[rw][td->limit_index]) in tg_iops_limit()
363 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc()
364 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()
[all …]
/Linux-v6.1/sound/soc/intel/skylake/
Dskl-nhlt.c103 u16 channels, bps; in skl_get_ssp_clks() local
122 bps = wav_fmt->fmt.bits_per_sample; in skl_get_ssp_clks()
128 * different for each usecase for a specific rate and bps. in skl_get_ssp_clks()
132 * So for the given fs and bps, choose blob which has in skl_get_ssp_clks()
141 (bps == wav_fmt->fmt.bits_per_sample)) { in skl_get_ssp_clks()
151 rate = channels * bps * fs; in skl_get_ssp_clks()
/Linux-v6.1/net/mac80211/
Dairtime.c16 /* Number of kilo-symbols (symbols * 1024) for a packet with (bps) bits per
19 #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)
/Linux-v6.1/sound/hda/
Dhdac_device.c732 * @maxbps: the max. bps
852 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local
858 bps = 0; in snd_hdac_query_supported_pcm()
862 bps = 8; in snd_hdac_query_supported_pcm()
866 bps = 16; in snd_hdac_query_supported_pcm()
874 bps = 24; in snd_hdac_query_supported_pcm()
876 bps = 20; in snd_hdac_query_supported_pcm()
881 bps = 32; in snd_hdac_query_supported_pcm()
883 bps = 24; in snd_hdac_query_supported_pcm()
885 bps = 20; in snd_hdac_query_supported_pcm()
[all …]
Dintel-nhlt.c241 u32 rate, u8 vbps, u8 bps) in nhlt_get_specific_cfg() argument
259 vbps == _vbps && bps == _bps) in nhlt_get_specific_cfg()
287 u32 bus_id, u8 link_type, u8 vbps, u8 bps, in intel_nhlt_get_endpoint_blob() argument
301 dev_dbg(dev, " ch=%d fmt=%d/%d rate=%d\n", num_ch, vbps, bps, rate); in intel_nhlt_get_endpoint_blob()
310 cfg = nhlt_get_specific_cfg(dev, fmt, num_ch, rate, vbps, bps); in intel_nhlt_get_endpoint_blob()
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_tc_edt.sh84 awk '{printf "elapsed: %d sec; bps difference: %.2f%%\n",
87 # Pass the test if the actual bps is within 1% of the expected bps.
/Linux-v6.1/net/core/
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()
/Linux-v6.1/drivers/slimbus/
Dstream.c221 rt->bps = cfg->bps; in slim_stream_prepare()
280 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS; in slim_define_channel_content()
313 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS; in slim_define_channel()
315 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS + 1; in slim_define_channel()
/Linux-v6.1/include/media/i2c/
Dtc358743.h51 /* Bps pr lane is (refclk_hz / pll_prd) * pll_fbd */
61 * bps pr lane is 823.5 MHz, and can serve as a starting point.
/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_perf.h65 * @fix_core_ib_vote: fixed core ib vote in bps used in mode 2
66 * @fix_core_ab_vote: fixed core ab vote in bps used in mode 2

12345678