• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/i2c/

Lines Matching defs:cs8427

31 #include <sound/cs8427.h>
34 static void snd_cs8427_reset(struct snd_i2c_device *cs8427);
51 struct cs8427 {
97 struct cs8427 *chip = device->private_data;
117 struct cs8427 *chip = device->private_data;
199 struct cs8427 *chip;
280 static void snd_cs8427_reset(struct snd_i2c_device *cs8427)
282 struct cs8427 *chip;
286 if (snd_BUG_ON(!cs8427))
288 chip = cs8427->private_data;
289 snd_i2c_lock(cs8427->bus);
294 snd_cs8427_reg_write(cs8427, CS8427_REG_CLOCKSOURCE,
298 snd_cs8427_reg_write(cs8427, CS8427_REG_CLOCKSOURCE,
301 snd_i2c_unlock(cs8427->bus);
304 snd_i2c_lock(cs8427->bus);
305 data = snd_cs8427_reg_read(cs8427, CS8427_REG_RECVERRORS);
306 snd_i2c_unlock(cs8427->bus);
311 snd_i2c_lock(cs8427->bus);
315 snd_cs8427_reg_write(cs8427, CS8427_REG_CLOCKSOURCE,
317 snd_i2c_unlock(cs8427->bus);
390 struct cs8427 *chip = device->private_data;
402 struct cs8427 *chip = device->private_data;
490 int snd_cs8427_iec958_build(struct snd_i2c_device *cs8427,
494 struct cs8427 *chip = cs8427->private_data;
502 kctl = snd_ctl_new1(&snd_cs8427_iec958_controls[idx], cs8427);
507 err = snd_ctl_add(cs8427->bus->card, kctl);
524 int snd_cs8427_iec958_active(struct snd_i2c_device *cs8427, int active)
526 struct cs8427 *chip;
528 if (snd_BUG_ON(!cs8427))
530 chip = cs8427->private_data;
535 snd_ctl_notify(cs8427->bus->card,
543 int snd_cs8427_iec958_pcm(struct snd_i2c_device *cs8427, unsigned int rate)
545 struct cs8427 *chip;
549 if (snd_BUG_ON(!cs8427))
551 chip = cs8427->private_data;
553 snd_i2c_lock(cs8427->bus);
570 err = snd_cs8427_send_corudata(cs8427, 0, status, 24);
572 snd_ctl_notify(cs8427->bus->card,
577 snd_i2c_unlock(cs8427->bus);
579 snd_cs8427_reset(cs8427);