Lines Matching refs:reg
89 unsigned char (*in8)(struct vx_core *chip, int reg);
90 unsigned int (*in32)(struct vx_core *chip, int reg);
91 void (*out8)(struct vx_core *chip, int reg, unsigned char val);
92 void (*out32)(struct vx_core *chip, int reg, unsigned int val);
98 void (*akm_write)(struct vx_core *chip, int reg, unsigned int data);
237 static inline unsigned char snd_vx_inb(struct vx_core *chip, int reg) in snd_vx_inb() argument
239 return chip->ops->in8(chip, reg); in snd_vx_inb()
242 static inline unsigned int snd_vx_inl(struct vx_core *chip, int reg) in snd_vx_inl() argument
244 return chip->ops->in32(chip, reg); in snd_vx_inl()
247 static inline void snd_vx_outb(struct vx_core *chip, int reg, unsigned char val) in snd_vx_outb() argument
249 chip->ops->out8(chip, reg, val); in snd_vx_outb()
252 static inline void snd_vx_outl(struct vx_core *chip, int reg, unsigned int val) in snd_vx_outl() argument
254 chip->ops->out32(chip, reg, val); in snd_vx_outl()
257 #define vx_inb(chip,reg) snd_vx_inb(chip, VX_##reg) argument
258 #define vx_outb(chip,reg,val) snd_vx_outb(chip, VX_##reg,val) argument
259 #define vx_inl(chip,reg) snd_vx_inl(chip, VX_##reg) argument
260 #define vx_outl(chip,reg,val) snd_vx_outl(chip, VX_##reg,val) argument
279 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time);