/Linux-v5.4/drivers/iio/adc/ |
D | rcar-gyroadc.c | 72 unsigned int sample_width; member 218 *val &= BIT(priv->sample_width) - 1; in rcar_gyroadc_read_raw() 233 *val2 = 1 << priv->sample_width; in rcar_gyroadc_read_raw() 330 unsigned int sample_width; in rcar_gyroadc_parse_subdevs() local 345 sample_width = 12; in rcar_gyroadc_parse_subdevs() 350 sample_width = 15; in rcar_gyroadc_parse_subdevs() 355 sample_width = 16; in rcar_gyroadc_parse_subdevs() 418 priv->sample_width = sample_width; in rcar_gyroadc_parse_subdevs()
|
/Linux-v5.4/sound/usb/ |
D | format.c | 36 int sample_width, sample_bytes; in parse_audio_format_i_type() local 43 sample_width = fmt->bBitResolution; in parse_audio_format_i_type() 51 sample_width = fmt->bBitResolution; in parse_audio_format_i_type() 66 sample_width = as->bBitResolution; in parse_audio_format_i_type() 77 fp->fmt_bits = sample_width; in parse_audio_format_i_type() 91 sample_width == 24 && sample_bytes == 2) in parse_audio_format_i_type() 93 else if (sample_width > sample_bytes * 8) { in parse_audio_format_i_type() 96 sample_width, sample_bytes); in parse_audio_format_i_type() 122 sample_width, sample_bytes); in parse_audio_format_i_type()
|
/Linux-v5.4/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() 329 interval = hwlat_data.sample_window - hwlat_data.sample_width; in kthread_fn() 456 hwlat_data.sample_width = val; in hwlat_width_write() 494 if (hwlat_data.sample_width < val) in hwlat_window_write() 548 &hwlat_data.sample_width, in init_tracefs()
|
/Linux-v5.4/sound/core/ |
D | pcm_iec958.c | 12 static int create_iec958_consumer(uint rate, uint sample_width, in create_iec958_consumer() argument 47 switch (sample_width) { in create_iec958_consumer()
|
/Linux-v5.4/include/drm/i2c/ |
D | tda998x.h | 17 unsigned sample_width; member
|
/Linux-v5.4/include/uapi/sound/ |
D | sb16_csp.h | 80 int sample_width; /* sample width, look above */ member
|
/Linux-v5.4/include/sound/ |
D | sb16_csp.h | 36 int (*csp_start) (struct snd_sb_csp * p, int sample_width, int channels);
|
D | hdmi-codec.h | 46 int sample_width; member
|
/Linux-v5.4/drivers/gpu/drm/sti/ |
D | sti_hdmi.h | 31 unsigned int sample_width; member
|
D | sti_hdmi.c | 1183 hdmi->audio.sample_width = params->sample_width; in hdmi_audio_hw_params()
|
/Linux-v5.4/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.h | 28 int sample_width; member
|
D | cdn-dp-reg.c | 856 if (audio->sample_width == 16) in cdn_dp_audio_config_i2s() 858 else if (audio->sample_width == 24) in cdn_dp_audio_config_i2s() 869 if (audio->sample_width == 16) in cdn_dp_audio_config_i2s() 871 else if (audio->sample_width == 24) in cdn_dp_audio_config_i2s()
|
D | cdn-dp-core.c | 773 .sample_width = params->sample_width, in cdn_dp_audio_hw_params()
|
/Linux-v5.4/sound/isa/sb/ |
D | sb16_csp.c | 87 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels); 230 err = snd_sb_csp_start(p, start_info.sample_width, start_info.channels); in snd_sb_csp_ioctl() 787 static int snd_sb_csp_start(struct snd_sb_csp * p, int sample_width, int channels) in snd_sb_csp_start() argument 802 if (!(sample_width & p->acc_width)) { in snd_sb_csp_start() 825 if (sample_width == SNDRV_SB_CSP_SAMPLE_8BIT) in snd_sb_csp_start() 836 p->run_width = sample_width; in snd_sb_csp_start()
|
/Linux-v5.4/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-i2s-audio.c | 73 switch (hparms->sample_width) { in dw_hdmi_i2s_hw_params()
|
/Linux-v5.4/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_audio.c | 92 switch (hparms->sample_width) { in adv7511_hdmi_hw_params()
|
/Linux-v5.4/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-v5.4/drivers/gpu/drm/zte/ |
D | zx_hdmi.c | 408 switch (params->sample_width) { in zx_hdmi_audio_hw_params() 423 params->sample_width); in zx_hdmi_audio_hw_params()
|
/Linux-v5.4/sound/soc/ti/ |
D | davinci-mcasp.c | 762 int sample_width) in davinci_config_channel_size() argument 766 u32 mask = (1ULL << sample_width) - 1; in davinci_config_channel_size() 773 slot_width = sample_width; in davinci_config_channel_size() 788 tx_rotate = (sample_width / 4) & 0x7; in davinci_config_channel_size() 789 rx_rotate = (slot_width - sample_width) / 4; in davinci_config_channel_size()
|
/Linux-v5.4/drivers/gpu/drm/bridge/ |
D | sii902x.c | 543 switch (params->sample_width) { in sii902x_audio_hw_params() 556 params->sample_width); in sii902x_audio_hw_params()
|
/Linux-v5.4/drivers/gpu/drm/msm/hdmi/ |
D | hdmi.c | 443 params->sample_width, params->cea.channels); in msm_hdmi_audio_hw_params()
|
/Linux-v5.4/sound/soc/codecs/ |
D | hdmi-codec.c | 482 hp.sample_width = params_width(params); in hdmi_codec_hw_params()
|
/Linux-v5.4/drivers/gpu/drm/i2c/ |
D | tda998x_drv.c | 1108 bclk_ratio = spdif ? 64 : params->sample_width * 2; in tda998x_audio_hw_params() 1765 ratio = spdif ? 64 : p->audio_params.sample_width * 2; in tda998x_set_config()
|
/Linux-v5.4/drivers/gpu/drm/mediatek/ |
D | mtk_hdmi.c | 1539 params->sample_rate, params->sample_width, chan); in mtk_hdmi_audio_hw_params()
|
/Linux-v5.4/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 1037 switch (hdata->audio.params.sample_width) { in hdmi_audio_config()
|