Lines Matching refs:r
216 unsigned long r, ro, stat; in au1xpsc_ac97_hw_params() local
221 r = ro = __raw_readl(AC97_CFG(pscdata)); in au1xpsc_ac97_hw_params()
227 if ((PSC_AC97CFG_GET_LEN(r) != params->msbits) || in au1xpsc_ac97_hw_params()
233 r &= ~PSC_AC97CFG_LEN_MASK; in au1xpsc_ac97_hw_params()
234 r |= PSC_AC97CFG_SET_LEN(params->msbits); in au1xpsc_ac97_hw_params()
238 r &= ~PSC_AC97CFG_TXSLOT_MASK; in au1xpsc_ac97_hw_params()
239 r |= PSC_AC97CFG_TXSLOT_ENA(3); in au1xpsc_ac97_hw_params()
240 r |= PSC_AC97CFG_TXSLOT_ENA(4); in au1xpsc_ac97_hw_params()
242 r &= ~PSC_AC97CFG_RXSLOT_MASK; in au1xpsc_ac97_hw_params()
243 r |= PSC_AC97CFG_RXSLOT_ENA(3); in au1xpsc_ac97_hw_params()
244 r |= PSC_AC97CFG_RXSLOT_ENA(4); in au1xpsc_ac97_hw_params()
248 if (!(r ^ ro)) in au1xpsc_ac97_hw_params()
255 __raw_writel(r & ~PSC_AC97CFG_DE_ENABLE, AC97_CFG(pscdata)); in au1xpsc_ac97_hw_params()
267 __raw_writel(r, AC97_CFG(pscdata)); in au1xpsc_ac97_hw_params()
271 __raw_writel(r | PSC_AC97CFG_DE_ENABLE, AC97_CFG(pscdata)); in au1xpsc_ac97_hw_params()
284 pscdata->cfg = r; in au1xpsc_ac97_hw_params()