Lines Matching defs:ak
37 static void snd_ice1712_akm4xxx_lock(struct snd_akm4xxx *ak, int chip)
39 struct snd_ice1712 *ice = ak->private_data[0];
44 static void snd_ice1712_akm4xxx_unlock(struct snd_akm4xxx *ak, int chip)
46 struct snd_ice1712 *ice = ak->private_data[0];
54 static void snd_ice1712_akm4xxx_write(struct snd_akm4xxx *ak, int chip,
60 struct snd_ak4xxx_private *priv = (void *)ak->private_value[0];
61 struct snd_ice1712 *ice = ak->private_data[0];
125 int snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak, const struct snd_akm4xxx *temp,
138 *ak = *temp;
139 ak->card = ice->card;
140 ak->private_value[0] = (unsigned long)priv;
141 ak->private_data[0] = ice;
142 if (ak->ops.lock == NULL)
143 ak->ops.lock = snd_ice1712_akm4xxx_lock;
144 if (ak->ops.unlock == NULL)
145 ak->ops.unlock = snd_ice1712_akm4xxx_unlock;
146 if (ak->ops.write == NULL)
147 ak->ops.write = snd_ice1712_akm4xxx_write;
148 snd_akm4xxx_init(ak);
158 struct snd_akm4xxx *ak = &ice->akm[akidx];
159 kfree((void*)ak->private_value[0]);
173 struct snd_akm4xxx *ak = &ice->akm[akidx];
174 err = snd_akm4xxx_build_controls(ak);