Lines Matching refs:value
34 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value) in oxygen_write8() argument
36 outb(value, chip->addr + reg); in oxygen_write8()
37 chip->saved_registers._8[reg] = value; in oxygen_write8()
41 void oxygen_write16(struct oxygen *chip, unsigned int reg, u16 value) in oxygen_write16() argument
43 outw(value, chip->addr + reg); in oxygen_write16()
44 chip->saved_registers._16[reg / 2] = cpu_to_le16(value); in oxygen_write16()
48 void oxygen_write32(struct oxygen *chip, unsigned int reg, u32 value) in oxygen_write32() argument
50 outl(value, chip->addr + reg); in oxygen_write32()
51 chip->saved_registers._32[reg / 4] = cpu_to_le32(value); in oxygen_write32()
56 u8 value, u8 mask) in oxygen_write8_masked() argument
60 tmp |= value & mask; in oxygen_write8_masked()
67 u16 value, u16 mask) in oxygen_write16_masked() argument
71 tmp |= value & mask; in oxygen_write16_masked()
78 u32 value, u32 mask) in oxygen_write32_masked() argument
82 tmp |= value & mask; in oxygen_write32_masked()
157 u16 value = oxygen_read16(chip, OXYGEN_AC97_REGS); in oxygen_read_ac97() local
159 if (value == last_read) in oxygen_read_ac97()
160 return value; in oxygen_read_ac97()
161 last_read = value; in oxygen_read_ac97()
178 u16 value = oxygen_read_ac97(chip, codec, index); in oxygen_write_ac97_masked() local
179 value &= ~mask; in oxygen_write_ac97_masked()
180 value |= data & mask; in oxygen_write_ac97_masked()
181 oxygen_write_ac97(chip, codec, index, value); in oxygen_write_ac97_masked()
266 void oxygen_write_eeprom(struct oxygen *chip, unsigned int index, u16 value) in oxygen_write_eeprom() argument
270 oxygen_write16(chip, OXYGEN_EEPROM_DATA, value); in oxygen_write_eeprom()