Lines Matching defs:ops
279 ac97->bus->ops->write(ac97, AC97_RESET, 0); /* reset audio codec */
281 ac97->bus->ops->write(ac97, reg, value);
301 return ac97->bus->ops->read(ac97, reg);
308 ac97->regs[reg] = ac97->bus->ops->read(ac97, reg);
332 ac97->bus->ops->write(ac97, reg, value);
361 ac97->bus->ops->write(ac97, reg, value);
409 ac97->bus->ops->write(ac97, reg, new);
429 ac97->bus->ops->write(ac97, AC97_AD_SERIAL_CFG,
433 ac97->bus->ops->write(ac97, AC97_PCM, new);
435 ac97->bus->ops->write(ac97, AC97_AD_SERIAL_CFG,
1879 * @ops: the bus callbacks table
1886 * The ops table must include valid callbacks (at least read and
1898 const struct snd_ac97_bus_ops *ops,
1914 bus->ops = ops;
2004 static const struct snd_device_ops ops = {
2043 if (bus->ops->reset) {
2044 bus->ops->reset(ac97);
2061 if (bus->ops->wait)
2062 bus->ops->wait(ac97);
2126 if (bus->ops->reset) // FIXME: always skipping?
2233 if (bus->ops->init)
2234 bus->ops->init(ac97);
2283 if ((err = snd_device_new(card, SNDRV_DEV_CODEC, ac97, &ops)) < 0) {
2531 if (ac97->bus->ops->reset) {
2532 ac97->bus->ops->reset(ac97);
2549 ac97->bus->ops->write(ac97, AC97_MASTER, 0x8101);
2557 ac97->bus->ops->write(ac97, AC97_MASTER, AC97_MUTE_MASK_MONO);
2571 if (ac97->bus->ops->init)
2572 ac97->bus->ops->init(ac97);