/linux-5.19.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; 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 …]
|
D | bus.h | 195 int port_num, int bps, in sdw_fill_port_params() argument 199 params->bps = bps; in sdw_fill_port_params()
|
/linux-5.19.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() 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 …]
|
D | generic.c | 271 unsigned int bps; in usb_serial_generic_wait_until_sent() local 275 bps = tty_get_baud_rate(tty); in usb_serial_generic_wait_until_sent() 276 if (!bps) in usb_serial_generic_wait_until_sent() 277 bps = 9600; /* B0 */ in usb_serial_generic_wait_until_sent() 282 period = max_t(unsigned long, (10 * HZ / bps), 1); in usb_serial_generic_wait_until_sent()
|
/linux-5.19.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()
|
/linux-5.19.10/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()
|
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras.c | 1181 struct ras_badpage **bps, unsigned int *count); 1238 struct ras_badpage *bps = NULL; in amdgpu_ras_sysfs_badpages_read() local 1243 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count)) in amdgpu_ras_sysfs_badpages_read() 1249 bps[start].bp, in amdgpu_ras_sysfs_badpages_read() 1250 bps[start].size, in amdgpu_ras_sysfs_badpages_read() 1251 amdgpu_ras_badpage_flags_str(bps[start].flags)); in amdgpu_ras_sysfs_badpages_read() 1253 kfree(bps); in amdgpu_ras_sysfs_badpages_read() 1866 struct ras_badpage **bps, unsigned int *count) in amdgpu_ras_badpages_read() argument 1873 if (!con || !con->eh_data || !bps || !count) in amdgpu_ras_badpages_read() 1879 *bps = NULL; in amdgpu_ras_badpages_read() [all …]
|
D | amdgpu_virt.c | 286 void *bps = NULL; in amdgpu_virt_init_ras_err_handler_data() local 293 bps = kmalloc_array(align_space, sizeof((*data)->bps), GFP_KERNEL); in amdgpu_virt_init_ras_err_handler_data() 294 if (!bps) in amdgpu_virt_init_ras_err_handler_data() 301 (*data)->bps = bps; in amdgpu_virt_init_ras_err_handler_data() 311 kfree(bps); in amdgpu_virt_init_ras_err_handler_data() 348 kfree(data->bps); in amdgpu_virt_release_ras_err_handler_data() 355 struct eeprom_table_record *bps, int pages) in amdgpu_virt_ras_add_bps() argument 363 memcpy(&data->bps[data->count], bps, pages * sizeof(*data->bps)); in amdgpu_virt_ras_add_bps() 379 bp = data->bps[i].retired_page; in amdgpu_virt_ras_reserve_bps() 409 if (retired_page == data->bps[i].retired_page) in amdgpu_virt_ras_check_bad_page()
|
/linux-5.19.10/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() 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() 464 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid() 485 tg->bps[READ][LIMIT_LOW] = 0; in throtl_pd_offline() [all …]
|
/linux-5.19.10/sound/hda/ |
D | hdac_device.c | 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() 891 if (!bps) in snd_hdac_query_supported_pcm() [all …]
|
D | intel-nhlt.c | 162 u32 rate, u8 vbps, u8 bps) in nhlt_get_specific_cfg() argument 180 vbps == _vbps && bps == _bps) in nhlt_get_specific_cfg() 208 u32 bus_id, u8 link_type, u8 vbps, u8 bps, in intel_nhlt_get_endpoint_blob() argument 222 dev_dbg(dev, " ch=%d fmt=%d/%d rate=%d\n", num_ch, vbps, bps, rate); in intel_nhlt_get_endpoint_blob() 231 cfg = nhlt_get_specific_cfg(dev, fmt, num_ch, rate, vbps, bps); in intel_nhlt_get_endpoint_blob()
|
/linux-5.19.10/include/uapi/linux/ |
D | gen_stats.h | 37 __u32 bps; member 47 __u64 bps; member
|
/linux-5.19.10/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.
|
/linux-5.19.10/drivers/tty/serial/ |
D | zs.h | 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | ip22zilog.h | 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | sunzilog.h | 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | pmac_zilog.h | 108 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
/linux-5.19.10/net/core/ |
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-5.19.10/net/mac80211/ |
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 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-5.19.10/sound/soc/intel/skylake/ |
D | skl-nhlt.c | 103 u16 channels, bps; in skl_get_ssp_clks() local 122 bps = wav_fmt->fmt.bits_per_sample; 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-5.19.10/drivers/slimbus/ |
D | stream.c | 221 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-5.19.10/drivers/net/hamradio/ |
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() 997 bc->cfg.bps = simple_strtoul(cp+4, NULL, 0); in baycom_setmode() 998 if (bc->cfg.bps < 1000) in baycom_setmode() 999 bc->cfg.bps = 1000; in baycom_setmode() 1000 if (bc->cfg.bps > 1500000) in baycom_setmode() 1001 bc->cfg.bps = 1500000; in baycom_setmode() 1089 bc->cfg.extmodem ? "ext" : "int", bc->cfg.fclk, bc->cfg.bps, in baycom_siocdevprivate() 1215 bc->cfg.bps = 9600; in baycom_epp_dev_setup()
|
/linux-5.19.10/include/sound/ |
D | intel-nhlt.h | 141 u32 bus_id, u8 link_type, u8 vbps, u8 bps, 174 u32 bus_id, u8 link_type, u8 vbps, u8 bps, in intel_nhlt_get_endpoint_blob() argument
|
/linux-5.19.10/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-vchiq.c | 264 unsigned int bps) in bcm2835_audio_set_params() argument 270 .config.bps = bps, in bcm2835_audio_set_params()
|
/linux-5.19.10/arch/powerpc/mm/ptdump/ |
D | hashpagetable.c | 184 unsigned long rpn, int bps, int aps, unsigned long lp) in dump_hpte_info() argument 198 calculate_pagesize(st, bps, "base"); in dump_hpte_info() 279 static void decode_r(int bps, unsigned long r, unsigned long *rpn, int *aps, in decode_r() argument 299 entry = mmu_psize_defs[bps]; in decode_r()
|