• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/i2c/

Lines Matching refs:cs8427

30 #include <sound/cs8427.h>
33 static void snd_cs8427_reset(struct snd_i2c_device *cs8427);
50 struct cs8427 {
108 struct cs8427 *chip = device->private_data;
128 struct cs8427 *chip = device->private_data;
210 struct cs8427 *chip;
288 static void snd_cs8427_reset(struct snd_i2c_device *cs8427)
290 struct cs8427 *chip;
294 snd_assert(cs8427, return);
295 chip = cs8427->private_data;
296 snd_i2c_lock(cs8427->bus);
301 snd_cs8427_reg_write(cs8427, CS8427_REG_CLOCKSOURCE,
305 snd_cs8427_reg_write(cs8427, CS8427_REG_CLOCKSOURCE,
308 snd_i2c_unlock(cs8427->bus);
311 snd_i2c_lock(cs8427->bus);
312 data = snd_cs8427_reg_read(cs8427, CS8427_REG_RECVERRORS);
313 snd_i2c_unlock(cs8427->bus);
318 snd_i2c_lock(cs8427->bus);
322 snd_cs8427_reg_write(cs8427, CS8427_REG_CLOCKSOURCE,
324 snd_i2c_unlock(cs8427->bus);
397 struct cs8427 *chip = device->private_data;
409 struct cs8427 *chip = device->private_data;
497 int snd_cs8427_iec958_build(struct snd_i2c_device *cs8427,
501 struct cs8427 *chip = cs8427->private_data;
508 kctl = snd_ctl_new1(&snd_cs8427_iec958_controls[idx], cs8427);
513 err = snd_ctl_add(cs8427->bus->card, kctl);
529 int snd_cs8427_iec958_active(struct snd_i2c_device *cs8427, int active)
531 struct cs8427 *chip;
533 snd_assert(cs8427, return -ENXIO);
534 chip = cs8427->private_data;
539 snd_ctl_notify(cs8427->bus->card,
547 int snd_cs8427_iec958_pcm(struct snd_i2c_device *cs8427, unsigned int rate)
549 struct cs8427 *chip;
553 snd_assert(cs8427, return -ENXIO);
554 chip = cs8427->private_data;
556 snd_i2c_lock(cs8427->bus);
573 err = snd_cs8427_send_corudata(cs8427, 0, status, 24);
575 snd_ctl_notify(cs8427->bus->card,
580 snd_i2c_unlock(cs8427->bus);
582 snd_cs8427_reset(cs8427);