Home
last modified time | relevance | path

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

/sound/soc/intel/avs/
A Dpath.c447 struct avs_volume_cfg vols[SND_SOC_TPLG_MAX_CHAN] = {{0}}; in avs_peakvol_set_volume() local
459 vols[i].channel_id = i; in avs_peakvol_set_volume()
460 vols[i].target_volume = input[i]; in avs_peakvol_set_volume()
461 vols[i].curve_type = t->cfg_ext->peakvol.curve_type; in avs_peakvol_set_volume()
471 vols[0].channel_id = AVS_ALL_CHANNELS_MASK; in avs_peakvol_set_volume()
472 vols[0].target_volume = input[0]; in avs_peakvol_set_volume()
473 vols[0].curve_type = t->cfg_ext->peakvol.curve_type; in avs_peakvol_set_volume()
524 cfg_size = struct_size(cfg, vols, 1); in avs_peakvol_create()
535 cfg->vols[0].channel_id = AVS_ALL_CHANNELS_MASK; in avs_peakvol_create()
536 cfg->vols[0].target_volume = S32_MAX; in avs_peakvol_create()
[all …]
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()
A Dmessages.h858 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);

Completed in 14 milliseconds