Lines Matching refs:coef
139 unsigned int coef) in cs_vendor_coef_set() argument
145 AC_VERB_SET_PROC_COEF, coef); in cs_vendor_coef_set()
185 unsigned int coef; in init_input_coef() local
189 coef = cs_vendor_coef_get(codec, IDX_BEEP_CFG); in init_input_coef()
191 coef |= 1 << 4; /* DMIC2 2 chan on, GPIO1 off */ in init_input_coef()
193 coef |= 1 << 3; /* DMIC1 2 chan on, GPIO0 off in init_input_coef()
198 cs_vendor_coef_set(codec, IDX_BEEP_CFG, coef); in init_input_coef()
283 unsigned int coef; in init_digital_coef() local
285 coef = 0x0002; /* SRC_MUTE soft-mute on SPDIF (if no lock) */ in init_digital_coef()
286 coef |= 0x0008; /* Replace with mute on error */ in init_digital_coef()
288 coef |= 0x4000; /* RX to TX1 or TX2 Loopthru / SPDIF2 in init_digital_coef()
292 cs_vendor_coef_set(codec, IDX_SPDIF_CTL, coef); in init_digital_coef()
961 unsigned int coef = in cs421x_boost_vol_put() local
963 unsigned int original_coef = coef; in cs421x_boost_vol_put()
965 coef &= ~0x0003; in cs421x_boost_vol_put()
966 coef |= (vol & 0x0003); in cs421x_boost_vol_put()
967 if (original_coef == coef) in cs421x_boost_vol_put()
970 cs_vendor_coef_set(codec, CS421X_IDX_SPK_CTL, coef); in cs421x_boost_vol_put()
990 unsigned int def_conf, coef; in cs4210_pinmux_init() local
993 coef = cs_vendor_coef_get(codec, CS421X_IDX_DEV_CFG); in cs4210_pinmux_init()
996 coef |= 0x0008; /* B1,B2 are GPIOs */ in cs4210_pinmux_init()
998 coef &= ~0x0008; in cs4210_pinmux_init()
1001 coef |= 0x0010; /* B2 is SENSE_B, not inverted */ in cs4210_pinmux_init()
1003 coef &= ~0x0010; in cs4210_pinmux_init()
1005 cs_vendor_coef_set(codec, CS421X_IDX_DEV_CFG, coef); in cs4210_pinmux_init()
1135 unsigned int coef; in cs421x_suspend() local
1145 coef = cs_vendor_coef_get(codec, CS421X_IDX_DEV_CFG); in cs421x_suspend()
1146 coef |= 0x0004; /* PDREF */ in cs421x_suspend()
1147 cs_vendor_coef_set(codec, CS421X_IDX_DEV_CFG, coef); in cs421x_suspend()