Searched refs:WR (Results 1 – 2 of 2) sorted by relevance
/sound/soc/au1x/ |
D | ac97c.c | 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() 266 WR(ctx, AC97_ENABLE, EN_D | EN_CE); in au1xac97c_drvprobe() 267 WR(ctx, AC97_ENABLE, EN_CE); in au1xac97c_drvprobe() [all …]
|
D | i2sc.c | 75 static inline void WR(struct au1xpsc_audio_data *ctx, int reg, unsigned long v) in WR() function 146 WR(ctx, I2S_ENABLE, EN_D | EN_CE); in au1xi2s_trigger() 147 WR(ctx, I2S_ENABLE, EN_CE); in au1xi2s_trigger() 149 WR(ctx, I2S_CFG, ctx->cfg); in au1xi2s_trigger() 154 WR(ctx, I2S_CFG, ctx->cfg); in au1xi2s_trigger() 155 WR(ctx, I2S_ENABLE, EN_D); /* power off */ in au1xi2s_trigger() 278 WR(ctx, I2S_ENABLE, EN_D); /* clock off, disable */ in au1xi2s_drvremove() 288 WR(ctx, I2S_ENABLE, EN_D); /* clock off, disable */ in au1xi2s_drvsuspend()
|