Home
last modified time | relevance | path

Searched refs:fade_step (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/sound/soc/codecs/
Daw88261.c50 int fade_step = aw_dev->fade_step; in aw88261_dev_fade_in() local
53 if (fade_step == 0 || aw_dev->fade_in_time == 0) { in aw88261_dev_fade_in()
58 for (i = AW88261_MUTE_VOL; i >= fade_in_vol; i -= fade_step) { in aw88261_dev_fade_in()
71 int fade_step = aw_dev->fade_step; in aw88261_dev_fade_out() local
74 if (fade_step == 0 || aw_dev->fade_out_time == 0) { in aw88261_dev_fade_out()
79 for (i = desc->ctl_volume; i <= AW88261_MUTE_VOL; i += fade_step) { in aw88261_dev_fade_out()
934 ucontrol->value.integer.value[0] = aw88261->aw_pa->fade_step; in aw88261_get_fade_step()
952 if (aw88261->aw_pa->fade_step != value) { in aw88261_set_fade_step()
953 aw88261->aw_pa->fade_step = value; in aw88261_set_fade_step()
1233 aw_dev->fade_step = AW88261_VOLUME_STEP_DB; in aw88261_init()
/Linux-v6.6/sound/soc/codecs/aw88395/
Daw88395_device.c297 int fade_step = aw_dev->fade_step; in aw_dev_fade_in() local
303 if (fade_step == 0 || aw_dev->fade_in_time == 0) { in aw_dev_fade_in()
308 for (i = AW88395_MUTE_VOL; i >= fade_in_vol; i -= fade_step) { in aw_dev_fade_in()
320 int fade_step = aw_dev->fade_step; in aw_dev_fade_out() local
326 if (fade_step == 0 || aw_dev->fade_out_time == 0) { in aw_dev_fade_out()
331 for (i = desc->ctl_volume; i <= AW88395_MUTE_VOL; i += fade_step) { in aw_dev_fade_out()
1639 aw_dev->fade_step = AW88395_VOLUME_STEP_DB; in aw_dev_init()
Daw88395.c290 ucontrol->value.integer.value[0] = aw88395->aw_pa->fade_step; in aw88395_get_fade_step()
308 if (aw88395->aw_pa->fade_step != value) { in aw88395_set_fade_step()
309 aw88395->aw_pa->fade_step = value; in aw88395_set_fade_step()
Daw88395_device.h147 unsigned int fade_step; member