• Home
  • Raw
  • Download

Lines Matching refs:caps

84 		if (priv->caps & ACCDET_PMIC_EINT0) {  in adjust_eint_analog_setting()
90 } else if (priv->caps & ACCDET_PMIC_EINT1) { in adjust_eint_analog_setting()
111 if (priv->caps & ACCDET_PMIC_EINT0) { in adjust_eint_digital_setting()
116 } else if (priv->caps & ACCDET_PMIC_EINT1) { in adjust_eint_digital_setting()
124 if (priv->caps & ACCDET_PMIC_EINT0) { in adjust_eint_digital_setting()
129 } else if (priv->caps & ACCDET_PMIC_EINT1) { in adjust_eint_digital_setting()
166 if (priv->caps & ACCDET_PMIC_EINT0) { in recover_eint_analog_setting()
171 } else if (priv->caps & ACCDET_PMIC_EINT1) { in recover_eint_analog_setting()
184 if (priv->caps & ACCDET_PMIC_EINT0) { in recover_eint_digital_setting()
188 } else if (priv->caps & ACCDET_PMIC_EINT1) { in recover_eint_digital_setting()
195 if (priv->caps & ACCDET_PMIC_EINT0) { in recover_eint_digital_setting()
201 } else if (priv->caps & ACCDET_PMIC_EINT1) { in recover_eint_digital_setting()
211 if (priv->caps & ACCDET_PMIC_EINT0) { in recover_eint_digital_setting()
217 } else if (priv->caps & ACCDET_PMIC_EINT1) { in recover_eint_digital_setting()
336 if (priv->caps & ACCDET_FOUR_KEY) { in check_button()
455 if (priv->caps & ACCDET_PMIC_EINT_IRQ) in mt6359_accdet_jd_work()
594 priv->caps |= ACCDET_PMIC_EINT_IRQ; in mt6359_accdet_parse_dt()
596 priv->caps |= ACCDET_AP_GPIO_EINT; in mt6359_accdet_parse_dt()
609 priv->caps |= ACCDET_PMIC_EINT0; in mt6359_accdet_parse_dt()
611 priv->caps |= ACCDET_PMIC_EINT1; in mt6359_accdet_parse_dt()
613 priv->caps |= ACCDET_PMIC_BI_EINT; in mt6359_accdet_parse_dt()
620 priv->caps |= ACCDET_PMIC_GPIO_TRIG_EINT; in mt6359_accdet_parse_dt()
622 priv->caps |= ACCDET_PMIC_INVERTER_TRIG_EINT; in mt6359_accdet_parse_dt()
642 priv->caps |= ACCDET_THREE_KEY; in mt6359_accdet_parse_dt()
653 priv->caps |= ACCDET_FOUR_KEY; in mt6359_accdet_parse_dt()
668 priv->caps |= ACCDET_TRI_KEY_CDD; in mt6359_accdet_parse_dt()
679 dev_warn(priv->dev, "accdet caps=%x\n", priv->caps); in mt6359_accdet_parse_dt()
691 if (priv->caps & ACCDET_PMIC_EINT0) { in config_digital_init_by_mode()
694 } else if (priv->caps & ACCDET_PMIC_EINT1) { in config_digital_init_by_mode()
716 if (priv->caps & ACCDET_PMIC_EINT0) { in config_digital_init_by_mode()
721 } else if (priv->caps & ACCDET_PMIC_EINT1) { in config_digital_init_by_mode()
728 if (priv->caps & ACCDET_PMIC_EINT0) { in config_digital_init_by_mode()
733 } else if (priv->caps & ACCDET_PMIC_EINT1) { in config_digital_init_by_mode()
746 if (priv->caps & ACCDET_PMIC_EINT0) { in config_eint_init_by_mode()
749 } else if (priv->caps & ACCDET_PMIC_EINT1) { in config_eint_init_by_mode()
764 if (priv->caps & ACCDET_PMIC_EINT0) { in config_eint_init_by_mode()
769 } else if (priv->caps & ACCDET_PMIC_EINT1) { in config_eint_init_by_mode()
776 if (priv->caps & ACCDET_PMIC_EINT0) { in config_eint_init_by_mode()
781 } else if (priv->caps & ACCDET_PMIC_EINT1) { in config_eint_init_by_mode()
901 if (priv->caps & ACCDET_PMIC_EINT_IRQ) { in mt6359_accdet_init()
980 if (priv->caps & ACCDET_PMIC_EINT0) { in mt6359_accdet_probe()
995 } else if (priv->caps & ACCDET_PMIC_EINT1) { in mt6359_accdet_probe()