Searched refs:bps (Results 1 - 25 of 79) sorted by relevance

1234

/linux-master/include/uapi/linux/
H A Dgen_stats.h33 * @bps: current byte rate
37 __u32 bps; member in struct:gnet_stats_rate_est
43 * @bps: current byte rate
47 __u64 bps; member in struct:gnet_stats_rate_est64
/linux-master/net/netfilter/
H A Dxt_rateest.c25 bps1 = info->bps1 >= sample.bps ? info->bps1 - sample.bps : 0;
28 bps1 = sample.bps;
39 bps2 = info->bps2 >= sample.bps ? info->bps2 - sample.bps : 0;
42 bps2 = sample.bps;
/linux-master/include/sound/
H A Dsdw.h39 stream_config->bps = snd_pcm_format_width(params_format(params));
H A Dintel-nhlt.h143 u32 bus_id, u8 link_type, u8 vbps, u8 bps,
184 u32 bus_id, u8 link_type, u8 vbps, u8 bps,
183 intel_nhlt_get_endpoint_blob(struct device *dev, struct nhlt_acpi_table *nhlt, u32 bus_id, u8 link_type, u8 vbps, u8 bps, u8 num_ch, u32 rate, u8 dir, u8 dev_type) argument
/linux-master/drivers/soundwire/
H A Dgeneric_bandwidth_allocation.c38 unsigned int rate, bps, ch = 0; local
46 bps = m_rt->stream->params.bps;
62 p_rt->num, bps,
66 port_bo += bps * ch;
93 unsigned int rate, bps, ch; local
96 bps = m_rt->stream->params.bps;
115 p_rt->num, bps,
123 port_bo += bps * c
164 unsigned int rate, bps, ch; local
[all...]
H A Dbus.h190 int port_num, int bps,
194 params->bps = bps;
189 sdw_fill_port_params(struct sdw_port_params *params, int port_num, int bps, int flow_mode, int data_mode) argument
/linux-master/sound/soc/sof/intel/
H A Dhda-probes.c79 int bps, ret; local
83 bps = snd_pcm_format_physical_width(SNDRV_PCM_FORMAT_S32_LE);
84 if (bps < 0)
85 return bps;
86 bits = hda_dsp_get_bits(sdev, bps);
/linux-master/drivers/usb/serial/
H A Dark3116.c114 static inline int calc_divisor(int bps) argument
121 return (12000000 + 2*bps) / (4*bps);
198 int bps = tty_get_baud_rate(tty); local
218 dev_dbg(&port->dev, "%s - setting bps to %d\n", __func__, bps);
220 switch (bps) {
225 if ((bps < 75) || (bps > 3000000))
226 bps
[all...]
/linux-master/sound/hda/
H A Dintel-nhlt.c241 u32 rate, u8 vbps, u8 bps, bool ignore_vbps)
263 (ignore_vbps || vbps == _vbps) && bps == _bps)
291 u32 bus_id, u8 link_type, u8 vbps, u8 bps,
306 if (link_type == NHLT_LINK_DMIC && bps == 32 && (vbps == 24 || vbps == 32)) {
321 num_ch, bps, rate);
324 dev_dbg(dev, " ch=%d fmt=%d/%d rate=%d\n", num_ch, vbps, bps, rate);
335 vbps, bps, ignore_vbps);
240 nhlt_get_specific_cfg(struct device *dev, struct nhlt_fmt *fmt, u8 num_ch, u32 rate, u8 vbps, u8 bps, bool ignore_vbps) argument
290 intel_nhlt_get_endpoint_blob(struct device *dev, struct nhlt_acpi_table *nhlt, u32 bus_id, u8 link_type, u8 vbps, u8 bps, u8 num_ch, u32 rate, u8 dir, u8 dev_type) argument
H A Dhdac_device.c917 unsigned int streams, bps; local
925 bps = 0;
929 bps = 8;
933 bps = 16;
938 bps = 20;
943 bps = 24;
951 bps = 32;
958 if (!bps)
959 bps = 32;
968 bps
[all...]
/linux-master/sound/soc/intel/avs/
H A Dprobes.c129 int bps, ret; local
140 bps = snd_pcm_format_physical_width(format);
141 if (bps < 0)
142 return bps;
143 format_val = snd_hdac_stream_format(params->codec.ch_out, bps, params->codec.sample_rate);
/linux-master/drivers/tty/serial/
H A Dzs.h53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
H A Dsunzilog.h24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
H A Dip22zilog.h32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
H A Dpmac_zilog.h108 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2)
/linux-master/drivers/staging/vc04_services/bcm2835-audio/
H A Dvc_vchi_audioserv_defs.h37 u32 bps; member in struct:vc_audio_config
H A Dbcm2835.h101 unsigned int bps);
H A Dbcm2835-vchiq.c271 unsigned int bps)
277 .config.bps = bps,
269 bcm2835_audio_set_params(struct bcm2835_alsa_stream *alsa_stream, unsigned int channels, unsigned int samplerate, unsigned int bps) argument
/linux-master/sound/soc/intel/skylake/
H A Dskl-nhlt.c103 u16 channels, bps; local
122 bps = wav_fmt->fmt.bits_per_sample;
128 * different for each usecase for a specific rate and bps.
132 * So for the given fs and bps, choose blob which has
141 (bps == wav_fmt->fmt.bits_per_sample)) {
151 rate = channels * bps * fs;
/linux-master/block/
H A Dblk-throttle.c157 ret = tg->bps[rw][td->limit_index];
167 if (td->limit_index == LIMIT_MAX && tg->bps[rw][LIMIT_LOW] &&
168 tg->bps[rw][LIMIT_LOW] != tg->bps[rw][LIMIT_MAX]) {
171 adjusted = throtl_adjusted_limit(tg->bps[rw][LIMIT_LOW], td);
172 ret = min(tg->bps[rw][LIMIT_MAX], adjusted);
189 /* intermediate node or bps isn't 0 */
191 tg->bps[rw][td->limit_index])
362 tg->bps[READ][LIMIT_MAX] = U64_MAX;
363 tg->bps[WRIT
1996 uint64_t bps; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_virt.c246 void *bps = NULL; local
253 bps = kmalloc_array(align_space, sizeof(*(*data)->bps), GFP_KERNEL);
254 if (!bps)
261 (*data)->bps = bps;
271 kfree(bps);
310 kfree(data->bps);
317 struct eeprom_table_record *bps, int pages)
325 memcpy(&data->bps[dat
316 amdgpu_virt_ras_add_bps(struct amdgpu_device *adev, struct eeprom_table_record *bps, int pages) argument
[all...]
H A Damdgpu_ras.c1604 struct ras_badpage **bps, unsigned int *count);
1661 struct ras_badpage *bps = NULL; local
1666 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count))
1672 bps[start].bp,
1673 bps[start].size,
1674 amdgpu_ras_badpage_flags_str(bps[start].flags));
1676 kfree(bps);
2340 * caller need free bps.
2343 struct ras_badpage **bps, unsigned int *count)
2350 if (!con || !con->eh_data || !bps || !coun
2342 amdgpu_ras_badpages_read(struct amdgpu_device *adev, struct ras_badpage **bps, unsigned int *count) argument
2474 void *bps = kmalloc(align_space * sizeof(*data->bps), GFP_KERNEL); local
2492 amdgpu_ras_add_bad_pages(struct amdgpu_device *adev, struct eeprom_table_record *bps, int pages) argument
2585 struct eeprom_table_record *bps; local
[all...]
/linux-master/net/core/
H A Dgen_stats.c317 est.bps = min_t(u64, UINT_MAX, sample.bps);
322 d->tc_stats.bps = est.bps;
329 if (res < 0 || est.bps == sample.bps)
/linux-master/drivers/slimbus/
H A Dstream.c221 rt->bps = cfg->bps;
287 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS;
320 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS;
322 wbuf[3] = stream->bps/SLIM_SLOT_LEN_BITS + 1;
/linux-master/net/mac80211/
H A Dairtime.c16 /* 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))
31 #define MCS_DURATION(streams, sgi, bps) \
32 ((u32)MCS_SYMBOL_TIME(sgi, MCS_N_KSYMS((streams) * (bps))))
34 #define MCS_DURATION_S(shift, streams, sgi, bps) \
35 ((u16)((MCS_DURATION(streams, sgi, bps) >> shift)))
52 #define HE_DURATION(streams, gi, bps) \
53 ((u32)HE_SYMBOL_TIME(gi, MCS_N_KSYMS((streams) * (bps))))
55 #define HE_DURATION_S(shift, streams, gi, bps) \
[all...]

Completed in 223 milliseconds

1234