Home
last modified time | relevance | path

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

12

/sound/soc/codecs/
Dwm2000.c431 wm2000_mode_fn step[2]; member
437 .step = {
444 .step = {
453 .step = {
462 .step = {
470 .step = {
478 .step = {
486 .step = {
494 .step = {
502 .step = {
[all …]
Dda732x.c1267 u8 step = DA732X_DAC_OFFSET_STEP; in da732x_dac_offset_adjust() local
1295 offset[DA732X_HPL_DAC] |= step; in da732x_dac_offset_adjust()
1296 offset[DA732X_HPR_DAC] |= step; in da732x_dac_offset_adjust()
1306 offset[DA732X_HPL_DAC] &= ~step; in da732x_dac_offset_adjust()
1309 offset[DA732X_HPR_DAC] &= ~step; in da732x_dac_offset_adjust()
1311 step >>= 1; in da732x_dac_offset_adjust()
1312 } while (step); in da732x_dac_offset_adjust()
1331 u8 step = DA732X_OUTPUT_OFFSET_STEP; in da732x_output_offset_adjust() local
1362 offset[DA732X_HPL_AMP] |= step; in da732x_output_offset_adjust()
1363 offset[DA732X_HPR_AMP] |= step; in da732x_output_offset_adjust()
[all …]
Dnau8825.c311 unsigned int vol_from, unsigned int vol_to, unsigned int step) in nau8825_hpvol_ramp() argument
315 if (vol_from == vol_to || step == 0) { in nau8825_hpvol_ramp()
330 for (volume = from; volume < to; volume += step) { in nau8825_hpvol_ramp()
/sound/core/oss/
Dpcm_plugin.c89 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
101 c->area.step = width; in snd_pcm_plugin_alloc()
592 v->area.step = nchannels * width; in snd_pcm_plug_client_channels_buf()
682 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_silence()
686 if (dst_area->step == (unsigned int) width && width >= 8) in snd_pcm_area_silence()
691 dst_step = dst_area->step / 8; in snd_pcm_area_silence()
695 int dstbit_step = dst_area->step % 8; in snd_pcm_area_silence()
726 src = src_area->addr + (src_area->first + src_area->step * src_offset) / 8; in snd_pcm_area_copy()
729 dst = dst_area->addr + (dst_area->first + dst_area->step * dst_offset) / 8; in snd_pcm_area_copy()
735 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.h22 unsigned int step; /* samples distance in bits */ member
/sound/core/
Dcontrol_compat.c60 s32 step; member
65 u64 step; member
115 put_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_info_compat()
388 get_user(data->value.integer.step, &data32->value.integer.step)) in snd_ctl_elem_add_compat()
Dpcm_compat.c125 u32 step; member
137 get_user(info.step, &src->step)) in snd_pcm_ioctl_channel_info_compat()
145 put_user(info.step, &src->step)) in snd_pcm_ioctl_channel_info_compat()
Dpcm_lib.c1083 static int snd_interval_step(struct snd_interval *i, unsigned int step) in snd_interval_step() argument
1087 n = i->min % step; in snd_interval_step()
1089 i->min += step - n; in snd_interval_step()
1093 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()
1718 info->step = runtime->channels * width; in snd_pcm_lib_ioctl_channel_info()
1725 info->step = width; in snd_pcm_lib_ioctl_channel_info()
/sound/usb/
Dmixer_us16x08.h23 #define SND_US16X08_KCSET(bias, step, min, max) \ argument
24 (((bias) << 24) | ((step) << 16) | ((min) << 8) | (max))
Dmixer_us16x08.c245 uinfo->value.integer.step = SND_US16X08_KCSTEP(kcontrol); in snd_us16x08_master_info()
413 uinfo->value.integer.step = SND_US16X08_KCSTEP(kcontrol); in snd_us16x08_mix_info()
Dmixer_scarlett.c310 uinfo->value.integer.step = 1; in scarlett_ctl_info()
/sound/soc/sh/rcar/
Dadg.c131 int step = 2; in __rsnd_adg_get_timesel_ratio() local
137 for (div = 2; div <= 98304; div += step) { in __rsnd_adg_get_timesel_ratio()
150 step *= 2; in __rsnd_adg_get_timesel_ratio()
152 div += step; in __rsnd_adg_get_timesel_ratio()
153 step *= 2; in __rsnd_adg_get_timesel_ratio()
/sound/pci/
Dintel8x0m.c421 int civ, i, step; in snd_intel8x0m_update() local
427 step = 1; in snd_intel8x0m_update()
431 step = civ - ichdev->civ; in snd_intel8x0m_update()
432 if (step < 0) in snd_intel8x0m_update()
433 step += ICH_REG_LVI_MASK + 1; in snd_intel8x0m_update()
439 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0m_update()
441 ichdev->lvi += step; in snd_intel8x0m_update()
444 for (i = 0; i < step; i++) { in snd_intel8x0m_update()
Dintel8x0.c694 int status, civ, i, step; in snd_intel8x0_update() local
704 step = 0; in snd_intel8x0_update()
707 step = 1; in snd_intel8x0_update()
711 step = civ - ichdev->civ; in snd_intel8x0_update()
712 if (step < 0) in snd_intel8x0_update()
713 step += ICH_REG_LVI_MASK + 1; in snd_intel8x0_update()
719 ichdev->position += step * ichdev->fragsize1; in snd_intel8x0_update()
722 ichdev->lvi += step; in snd_intel8x0_update()
725 for (i = 0; i < step; i++) { in snd_intel8x0_update()
/sound/pci/hda/
Dhda_codec.c1598 int nums, step; in snd_hda_set_vmaster_tlv() local
1602 step = (caps & AC_AMPCAP_STEP_SIZE) >> AC_AMPCAP_STEP_SIZE_SHIFT; in snd_hda_set_vmaster_tlv()
1603 step = (step + 1) * 25; in snd_hda_set_vmaster_tlv()
1606 tlv[SNDRV_CTL_TLVO_DB_SCALE_MIN] = -nums * step; in snd_hda_set_vmaster_tlv()
1607 tlv[SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP] = step; in snd_hda_set_vmaster_tlv()
1882 int step; member
1893 int step; in init_follower_0dB() local
1911 step = tlv[SNDRV_CTL_TLVO_DB_SCALE_MUTE_AND_STEP]; in init_follower_0dB()
1912 step &= ~TLV_DB_SCALE_MUTE; in init_follower_0dB()
1913 if (!step) in init_follower_0dB()
[all …]
/sound/pci/echoaudio/
Dechoaudio.c824 u32 counter, step; in pcm_pointer() local
833 step = counter - pipe->last_counter; /* handles wrapping */ in pcm_pointer()
840 pipe->position += step; in pcm_pointer()
1824 u32 counter, step; in period_has_elapsed() local
1834 step = counter - pipe->last_period; /* handles wrapping */ in period_has_elapsed()
1835 step -= step % period_bytes; /* acknowledge whole periods only */ in period_has_elapsed()
1837 if (step == 0) in period_has_elapsed()
1840 pipe->last_period += step; /* used exclusively by us */ in period_has_elapsed()
/sound/pci/asihpi/
Dasihpi.c1453 uinfo->value.integer.step = step_gain_mB / VOL_STEP_mB; in snd_asihpi_volume_info()
1571 uinfo->value.integer.step = step_gain_mB / HPI_UNITS_PER_dB; in snd_asihpi_level_info()
1705 uinfo->value.integer.step = 1; in snd_asihpi_aesebu_rxstatus_info()
1800 uinfo->value.integer.step = ((int) gain_range[2]) / HPI_UNITS_PER_dB; in snd_asihpi_tuner_gain_info()
1963 uinfo->value.integer.step = ((int)freq_range[2]); in snd_asihpi_tuner_freq_info()
2399 uinfo->value.integer.step = 100; in snd_asihpi_clklocal_info()
2441 uinfo->value.integer.step = 100; in snd_asihpi_clkrate_info()
/sound/firewire/
Damdtp-stream.c164 unsigned int step = 0; in apply_constraint_to_size() local
169 step = max(step, amdtp_syt_intervals[i]); in apply_constraint_to_size()
172 t.min = roundup(s->min, step); in apply_constraint_to_size()
173 t.max = rounddown(s->max, step); in apply_constraint_to_size()
/sound/isa/gus/
Dgus_pcm.c178 unsigned int end, step; in snd_gf1_pcm_interrupt_wave() local
216 step = pcmp->dma_size / runtime->channels; in snd_gf1_pcm_interrupt_wave()
222 for (idx = 0; idx < pcmp->voices; idx++, end += step) { in snd_gf1_pcm_interrupt_wave()
/sound/drivers/
Daloop.c1336 uinfo->value.integer.step = 1; in loopback_rate_shift_info()
1435 uinfo->value.integer.step = 1; in loopback_format_info()
1457 uinfo->value.integer.step = 1; in loopback_rate_info()
1481 uinfo->value.integer.step = 1; in loopback_channels_info()
/sound/usb/line6/
Dpodhd.c322 uinfo->value.integer.step = 1; in snd_podhd_control_monitor_info()

12