@@ -302,11 +302,11 @@ static inline int snd_sof_debugfs_add_region_item(struct snd_sof_dev *sdev,
302302}
303303
304304/* register IO */
305- static inline void snd_sof_dsp_writeb (struct snd_sof_dev * sdev , u32 bar ,
305+ static inline void snd_sof_dsp_write8 (struct snd_sof_dev * sdev , u32 bar ,
306306 u32 offset , u8 value )
307307{
308- if (sof_ops (sdev )-> writeb )
309- sof_ops (sdev )-> writeb (sdev , sdev -> bar [bar ] + offset , value );
308+ if (sof_ops (sdev )-> write8 )
309+ sof_ops (sdev )-> write8 (sdev , sdev -> bar [bar ] + offset , value );
310310 else
311311 writeb (value , sdev -> bar [bar ] + offset );
312312}
@@ -329,11 +329,11 @@ static inline void snd_sof_dsp_write64(struct snd_sof_dev *sdev, u32 bar,
329329 writeq (value , sdev -> bar [bar ] + offset );
330330}
331331
332- static inline u8 snd_sof_dsp_readb (struct snd_sof_dev * sdev , u32 bar ,
332+ static inline u8 snd_sof_dsp_read8 (struct snd_sof_dev * sdev , u32 bar ,
333333 u32 offset )
334334{
335- if (sof_ops (sdev )-> readb )
336- return sof_ops (sdev )-> readb (sdev , sdev -> bar [bar ] + offset );
335+ if (sof_ops (sdev )-> read8 )
336+ return sof_ops (sdev )-> read8 (sdev , sdev -> bar [bar ] + offset );
337337 else
338338 return readb (sdev -> bar [bar ] + offset );
339339}
@@ -361,10 +361,10 @@ static inline void snd_sof_dsp_updateb(struct snd_sof_dev *sdev, u32 bar,
361361{
362362 u8 reg ;
363363
364- reg = snd_sof_dsp_readb (sdev , bar , offset );
364+ reg = snd_sof_dsp_read8 (sdev , bar , offset );
365365 reg &= ~mask ;
366366 reg |= value ;
367- snd_sof_dsp_writeb (sdev , bar , offset , reg );
367+ snd_sof_dsp_write8 (sdev , bar , offset , reg );
368368}
369369
370370/* block IO */
0 commit comments