Lines Matching defs:ops
278 ac97->bus->ops->write(ac97, AC97_RESET, 0); /* reset audio codec */
280 ac97->bus->ops->write(ac97, reg, value);
300 return ac97->bus->ops->read(ac97, reg);
307 ac97->regs[reg] = ac97->bus->ops->read(ac97, reg);
331 ac97->bus->ops->write(ac97, reg, value);
360 ac97->bus->ops->write(ac97, reg, value);
408 ac97->bus->ops->write(ac97, reg, new);
428 ac97->bus->ops->write(ac97, AC97_AD_SERIAL_CFG,
432 ac97->bus->ops->write(ac97, AC97_PCM, new);
434 ac97->bus->ops->write(ac97, AC97_AD_SERIAL_CFG,
1939 * @ops: the bus callbacks table
1946 * The ops table must include valid callbacks (at least read and
1958 const struct snd_ac97_bus_ops *ops,
1974 bus->ops = ops;
2066 static const struct snd_device_ops ops = {
2105 if (bus->ops->reset) {
2106 bus->ops->reset(ac97);
2123 if (bus->ops->wait)
2124 bus->ops->wait(ac97);
2189 if (bus->ops->reset) // FIXME: always skipping?
2296 if (bus->ops->init)
2297 bus->ops->init(ac97);
2348 err = snd_device_new(card, SNDRV_DEV_CODEC, ac97, &ops);
2597 if (ac97->bus->ops->reset) {
2598 ac97->bus->ops->reset(ac97);
2615 ac97->bus->ops->write(ac97, AC97_MASTER, 0x8101);
2623 ac97->bus->ops->write(ac97, AC97_MASTER, AC97_MUTE_MASK_MONO);
2637 if (ac97->bus->ops->init)
2638 ac97->bus->ops->init(ac97);