Lines Matching refs:coef

152 				      unsigned int coef)  in cs_vendor_coef_set()  argument
158 AC_VERB_SET_PROC_COEF, coef); in cs_vendor_coef_set()
198 unsigned int coef; in init_input_coef() local
202 coef = cs_vendor_coef_get(codec, IDX_BEEP_CFG); in init_input_coef()
204 coef |= 1 << 4; /* DMIC2 2 chan on, GPIO1 off */ in init_input_coef()
206 coef |= 1 << 3; /* DMIC1 2 chan on, GPIO0 off in init_input_coef()
211 cs_vendor_coef_set(codec, IDX_BEEP_CFG, coef); in init_input_coef()
296 unsigned int coef; in init_digital_coef() local
298 coef = 0x0002; /* SRC_MUTE soft-mute on SPDIF (if no lock) */ in init_digital_coef()
299 coef |= 0x0008; /* Replace with mute on error */ in init_digital_coef()
301 coef |= 0x4000; /* RX to TX1 or TX2 Loopthru / SPDIF2 in init_digital_coef()
305 cs_vendor_coef_set(codec, IDX_SPDIF_CTL, coef); in init_digital_coef()
972 unsigned int coef = in cs421x_boost_vol_put() local
974 unsigned int original_coef = coef; in cs421x_boost_vol_put()
976 coef &= ~0x0003; in cs421x_boost_vol_put()
977 coef |= (vol & 0x0003); in cs421x_boost_vol_put()
978 if (original_coef == coef) in cs421x_boost_vol_put()
981 cs_vendor_coef_set(codec, CS421X_IDX_SPK_CTL, coef); in cs421x_boost_vol_put()
1001 unsigned int def_conf, coef; in cs4210_pinmux_init() local
1004 coef = cs_vendor_coef_get(codec, CS421X_IDX_DEV_CFG); in cs4210_pinmux_init()
1007 coef |= 0x0008; /* B1,B2 are GPIOs */ in cs4210_pinmux_init()
1009 coef &= ~0x0008; in cs4210_pinmux_init()
1012 coef |= 0x0010; /* B2 is SENSE_B, not inverted */ in cs4210_pinmux_init()
1014 coef &= ~0x0010; in cs4210_pinmux_init()
1016 cs_vendor_coef_set(codec, CS421X_IDX_DEV_CFG, coef); in cs4210_pinmux_init()
1157 unsigned int coef; in cs421x_suspend() local
1167 coef = cs_vendor_coef_get(codec, CS421X_IDX_DEV_CFG); in cs421x_suspend()
1168 coef |= 0x0004; /* PDREF */ in cs421x_suspend()
1169 cs_vendor_coef_set(codec, CS421X_IDX_DEV_CFG, coef); in cs421x_suspend()