aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/nm256
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/nm256')
-rw-r--r--sound/pci/nm256/nm256.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sound/pci/nm256/nm256.c b/sound/pci/nm256/nm256.c
index 8a52091f8552..7eb20b8f89f6 100644
--- a/sound/pci/nm256/nm256.c
+++ b/sound/pci/nm256/nm256.c
@@ -285,43 +285,43 @@ MODULE_DEVICE_TABLE(pci, snd_nm256_ids);
285 * lowlvel stuffs 285 * lowlvel stuffs
286 */ 286 */
287 287
288inline static u8 288static inline u8
289snd_nm256_readb(nm256_t *chip, int offset) 289snd_nm256_readb(nm256_t *chip, int offset)
290{ 290{
291 return readb(chip->cport + offset); 291 return readb(chip->cport + offset);
292} 292}
293 293
294inline static u16 294static inline u16
295snd_nm256_readw(nm256_t *chip, int offset) 295snd_nm256_readw(nm256_t *chip, int offset)
296{ 296{
297 return readw(chip->cport + offset); 297 return readw(chip->cport + offset);
298} 298}
299 299
300inline static u32 300static inline u32
301snd_nm256_readl(nm256_t *chip, int offset) 301snd_nm256_readl(nm256_t *chip, int offset)
302{ 302{
303 return readl(chip->cport + offset); 303 return readl(chip->cport + offset);
304} 304}
305 305
306inline static void 306static inline void
307snd_nm256_writeb(nm256_t *chip, int offset, u8 val) 307snd_nm256_writeb(nm256_t *chip, int offset, u8 val)
308{ 308{
309 writeb(val, chip->cport + offset); 309 writeb(val, chip->cport + offset);
310} 310}
311 311
312inline static void 312static inline void
313snd_nm256_writew(nm256_t *chip, int offset, u16 val) 313snd_nm256_writew(nm256_t *chip, int offset, u16 val)
314{ 314{
315 writew(val, chip->cport + offset); 315 writew(val, chip->cport + offset);
316} 316}
317 317
318inline static void 318static inline void
319snd_nm256_writel(nm256_t *chip, int offset, u32 val) 319snd_nm256_writel(nm256_t *chip, int offset, u32 val)
320{ 320{
321 writel(val, chip->cport + offset); 321 writel(val, chip->cport + offset);
322} 322}
323 323
324inline static void 324static inline void
325snd_nm256_write_buffer(nm256_t *chip, void *src, int offset, int size) 325snd_nm256_write_buffer(nm256_t *chip, void *src, int offset, int size)
326{ 326{
327 offset -= chip->buffer_start; 327 offset -= chip->buffer_start;
@@ -926,7 +926,7 @@ snd_nm256_init_chip(nm256_t *chip)
926} 926}
927 927
928 928
929inline static void 929static inline void
930snd_nm256_intr_check(nm256_t *chip) 930snd_nm256_intr_check(nm256_t *chip)
931{ 931{
932 if (chip->badintrcount++ > 1000) { 932 if (chip->badintrcount++ > 1000) {