Lines Matching refs:WR
77 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR() function
103 WR(ctx, AC97_CMDRESP, CMD_IDX(r) | CMD_READ); in au1xac97c_ac97_read()
142 WR(ctx, AC97_CMDRESP, CMD_WRITE | CMD_IDX(r) | CMD_SET_DATA(v)); in au1xac97c_ac97_write()
159 WR(ctx, AC97_CONFIG, ctx->cfg | CFG_SG | CFG_SN); in au1xac97c_ac97_warm_reset()
161 WR(ctx, AC97_CONFIG, ctx->cfg | CFG_SG); in au1xac97c_ac97_warm_reset()
162 WR(ctx, AC97_CONFIG, ctx->cfg); in au1xac97c_ac97_warm_reset()
170 WR(ctx, AC97_CONFIG, ctx->cfg | CFG_RS); in au1xac97c_ac97_cold_reset()
172 WR(ctx, AC97_CONFIG, ctx->cfg); in au1xac97c_ac97_cold_reset()
267 WR(ctx, AC97_ENABLE, EN_D | EN_CE); in au1xac97c_drvprobe()
268 WR(ctx, AC97_ENABLE, EN_CE); in au1xac97c_drvprobe()
271 WR(ctx, AC97_CONFIG, ctx->cfg); in au1xac97c_drvprobe()
294 WR(ctx, AC97_ENABLE, EN_D); /* clock off, disable */ in au1xac97c_drvremove()
304 WR(ctx, AC97_ENABLE, EN_D); /* clock off, disable */ in au1xac97c_drvsuspend()
313 WR(ctx, AC97_ENABLE, EN_D | EN_CE); in au1xac97c_drvresume()
314 WR(ctx, AC97_ENABLE, EN_CE); in au1xac97c_drvresume()
315 WR(ctx, AC97_CONFIG, ctx->cfg); in au1xac97c_drvresume()