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