| /linux-6.15/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-6.15/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-6.15/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-6.15/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() 141 unsigned int rate, bps, ch; in sdw_compute_master_ports() local 144 bps = m_rt->stream->params.bps; in sdw_compute_master_ports() 165 p_rt->num, bps, in sdw_compute_master_ports() 173 (*port_bo) += bps * ch; in sdw_compute_master_ports() 181 (*port_bo) += bps * ch; in sdw_compute_master_ports() 223 unsigned int rate, bps, ch; in sdw_compute_group_params() local [all …]
|
| H A D | bus.h | 211 int port_num, int bps, in sdw_fill_port_params() argument 215 params->bps = bps; in sdw_fill_port_params()
|
| /linux-6.15/drivers/acpi/ |
| H A D | nhlt.c | 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() 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() 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-6.15/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()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ras.c | 1763 kfree(bps); in amdgpu_ras_sysfs_badpages_read() 2564 if (!*bps) { in amdgpu_ras_badpages_read() 2721 if (!bps) { in amdgpu_ras_realloc_eh_data_space() 2726 memcpy(bps, data->bps, in amdgpu_ras_realloc_eh_data_space() 2731 data->bps = bps; in amdgpu_ras_realloc_eh_data_space() 2821 memcpy(&data->bps[data->count], &(bps[j]), in __amdgpu_ras_restore_bad_pages() 2926 if ((bps[i].address == bps[i + 1].address) && in amdgpu_ras_add_bad_pages() 3032 if (!bps) in amdgpu_ras_load_bad_pages() 3042 if ((bps[i].address == bps[i + 1].address) && in amdgpu_ras_load_bad_pages() 3043 (bps[i].mem_channel == bps[i + 1].mem_channel)) { in amdgpu_ras_load_bad_pages() [all …]
|
| H A D | amdgpu_virt.c | 280 void *bps = NULL; in amdgpu_virt_init_ras_err_handler_data() local 287 bps = kmalloc_array(align_space, sizeof(*(*data)->bps), GFP_KERNEL); in amdgpu_virt_init_ras_err_handler_data() 288 if (!bps) in amdgpu_virt_init_ras_err_handler_data() 295 (*data)->bps = bps; in amdgpu_virt_init_ras_err_handler_data() 305 kfree(bps); in amdgpu_virt_init_ras_err_handler_data() 344 kfree(data->bps); in amdgpu_virt_release_ras_err_handler_data() 351 struct eeprom_table_record *bps, int pages) in amdgpu_virt_ras_add_bps() argument 359 memcpy(&data->bps[data->count], bps, pages * sizeof(*data->bps)); in amdgpu_virt_ras_add_bps() 377 bp = data->bps[i].retired_page; in amdgpu_virt_ras_reserve_bps() 412 if (retired_page == data->bps[i].retired_page) in amdgpu_virt_ras_check_bad_page()
|
| /linux-6.15/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()
|
| H A D | hdac_device.c | 918 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local 926 bps = 0; in snd_hdac_query_supported_pcm() 930 bps = 8; in snd_hdac_query_supported_pcm() 934 bps = 16; in snd_hdac_query_supported_pcm() 939 bps = 20; in snd_hdac_query_supported_pcm() 944 bps = 24; in snd_hdac_query_supported_pcm() 952 bps = 32; in snd_hdac_query_supported_pcm() 959 if (!bps) in snd_hdac_query_supported_pcm() 960 bps = 32; in snd_hdac_query_supported_pcm() 969 bps = 8; in snd_hdac_query_supported_pcm() [all …]
|
| /linux-6.15/net/mac80211/ |
| H A D | airtime.c | 19 #define MCS_N_KSYMS(bps) DIV_ROUND_UP(MCS_NBITS << 10, (bps)) argument 31 #define MCS_DURATION(streams, sgi, bps) \ argument 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 55 #define HE_DURATION_S(shift, streams, gi, bps) \ argument 56 (HE_DURATION(streams, gi, bps) >> shift) 63 #define EHT_DURATION(streams, gi, bps) \ argument 64 HE_DURATION(streams, gi, bps) 65 #define EHT_DURATION_S(shift, streams, gi, bps) \ argument [all …]
|
| /linux-6.15/include/uapi/linux/ |
| H A D | gen_stats.h | 37 __u32 bps; member 47 __u64 bps; member
|
| /linux-6.15/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.
|
| /linux-6.15/drivers/tty/serial/ |
| H A D | zs.h | 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
| H A D | ip22zilog.h | 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
| H A D | sunzilog.h | 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
| H A D | pmac_zilog.h | 108 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
| /linux-6.15/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-6.15/Documentation/devicetree/bindings/w1/ |
| H A D | w1-uart.yaml | 32 reset-bps: 37 write-0-bps: 42 write-1-bps:
|
| /linux-6.15/sound/soc/intel/avs/ |
| H A D | probes.c | 133 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() 147 format_val = snd_hdac_stream_format(params->codec.ch_out, bps, params->codec.sample_rate); in avs_probe_compr_set_params()
|
| /linux-6.15/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-6.15/block/ |
| H A D | blk-throttle.c | 98 return tg->bps[rw]; in tg_bps_limit() 261 tg->bps[READ] = U64_MAX; in throtl_pd_alloc() 262 tg->bps[WRITE] = U64_MAX; in throtl_pd_alloc() 1394 if (tg->bps[READ] == bps_dft && in tg_prfill_limit() 1395 tg->bps[WRITE] == bps_dft && in tg_prfill_limit() 1401 if (tg->bps[READ] == U64_MAX) in tg_prfill_limit() 1406 if (tg->bps[WRITE] == U64_MAX) in tg_prfill_limit() 1460 v[0] = tg->bps[READ]; in tg_set_limit() 1461 v[1] = tg->bps[WRITE]; in tg_set_limit() 1500 tg->bps[READ] = v[0]; in tg_set_limit() [all …]
|
| /linux-6.15/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()
|
| /linux-6.15/drivers/net/hamradio/ |
| H A D | baycom_epp.c | 168 unsigned int bps; member 306 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in eppconfig() 307 (bc->cfg.fclk + 8 * bc->cfg.bps) / (16 * bc->cfg.bps), in eppconfig() 991 bc->cfg.bps = simple_strtoul(cp+4, NULL, 0); in baycom_setmode() 992 if (bc->cfg.bps < 1000) in baycom_setmode() 993 bc->cfg.bps = 1000; in baycom_setmode() 994 if (bc->cfg.bps > 1500000) in baycom_setmode() 995 bc->cfg.bps = 1500000; in baycom_setmode() 1083 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in baycom_siocdevprivate() 1208 bc->cfg.bps = 9600; in baycom_epp_dev_setup()
|