da7219_aad         54 sound/soc/codecs/da7219-aad.c 	struct da7219_aad_priv *da7219_aad =
da7219_aad         56 sound/soc/codecs/da7219-aad.c 	struct snd_soc_component *component = da7219_aad->component;
da7219_aad         92 sound/soc/codecs/da7219-aad.c 	if (da7219_aad->micbias_pulse_lvl && da7219_aad->micbias_pulse_time) {
da7219_aad         97 sound/soc/codecs/da7219-aad.c 				    da7219_aad->micbias_pulse_lvl);
da7219_aad         98 sound/soc/codecs/da7219-aad.c 		msleep(da7219_aad->micbias_pulse_time);
da7219_aad        105 sound/soc/codecs/da7219-aad.c 			    da7219_aad->btn_cfg);
da7219_aad        110 sound/soc/codecs/da7219-aad.c 	struct da7219_aad_priv *da7219_aad =
da7219_aad        112 sound/soc/codecs/da7219-aad.c 	struct snd_soc_component *component = da7219_aad->component;
da7219_aad        332 sound/soc/codecs/da7219-aad.c 	if (da7219_aad->jack_inserted)
da7219_aad        333 sound/soc/codecs/da7219-aad.c 		snd_soc_jack_report(da7219_aad->jack, report,
da7219_aad        344 sound/soc/codecs/da7219-aad.c 	struct da7219_aad_priv *da7219_aad = data;
da7219_aad        345 sound/soc/codecs/da7219-aad.c 	struct snd_soc_component *component = da7219_aad->component;
da7219_aad        376 sound/soc/codecs/da7219-aad.c 			da7219_aad->jack_inserted = true;
da7219_aad        397 sound/soc/codecs/da7219-aad.c 				schedule_work(&da7219_aad->btn_det_work);
da7219_aad        399 sound/soc/codecs/da7219-aad.c 				schedule_work(&da7219_aad->hptest_work);
da7219_aad        413 sound/soc/codecs/da7219-aad.c 			snd_soc_jack_report(da7219_aad->jack, report, mask);
da7219_aad        429 sound/soc/codecs/da7219-aad.c 			da7219_aad->jack_inserted = false;
da7219_aad        448 sound/soc/codecs/da7219-aad.c 			cancel_work_sync(&da7219_aad->btn_det_work);
da7219_aad        449 sound/soc/codecs/da7219-aad.c 			cancel_work_sync(&da7219_aad->hptest_work);
da7219_aad        453 sound/soc/codecs/da7219-aad.c 	snd_soc_jack_report(da7219_aad->jack, report, mask);
da7219_aad        711 sound/soc/codecs/da7219-aad.c 	struct da7219_aad_priv *da7219_aad = da7219->aad;
da7219_aad        718 sound/soc/codecs/da7219-aad.c 		da7219_aad->irq = aad_pdata->irq;
da7219_aad        723 sound/soc/codecs/da7219-aad.c 			da7219_aad->micbias_pulse_lvl =
da7219_aad        731 sound/soc/codecs/da7219-aad.c 		da7219_aad->micbias_pulse_time = aad_pdata->micbias_pulse_time;
da7219_aad        741 sound/soc/codecs/da7219-aad.c 			da7219_aad->btn_cfg  = (aad_pdata->btn_cfg <<
da7219_aad        834 sound/soc/codecs/da7219-aad.c 	struct da7219_aad_priv *da7219_aad = da7219->aad;
da7219_aad        838 sound/soc/codecs/da7219-aad.c 	if (da7219_aad->jack) {
da7219_aad        849 sound/soc/codecs/da7219-aad.c 		if (da7219_aad->jack_inserted) {
da7219_aad        854 sound/soc/codecs/da7219-aad.c 				da7219_aad->micbias_resume_enable = true;
da7219_aad        863 sound/soc/codecs/da7219-aad.c 	struct da7219_aad_priv *da7219_aad = da7219->aad;
da7219_aad        866 sound/soc/codecs/da7219-aad.c 	if (da7219_aad->jack) {
da7219_aad        868 sound/soc/codecs/da7219-aad.c 		if (da7219_aad->jack_inserted &&
da7219_aad        869 sound/soc/codecs/da7219-aad.c 		    da7219_aad->micbias_resume_enable) {
da7219_aad        872 sound/soc/codecs/da7219-aad.c 			da7219_aad->micbias_resume_enable = false;
da7219_aad        890 sound/soc/codecs/da7219-aad.c 	struct da7219_aad_priv *da7219_aad;
da7219_aad        894 sound/soc/codecs/da7219-aad.c 	da7219_aad = devm_kzalloc(component->dev, sizeof(*da7219_aad), GFP_KERNEL);
da7219_aad        895 sound/soc/codecs/da7219-aad.c 	if (!da7219_aad)
da7219_aad        898 sound/soc/codecs/da7219-aad.c 	da7219->aad = da7219_aad;
da7219_aad        899 sound/soc/codecs/da7219-aad.c 	da7219_aad->component = component;
da7219_aad        911 sound/soc/codecs/da7219-aad.c 	INIT_WORK(&da7219_aad->btn_det_work, da7219_aad_btn_det_work);
da7219_aad        912 sound/soc/codecs/da7219-aad.c 	INIT_WORK(&da7219_aad->hptest_work, da7219_aad_hptest_work);
da7219_aad        914 sound/soc/codecs/da7219-aad.c 	ret = request_threaded_irq(da7219_aad->irq, NULL,
da7219_aad        917 sound/soc/codecs/da7219-aad.c 				   "da7219-aad", da7219_aad);
da7219_aad        935 sound/soc/codecs/da7219-aad.c 	struct da7219_aad_priv *da7219_aad = da7219->aad;
da7219_aad        943 sound/soc/codecs/da7219-aad.c 	free_irq(da7219_aad->irq, da7219_aad);
da7219_aad        945 sound/soc/codecs/da7219-aad.c 	cancel_work_sync(&da7219_aad->btn_det_work);
da7219_aad        946 sound/soc/codecs/da7219-aad.c 	cancel_work_sync(&da7219_aad->hptest_work);