Lines Matching refs:iface_reg
338 u16 iface_reg; in tlv320aic23_hw_params() local
359 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() local
430 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()
447 iface_reg |= TLV320AIC23_FOR_I2S; in tlv320aic23_set_dai_fmt()
450 iface_reg |= TLV320AIC23_LRP_ON; in tlv320aic23_set_dai_fmt()
453 iface_reg |= TLV320AIC23_FOR_DSP; in tlv320aic23_set_dai_fmt()
458 iface_reg |= TLV320AIC23_FOR_LJUST; in tlv320aic23_set_dai_fmt()
465 snd_soc_component_write(component, TLV320AIC23_DIGT_FMT, iface_reg); in tlv320aic23_set_dai_fmt()