Lines Matching refs:ak
39 static void revo_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
55 if (ak->type == SND_AK4355 || ak->type == SND_AK4358) {
62 tmp = snd_akm4xxx_get(ak, 0, reg);
68 snd_akm4xxx_reset(ak, 1);
69 tmp = snd_akm4xxx_get(ak, 0, reg);
72 /* snd_akm4xxx_write(ak, 0, reg, tmp); */
73 snd_akm4xxx_set(ak, 0, reg, tmp); /* value is written in reset(0) */
74 snd_akm4xxx_reset(ak, 0);
309 static void ap192_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
311 struct snd_ice1712 *ice = ak->private_data[0];
314 revo_set_rate_val(ak, rate);
494 struct snd_akm4xxx *ak;
518 ak = ice->akm = kcalloc(2, sizeof(struct snd_akm4xxx), GFP_KERNEL);
519 if (! ak)
524 err = snd_ice1712_akm4xxx_init(ak, &akm_revo_front,
528 err = snd_ice1712_akm4xxx_init(ak+1, &akm_revo_surround,
538 err = snd_ice1712_akm4xxx_init(ak, &akm_revo51,
542 err = snd_ice1712_akm4xxx_init(ak+1, &akm_revo51_adc,
555 err = snd_ice1712_akm4xxx_init(ak, &akm_ap192, &akm_ap192_priv,