Lines Matching defs:reg_offset
310 unsigned int reg_offset;
965 ((viadev->reg_offset & 0x10) == 0 ? VIA_REG_TYPE_INT_LSAMPLE : 0) |
1031 if (chip->spdif_on && viadev->reg_offset == 0x30)
1042 outb(chip->playback_volume[viadev->reg_offset / 0x10][0],
1044 outb(chip->playback_volume[viadev->reg_offset / 0x10][1],
1172 if (chip->spdif_on && viadev->reg_offset == 0x30) {
1176 } else if (chip->dxs_fixed && viadev->reg_offset < 0x40) {
1180 } else if (chip->dxs_src && viadev->reg_offset < 0x40) {
1246 stream = viadev->reg_offset / 0x10;
1341 stream = viadev->reg_offset / 0x10;
1408 static void init_viadev(struct via82xx *chip, int idx, unsigned int reg_offset,
1411 chip->devs[idx].reg_offset = reg_offset;
1414 chip->devs[idx].port = chip->port + reg_offset;