Searched refs:iface_reg (Results 1 – 2 of 2) sorted by relevance
343 u16 iface_reg; in tlv320aic23_hw_params() local364 iface_reg = snd_soc_read(codec, TLV320AIC23_DIGT_FMT) & ~(0x03 << 2); in tlv320aic23_hw_params()370 iface_reg |= (0x01 << 2); in tlv320aic23_hw_params()373 iface_reg |= (0x02 << 2); in tlv320aic23_hw_params()376 iface_reg |= (0x03 << 2); in tlv320aic23_hw_params()379 snd_soc_write(codec, TLV320AIC23_DIGT_FMT, iface_reg); in tlv320aic23_hw_params()433 u16 iface_reg; in tlv320aic23_set_dai_fmt() local435 iface_reg = snd_soc_read(codec, TLV320AIC23_DIGT_FMT) & (~0x03); in tlv320aic23_set_dai_fmt()440 iface_reg |= TLV320AIC23_MS_MASTER; in tlv320aic23_set_dai_fmt()443 iface_reg &= ~TLV320AIC23_MS_MASTER; in tlv320aic23_set_dai_fmt()[all …]
248 int iface_reg, iface; in wm8776_hw_params() local254 iface_reg = WM8776_DACIFCTRL; in wm8776_hw_params()259 iface_reg = WM8776_ADCIFCTRL; in wm8776_hw_params()310 snd_soc_update_bits(codec, iface_reg, 0x30, iface); in wm8776_hw_params()