Lines Matching defs:ac97_codec
249 struct ac97_codec {
268 u16 (*codec_read) (struct ac97_codec *codec, u8 reg);
269 void (*codec_write) (struct ac97_codec *codec, u8 reg, u16 val);
272 void (*codec_wait) (struct ac97_codec *codec);
275 void (*codec_unregister) (struct ac97_codec *codec);
294 int (*read_mixer) (struct ac97_codec *codec, int oss_channel);
295 void (*write_mixer)(struct ac97_codec *codec, int oss_channel,
297 int (*recmask_io) (struct ac97_codec *codec, int rw, int mask);
298 int (*mixer_ioctl)(struct ac97_codec *codec, unsigned int cmd, unsigned long arg);
304 int (*modem_ioctl)(struct ac97_codec *codec, unsigned int cmd, unsigned long arg);
314 int (*init)(struct ac97_codec *c);
316 int (*amplifier)(struct ac97_codec *codec, int on);
318 int (*digital)(struct ac97_codec *codec, int slots, int rate, int mode);
331 extern int ac97_probe_codec(struct ac97_codec *);
332 extern unsigned int ac97_set_adc_rate(struct ac97_codec *codec, unsigned int rate);
333 extern unsigned int ac97_set_dac_rate(struct ac97_codec *codec, unsigned int rate);
335 extern struct ac97_codec *ac97_alloc_codec(void);
336 extern void ac97_release_codec(struct ac97_codec *codec);
343 int (*probe) (struct ac97_codec *codec, struct ac97_driver *driver);
344 void (*remove) (struct ac97_codec *codec, struct ac97_driver *driver);