Lines Matching refs:reg
76 unsigned char (*in8)(struct vx_core *chip, int reg);
77 unsigned int (*in32)(struct vx_core *chip, int reg);
78 void (*out8)(struct vx_core *chip, int reg, unsigned char val);
79 void (*out32)(struct vx_core *chip, int reg, unsigned int val);
85 void (*akm_write)(struct vx_core *chip, int reg, unsigned int data);
224 static inline unsigned char snd_vx_inb(struct vx_core *chip, int reg) in snd_vx_inb() argument
226 return chip->ops->in8(chip, reg); in snd_vx_inb()
229 static inline unsigned int snd_vx_inl(struct vx_core *chip, int reg) in snd_vx_inl() argument
231 return chip->ops->in32(chip, reg); in snd_vx_inl()
234 static inline void snd_vx_outb(struct vx_core *chip, int reg, unsigned char val) in snd_vx_outb() argument
236 chip->ops->out8(chip, reg, val); in snd_vx_outb()
239 static inline void snd_vx_outl(struct vx_core *chip, int reg, unsigned int val) in snd_vx_outl() argument
241 chip->ops->out32(chip, reg, val); in snd_vx_outl()
244 #define vx_inb(chip,reg) snd_vx_inb(chip, VX_##reg) argument
245 #define vx_outb(chip,reg,val) snd_vx_outb(chip, VX_##reg,val) argument
246 #define vx_inl(chip,reg) snd_vx_inl(chip, VX_##reg) argument
247 #define vx_outl(chip,reg,val) snd_vx_outl(chip, VX_##reg,val) argument
266 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time);