Lines Matching refs:ak4104
20 #include "ak4104.h"
48 #define DRV_NAME "ak4104"
200 struct ak4104_private *ak4104;
209 ak4104 = kzalloc(sizeof(struct ak4104_private), GFP_KERNEL);
210 if (!ak4104) {
215 codec = &ak4104->codec;
225 snd_soc_codec_set_drvdata(codec, ak4104);
227 codec->reg_cache = ak4104->reg_cache;
267 spi_set_drvdata(spi, ak4104);
272 kfree(ak4104);
280 struct ak4104_private *ak4104 = spi_get_drvdata(spi);
282 val = ak4104_read_reg_cache(&ak4104->codec, AK4104_REG_CONTROL1);
288 ret = ak4104_spi_write(&ak4104->codec, AK4104_REG_CONTROL1, val);
293 kfree(ak4104);