Lines Matching refs:oxygen
14 #include "oxygen.h"
16 u8 oxygen_read8(struct oxygen *chip, unsigned int reg)
22 u16 oxygen_read16(struct oxygen *chip, unsigned int reg)
28 u32 oxygen_read32(struct oxygen *chip, unsigned int reg)
34 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value)
41 void oxygen_write16(struct oxygen *chip, unsigned int reg, u16 value)
48 void oxygen_write32(struct oxygen *chip, unsigned int reg, u32 value)
55 void oxygen_write8_masked(struct oxygen *chip, unsigned int reg,
66 void oxygen_write16_masked(struct oxygen *chip, unsigned int reg,
77 void oxygen_write32_masked(struct oxygen *chip, unsigned int reg,
88 static int oxygen_ac97_wait(struct oxygen *chip, unsigned int mask)
117 void oxygen_write_ac97(struct oxygen *chip, unsigned int codec,
142 u16 oxygen_read_ac97(struct oxygen *chip, unsigned int codec,
175 void oxygen_write_ac97_masked(struct oxygen *chip, unsigned int codec,
185 static int oxygen_wait_spi(struct oxygen *chip)
199 dev_err(chip->card->dev, "oxygen: SPI wait timeout\n");
203 int oxygen_write_spi(struct oxygen *chip, u8 control, unsigned int data)
218 void oxygen_write_i2c(struct oxygen *chip, u8 device, u8 map, u8 data)
230 static void _write_uart(struct oxygen *chip, unsigned int port, u8 data)
237 void oxygen_reset_uart(struct oxygen *chip)
245 void oxygen_write_uart(struct oxygen *chip, u8 data)
251 u16 oxygen_read_eeprom(struct oxygen *chip, unsigned int index)
266 void oxygen_write_eeprom(struct oxygen *chip, unsigned int index, u16 value)