/linux-6.12.1/drivers/iio/adc/ |
D | rcar-gyroadc.c | 72 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/ |
D | cs4234.c | 349 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 …]
|
D | hdmi-codec.c | 493 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/ |
D | format.c | 35 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/ |
D | trace_hwlat.c | 110 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/ |
D | pcm_iec958.c | 48 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/ |
D | rz-ssi.c | 88 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()
|
D | fsi.c | 211 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/ |
D | tda998x.h | 17 unsigned sample_width; member
|
/linux-6.12.1/include/uapi/sound/ |
D | sb16_csp.h | 65 int sample_width; /* sample width, look above */ member
|
/linux-6.12.1/include/sound/ |
D | sb16_csp.h | 36 int (*csp_start) (struct snd_sb_csp * p, int sample_width, int channels);
|
D | hdmi-codec.h | 50 int sample_width; member
|
/linux-6.12.1/drivers/gpu/drm/sti/ |
D | sti_hdmi.h | 31 unsigned int sample_width; member
|
D | sti_hdmi.c | 1194 hdmi->audio.sample_width = params->sample_width; in hdmi_audio_hw_params()
|
/linux-6.12.1/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.h | 29 int sample_width; member
|
D | cdn-dp-reg.c | 855 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()
|
D | cdn-dp-core.c | 788 .sample_width = params->sample_width, in cdn_dp_audio_hw_params()
|
/linux-6.12.1/sound/isa/sb/ |
D | sb16_csp.c | 87 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/ |
D | dw-hdmi-gp-audio.c | 91 dw_hdmi_set_sample_width(dw->data.hdmi, params->sample_width); in audio_hw_params()
|
D | dw-hdmi-i2s-audio.c | 73 switch (hparms->sample_width) { in dw_hdmi_i2s_hw_params()
|
/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | ite-it66121.c | 1240 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()
|
D | sii902x.c | 646 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/ |
D | adv7511_audio.c | 94 switch (hparms->sample_width) { in adv7511_hdmi_hw_params()
|
/linux-6.12.1/sound/soc/ti/ |
D | davinci-mcasp.c | 790 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/ |
D | hdmi.c | 264 params->sample_width, params->cea.channels); in msm_hdmi_audio_hw_params()
|