Lines Matching refs:oxygen

75 struct oxygen;
81 void (*init)(struct oxygen *chip);
83 int (*mixer_init)(struct oxygen *chip);
84 void (*cleanup)(struct oxygen *chip);
85 void (*suspend)(struct oxygen *chip);
86 void (*resume)(struct oxygen *chip);
89 void (*set_dac_params)(struct oxygen *chip,
91 void (*set_adc_params)(struct oxygen *chip,
93 void (*update_dac_volume)(struct oxygen *chip);
94 void (*update_dac_mute)(struct oxygen *chip);
95 void (*update_center_lfe_mix)(struct oxygen *chip, bool mixed);
96 unsigned int (*adjust_dac_routing)(struct oxygen *chip,
98 void (*gpio_changed)(struct oxygen *chip);
99 void (*uart_input)(struct oxygen *chip);
100 void (*ac97_switch)(struct oxygen *chip,
102 void (*dump_registers)(struct oxygen *chip,
119 struct oxygen { struct
160 int (*get_model)(struct oxygen *chip, argument
171 int oxygen_mixer_init(struct oxygen *chip);
172 void oxygen_update_dac_routing(struct oxygen *chip);
173 void oxygen_update_spdif_source(struct oxygen *chip);
177 int oxygen_pcm_init(struct oxygen *chip);
181 u8 oxygen_read8(struct oxygen *chip, unsigned int reg);
182 u16 oxygen_read16(struct oxygen *chip, unsigned int reg);
183 u32 oxygen_read32(struct oxygen *chip, unsigned int reg);
184 void oxygen_write8(struct oxygen *chip, unsigned int reg, u8 value);
185 void oxygen_write16(struct oxygen *chip, unsigned int reg, u16 value);
186 void oxygen_write32(struct oxygen *chip, unsigned int reg, u32 value);
187 void oxygen_write8_masked(struct oxygen *chip, unsigned int reg,
189 void oxygen_write16_masked(struct oxygen *chip, unsigned int reg,
191 void oxygen_write32_masked(struct oxygen *chip, unsigned int reg,
194 u16 oxygen_read_ac97(struct oxygen *chip, unsigned int codec,
196 void oxygen_write_ac97(struct oxygen *chip, unsigned int codec,
198 void oxygen_write_ac97_masked(struct oxygen *chip, unsigned int codec,
201 int oxygen_write_spi(struct oxygen *chip, u8 control, unsigned int data);
202 void oxygen_write_i2c(struct oxygen *chip, u8 device, u8 map, u8 data);
204 void oxygen_reset_uart(struct oxygen *chip);
205 void oxygen_write_uart(struct oxygen *chip, u8 data);
207 u16 oxygen_read_eeprom(struct oxygen *chip, unsigned int index);
208 void oxygen_write_eeprom(struct oxygen *chip, unsigned int index, u16 value);
210 static inline void oxygen_set_bits8(struct oxygen *chip, in oxygen_set_bits8()
216 static inline void oxygen_set_bits16(struct oxygen *chip, in oxygen_set_bits16()
222 static inline void oxygen_set_bits32(struct oxygen *chip, in oxygen_set_bits32()
228 static inline void oxygen_clear_bits8(struct oxygen *chip, in oxygen_clear_bits8()
234 static inline void oxygen_clear_bits16(struct oxygen *chip, in oxygen_clear_bits16()
240 static inline void oxygen_clear_bits32(struct oxygen *chip, in oxygen_clear_bits32()
246 static inline void oxygen_ac97_set_bits(struct oxygen *chip, unsigned int codec, in oxygen_ac97_set_bits()
252 static inline void oxygen_ac97_clear_bits(struct oxygen *chip, in oxygen_ac97_clear_bits()