aad_pdata 48 include/sound/da7219.h struct da7219_aad_pdata *aad_pdata; aad_pdata 620 sound/soc/codecs/da7219-aad.c struct da7219_aad_pdata *aad_pdata; aad_pdata 628 sound/soc/codecs/da7219-aad.c aad_pdata = devm_kzalloc(dev, sizeof(*aad_pdata), GFP_KERNEL); aad_pdata 629 sound/soc/codecs/da7219-aad.c if (!aad_pdata) aad_pdata 632 sound/soc/codecs/da7219-aad.c aad_pdata->irq = i2c->irq; aad_pdata 636 sound/soc/codecs/da7219-aad.c aad_pdata->micbias_pulse_lvl = aad_pdata 639 sound/soc/codecs/da7219-aad.c aad_pdata->micbias_pulse_lvl = DA7219_AAD_MICBIAS_PULSE_LVL_OFF; aad_pdata 643 sound/soc/codecs/da7219-aad.c aad_pdata->micbias_pulse_time = fw_val32; aad_pdata 646 sound/soc/codecs/da7219-aad.c aad_pdata->btn_cfg = da7219_aad_fw_btn_cfg(component, fw_val32); aad_pdata 648 sound/soc/codecs/da7219-aad.c aad_pdata->btn_cfg = DA7219_AAD_BTN_CFG_10MS; aad_pdata 651 sound/soc/codecs/da7219-aad.c aad_pdata->mic_det_thr = aad_pdata 654 sound/soc/codecs/da7219-aad.c aad_pdata->mic_det_thr = DA7219_AAD_MIC_DET_THR_500_OHMS; aad_pdata 657 sound/soc/codecs/da7219-aad.c aad_pdata->jack_ins_deb = aad_pdata 660 sound/soc/codecs/da7219-aad.c aad_pdata->jack_ins_deb = DA7219_AAD_JACK_INS_DEB_20MS; aad_pdata 663 sound/soc/codecs/da7219-aad.c aad_pdata->jack_det_rate = aad_pdata 666 sound/soc/codecs/da7219-aad.c aad_pdata->jack_det_rate = DA7219_AAD_JACK_DET_RATE_256_512MS; aad_pdata 669 sound/soc/codecs/da7219-aad.c aad_pdata->jack_rem_deb = aad_pdata 672 sound/soc/codecs/da7219-aad.c aad_pdata->jack_rem_deb = DA7219_AAD_JACK_REM_DEB_1MS; aad_pdata 675 sound/soc/codecs/da7219-aad.c aad_pdata->a_d_btn_thr = (u8) fw_val32; aad_pdata 677 sound/soc/codecs/da7219-aad.c aad_pdata->a_d_btn_thr = 0xA; aad_pdata 680 sound/soc/codecs/da7219-aad.c aad_pdata->d_b_btn_thr = (u8) fw_val32; aad_pdata 682 sound/soc/codecs/da7219-aad.c aad_pdata->d_b_btn_thr = 0x16; aad_pdata 685 sound/soc/codecs/da7219-aad.c aad_pdata->b_c_btn_thr = (u8) fw_val32; aad_pdata 687 sound/soc/codecs/da7219-aad.c aad_pdata->b_c_btn_thr = 0x21; aad_pdata 690 sound/soc/codecs/da7219-aad.c aad_pdata->c_mic_btn_thr = (u8) fw_val32; aad_pdata 692 sound/soc/codecs/da7219-aad.c aad_pdata->c_mic_btn_thr = 0x3E; aad_pdata 695 sound/soc/codecs/da7219-aad.c aad_pdata->btn_avg = da7219_aad_fw_btn_avg(component, fw_val32); aad_pdata 697 sound/soc/codecs/da7219-aad.c aad_pdata->btn_avg = DA7219_AAD_BTN_AVG_2; aad_pdata 700 sound/soc/codecs/da7219-aad.c aad_pdata->adc_1bit_rpt = aad_pdata 703 sound/soc/codecs/da7219-aad.c aad_pdata->adc_1bit_rpt = DA7219_AAD_ADC_1BIT_RPT_1; aad_pdata 705 sound/soc/codecs/da7219-aad.c return aad_pdata; aad_pdata 714 sound/soc/codecs/da7219-aad.c if ((pdata) && (pdata->aad_pdata)) { aad_pdata 715 sound/soc/codecs/da7219-aad.c struct da7219_aad_pdata *aad_pdata = pdata->aad_pdata; aad_pdata 718 sound/soc/codecs/da7219-aad.c da7219_aad->irq = aad_pdata->irq; aad_pdata 720 sound/soc/codecs/da7219-aad.c switch (aad_pdata->micbias_pulse_lvl) { aad_pdata 724 sound/soc/codecs/da7219-aad.c (aad_pdata->micbias_pulse_lvl << aad_pdata 731 sound/soc/codecs/da7219-aad.c da7219_aad->micbias_pulse_time = aad_pdata->micbias_pulse_time; aad_pdata 733 sound/soc/codecs/da7219-aad.c switch (aad_pdata->btn_cfg) { aad_pdata 741 sound/soc/codecs/da7219-aad.c da7219_aad->btn_cfg = (aad_pdata->btn_cfg << aad_pdata 747 sound/soc/codecs/da7219-aad.c switch (aad_pdata->mic_det_thr) { aad_pdata 752 sound/soc/codecs/da7219-aad.c cfg |= (aad_pdata->mic_det_thr << aad_pdata 760 sound/soc/codecs/da7219-aad.c switch (aad_pdata->jack_ins_deb) { aad_pdata 769 sound/soc/codecs/da7219-aad.c cfg |= (aad_pdata->jack_ins_deb << aad_pdata 773 sound/soc/codecs/da7219-aad.c switch (aad_pdata->jack_det_rate) { aad_pdata 778 sound/soc/codecs/da7219-aad.c cfg |= (aad_pdata->jack_det_rate << aad_pdata 782 sound/soc/codecs/da7219-aad.c switch (aad_pdata->jack_rem_deb) { aad_pdata 787 sound/soc/codecs/da7219-aad.c cfg |= (aad_pdata->jack_rem_deb << aad_pdata 794 sound/soc/codecs/da7219-aad.c aad_pdata->a_d_btn_thr); aad_pdata 796 sound/soc/codecs/da7219-aad.c aad_pdata->d_b_btn_thr); aad_pdata 798 sound/soc/codecs/da7219-aad.c aad_pdata->b_c_btn_thr); aad_pdata 800 sound/soc/codecs/da7219-aad.c aad_pdata->c_mic_btn_thr); aad_pdata 804 sound/soc/codecs/da7219-aad.c switch (aad_pdata->btn_avg) { aad_pdata 809 sound/soc/codecs/da7219-aad.c cfg |= (aad_pdata->btn_avg << aad_pdata 813 sound/soc/codecs/da7219-aad.c switch (aad_pdata->adc_1bit_rpt) { aad_pdata 818 sound/soc/codecs/da7219-aad.c cfg |= (aad_pdata->adc_1bit_rpt << aad_pdata 902 sound/soc/codecs/da7219-aad.c if (da7219->pdata && !da7219->pdata->aad_pdata) aad_pdata 903 sound/soc/codecs/da7219-aad.c da7219->pdata->aad_pdata = da7219_aad_fw_to_pdata(component);