Lines Matching refs:da7219

33 	struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component);  in da7219_aad_jack_det()  local
35 da7219->aad->jack = jack; in da7219_aad_jack_det()
36 da7219->aad->jack_inserted = false; in da7219_aad_jack_det()
58 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_btn_det_work() local
89 da7219->micbias_on_event = true; in da7219_aad_btn_det_work()
117 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_hptest_work() local
125 mutex_lock(&da7219->ctrl_lock); in da7219_aad_hptest_work()
126 mutex_lock(&da7219->pll_lock); in da7219_aad_hptest_work()
129 if (da7219->mclk) { in da7219_aad_hptest_work()
130 ret = clk_prepare_enable(da7219->mclk); in da7219_aad_hptest_work()
133 mutex_unlock(&da7219->pll_lock); in da7219_aad_hptest_work()
134 mutex_unlock(&da7219->ctrl_lock); in da7219_aad_hptest_work()
167 regcache_cache_bypass(da7219->regmap, true); in da7219_aad_hptest_work()
246 regmap_raw_write(da7219->regmap, DA7219_TONE_GEN_FREQ1_L, in da7219_aad_hptest_work()
269 regcache_mark_dirty(da7219->regmap); in da7219_aad_hptest_work()
270 regcache_sync_region(da7219->regmap, DA7219_HP_L_CTRL, in da7219_aad_hptest_work()
273 regcache_sync_region(da7219->regmap, DA7219_MIXOUT_L_CTRL, in da7219_aad_hptest_work()
275 regcache_sync_region(da7219->regmap, DA7219_DROUTING_ST_OUTFILT_1L, in da7219_aad_hptest_work()
277 regcache_sync_region(da7219->regmap, DA7219_MIXOUT_L_SELECT, in da7219_aad_hptest_work()
279 regcache_sync_region(da7219->regmap, DA7219_DAC_L_CTRL, in da7219_aad_hptest_work()
281 regcache_sync_region(da7219->regmap, DA7219_DIG_ROUTING_DAC, in da7219_aad_hptest_work()
283 regcache_sync_region(da7219->regmap, DA7219_CP_CTRL, DA7219_CP_CTRL); in da7219_aad_hptest_work()
284 regcache_sync_region(da7219->regmap, DA7219_DAC_FILTERS5, in da7219_aad_hptest_work()
286 regcache_sync_region(da7219->regmap, DA7219_DAC_FILTERS4, in da7219_aad_hptest_work()
288 regcache_sync_region(da7219->regmap, DA7219_HP_L_GAIN, in da7219_aad_hptest_work()
290 regcache_sync_region(da7219->regmap, DA7219_DAC_L_GAIN, in da7219_aad_hptest_work()
292 regcache_sync_region(da7219->regmap, DA7219_TONE_GEN_ON_PER, in da7219_aad_hptest_work()
294 regcache_sync_region(da7219->regmap, DA7219_TONE_GEN_FREQ1_L, in da7219_aad_hptest_work()
296 regcache_sync_region(da7219->regmap, DA7219_TONE_GEN_CFG1, in da7219_aad_hptest_work()
299 regcache_cache_bypass(da7219->regmap, false); in da7219_aad_hptest_work()
327 if (da7219->mclk) in da7219_aad_hptest_work()
328 clk_disable_unprepare(da7219->mclk); in da7219_aad_hptest_work()
330 mutex_unlock(&da7219->pll_lock); in da7219_aad_hptest_work()
331 mutex_unlock(&da7219->ctrl_lock); in da7219_aad_hptest_work()
353 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_irq_thread() local
359 regmap_bulk_read(da7219->regmap, DA7219_ACCDET_IRQ_EVENT_A, in da7219_aad_irq_thread()
369 regmap_bulk_write(da7219->regmap, DA7219_ACCDET_IRQ_EVENT_A, in da7219_aad_irq_thread()
451 da7219->micbias_on_event = false; in da7219_aad_irq_thread()
718 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_handle_pdata() local
719 struct da7219_aad_priv *da7219_aad = da7219->aad; in da7219_aad_handle_pdata()
720 struct da7219_pdata *pdata = da7219->pdata; in da7219_aad_handle_pdata()
841 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_suspend() local
842 struct da7219_aad_priv *da7219_aad = da7219->aad; in da7219_aad_suspend()
870 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_resume() local
871 struct da7219_aad_priv *da7219_aad = da7219->aad; in da7219_aad_resume()
897 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_init() local
898 struct da7219_aad_priv *da7219_aad = da7219->aad; in da7219_aad_init()
928 regmap_bulk_write(da7219->regmap, DA7219_ACCDET_IRQ_MASK_A, in da7219_aad_init()
937 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_exit() local
938 struct da7219_aad_priv *da7219_aad = da7219->aad; in da7219_aad_exit()
943 regmap_bulk_write(da7219->regmap, DA7219_ACCDET_IRQ_MASK_A, in da7219_aad_exit()
959 struct da7219_priv *da7219 = i2c_get_clientdata(i2c); in da7219_aad_probe() local
967 da7219->aad = da7219_aad; in da7219_aad_probe()
970 if (da7219->pdata && !da7219->pdata->aad_pdata) in da7219_aad_probe()
971 da7219->pdata->aad_pdata = da7219_aad_fw_to_pdata(dev); in da7219_aad_probe()