Lines Matching refs:srtctl
748 u16 srtctl:1; member
756 unsigned int srtctl; member
828 set_field(&ctl->srtctl, SRTCTL_SRCR, src); in dai_srt_set_srcr()
829 ctl->dirty.bf.srtctl = 1; in dai_srt_set_srcr()
837 set_field(&ctl->srtctl, SRTCTL_SRCL, src); in dai_srt_set_srcl()
838 ctl->dirty.bf.srtctl = 1; in dai_srt_set_srcl()
846 set_field(&ctl->srtctl, SRTCTL_RSR, rsr); in dai_srt_set_rsr()
847 ctl->dirty.bf.srtctl = 1; in dai_srt_set_rsr()
855 set_field(&ctl->srtctl, SRTCTL_DRAT, drat); in dai_srt_set_drat()
856 ctl->dirty.bf.srtctl = 1; in dai_srt_set_drat()
864 set_field(&ctl->srtctl, SRTCTL_EC, ec ? 1 : 0); in dai_srt_set_ec()
865 ctl->dirty.bf.srtctl = 1; in dai_srt_set_ec()
873 set_field(&ctl->srtctl, SRTCTL_ET, et ? 1 : 0); in dai_srt_set_et()
874 ctl->dirty.bf.srtctl = 1; in dai_srt_set_et()
882 if (ctl->dirty.bf.srtctl) { in dai_commit_write()
885 hw_write_20kx(hw, SRTSCTL+0x4*idx, ctl->srtctl); in dai_commit_write()
888 hw_write_20kx(hw, SRTICTL, ctl->srtctl); in dai_commit_write()
890 ctl->dirty.bf.srtctl = 0; in dai_commit_write()