Home
last modified time | relevance | path

Searched refs:step (Results 1 – 25 of 27) sorted by relevance

12

/sound/soc/codecs/
Dwm2000.c440 wm2000_mode_fn step[2]; member
446 .step = {
453 .step = {
462 .step = {
471 .step = {
479 .step = {
487 .step = {
495 .step = {
503 .step = {
511 .step = {
[all …]
Dda732x.c1281 u8 step = DA732X_DAC_OFFSET_STEP; in da732x_dac_offset_adjust() local
1309 offset[DA732X_HPL_DAC] |= step; in da732x_dac_offset_adjust()
1310 offset[DA732X_HPR_DAC] |= step; in da732x_dac_offset_adjust()
1320 offset[DA732X_HPL_DAC] &= ~step; in da732x_dac_offset_adjust()
1323 offset[DA732X_HPR_DAC] &= ~step; in da732x_dac_offset_adjust()
1325 step >>= 1; in da732x_dac_offset_adjust()
1326 } while (step); in da732x_dac_offset_adjust()
1345 u8 step = DA732X_OUTPUT_OFFSET_STEP; in da732x_output_offset_adjust() local
1376 offset[DA732X_HPL_AMP] |= step; in da732x_output_offset_adjust()
1377 offset[DA732X_HPR_AMP] |= step; in da732x_output_offset_adjust()
[all …]
/sound/core/oss/
Dpcm_plugin.c85 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
97 c->area.step = width; in snd_pcm_plugin_alloc()
581 v->area.step = nchannels * width; in snd_pcm_plug_client_channels_buf()
667 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence()
671 if (dst_area->step == (unsigned int) width && width >= 8) in snd_pcm_area_silence()
676 dst_step = dst_area->step / 8; in snd_pcm_area_silence()
680 int dstbit_step = dst_area->step % 8; in snd_pcm_area_silence()
711 src = src_area->addr + (src_area->first + src_area->step * src_offset) / 8; in snd_pcm_area_copy()
714 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_copy()
720 if (src_area->step == (unsigned int) width && in snd_pcm_area_copy()
[all …]
Dmulaw.c190 src_step = src_channels[channel].area.step / 8; in mulaw_decode()
191 dst_step = dst_channels[channel].area.step / 8; in mulaw_decode()
236 src_step = src_channels[channel].area.step / 8; in mulaw_encode()
237 dst_step = dst_channels[channel].area.step / 8; in mulaw_encode()
264 src_channels[channel].area.step % 8)) in mulaw_transfer()
267 dst_channels[channel].area.step % 8)) in mulaw_transfer()
Dlinear.c77 src_step = src_channels[channel].area.step / 8; in convert()
78 dst_step = dst_channels[channel].area.step / 8; in convert()
102 src_channels[channel].area.step % 8)) in linear_transfer()
105 dst_channels[channel].area.step % 8)) in linear_transfer()
Drate.c94 src_step = src_channels[channel].area.step / 8 / 2; in resample_expand()
95 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_expand()
153 src_step = src_channels[channel].area.step / 8 / 2; in resample_shrink()
154 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_shrink()
266 src_channels[channel].area.step % 8)) in rate_transfer()
269 dst_channels[channel].area.step % 8)) in rate_transfer()
Dcopy.c42 src_channels->area.step % 8)) in copy_transfer()
45 dst_channels->area.step % 8)) in copy_transfer()
Dpcm_plugin.h37 unsigned int step; /* samples distance in bits */ member
/sound/soc/sh/rcar/
Dadg.c133 int idx, sel, div, step, ret; in rsnd_adg_set_convert_clk_gen2() local
149 step = 2; in rsnd_adg_set_convert_clk_gen2()
154 for (div = 2; div <= 98304; div += step) { in rsnd_adg_set_convert_clk_gen2()
167 step *= 2; in rsnd_adg_set_convert_clk_gen2()
169 div += step; in rsnd_adg_set_convert_clk_gen2()
170 step *= 2; in rsnd_adg_set_convert_clk_gen2()
/sound/core/
Dcontrol_compat.c75 s32 step; member
80 u64 step; member
135 put_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_info_compat()
411 get_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_add_compat()
Dpcm_compat.c161 u32 step; member
173 get_user(info.step, &src->step)) in snd_pcm_ioctl_channel_info_compat()
181 put_user(info.step, &src->step)) in snd_pcm_ioctl_channel_info_compat()
Dpcm_lib.c1115 static int snd_interval_step(struct snd_interval *i, unsigned int step) in snd_interval_step() argument
1119 n = i->min % step; in snd_interval_step()
1121 i->min += step - n; in snd_interval_step()
1125 n = i->max % step; in snd_interval_step()
1430 unsigned long step = (unsigned long) rule->private; in snd_pcm_hw_rule_step() local
1431 return snd_interval_step(hw_param_interval(params, rule->var), step); in snd_pcm_hw_rule_step()
1446 unsigned long step) in snd_pcm_hw_constraint_step() argument
1449 snd_pcm_hw_rule_step, (void *) step, in snd_pcm_hw_constraint_step()
1764 info->step = runtime->channels * width; in snd_pcm_lib_ioctl_channel_info()
1771 info->step = width; in snd_pcm_lib_ioctl_channel_info()
/sound/pci/
Dintel8x0m.c450 int civ, i, step; in snd_intel8x0m_update() local
456 step = 1; in snd_intel8x0m_update()
460 step = civ - ichdev->civ; in snd_intel8x0m_update()
461 if (step < 0) in snd_intel8x0m_update()
462 step += ICH_REG_LVI_MASK + 1; in snd_intel8x0m_update()
468 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0m_update()
470 ichdev->lvi += step; in snd_intel8x0m_update()
473 for (i = 0; i < step; i++) { in snd_intel8x0m_update()
Dintel8x0.c758 int status, civ, i, step; in snd_intel8x0_update() local
765 step = 0; in snd_intel8x0_update()
768 step = 1; in snd_intel8x0_update()
772 step = civ - ichdev->civ; in snd_intel8x0_update()
773 if (step < 0) in snd_intel8x0_update()
774 step += ICH_REG_LVI_MASK + 1; in snd_intel8x0_update()
780 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0_update()
783 ichdev->lvi += step; in snd_intel8x0_update()
786 for (i = 0; i < step; i++) { in snd_intel8x0_update()
/sound/pci/hda/
Dhda_codec.c2504 int nums, step; in snd_hda_set_vmaster_tlv() local
2508 step = (caps & AC_AMPCAP_STEP_SIZE) >> AC_AMPCAP_STEP_SIZE_SHIFT; in snd_hda_set_vmaster_tlv()
2509 step = (step + 1) * 25; in snd_hda_set_vmaster_tlv()
2512 tlv[2] = -nums * step; in snd_hda_set_vmaster_tlv()
2513 tlv[3] = step; in snd_hda_set_vmaster_tlv()
2821 int step = tlv[3]; in get_kctl_0dB_offset() local
2822 step &= ~TLV_DB_SCALE_MUTE; in get_kctl_0dB_offset()
2823 if (!step) in get_kctl_0dB_offset()
2825 if (*step_to_check && *step_to_check != step) { in get_kctl_0dB_offset()
2827 *step_to_check, step); in get_kctl_0dB_offset()
[all …]
Dpatch_ca0132.c2943 uinfo->value.integer.step = 1; in voice_focus_ctl_info()
2978 uinfo->value.integer.step = 1; in mic_svm_ctl_info()
3013 uinfo->value.integer.step = 1; in equalizer_ctl_info()
Dhda_generic.c3685 unsigned int step; in check_boost_vol() local
3692 step = (query_amp_caps(codec, nid, dir) & AC_AMPCAP_STEP_SIZE) in check_boost_vol()
3694 if (step < 0x20) in check_boost_vol()
/sound/pci/asihpi/
Dasihpi.c1438 uinfo->value.integer.step = step_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1559 uinfo->value.integer.step = step_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
1704 uinfo->value.integer.step = 1; in snd_asihpi_aesebu_rxstatus_info()
1799 uinfo->value.integer.step = ((int) gain_range[2]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1977 uinfo->value.integer.step = ((int)freq_range[2]); in snd_asihpi_tuner_freq_info()
2420 uinfo->value.integer.step = 100; in snd_asihpi_clklocal_info()
2462 uinfo->value.integer.step = 100; in snd_asihpi_clkrate_info()
/sound/drivers/
Daloop.c810 uinfo->value.integer.step = 1; in loopback_rate_shift_info()
898 uinfo->value.integer.step = 1; in loopback_format_info()
920 uinfo->value.integer.step = 1; in loopback_rate_info()
942 uinfo->value.integer.step = 1; in loopback_channels_info()
/sound/isa/gus/
Dgus_pcm.c193 unsigned int end, step; in snd_gf1_pcm_interrupt_wave() local
231 step = pcmp->dma_size / runtime->channels; in snd_gf1_pcm_interrupt_wave()
237 for (idx = 0; idx < pcmp->voices; idx++, end += step) { in snd_gf1_pcm_interrupt_wave()
/sound/pci/korg1212/
Dkorg1212.c1484 info->step = 256; in snd_korg1212_ioctl()
1485 …_info %d:, offset=%ld, first=%d, step=%d\n", info->channel, info->offset, info->first, info->step); in snd_korg1212_ioctl()
/sound/pci/rme9652/
Dhdspm.c2253 uinfo->value.integer.step = 1; in snd_hdspm_info_system_sample_rate()
3658 uinfo->value.integer.step = 1; in snd_hdspm_info_mixer()
3762 uinfo->value.integer.step = 1; in snd_hdspm_info_playback_mixer()
5765 info->step = 32; in snd_hdspm_channel_info()
/sound/pci/ctxfi/
Dctmixer.c577 uinfo->value.integer.step = 1; in ct_alsa_mix_switch_info()
/sound/soc/
Dsoc-core.c139 int i, step = 1; in soc_codec_reg_show() local
154 step = codec->driver->reg_cache_step; in soc_codec_reg_show()
156 for (i = 0; i < codec->driver->reg_cache_size; i += step) { in soc_codec_reg_show()
/sound/oss/
DKconfig294 TRXPRO.HEX file handy you may skip this step. However, the SB and

12