Lines Matching defs:vols
496 struct avs_volume_cfg vols[SND_SOC_TPLG_MAX_CHAN] = {{0}};
508 vols[i].channel_id = i;
509 vols[i].target_volume = input[i];
510 vols[i].curve_type = t->cfg_ext->peakvol.curve_type;
511 vols[i].curve_duration = t->cfg_ext->peakvol.curve_duration;
514 ret = avs_ipc_peakvol_set_volumes(adev, mod->module_id, mod->instance_id, vols,
520 vols[0].channel_id = AVS_ALL_CHANNELS_MASK;
521 vols[0].target_volume = input[0];
522 vols[0].curve_type = t->cfg_ext->peakvol.curve_type;
523 vols[0].curve_duration = t->cfg_ext->peakvol.curve_duration;
525 ret = avs_ipc_peakvol_set_volume(adev, mod->module_id, mod->instance_id, &vols[0]);
573 cfg_size = struct_size(cfg, vols, 1);
584 cfg->vols[0].channel_id = AVS_ALL_CHANNELS_MASK;
585 cfg->vols[0].target_volume = S32_MAX;
586 cfg->vols[0].curve_type = t->cfg_ext->peakvol.curve_type;
587 cfg->vols[0].curve_duration = t->cfg_ext->peakvol.curve_duration;