Searched refs:vol_desc (Results 1 – 4 of 4) sorted by relevance
252 struct aw_volume_desc *vol_desc = &aw88395->aw_pa->volume_desc; in aw88395_volume_get() local254 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() local273 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()
259 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw_dev_set_volume() local264 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() local1053 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()
29 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw88261_dev_set_volume() local33 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() local471 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() local898 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() local918 if (vol_desc->ctl_volume != value) { in aw88261_volume_set()919 vol_desc->ctl_volume = value; in aw88261_volume_set()[all …]
696 struct aw_volume_desc *vol_desc = &aw_dev->volume_desc; in aw_dev_set_volume() local701 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() local1099 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() local1527 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() local1546 if (vol_desc->ctl_volume != value) { in aw88399_volume_set()1547 vol_desc->ctl_volume = value; in aw88399_volume_set()[all …]