|
@@ -92,6 +92,7 @@ static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg)
|
|
|
|
|
|
/**
|
|
|
* snd_vx_inb - read a byte from the register
|
|
|
+ * @chip: VX core instance
|
|
|
* @offset: register enum
|
|
|
*/
|
|
|
static unsigned char vx2_inb(struct vx_core *chip, int offset)
|
|
@@ -101,6 +102,7 @@ static unsigned char vx2_inb(struct vx_core *chip, int offset)
|
|
|
|
|
|
/**
|
|
|
* snd_vx_outb - write a byte on the register
|
|
|
+ * @chip: VX core instance
|
|
|
* @offset: the register offset
|
|
|
* @val: the value to write
|
|
|
*/
|
|
@@ -114,6 +116,7 @@ static void vx2_outb(struct vx_core *chip, int offset, unsigned char val)
|
|
|
|
|
|
/**
|
|
|
* snd_vx_inl - read a 32bit word from the register
|
|
|
+ * @chip: VX core instance
|
|
|
* @offset: register enum
|
|
|
*/
|
|
|
static unsigned int vx2_inl(struct vx_core *chip, int offset)
|
|
@@ -123,6 +126,7 @@ static unsigned int vx2_inl(struct vx_core *chip, int offset)
|
|
|
|
|
|
/**
|
|
|
* snd_vx_outl - write a 32bit word on the register
|
|
|
+ * @chip: VX core instance
|
|
|
* @offset: the register enum
|
|
|
* @val: the value to write
|
|
|
*/
|
|
@@ -223,6 +227,7 @@ static int vx2_test_xilinx(struct vx_core *_chip)
|
|
|
|
|
|
/**
|
|
|
* vx_setup_pseudo_dma - set up the pseudo dma read/write mode.
|
|
|
+ * @chip: VX core instance
|
|
|
* @do_write: 0 = read, 1 = set up for DMA write
|
|
|
*/
|
|
|
static void vx2_setup_pseudo_dma(struct vx_core *chip, int do_write)
|