Lines Matching defs:ak
53 static void revo_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
69 if (ak->type == SND_AK4355 || ak->type == SND_AK4358) {
76 tmp = snd_akm4xxx_get(ak, 0, reg);
82 snd_akm4xxx_reset(ak, 1);
83 tmp = snd_akm4xxx_get(ak, 0, reg);
86 /* snd_akm4xxx_write(ak, 0, reg, tmp); */
87 snd_akm4xxx_set(ak, 0, reg, tmp); /* value is written in reset(0) */
88 snd_akm4xxx_reset(ak, 0);
323 static void ap192_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
325 struct snd_ice1712 *ice = ak->private_data[0];
328 revo_set_rate_val(ak, rate);
484 struct ak4114 *ak;
491 ice, &ak);
494 ak->check_flags = AK4114_CHECK_NO_RATE;
501 struct snd_akm4xxx *ak;
525 ak = ice->akm = kcalloc(2, sizeof(struct snd_akm4xxx), GFP_KERNEL);
526 if (! ak)
531 err = snd_ice1712_akm4xxx_init(ak, &akm_revo_front,
535 err = snd_ice1712_akm4xxx_init(ak+1, &akm_revo_surround,
545 err = snd_ice1712_akm4xxx_init(ak, &akm_revo51,
549 err = snd_ice1712_akm4xxx_init(ak+1, &akm_revo51_adc,
562 err = snd_ice1712_akm4xxx_init(ak, &akm_ap192, &akm_ap192_priv,