Lines Matching defs:offset
83 * @offset: register enum
85 static unsigned char vx2_inb(struct vx_core *chip, int offset)
87 return inb(vx2_reg_addr(chip, offset));
93 * @offset: the register offset
96 static void vx2_outb(struct vx_core *chip, int offset, unsigned char val)
98 outb(val, vx2_reg_addr(chip, offset));
100 dev_dbg(chip->card->dev, "outb: %x -> %x\n", val, vx2_reg_addr(chip, offset));
107 * @offset: register enum
109 static unsigned int vx2_inl(struct vx_core *chip, int offset)
111 return inl(vx2_reg_addr(chip, offset));
117 * @offset: the register enum
120 static void vx2_outl(struct vx_core *chip, int offset, unsigned int val)
123 dev_dbg(chip->card->dev, "outl: %x -> %x\n", val, vx2_reg_addr(chip, offset));
125 outl(val, vx2_reg_addr(chip, offset));
249 int offset = pipe->hw_ptr;
250 u32 *addr = (u32 *)(runtime->dma_area + offset);
259 if (offset + count >= pipe->buffer_bytes) {
260 int length = pipe->buffer_bytes - offset;
287 int offset = pipe->hw_ptr;
288 u32 *addr = (u32 *)(runtime->dma_area + offset);
297 if (offset + count >= pipe->buffer_bytes) {
298 int length = pipe->buffer_bytes - offset;
812 * as we will mute if less than -110dB, so let's simply use line input coded levels and add constant offset !