Lines Matching defs:offset
46 * @offset: register offset
48 static unsigned char vxp_inb(struct vx_core *chip, int offset)
50 return inb(vxp_reg_addr(chip, offset));
55 * @offset: the register offset
58 static void vxp_outb(struct vx_core *chip, int offset, unsigned char val)
60 outb(val, vxp_reg_addr(chip, offset));
357 int offset = pipe->hw_ptr;
358 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset);
361 if (offset + count >= pipe->buffer_bytes) {
362 int length = pipe->buffer_bytes - offset;
386 * @offset: buffer offset in bytes
397 int offset = pipe->hw_ptr;
398 unsigned short *addr = (unsigned short *)(runtime->dma_area + offset);
403 if (offset + count >= pipe->buffer_bytes) {
404 int length = pipe->buffer_bytes - offset;