Lines Matching refs:amp
438 struct idt821034_amp *amp; in idt821034_kctrl_gain_put() local
462 amp = &idt821034->amps.ch[ch].amp_out; in idt821034_kctrl_gain_put()
465 amp = &idt821034->amps.ch[ch].amp_in; in idt821034_kctrl_gain_put()
469 if (amp->gain == val) { in idt821034_kctrl_gain_put()
474 if (!amp->is_muted) { in idt821034_kctrl_gain_put()
480 amp->gain = val; in idt821034_kctrl_gain_put()
515 struct idt821034_amp *amp; in idt821034_kctrl_mute_put() local
527 amp = &idt821034->amps.ch[ch].amp_out; in idt821034_kctrl_mute_put()
530 amp = &idt821034->amps.ch[ch].amp_in; in idt821034_kctrl_mute_put()
534 if (amp->is_muted == is_mute) { in idt821034_kctrl_mute_put()
540 is_mute ? 0 : amp->gain); in idt821034_kctrl_mute_put()
544 amp->is_muted = is_mute; in idt821034_kctrl_mute_put()