/Linux-v4.19/drivers/iio/adc/ |
D | rcar-gyroadc.c | 81 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/ |
D | trace_hwlat.c | 96 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/ |
D | format.c | 49 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/ |
D | pcm_iec958.c | 15 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/ |
D | tda998x.h | 17 unsigned sample_width; member
|
/Linux-v4.19/include/uapi/sound/ |
D | sb16_csp.h | 80 int sample_width; /* sample width, look above */ member
|
/Linux-v4.19/include/sound/ |
D | hdmi-codec.h | 54 int sample_width; member
|
D | sb16_csp.h | 50 int (*csp_start) (struct snd_sb_csp * p, int sample_width, int channels);
|
/Linux-v4.19/drivers/gpu/drm/sti/ |
D | sti_hdmi.h | 29 unsigned int sample_width; member
|
D | sti_hdmi.c | 1176 hdmi->audio.sample_width = params->sample_width; in hdmi_audio_hw_params()
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.h | 36 int sample_width; member
|
D | cdn-dp-reg.c | 864 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()
|
D | cdn-dp-core.c | 782 .sample_width = params->sample_width, in cdn_dp_audio_hw_params()
|
/Linux-v4.19/sound/isa/sb/ |
D | sb16_csp.c | 101 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/ |
D | dw-hdmi-i2s-audio.c | 55 switch (hparms->sample_width) { in dw_hdmi_i2s_hw_params()
|
/Linux-v4.19/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_audio.c | 93 switch (hparms->sample_width) { in adv7511_hdmi_hw_params()
|
/Linux-v4.19/sound/soc/sh/ |
D | fsi.c | 212 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/ |
D | zx_hdmi.c | 410 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/ |
D | davinci-mcasp.c | 691 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/ |
D | tda998x_drv.c | 896 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/ |
D | hdmi.c | 480 params->sample_width, params->cea.channels); in msm_hdmi_audio_hw_params()
|
/Linux-v4.19/sound/soc/codecs/ |
D | hdmi-codec.c | 519 hp.sample_width = params_width(params); in hdmi_codec_hw_params()
|
/Linux-v4.19/drivers/gpu/drm/mediatek/ |
D | mtk_hdmi.c | 1532 params->sample_rate, params->sample_width, chan); in mtk_hdmi_audio_hw_params()
|
/Linux-v4.19/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 1037 switch (hdata->audio.params.sample_width) { in hdmi_audio_config()
|