Lines Matching refs:integer
405 uinfo->value.integer.min = 0; in vx_output_level_info()
406 uinfo->value.integer.max = chip->hw->output_level_max; in vx_output_level_info()
415 ucontrol->value.integer.value[0] = chip->output_level[codec][0]; in vx_output_level_get()
416 ucontrol->value.integer.value[1] = chip->output_level[codec][1]; in vx_output_level_get()
428 val[0] = ucontrol->value.integer.value[0]; in vx_output_level_put()
429 val[1] = ucontrol->value.integer.value[1]; in vx_output_level_put()
563 uinfo->value.integer.min = 0; in vx_audio_gain_info()
564 uinfo->value.integer.max = CVAL_MAX; in vx_audio_gain_info()
575 ucontrol->value.integer.value[0] = chip->audio_gain[capture][audio]; in vx_audio_gain_get()
576 ucontrol->value.integer.value[1] = chip->audio_gain[capture][audio+1]; in vx_audio_gain_get()
588 val[0] = ucontrol->value.integer.value[0]; in vx_audio_gain_put()
589 val[1] = ucontrol->value.integer.value[1]; in vx_audio_gain_put()
610 ucontrol->value.integer.value[0] = chip->audio_monitor[audio]; in vx_audio_monitor_get()
611 ucontrol->value.integer.value[1] = chip->audio_monitor[audio+1]; in vx_audio_monitor_get()
622 val[0] = ucontrol->value.integer.value[0]; in vx_audio_monitor_put()
623 val[1] = ucontrol->value.integer.value[1]; in vx_audio_monitor_put()
649 ucontrol->value.integer.value[0] = chip->audio_active[audio]; in vx_audio_sw_get()
650 ucontrol->value.integer.value[1] = chip->audio_active[audio+1]; in vx_audio_sw_get()
661 if (ucontrol->value.integer.value[0] != chip->audio_active[audio] || in vx_audio_sw_put()
662 ucontrol->value.integer.value[1] != chip->audio_active[audio+1]) { in vx_audio_sw_put()
664 !!ucontrol->value.integer.value[0]); in vx_audio_sw_put()
666 !!ucontrol->value.integer.value[1]); in vx_audio_sw_put()
680 ucontrol->value.integer.value[0] = chip->audio_monitor_active[audio]; in vx_monitor_sw_get()
681 ucontrol->value.integer.value[1] = chip->audio_monitor_active[audio+1]; in vx_monitor_sw_get()
692 if (ucontrol->value.integer.value[0] != chip->audio_monitor_active[audio] || in vx_monitor_sw_put()
693 ucontrol->value.integer.value[1] != chip->audio_monitor_active[audio+1]) { in vx_monitor_sw_put()
695 !!ucontrol->value.integer.value[0]); in vx_monitor_sw_put()
697 !!ucontrol->value.integer.value[1]); in vx_monitor_sw_put()
823 uinfo->value.integer.min = 0; in vx_vu_meter_info()
824 uinfo->value.integer.max = METER_MAX; in vx_vu_meter_info()
836 ucontrol->value.integer.value[0] = meter[0].vu_level >> METER_SHIFT; in vx_vu_meter_get()
837 ucontrol->value.integer.value[1] = meter[1].vu_level >> METER_SHIFT; in vx_vu_meter_get()
849 ucontrol->value.integer.value[0] = meter[0].peak_level >> METER_SHIFT; in vx_peak_meter_get()
850 ucontrol->value.integer.value[1] = meter[1].peak_level >> METER_SHIFT; in vx_peak_meter_get()
863 ucontrol->value.integer.value[0] = meter[0].saturated; in vx_saturation_get()
864 ucontrol->value.integer.value[1] = meter[1].saturated; in vx_saturation_get()