Lines Matching refs:coef
73 /* coef indices */
141 unsigned int coef)
148 AC_VERB_SET_PROC_COEF, coef);
189 unsigned int coef;
193 coef = cs_vendor_coef_get(codec, IDX_BEEP_CFG);
195 coef |= 1 << 4; /* DMIC2 2 chan on, GPIO1 off */
197 coef |= 1 << 3; /* DMIC1 2 chan on, GPIO0 off
202 cs_vendor_coef_set(codec, IDX_BEEP_CFG, coef);
280 unsigned int coef;
282 coef = 0x0002; /* SRC_MUTE soft-mute on SPDIF (if no lock) */
283 coef |= 0x0008; /* Replace with mute on error */
285 coef |= 0x4000; /* RX to TX1 or TX2 Loopthru / SPDIF2
289 cs_vendor_coef_set(codec, IDX_SPDIF_CTL, coef);
935 /* Speaker Amp Gain is controlled by the vendor widget's coef 4 */
964 unsigned int coef =
966 unsigned int original_coef = coef;
968 coef &= ~0x0003;
969 coef |= (vol & 0x0003);
970 if (original_coef != coef) {
971 cs_vendor_coef_set(codec, CS421X_IDX_SPK_CTL, coef);
993 unsigned int def_conf, coef;
996 coef = cs_vendor_coef_get(codec, CS421X_IDX_DEV_CFG);
999 coef |= 0x0008; /* B1,B2 are GPIOs */
1001 coef &= ~0x0008;
1004 coef |= 0x0010; /* B2 is SENSE_B, not inverted */
1006 coef &= ~0x0010;
1008 cs_vendor_coef_set(codec, CS421X_IDX_DEV_CFG, coef);
1139 unsigned int coef;
1149 coef = cs_vendor_coef_get(codec, CS421X_IDX_DEV_CFG);
1150 coef |= 0x0004; /* PDREF */
1151 cs_vendor_coef_set(codec, CS421X_IDX_DEV_CFG, coef);