Lines Matching refs:data
83 const struct pm8941_data *data;
167 sts &= pwrkey->data->status_bit;
194 if (pwrkey->data->has_pon_pbs && !pwrkey->pon_pbs_baseaddr) {
270 pwrkey->data = of_device_get_match_data(&pdev->dev);
296 if (pwrkey->data->has_pon_pbs) {
337 pwrkey->input->name = pwrkey->data->name;
338 pwrkey->input->phys = pwrkey->data->phys;
340 if (pwrkey->data->supports_debounce_config) {
367 if (pwrkey->data->pull_up_bit) {
370 pwrkey->data->pull_up_bit,
371 pull_up ? pwrkey->data->pull_up_bit :
382 pwrkey->data->name, pwrkey);
395 if (pwrkey->data->supports_ps_hold_poff_config) {
415 if (pwrkey->data->supports_ps_hold_poff_config)
460 { .compatible = "qcom,pm8941-pwrkey", .data = &pwrkey_data },
461 { .compatible = "qcom,pm8941-resin", .data = &resin_data },
462 { .compatible = "qcom,pmk8350-pwrkey", .data = &pon_gen3_pwrkey_data },
463 { .compatible = "qcom,pmk8350-resin", .data = &pon_gen3_resin_data },