| /kernel/linux/linux-5.10/drivers/soundwire/ |
| D | generic_bandwidth_allocation.c | 44 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, no_ch; in sdw_compute_master_ports() local 101 bps = m_rt->stream->params.bps; in sdw_compute_master_ports() 121 p_rt->num, bps, in sdw_compute_master_ports() 129 port_bo += bps * ch; in sdw_compute_master_ports() 137 port_bo += bps * ch; in sdw_compute_master_ports() 160 m_rt->stream->params.bps; in _sdw_compute_port_params() [all …]
|
| /kernel/linux/linux-6.6/drivers/soundwire/ |
| 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 …]
|
| /kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
| D | skl-nhlt.c | 18 u8 no_ch, u32 rate, u16 bps, u8 linktype) in skl_get_specific_cfg() argument 31 if (wfmt->channels == no_ch && wfmt->bits_per_sample == bps) { in skl_get_specific_cfg() 52 u8 s_fmt, u8 num_channels, u32 s_rate, u8 dirn, u16 bps) in dump_config() argument 57 dev_dbg(dev, "bits_per_sample=%d\n", bps); in dump_config() 92 u16 bps = (s_fmt == 16) ? 16 : 32; in skl_get_ep_blob() local 95 dump_config(dev, instance, link_type, s_fmt, num_ch, s_rate, dirn, bps); in skl_get_ep_blob() 107 s_rate, bps, link_type); in skl_get_ep_blob() 205 u16 channels, bps; in skl_get_ssp_clks() local 224 bps = wav_fmt->fmt.bits_per_sample; in skl_get_ssp_clks() 230 * different for each usecase for a specific rate and bps. in skl_get_ssp_clks() [all …]
|
| /kernel/linux/linux-5.10/include/linux/usb/ |
| 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
|
| /kernel/linux/linux-6.6/include/linux/usb/ |
| 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
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_ras.c | 944 struct ras_badpage **bps, unsigned int *count); 1001 struct ras_badpage *bps = NULL; in amdgpu_ras_sysfs_badpages_read() local 1006 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count)) in amdgpu_ras_sysfs_badpages_read() 1012 bps[start].bp, in amdgpu_ras_sysfs_badpages_read() 1013 bps[start].size, in amdgpu_ras_sysfs_badpages_read() 1014 amdgpu_ras_badpage_flags_str(bps[start].flags)); in amdgpu_ras_sysfs_badpages_read() 1016 kfree(bps); in amdgpu_ras_sysfs_badpages_read() 1521 * caller need free bps. 1524 struct ras_badpage **bps, unsigned int *count) in amdgpu_ras_badpages_read() argument 1531 if (!con || !con->eh_data || !bps || !count) in amdgpu_ras_badpages_read() [all …]
|
| /kernel/linux/linux-6.6/net/netfilter/ |
| 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()
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| 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()
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | gen_stats.h | 33 * @bps: current byte rate 37 __u32 bps; member 43 * @bps: current byte rate 47 __u64 bps; member
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | gen_stats.h | 33 * @bps: current byte rate 37 __u32 bps; member 43 * @bps: current byte rate 47 __u64 bps; member
|
| /kernel/linux/linux-5.10/sound/soc/sof/intel/ |
| D | hda-compress.c | 68 int bps, ret; in hda_probe_compr_set_params() local 72 bps = snd_pcm_format_physical_width(SNDRV_PCM_FORMAT_S32_LE); in hda_probe_compr_set_params() 73 if (bps < 0) in hda_probe_compr_set_params() 74 return bps; in hda_probe_compr_set_params() 75 bits = hda_dsp_get_bits(sdev, bps); in hda_probe_compr_set_params()
|
| /kernel/linux/linux-6.6/arch/m68k/atari/ |
| 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()
|
| /kernel/linux/linux-5.10/arch/m68k/atari/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| 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*/
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| 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*/
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | acpi_pnp.c | 222 {"nEC8241"}, /* NEC 98NOTE SPEAKER PHONE FAX MODEM(33600bps) */ 230 {"PNPC100"}, /* Standard 9600 bps Modem */ 231 {"PNPC101"}, /* Standard 14400 bps Modem */ 232 {"PNPC102"}, /* Standard 28800 bps Modem */ 234 {"PNPC104"}, /* Standard 9600 bps Modem */ 235 {"PNPC105"}, /* Standard 14400 bps Modem */ 236 {"PNPC106"}, /* Standard 28800 bps Modem */ 238 {"PNPC108"}, /* Standard 9600 bps Modem */ 239 {"PNPC109"}, /* Standard 14400 bps Modem */ 240 {"PNPC10A"}, /* Standard 28800 bps Modem */ [all …]
|
| /kernel/linux/linux-6.6/sound/soc/sof/intel/ |
| 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()
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
| D | 8250_pnp.c | 200 /* NEC 98NOTE SPEAKER PHONE FAX MODEM(33600bps) */ 217 /* Standard 9600 bps Modem */ 219 /* Standard 14400 bps Modem */ 221 /* Standard 28800 bps Modem*/ 225 /* Standard 9600 bps Modem*/ 227 /* Standard 14400 bps Modem*/ 229 /* Standard 28800 bps Modem*/ 233 /* Standard 9600 bps Modem */ 235 /* Standard 14400 bps Modem */ 237 /* Standard 28800 bps Modem */ [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/serial/ |
| 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() 200 int bps = tty_get_baud_rate(tty); in ark3116_set_termios() local 234 dev_dbg(&port->dev, "%s - setting bps to %d\n", __func__, bps); in ark3116_set_termios() 236 switch (bps) { in ark3116_set_termios() 241 if ((bps < 75) || (bps > 3000000)) in ark3116_set_termios() 242 bps = 9600; in ark3116_set_termios() 243 quot = calc_divisor(bps); in ark3116_set_termios() 247 quot = calc_divisor(bps); in ark3116_set_termios() 251 quot = calc_divisor(bps); in ark3116_set_termios() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/serial/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/misc-devices/ |
| 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.
|
| /kernel/linux/linux-5.10/block/ |
| D | blk-throttle.c | 145 uint64_t bps[2][LIMIT_CNT]; member 146 /* user configured bps limits */ 310 ret = tg->bps[rw][td->limit_index]; in tg_bps_limit() 320 if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] && in tg_bps_limit() 321 tg->bps[rw][LIMIT_LOW] != tg->bps[rw][LIMIT_MAX]) { in tg_bps_limit() 324 adjusted = throtl_adjusted_limit(tg->bps[rw][LIMIT_LOW], td); in tg_bps_limit() 325 ret = min(tg->bps[rw][LIMIT_MAX], adjusted); in tg_bps_limit() 342 /* intermediate node or bps isn't 0 */ in tg_iops_limit() 344 tg->bps[rw][td->limit_index]) in tg_iops_limit() 516 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() [all …]
|
| /kernel/linux/linux-6.6/block/ |
| 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 …]
|