Home
last modified time | relevance | path

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

/linux-6.15/sound/soc/intel/avs/
H A Dpath.c402 struct avs_volume_cfg vols[SND_SOC_TPLG_MAX_CHAN] = {{0}}; in avs_peakvol_set_volume() local
414 vols[i].channel_id = i; in avs_peakvol_set_volume()
415 vols[i].target_volume = input[i]; in avs_peakvol_set_volume()
416 vols[i].curve_type = t->cfg_ext->peakvol.curve_type; in avs_peakvol_set_volume()
426 vols[0].channel_id = AVS_ALL_CHANNELS_MASK; in avs_peakvol_set_volume()
427 vols[0].target_volume = input[0]; in avs_peakvol_set_volume()
428 vols[0].curve_type = t->cfg_ext->peakvol.curve_type; in avs_peakvol_set_volume()
479 cfg_size = struct_size(cfg, vols, 1); in avs_peakvol_create()
490 cfg->vols[0].channel_id = AVS_ALL_CHANNELS_MASK; in avs_peakvol_create()
491 cfg->vols[0].target_volume = S32_MAX; in avs_peakvol_create()
[all …]
H A Dmessages.c681 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 Dmessages.h828 struct avs_volume_cfg vols[]; member
937 struct avs_volume_cfg **vols, size_t *num_vols);
941 struct avs_volume_cfg *vols, size_t num_vols);