| /linux/drivers/soundwire/ |
| H A D | generic_bandwidth_allocation.c | 39 unsigned int rate, bps, ch = 0; in sdw_compute_slave_ports() local 47 bps = m_rt->stream->params.bps; in sdw_compute_slave_ports() 66 p_rt->num, bps, in sdw_compute_slave_ports() 70 port_bo += bps * ch; in sdw_compute_slave_ports() 143 unsigned int rate, bps, ch; in sdw_compute_master_ports() local 146 bps = m_rt->stream->params.bps; in sdw_compute_master_ports() 167 p_rt->num, bps, in sdw_compute_master_ports() 175 (*port_bo) += bps * ch; in sdw_compute_master_ports() 183 (*port_bo) += bps * ch; in sdw_compute_master_ports() 232 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()
|
| H A D | stream.c | 192 ret = sdw_write_no_pm(s_rt->slave, addr2, (p_params->bps - 1)); in sdw_program_slave_port_params() 1377 if (stream->params.bps && in sdw_config_stream() 1378 stream->params.bps != stream_config->bps) { in sdw_config_stream() 1385 stream->params.bps = stream_config->bps; in sdw_config_stream() 1499 m_rt->ch_count * m_rt->stream->params.bps; in _sdw_prepare_stream() 1793 m_rt->stream->params.bps; in _sdw_deprepare_stream() 1800 bandwidth = m_rt->stream->params.rate * m_rt->ch_count * m_rt->stream->params.bps; in _sdw_deprepare_stream()
|
| /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/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/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()
|
| H A D | device.c | 916 unsigned int streams, bps; in snd_hdac_query_supported_pcm() local 924 bps = 0; in snd_hdac_query_supported_pcm() 928 bps = 8; in snd_hdac_query_supported_pcm() 932 bps = 16; in snd_hdac_query_supported_pcm() 937 bps = 20; in snd_hdac_query_supported_pcm() 942 bps = 24; in snd_hdac_query_supported_pcm() 950 bps = 32; in snd_hdac_query_supported_pcm() 957 if (!bps) in snd_hdac_query_supported_pcm() 958 bps = 32; in snd_hdac_query_supported_pcm() 967 bps = 8; in snd_hdac_query_supported_pcm() [all …]
|
| /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/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 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) 63 #define EHT_DURATION(streams, gi, bps) \ argument [all …]
|
| /linux/drivers/tty/serial/ |
| H A D | zs.h | 52 #define ZS_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 | ip22zilog.h | 32 #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/include/uapi/linux/ |
| H A D | gen_stats.h | 37 __u32 bps; member 47 __u64 bps; member
|
| /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()
|
| /linux/block/ |
| H A D | blk-throttle.c | 91 return tg->bps[rw]; in tg_bps_limit() 285 tg->bps[READ] = U64_MAX; in throtl_pd_alloc() 286 tg->bps[WRITE] = U64_MAX; in throtl_pd_alloc() 1443 .private = offsetof(struct throtl_grp, bps[READ]), 1449 .private = offsetof(struct throtl_grp, bps[WRITE]), 1502 if (tg->bps[READ] == bps_dft && in tg_prfill_limit() 1503 tg->bps[WRITE] == bps_dft && in tg_prfill_limit() 1509 if (tg->bps[READ] == U64_MAX) in tg_prfill_limit() 1512 seq_printf(sf, " rbps=%llu", tg->bps[READ]); in tg_prfill_limit() 1514 if (tg->bps[WRITE] == U64_MAX) in tg_prfill_limit() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_virt.c | 319 new_bps = kmalloc_objs(*data->bps, align_space); in amdgpu_virt_ras_realloc_eh_data_space() 330 memcpy(new_bps, data->bps, data->count * sizeof(*data->bps)); in amdgpu_virt_ras_realloc_eh_data_space() 333 kfree(data->bps); in amdgpu_virt_ras_realloc_eh_data_space() 335 data->bps = new_bps; in amdgpu_virt_ras_realloc_eh_data_space() 347 void *bps = NULL; in amdgpu_virt_init_ras_err_handler_data() local 354 bps = kmalloc_objs(*(*data)->bps, align_space); in amdgpu_virt_init_ras_err_handler_data() 355 if (!bps) in amdgpu_virt_init_ras_err_handler_data() 362 (*data)->bps = bps; in amdgpu_virt_init_ras_err_handler_data() 373 kfree(bps); in amdgpu_virt_init_ras_err_handler_data() 412 kfree(data->bps); in amdgpu_virt_release_ras_err_handler_data() [all …]
|
| /linux/include/sound/ |
| H A D | intel-nhlt.h | 143 u32 bus_id, u8 link_type, u8 vbps, u8 bps, 184 u32 bus_id, u8 link_type, u8 vbps, u8 bps, in intel_nhlt_get_endpoint_blob() argument
|
| H A D | sdw.h | 39 stream_config->bps = snd_pcm_format_width(params_format(params)); in snd_sdw_params_to_config()
|
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | mmrc.c | 342 u32 bps; in calculate_bits_per_symbol() local 361 bps = sym_table[rate->rate]; in calculate_bits_per_symbol() 364 bps *= FP_8_4MHZ; in calculate_bits_per_symbol() 367 bps *= FP_8_8MHZ; in calculate_bits_per_symbol() 370 bps *= FP_8_16MHZ; in calculate_bits_per_symbol() 373 bps = sym_table[rate->rate] * 24 / 52; in calculate_bits_per_symbol() 374 bps *= FP_8_MULT_1; in calculate_bits_per_symbol() 379 bps *= FP_8_MULT_1; in calculate_bits_per_symbol() 383 return ((rate->ss + 1) * bps) >> FP_8_SHIFT; in calculate_bits_per_symbol()
|
| /linux/arch/powerpc/mm/ptdump/ |
| H A 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() 285 static void decode_r(int bps, unsigned long r, unsigned long *rpn, int *aps, in decode_r() argument 305 entry = mmu_psize_defs[bps]; in decode_r()
|
| /linux/drivers/staging/vc04_services/bcm2835-audio/ |
| H A D | bcm2835-vchiq.c | 276 unsigned int bps) in bcm2835_audio_set_params() argument 282 .config.bps = bps, in bcm2835_audio_set_params()
|
| H A D | vc_vchi_audioserv_defs.h | 37 u32 bps; member
|
| H A D | bcm2835.h | 100 unsigned int bps);
|
| /linux/Documentation/hwmon/ |
| H A 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
|