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