Searched refs:vols (Results 1 – 3 of 3) sorted by relevance
| /linux/sound/soc/intel/avs/ |
| H A D | path.c | 501 struct avs_volume_cfg vols[SND_SOC_TPLG_MAX_CHAN] = {{0}}; in avs_peakvol_set_volume() local 513 vols[i].channel_id = i; in avs_peakvol_set_volume() 514 vols[i].target_volume = input[i]; in avs_peakvol_set_volume() 515 vols[i].curve_type = t->cfg_ext->peakvol.curve_type; in avs_peakvol_set_volume() 516 vols[i].curve_duration = t->cfg_ext->peakvol.curve_duration; in avs_peakvol_set_volume() 519 ret = avs_ipc_peakvol_set_volumes(adev, mod->module_id, mod->instance_id, vols, in avs_peakvol_set_volume() 525 vols[0].channel_id = AVS_ALL_CHANNELS_MASK; in avs_peakvol_set_volume() 526 vols[0].target_volume = input[0]; in avs_peakvol_set_volume() 527 vols[0].curve_type = t->cfg_ext->peakvol.curve_type; in avs_peakvol_set_volume() 528 vols[0].curve_duration = t->cfg_ext->peakvol.curve_duration; in avs_peakvol_set_volume() [all …]
|
| H A D | messages.c | 681 struct avs_volume_cfg **vols, size_t *num_vols) in avs_ipc_peakvol_get_volume() argument 696 *vols = (struct avs_volume_cfg *)payload; in avs_ipc_peakvol_get_volume() 697 *num_vols = payload_size / sizeof(**vols); in avs_ipc_peakvol_get_volume() 710 struct avs_volume_cfg *vols, size_t num_vols) in avs_ipc_peakvol_set_volumes() argument 718 size = num_vols * sizeof(*vols); in avs_ipc_peakvol_set_volumes() 731 tlv->length = sizeof(*vols); in avs_ipc_peakvol_set_volumes() 732 memcpy(tlv->value, &vols[i], tlv->length); in avs_ipc_peakvol_set_volumes()
|
| H A D | messages.h | 858 struct avs_volume_cfg vols[]; member 967 struct avs_volume_cfg **vols, size_t *num_vols); 971 struct avs_volume_cfg *vols, size_t num_vols);
|