Lines Matching defs:reg_offset
311 unsigned int reg_offset;
967 ((viadev->reg_offset & 0x10) == 0 ? VIA_REG_TYPE_INT_LSAMPLE : 0) |
1032 if (chip->spdif_on && viadev->reg_offset == 0x30)
1043 outb(chip->playback_volume[viadev->reg_offset / 0x10][0],
1045 outb(chip->playback_volume[viadev->reg_offset / 0x10][1],
1173 if (chip->spdif_on && viadev->reg_offset == 0x30) {
1177 } else if (chip->dxs_fixed && viadev->reg_offset < 0x40) {
1181 } else if (chip->dxs_src && viadev->reg_offset < 0x40) {
1244 stream = viadev->reg_offset / 0x10;
1338 stream = viadev->reg_offset / 0x10;
1405 static void init_viadev(struct via82xx *chip, int idx, unsigned int reg_offset,
1408 chip->devs[idx].reg_offset = reg_offset;
1411 chip->devs[idx].port = chip->port + reg_offset;