/Linux-v5.15/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-v5.15/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 232 dev_dbg(&port->dev, "%s - setting bps to %d\n", __func__, bps); in ark3116_set_termios() 234 switch (bps) { in ark3116_set_termios() 239 if ((bps < 75) || (bps > 3000000)) in ark3116_set_termios() 240 bps = 9600; in ark3116_set_termios() 241 quot = calc_divisor(bps); in ark3116_set_termios() 245 quot = calc_divisor(bps); in ark3116_set_termios() 249 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-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ras.c | 1105 struct ras_badpage **bps, unsigned int *count); 1162 struct ras_badpage *bps = NULL; in amdgpu_ras_sysfs_badpages_read() local 1167 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count)) in amdgpu_ras_sysfs_badpages_read() 1173 bps[start].bp, in amdgpu_ras_sysfs_badpages_read() 1174 bps[start].size, in amdgpu_ras_sysfs_badpages_read() 1175 amdgpu_ras_badpage_flags_str(bps[start].flags)); in amdgpu_ras_sysfs_badpages_read() 1177 kfree(bps); in amdgpu_ras_sysfs_badpages_read() 1681 struct ras_badpage **bps, unsigned int *count) in amdgpu_ras_badpages_read() argument 1688 if (!con || !con->eh_data || !bps || !count) in amdgpu_ras_badpages_read() 1694 *bps = NULL; in amdgpu_ras_badpages_read() [all …]
|
D | amdgpu_virt.c | 281 void *bps = NULL; in amdgpu_virt_init_ras_err_handler_data() local 288 bps = kmalloc_array(align_space, sizeof((*data)->bps), GFP_KERNEL); in amdgpu_virt_init_ras_err_handler_data() 291 if (!bps || !bps_bo) { in amdgpu_virt_init_ras_err_handler_data() 292 kfree(bps); in amdgpu_virt_init_ras_err_handler_data() 298 (*data)->bps = bps; in amdgpu_virt_init_ras_err_handler_data() 338 kfree(data->bps); in amdgpu_virt_release_ras_err_handler_data() 345 struct eeprom_table_record *bps, int pages) in amdgpu_virt_ras_add_bps() argument 353 memcpy(&data->bps[data->count], bps, pages * sizeof(*data->bps)); in amdgpu_virt_ras_add_bps() 369 bp = data->bps[i].retired_page; in amdgpu_virt_ras_reserve_bps() 399 if (retired_page == data->bps[i].retired_page) in amdgpu_virt_ras_check_bad_page()
|
/Linux-v5.15/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-v5.15/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() 206 u16 channels, bps; in skl_get_ssp_clks() local 222 bps = wav_fmt->fmt.bits_per_sample; in skl_get_ssp_clks() 240 (bps == wav_fmt->fmt.bits_per_sample)) in skl_get_ssp_clks() [all …]
|
/Linux-v5.15/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()
|
/Linux-v5.15/block/ |
D | blk-throttle.c | 144 uint64_t bps[2][LIMIT_CNT]; member 309 ret = tg->bps[rw][td->limit_index]; in tg_bps_limit() 319 if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] && in tg_bps_limit() 320 tg->bps[rw][LIMIT_LOW] != tg->bps[rw][LIMIT_MAX]) { in tg_bps_limit() 323 adjusted = throtl_adjusted_limit(tg->bps[rw][LIMIT_LOW], td); in tg_bps_limit() 324 ret = min(tg->bps[rw][LIMIT_MAX], adjusted); in tg_bps_limit() 343 tg->bps[rw][td->limit_index]) in tg_iops_limit() 515 tg->bps[READ][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 516 tg->bps[WRITE][LIMIT_MAX] = U64_MAX; in throtl_pd_alloc() 604 if (tg->bps[READ][LIMIT_LOW] || tg->bps[WRITE][LIMIT_LOW] || in blk_throtl_update_limit_valid() [all …]
|
/Linux-v5.15/sound/hda/ |
D | hdac_device.c | 851 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local 857 bps = 0; in snd_hdac_query_supported_pcm() 861 bps = 8; in snd_hdac_query_supported_pcm() 865 bps = 16; in snd_hdac_query_supported_pcm() 873 bps = 24; in snd_hdac_query_supported_pcm() 875 bps = 20; in snd_hdac_query_supported_pcm() 880 bps = 32; in snd_hdac_query_supported_pcm() 882 bps = 24; in snd_hdac_query_supported_pcm() 884 bps = 20; in snd_hdac_query_supported_pcm() 890 if (!bps) in snd_hdac_query_supported_pcm() [all …]
|
/Linux-v5.15/net/core/ |
D | gen_stats.c | 262 est.bps = min_t(u64, UINT_MAX, sample.bps); in gnet_stats_copy_rate_est() 267 d->tc_stats.bps = est.bps; in gnet_stats_copy_rate_est() 274 if (res < 0 || est.bps == sample.bps) in gnet_stats_copy_rate_est()
|
/Linux-v5.15/include/uapi/linux/ |
D | gen_stats.h | 37 __u32 bps; member 47 __u64 bps; member
|
/Linux-v5.15/drivers/tty/serial/ |
D | zs.h | 53 #define ZS_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 | ip22zilog.h | 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
D | pmac_zilog.h | 118 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
/Linux-v5.15/net/mac80211/ |
D | airtime.c | 18 #define MCS_N_KSYMS(bps) DIV_ROUND_UP(MCS_NBITS << 10, (bps)) argument 30 #define MCS_DURATION(streams, sgi, bps) \ argument 31 ((u32)MCS_SYMBOL_TIME(sgi, MCS_N_KSYMS((streams) * (bps)))) 33 #define MCS_DURATION_S(shift, streams, sgi, bps) \ argument 34 ((u16)((MCS_DURATION(streams, sgi, bps) >> shift))) 51 #define HE_DURATION(streams, gi, bps) \ argument 52 ((u32)HE_SYMBOL_TIME(gi, MCS_N_KSYMS((streams) * (bps)))) 54 #define HE_DURATION_S(shift, streams, gi, bps) \ argument 55 (HE_DURATION(streams, gi, bps) >> shift)
|
/Linux-v5.15/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-v5.15/drivers/net/wan/ |
D | z85230.h | 19 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) argument
|
/Linux-v5.15/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-v5.15/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-v5.15/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() 276 static void decode_r(int bps, unsigned long r, unsigned long *rpn, int *aps, in decode_r() argument 296 entry = mmu_psize_defs[bps]; in decode_r()
|
/Linux-v5.15/sound/soc/atmel/ |
D | mchp-spdiftx.c | 73 #define SPDIFTX_MR_VBPS(bps) (((bps) << 8) & SPDIFTX_MR_VBPS_MASK) argument 360 unsigned int bps = params_physical_width(params) / 8; in mchp_spdiftx_hw_params() local 388 if (bps > 2) in mchp_spdiftx_hw_params() 444 mr |= SPDIFTX_MR_BPS(bps); in mchp_spdiftx_hw_params()
|
/Linux-v5.15/Documentation/hwmon/ |
D | bel-pfe.rst | 12 … Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe1100-12-054xa.pdf 20 Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe3000-series.pdf
|