Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/adc/
Drcar-gyroadc.c81 unsigned int sample_width; member
227 *val &= BIT(priv->sample_width) - 1; in rcar_gyroadc_read_raw()
242 *val2 = 1 << priv->sample_width; in rcar_gyroadc_read_raw()
339 unsigned int sample_width; in rcar_gyroadc_parse_subdevs() local
354 sample_width = 12; in rcar_gyroadc_parse_subdevs()
359 sample_width = 15; in rcar_gyroadc_parse_subdevs()
364 sample_width = 16; in rcar_gyroadc_parse_subdevs()
427 priv->sample_width = sample_width; in rcar_gyroadc_parse_subdevs()
/Linux-v4.19/kernel/trace/
Dtrace_hwlat.c96 u64 sample_width; /* active sampling portion of window */ member
100 .sample_width = DEFAULT_SAMPLE_WIDTH,
229 } while (total <= hwlat_data.sample_width); in get_sample()
327 interval = hwlat_data.sample_window - hwlat_data.sample_width; in kthread_fn()
454 hwlat_data.sample_width = val; in hwlat_width_write()
492 if (hwlat_data.sample_width < val) in hwlat_window_write()
546 &hwlat_data.sample_width, in init_tracefs()
/Linux-v4.19/sound/usb/
Dformat.c49 int sample_width, sample_bytes; in parse_audio_format_i_type() local
56 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
64 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
79 sample_width = as->bBitResolution; in parse_audio_format_i_type()
102 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type()
104 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type()
107 sample_width, sample_bytes); in parse_audio_format_i_type()
133 sample_width, sample_bytes); in parse_audio_format_i_type()
/Linux-v4.19/sound/core/
Dpcm_iec958.c15 static int create_iec958_consumer(uint rate, uint sample_width, in create_iec958_consumer() argument
50 switch (sample_width) { in create_iec958_consumer()
/Linux-v4.19/include/drm/i2c/
Dtda998x.h17 unsigned sample_width; member
/Linux-v4.19/include/uapi/sound/
Dsb16_csp.h80 int sample_width; /* sample width, look above */ member
/Linux-v4.19/include/sound/
Dhdmi-codec.h54 int sample_width; member
Dsb16_csp.h50 int (*csp_start) (struct snd_sb_csp * p, int sample_width, int channels);
/Linux-v4.19/drivers/gpu/drm/sti/
Dsti_hdmi.h29 unsigned int sample_width; member
Dsti_hdmi.c1176 hdmi->audio.sample_width = params->sample_width; in hdmi_audio_hw_params()
/Linux-v4.19/drivers/gpu/drm/rockchip/
Dcdn-dp-core.h36 int sample_width; member
Dcdn-dp-reg.c864 if (audio->sample_width == 16) in cdn_dp_audio_config_i2s()
866 else if (audio->sample_width == 24) in cdn_dp_audio_config_i2s()
877 if (audio->sample_width == 16) in cdn_dp_audio_config_i2s()
879 else if (audio->sample_width == 24) in cdn_dp_audio_config_i2s()
Dcdn-dp-core.c782 .sample_width = params->sample_width, in cdn_dp_audio_hw_params()
/Linux-v4.19/sound/isa/sb/
Dsb16_csp.c101 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels);
244 err = snd_sb_csp_start(p, start_info.sample_width, start_info.channels); in snd_sb_csp_ioctl()
801 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels) in snd_sb_csp_start() argument
816 if (!(sample_width & p->acc_width)) { in snd_sb_csp_start()
839 if (sample_width == SNDRV_SB_CSP_SAMPLE_8BIT) in snd_sb_csp_start()
850 p->run_width = sample_width; in snd_sb_csp_start()
/Linux-v4.19/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-i2s-audio.c55 switch (hparms->sample_width) { in dw_hdmi_i2s_hw_params()
/Linux-v4.19/drivers/gpu/drm/bridge/adv7511/
Dadv7511_audio.c93 switch (hparms->sample_width) { in adv7511_hdmi_hw_params()
/Linux-v4.19/sound/soc/sh/
Dfsi.c212 int sample_width; /* sample width */ member
532 io->sample_width = samples_to_bytes(runtime, 1); in fsi_stream_init()
560 io->sample_width = 0; in fsi_stream_quit()
1124 switch (io->sample_width) { in fsi_pio_transfer()
1519 switch (io->sample_width) { in fsi_hw_startup()
/Linux-v4.19/drivers/gpu/drm/zte/
Dzx_hdmi.c410 switch (params->sample_width) { in zx_hdmi_audio_hw_params()
425 params->sample_width); in zx_hdmi_audio_hw_params()
/Linux-v4.19/sound/soc/davinci/
Ddavinci-mcasp.c691 int sample_width) in davinci_config_channel_size() argument
694 u32 tx_rotate = (sample_width / 4) & 0x7; in davinci_config_channel_size()
695 u32 mask = (1ULL << sample_width) - 1; in davinci_config_channel_size()
696 u32 slot_width = sample_width; in davinci_config_channel_size()
722 rx_rotate = (slot_width - sample_width) / 4; in davinci_config_channel_size()
/Linux-v4.19/drivers/gpu/drm/i2c/
Dtda998x_drv.c896 switch (params->sample_width) { in tda998x_configure_audio()
985 .sample_width = params->sample_width, in tda998x_audio_hw_params()
/Linux-v4.19/drivers/gpu/drm/msm/hdmi/
Dhdmi.c480 params->sample_width, params->cea.channels); in msm_hdmi_audio_hw_params()
/Linux-v4.19/sound/soc/codecs/
Dhdmi-codec.c519 hp.sample_width = params_width(params); in hdmi_codec_hw_params()
/Linux-v4.19/drivers/gpu/drm/mediatek/
Dmtk_hdmi.c1532 params->sample_rate, params->sample_width, chan); in mtk_hdmi_audio_hw_params()
/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos_hdmi.c1037 switch (hdata->audio.params.sample_width) { in hdmi_audio_config()