Lines Matching refs:reg_offset
316 unsigned int reg_offset;
965 ((viadev->reg_offset & 0x10) == 0 ? VIA_REG_TYPE_INT_LSAMPLE : 0) |
1030 if (chip->spdif_on && viadev->reg_offset == 0x30)
1041 outb(chip->playback_volume[viadev->reg_offset / 0x10][0],
1043 outb(chip->playback_volume[viadev->reg_offset / 0x10][1],
1165 if (chip->spdif_on && viadev->reg_offset == 0x30) {
1169 } else if (chip->dxs_fixed && viadev->reg_offset < 0x40) {
1173 } else if (chip->dxs_src && viadev->reg_offset < 0x40) {
1356 static void init_viadev(struct via82xx *chip, int idx, unsigned int reg_offset,
1359 chip->devs[idx].reg_offset = reg_offset;
1362 chip->devs[idx].port = chip->port + reg_offset;