Lines Matching refs:ak
24 static void snd_ice1712_akm4xxx_lock(struct snd_akm4xxx *ak, int chip)
26 struct snd_ice1712 *ice = ak->private_data[0];
31 static void snd_ice1712_akm4xxx_unlock(struct snd_akm4xxx *ak, int chip)
33 struct snd_ice1712 *ice = ak->private_data[0];
41 static void snd_ice1712_akm4xxx_write(struct snd_akm4xxx *ak, int chip,
47 struct snd_ak4xxx_private *priv = (void *)ak->private_value[0];
48 struct snd_ice1712 *ice = ak->private_data[0];
112 int snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak, const struct snd_akm4xxx *temp,
125 *ak = *temp;
126 ak->card = ice->card;
127 ak->private_value[0] = (unsigned long)priv;
128 ak->private_data[0] = ice;
129 if (ak->ops.lock == NULL)
130 ak->ops.lock = snd_ice1712_akm4xxx_lock;
131 if (ak->ops.unlock == NULL)
132 ak->ops.unlock = snd_ice1712_akm4xxx_unlock;
133 if (ak->ops.write == NULL)
134 ak->ops.write = snd_ice1712_akm4xxx_write;
135 snd_akm4xxx_init(ak);
145 struct snd_akm4xxx *ak = &ice->akm[akidx];
146 kfree((void*)ak->private_value[0]);
160 struct snd_akm4xxx *ak = &ice->akm[akidx];
161 err = snd_akm4xxx_build_controls(ak);