| /linux/drivers/gpu/drm/amd/ras/rascore/ |
| H A D | ras_umc.c | 323 if ((data->bps[i].retired_row_pfn == record->retired_row_pfn) && in ras_umc_check_retired_record() 324 (data->bps[i].cur_nps_retired_row_pfn == record->cur_nps_retired_row_pfn)) in ras_umc_check_retired_record() 331 /* alloc/realloc bps array */ 338 void *bps = kzalloc(align_space * sizeof(*data->bps), GFP_KERNEL); in ras_umc_realloc_err_data_space() local 340 if (!bps) in ras_umc_realloc_err_data_space() 343 if (data->bps) { in ras_umc_realloc_err_data_space() 344 memcpy(bps, data->bps, in ras_umc_realloc_err_data_space() 345 data->count * sizeof(*data->bps)); in ras_umc_realloc_err_data_space() 346 kfree(data->bps); in ras_umc_realloc_err_data_space() 349 data->bps = bps; in ras_umc_realloc_err_data_space() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ras.c | 1841 struct ras_badpage *bps, uint32_t count, uint32_t start); 1843 struct ras_badpage *bps, uint32_t count, uint32_t start); 1900 struct ras_badpage *bps = NULL; in amdgpu_ras_sysfs_badpages_read() local 1907 bps = kmalloc_objs(*bps, bps_count); in amdgpu_ras_sysfs_badpages_read() 1908 if (!bps) in amdgpu_ras_sysfs_badpages_read() 1911 memset(bps, 0, sizeof(*bps) * bps_count); in amdgpu_ras_sysfs_badpages_read() 1914 bps_count = amdgpu_uniras_badpages_read(adev, bps, bps_count, start); in amdgpu_ras_sysfs_badpages_read() 1916 bps_count = amdgpu_ras_badpages_read(adev, bps, bps_count, start); in amdgpu_ras_sysfs_badpages_read() 1919 kfree(bps); in amdgpu_ras_sysfs_badpages_read() 1924 address = ((uint64_t)bps[i].bp) << AMDGPU_GPU_PAGE_SHIFT; in amdgpu_ras_sysfs_badpages_read() [all …]
|
| /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
|
| /linux/drivers/acpi/ |
| H A D | nhlt.c | 134 * @bps: bits per sample. 141 u16 ch, u32 rate, u16 vbps, u16 bps) in acpi_nhlt_endpoint_find_fmtcfg() argument 151 wav->bits_per_sample == bps && in acpi_nhlt_endpoint_find_fmtcfg() 171 * @bps: bits per sample. 182 u16 ch, u32 rate, u16 vbps, u16 bps) in acpi_nhlt_tb_find_fmtcfg() argument 191 fmt = acpi_nhlt_endpoint_find_fmtcfg(ep, ch, rate, vbps, bps); in acpi_nhlt_tb_find_fmtcfg() 210 * @bps: bits per sample. 220 u16 ch, u32 rate, u16 vbps, u16 bps) in acpi_nhlt_find_fmtcfg() argument 224 ch, rate, vbps, bps); in acpi_nhlt_find_fmtcfg()
|
| /linux/sound/soc/intel/avs/ |
| H A D | probes.c | 17 static int avs_dsp_init_probe(struct avs_dev *adev, struct snd_compr_params *params, int bps, in avs_dsp_init_probe() argument 37 cfg.base.audio_fmt.bit_depth = bps; in avs_dsp_init_probe() 39 cfg.base.audio_fmt.valid_bit_depth = bps; in avs_dsp_init_probe() 136 int bps, ret; in avs_probe_compr_set_params() local 147 bps = snd_pcm_format_physical_width(params->codec.format); in avs_probe_compr_set_params() 148 if (bps < 0) in avs_probe_compr_set_params() 149 return bps; in avs_probe_compr_set_params() 150 format_val = snd_hdac_stream_format(params->codec.ch_out, bps, params->codec.sample_rate); in avs_probe_compr_set_params() 171 ret = avs_dsp_init_probe(adev, params, bps, node_id, rtd->dma_bytes); in avs_probe_compr_set_params()
|
| /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()
|
| /linux/drivers/soundwire/ |
| H A D | generic_bandwidth_allocation.c | 40 unsigned int rate, bps, ch = 0; in sdw_compute_slave_ports() local 48 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports() 67 p_rt->num, bps, in sdw_compute_slave_ports() 71 port_bo += bps * ch; in sdw_compute_slave_ports() 144 unsigned int rate, bps, ch; in sdw_compute_master_ports() local 147 bps = m_rt->stream->params.bps; in sdw_compute_master_ports() 168 p_rt->num, bps, in sdw_compute_master_ports() 176 (*port_bo) += bps * ch; in sdw_compute_master_ports() 184 (*port_bo) += bps * ch; in sdw_compute_master_ports() 233 unsigned int rate, bps, ch; in sdw_compute_group_params() local [all …]
|
| H A D | bus.h | 221 int port_num, int bps, in sdw_fill_port_params() argument 225 params->bps = bps; in sdw_fill_port_params()
|
| /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()
|
| /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
|
| H A D | tty_flags.h | 19 #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/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*/
|
| /linux/include/acpi/ |
| H A D | nhlt.h | 111 u16 ch, u32 rate, u16 vbps, u16 bps); 115 u16 ch, u32 rate, u16 vpbs, u16 bps); 118 u16 ch, u32 rate, u16 vpbs, u16 bps); 148 u16 ch, u32 rate, u16 vbps, u16 bps) in acpi_nhlt_endpoint_find_fmtcfg() argument 156 u16 ch, u32 rate, u16 vpbs, u16 bps) in acpi_nhlt_tb_find_fmtcfg() argument 174 u16 ch, u32 rate, u16 vpbs, u16 bps) in acpi_nhlt_find_fmtcfg() argument
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_pnp.c | 197 /* NEC 98NOTE SPEAKER PHONE FAX MODEM(33600bps) */ 214 /* Standard 9600 bps Modem */ 216 /* Standard 14400 bps Modem */ 218 /* Standard 28800 bps Modem*/ 222 /* Standard 9600 bps Modem*/ 224 /* Standard 14400 bps Modem*/ 226 /* Standard 28800 bps Modem*/ 230 /* Standard 9600 bps Modem */ 232 /* Standard 14400 bps Modem */ 234 /* Standard 28800 bps Modem */ [all …]
|
| /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 …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | lantiq,pef2256.yaml | 68 lantiq,data-rate-bps: 88 rate of 2048000 bit/s. When lantiq,data-rate-bps is more than 2048000 92 For instance, suppose lantiq,data-rate-bps = 8192000 (ie 4*2048000), and 97 With lantiq,data-rate-bps = 8192000, and lantiq,channel-phase = 1, the 101 With lantiq,data-rate-bps = 4096000 (ie 2*2048000), and 155 lantiq,data-rate-bps = <4096000>;
|
| /linux/net/mac80211/ |
| H A D | airtime.c | 16 /* 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) [all …]
|
| /linux/Documentation/devicetree/bindings/w1/ |
| H A D | w1-uart.yaml | 32 reset-bps: 37 write-0-bps: 42 write-1-bps:
|
| /linux/sound/hda/core/ |
| 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()
|
| /linux/drivers/net/can/dev/ |
| H A D | calc_bittiming.c | 16 if (bt->bitrate > 800 * KILO /* BPS */) in can_calc_sample_point_nrz() 19 if (bt->bitrate > 500 * KILO /* BPS */) in can_calc_sample_point_nrz() 28 if (bt->bitrate > 15 * MEGA /* BPS */) in can_calc_sample_point_pwm() 31 if (bt->bitrate > 9 * MEGA /* BPS */) in can_calc_sample_point_pwm() 34 if (bt->bitrate > 4 * MEGA /* BPS */) in can_calc_sample_point_pwm()
|
| /linux/drivers/tty/vt/ |
| H A D | selection.c | 403 const char *bps = bp ? bracketed_paste_start : NULL; in paste_selection() local 430 if (bps) { in paste_selection() 431 bps += tty_ldisc_receive_buf(ld, bps, NULL, strlen(bps)); in paste_selection() 432 if (*bps != '\0') in paste_selection() 434 bps = NULL; in paste_selection()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_tc_edt.sh | |
| /linux/net/core/ |
| H A D | gen_stats.c | 317 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/Documentation/netlink/specs/ |
| H A D | net_shaper.yaml | 66 name: bps 170 name: support-metric-bps 172 doc: The device accepts 'bps' metric for bw-min, bw-max and burst. 347 - support-metric-bps
|
| /linux/drivers/slimbus/ |
| H A D | stream.c | 223 rt->bps = cfg->bps; in slim_stream_prepare() 289 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS; in slim_define_channel_content() 322 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS; in slim_define_channel() 324 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS + 1; in slim_define_channel()
|