Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/aw88395/
H A Daw88395.c253 struct aw_volume_desc *vol_desc = &aw88395->aw_pa->volume_desc; in aw88395_volume_get() local
255 ucontrol->value.integer.value[0] = vol_desc->ctl_volume; in aw88395_volume_get()
265 struct aw_volume_desc *vol_desc = &aw88395->aw_pa->volume_desc; in aw88395_volume_set() local
274 if (vol_desc->ctl_volume != value) { in aw88395_volume_set()
275 vol_desc->ctl_volume = value; in aw88395_volume_set()
276 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()
1005 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw_dev_update_reg_container() local
1059 vol_desc->ctl_volume = 0; in aw_dev_update_reg_container()
1062 aw_dev_set_volume(aw_dev, vol_desc->ctl_volume); in aw_dev_update_reg_container()
/openbmc/linux/sound/soc/codecs/
H A Daw88261.c30 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw88261_dev_set_volume() local
34 volume = min((value + vol_desc->init_volume), (unsigned int)AW88261_MUTE_VOL); in aw88261_dev_set_volume()
397 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw88261_dev_reg_update() local
472 vol_desc->ctl_volume = 0; in aw88261_dev_reg_update()
475 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 …]