Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/aw88395/
H A Daw88395.c252 struct aw_volume_desc *vol_desc = &aw88395->aw_pa->volume_desc; in aw88395_volume_get() local
254 ucontrol->value.integer.value[0] = vol_desc->ctl_volume; in aw88395_volume_get()
264 struct aw_volume_desc *vol_desc = &aw88395->aw_pa->volume_desc; in aw88395_volume_set() local
273 if (vol_desc->ctl_volume != value) { in aw88395_volume_set()
274 vol_desc->ctl_volume = value; in aw88395_volume_set()
275 aw88395_dev_set_volume(aw88395->aw_pa, vol_desc->ctl_volume); in aw88395_volume_set()
H A Daw88395_device.c259 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw_dev_set_volume() local
264 volume = min((value + vol_desc->init_volume), (unsigned int)AW88395_MUTE_VOL); in aw_dev_set_volume()
999 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw_dev_update_reg_container() local
1053 vol_desc->ctl_volume = 0; in aw_dev_update_reg_container()
1056 aw_dev_set_volume(aw_dev, vol_desc->ctl_volume); in aw_dev_update_reg_container()
/linux/sound/soc/codecs/
H A Daw88261.c29 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw88261_dev_set_volume() local
33 volume = min((value + vol_desc->init_volume), (unsigned int)AW88261_MUTE_VOL); in aw88261_dev_set_volume()
396 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw88261_dev_reg_update() local
471 vol_desc->ctl_volume = 0; in aw88261_dev_reg_update()
474 aw88261_dev_set_volume(aw_dev, vol_desc->mute_volume); in aw88261_dev_reg_update()
896 struct aw_volume_desc *vol_desc = &aw88261->aw_pa->volume_desc; in aw88261_volume_get() local
898 ucontrol->value.integer.value[0] = vol_desc->ctl_volume; in aw88261_volume_get()
908 struct aw_volume_desc *vol_desc = &aw88261->aw_pa->volume_desc; in aw88261_volume_set() local
918 if (vol_desc->ctl_volume != value) { in aw88261_volume_set()
919 vol_desc->ctl_volume = value; in aw88261_volume_set()
[all …]
H A Daw88399.c696 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw_dev_set_volume() local
701 real_value = min((value + vol_desc->init_volume), (unsigned int)AW88399_MUTE_VOL); in aw_dev_set_volume()
1030 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw_dev_update_reg_container() local
1099 vol_desc->ctl_volume = 0; in aw_dev_update_reg_container()
1101 aw_dev_set_volume(aw_dev, vol_desc->ctl_volume); in aw_dev_update_reg_container()
1525 struct aw_volume_desc *vol_desc = &aw88399->aw_pa->volume_desc; in aw88399_volume_get() local
1527 ucontrol->value.integer.value[0] = vol_desc->ctl_volume; in aw88399_volume_get()
1537 struct aw_volume_desc *vol_desc = &aw88399->aw_pa->volume_desc; in aw88399_volume_set() local
1546 if (vol_desc->ctl_volume != value) { in aw88399_volume_set()
1547 vol_desc->ctl_volume = value; in aw88399_volume_set()
[all …]