Home
last modified time | relevance | path

Searched refs:sample_width (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/drivers/iio/adc/
Drcar-gyroadc.c72 unsigned int sample_width; member
213 *val &= BIT(priv->sample_width) - 1; in rcar_gyroadc_read_raw()
228 *val2 = 1 << priv->sample_width; in rcar_gyroadc_read_raw()
324 unsigned int sample_width; in rcar_gyroadc_parse_subdevs() local
339 sample_width = 12; in rcar_gyroadc_parse_subdevs()
344 sample_width = 15; in rcar_gyroadc_parse_subdevs()
349 sample_width = 16; in rcar_gyroadc_parse_subdevs()
412 priv->sample_width = sample_width; in rcar_gyroadc_parse_subdevs()
/linux-6.12.1/sound/soc/codecs/
Dcs4234.c349 int ret = 0, rate_ad, sample_width; in cs4234_dai_hw_params() local
395 sample_width = params_width(params); in cs4234_dai_hw_params()
396 switch (sample_width) { in cs4234_dai_hw_params()
398 sample_width = 0; in cs4234_dai_hw_params()
401 sample_width = 1; in cs4234_dai_hw_params()
404 sample_width = 2; in cs4234_dai_hw_params()
407 sample_width = 3; in cs4234_dai_hw_params()
416 sample_width << CS4234_SDOUTX_SW_SHIFT); in cs4234_dai_hw_params()
420 sample_width << CS4234_INPUT_SW_SHIFT | in cs4234_dai_hw_params()
421 sample_width << CS4234_LOW_LAT_SW_SHIFT | in cs4234_dai_hw_params()
[all …]
Dhdmi-codec.c493 unsigned int sample_width, in hdmi_codec_fill_codec_params() argument
531 hp->sample_width = sample_width; in hdmi_codec_fill_codec_params()
/linux-6.12.1/sound/usb/
Dformat.c35 int sample_width, sample_bytes; in parse_audio_format_i_type() local
48 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
56 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
71 sample_width = as->bBitResolution; in parse_audio_format_i_type()
82 fp->fmt_bits = sample_width; in parse_audio_format_i_type()
96 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type()
98 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type()
101 sample_width, sample_bytes); in parse_audio_format_i_type()
127 sample_width, sample_bytes); in parse_audio_format_i_type()
/linux-6.12.1/kernel/trace/
Dtrace_hwlat.c110 u64 sample_width; /* active sampling portion of window */ member
116 .sample_width = DEFAULT_SAMPLE_WIDTH,
272 } while (total <= hwlat_data.sample_width); in get_sample()
374 interval = hwlat_data.sample_window - hwlat_data.sample_width; in kthread_fn()
739 .val = &hwlat_data.sample_width,
753 .min = &hwlat_data.sample_width,
/linux-6.12.1/sound/core/
Dpcm_iec958.c48 static int fill_iec958_consumer(uint rate, uint sample_width, in fill_iec958_consumer() argument
91 switch (sample_width) { in fill_iec958_consumer()
/linux-6.12.1/sound/soc/sh/
Drz-ssi.c88 int sample_width; member
139 unsigned int sample_width; member
231 strm->sample_width = samples_to_bytes(runtime, 1); in rz_ssi_stream_init()
897 unsigned int sample_width, in rz_ssi_is_valid_hw_params() argument
902 ssi->hw_params_cache.sample_width != sample_width || in rz_ssi_is_valid_hw_params()
911 unsigned int sample_width, in rz_ssi_cache_hw_params() argument
916 ssi->hw_params_cache.sample_width = sample_width; in rz_ssi_cache_hw_params()
946 strm->sample_width, sample_bits)) in rz_ssi_dai_hw_params()
953 rz_ssi_cache_hw_params(ssi, rate, channels, strm->sample_width, in rz_ssi_dai_hw_params()
Dfsi.c211 int sample_width; /* sample width */ member
531 io->sample_width = samples_to_bytes(runtime, 1); in fsi_stream_init()
559 io->sample_width = 0; in fsi_stream_quit()
1136 switch (io->sample_width) { in fsi_pio_transfer()
1533 switch (io->sample_width) { in fsi_hw_startup()
/linux-6.12.1/include/drm/i2c/
Dtda998x.h17 unsigned sample_width; member
/linux-6.12.1/include/uapi/sound/
Dsb16_csp.h65 int sample_width; /* sample width, look above */ member
/linux-6.12.1/include/sound/
Dsb16_csp.h36 int (*csp_start) (struct snd_sb_csp * p, int sample_width, int channels);
Dhdmi-codec.h50 int sample_width; member
/linux-6.12.1/drivers/gpu/drm/sti/
Dsti_hdmi.h31 unsigned int sample_width; member
Dsti_hdmi.c1194 hdmi->audio.sample_width = params->sample_width; in hdmi_audio_hw_params()
/linux-6.12.1/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h29 int sample_width; member
Dcdn-dp-reg.c855 if (audio->sample_width == 16) in cdn_dp_audio_config_i2s()
857 else if (audio->sample_width == 24) in cdn_dp_audio_config_i2s()
868 if (audio->sample_width == 16) in cdn_dp_audio_config_i2s()
870 else if (audio->sample_width == 24) in cdn_dp_audio_config_i2s()
Dcdn-dp-core.c788 .sample_width = params->sample_width, in cdn_dp_audio_hw_params()
/linux-6.12.1/sound/isa/sb/
Dsb16_csp.c87 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels);
232 err = snd_sb_csp_start(p, start_info.sample_width, start_info.channels); in snd_sb_csp_ioctl()
794 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels) in snd_sb_csp_start() argument
810 if (!(sample_width & p->acc_width)) { in snd_sb_csp_start()
834 if (sample_width == SNDRV_SB_CSP_SAMPLE_8BIT) in snd_sb_csp_start()
845 p->run_width = sample_width; in snd_sb_csp_start()
/linux-6.12.1/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-gp-audio.c91 dw_hdmi_set_sample_width(dw->data.hdmi, params->sample_width); in audio_hw_params()
Ddw-hdmi-i2s-audio.c73 switch (hparms->sample_width) { in dw_hdmi_i2s_hw_params()
/linux-6.12.1/drivers/gpu/drm/bridge/
Dite-it66121.c1240 unsigned int sample_width = params->sample_width; in it66121_audio_hw_params() local
1244 daifmt->fmt, sample_rate, sample_width, channels); in it66121_audio_hw_params()
1307 ret = it661221_set_lpcm_audio(ctx, (channels + 1) / 2, sample_width); in it66121_audio_hw_params()
1323 switch (sample_width) { in it66121_audio_hw_params()
Dsii902x.c646 switch (params->sample_width) { in sii902x_audio_hw_params()
659 params->sample_width); in sii902x_audio_hw_params()
/linux-6.12.1/drivers/gpu/drm/bridge/adv7511/
Dadv7511_audio.c94 switch (hparms->sample_width) { in adv7511_hdmi_hw_params()
/linux-6.12.1/sound/soc/ti/
Ddavinci-mcasp.c790 int sample_width) in davinci_config_channel_size() argument
794 u32 mask = (1ULL << sample_width) - 1; in davinci_config_channel_size()
801 slot_width = sample_width; in davinci_config_channel_size()
816 tx_rotate = (sample_width / 4) & 0x7; in davinci_config_channel_size()
817 rx_rotate = (slot_width - sample_width) / 4; in davinci_config_channel_size()
841 tx_rotate = (sample_width / 4 + 2) & 0x7; in davinci_config_channel_size()
/linux-6.12.1/drivers/gpu/drm/msm/hdmi/
Dhdmi.c264 params->sample_width, params->cea.channels); in msm_hdmi_audio_hw_params()

12