Lines Matching defs:set_level
726 struct mixart_set_out_stream_level_req set_level;
730 memset(&set_level, 0, sizeof(set_level));
731 set_level.nb_of_stream = 1;
732 set_level.stream_level.desc.stream_idx = idx;
745 set_level.stream_level.desc.uid_pipe = pipe->group_uid;
754 set_level.stream_level.out_level.valid_mask1 = MIXART_OUT_STREAM_SET_LEVEL_LEFT_AUDIO1 | MIXART_OUT_STREAM_SET_LEVEL_RIGHT_AUDIO2;
755 set_level.stream_level.out_level.left_to_out1_level = mixart_digital_level[volume[0]];
756 set_level.stream_level.out_level.right_to_out2_level = mixart_digital_level[volume[1]];
760 request.data = &set_level;
761 request.size = sizeof(set_level);
776 struct mixart_set_in_audio_level_req set_level;
791 memset(&set_level, 0, sizeof(set_level));
792 set_level.audio_count = 2;
793 set_level.level[0].connector = pipe->uid_left_connector;
794 set_level.level[1].connector = pipe->uid_right_connector;
797 set_level.level[i].valid_mask1 = MIXART_AUDIO_LEVEL_DIGITAL_MASK;
798 set_level.level[i].digital_level = mixart_digital_level[chip->digital_capture_volume[idx][i]];
803 request.data = &set_level;
804 request.size = sizeof(set_level);