Searched refs:iface_reg (Results 1 – 2 of 2) sorted by relevance
338 u16 iface_reg; in tlv320aic23_hw_params() local359 iface_reg = snd_soc_component_read(component, TLV320AIC23_DIGT_FMT) & ~(0x03 << 2); in tlv320aic23_hw_params()365 iface_reg |= (0x01 << 2); in tlv320aic23_hw_params()368 iface_reg |= (0x02 << 2); in tlv320aic23_hw_params()371 iface_reg |= (0x03 << 2); in tlv320aic23_hw_params()374 snd_soc_component_write(component, TLV320AIC23_DIGT_FMT, iface_reg); in tlv320aic23_hw_params()428 u16 iface_reg; in tlv320aic23_set_dai_fmt() local430 iface_reg = snd_soc_component_read(component, TLV320AIC23_DIGT_FMT) & (~0x03); in tlv320aic23_set_dai_fmt()434 iface_reg |= TLV320AIC23_MS_MASTER; in tlv320aic23_set_dai_fmt()437 iface_reg &= ~TLV320AIC23_MS_MASTER; in tlv320aic23_set_dai_fmt()[all …]
245 int iface_reg, iface; in wm8776_hw_params() local251 iface_reg = WM8776_DACIFCTRL; in wm8776_hw_params()256 iface_reg = WM8776_ADCIFCTRL; in wm8776_hw_params()307 snd_soc_component_update_bits(component, iface_reg, 0x30, iface); in wm8776_hw_params()