Searched refs:bps (Results 1 - 25 of 81) 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/drivers/acpi/
H A Dnhlt.c134 * @bps: bits per sample.
141 u16 ch, u32 rate, u16 vbps, u16 bps)
151 wav->bits_per_sample == bps &&
171 * @bps: bits per sample.
182 u16 ch, u32 rate, u16 vbps, u16 bps)
191 fmt = acpi_nhlt_endpoint_find_fmtcfg(ep, ch, rate, vbps, bps);
210 * @bps: bits per sample.
220 u16 ch, u32 rate, u16 vbps, u16 bps)
224 ch, rate, vbps, bps);
140 acpi_nhlt_endpoint_find_fmtcfg(const struct acpi_nhlt_endpoint *ep, u16 ch, u32 rate, u16 vbps, u16 bps) argument
180 acpi_nhlt_tb_find_fmtcfg(const struct acpi_table_nhlt *tb, int link_type, int dev_type, int dir, int bus_id, u16 ch, u32 rate, u16 vbps, u16 bps) argument
219 acpi_nhlt_find_fmtcfg(int link_type, int dev_type, int dir, int bus_id, u16 ch, u32 rate, u16 vbps, u16 bps) argument
/linux-master/include/acpi/
H A Dnhlt.h111 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)
156 u16 ch, u32 rate, u16 vpbs, u16 bps)
174 u16 ch, u32 rate, u16 vpbs, u16 bps)
147 acpi_nhlt_endpoint_find_fmtcfg(const struct acpi_nhlt_endpoint *ep, u16 ch, u32 rate, u16 vbps, u16 bps) argument
154 acpi_nhlt_tb_find_fmtcfg(const struct acpi_table_nhlt *tb, int link_type, int dev_type, int dir, int bus_id, u16 ch, u32 rate, u16 vpbs, u16 bps) argument
173 acpi_nhlt_find_fmtcfg(int link_type, int dev_type, int dir, int bus_id, u16 ch, u32 rate, u16 vpbs, u16 bps) argument
/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/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);
/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/sound/soc/intel/avs/
H A Dprobes.c133 int bps, ret; local
144 bps = snd_pcm_format_physical_width(format);
145 if (bps < 0)
146 return bps;
147 format_val = snd_hdac_stream_format(params->codec.ch_out, bps, params->codec.sample_rate);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_virt.c247 void *bps = NULL; local
254 bps = kmalloc_array(align_space, sizeof(*(*data)->bps), GFP_KERNEL);
255 if (!bps)
262 (*data)->bps = bps;
272 kfree(bps);
311 kfree(data->bps);
318 struct eeprom_table_record *bps, int pages)
326 memcpy(&data->bps[dat
317 amdgpu_virt_ras_add_bps(struct amdgpu_device *adev, struct eeprom_table_record *bps, int pages) argument
[all...]
H A Damdgpu_ras.c1625 struct ras_badpage **bps, unsigned int *count);
1682 struct ras_badpage *bps = NULL; local
1687 if (amdgpu_ras_badpages_read(adev, &bps, &bps_count))
1693 bps[start].bp,
1694 bps[start].size,
1695 amdgpu_ras_badpage_flags_str(bps[start].flags));
1697 kfree(bps);
2372 * caller need free bps.
2375 struct ras_badpage **bps, unsigned int *count)
2382 if (!con || !con->eh_data || !bps || !coun
2374 amdgpu_ras_badpages_read(struct amdgpu_device *adev, struct ras_badpage **bps, unsigned int *count) argument
2520 void *bps = kmalloc(align_space * sizeof(*data->bps), GFP_KERNEL); local
2538 amdgpu_ras_add_bad_pages(struct amdgpu_device *adev, struct eeprom_table_record *bps, int pages) argument
2629 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/block/
H A Dblk-throttle.h99 uint64_t bps[2]; member in struct:throtl_grp
100 /* user configured bps limits */
/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;

Completed in 253 milliseconds

1234