Lines Matching full:axp20x
2 * axp20x power button driver.
23 #include <linux/mfd/axp20x.h>
41 struct axp20x_dev *axp20x; member
96 ret = regmap_read(axp20x_pek->axp20x->regmap, AXP20X_PEK_KEY, &val); in axp20x_show_attr()
158 ret = regmap_update_bits(axp20x_pek->axp20x->regmap, AXP20X_PEK_KEY, in axp20x_store_attr()
196 ATTRIBUTE_GROUPS(axp20x);
220 struct axp20x_dev *axp20x = axp20x_pek->axp20x; in axp20x_pek_probe_input_device() local
227 axp20x_pek->irq_dbr = regmap_irq_get_virq(axp20x->regmap_irqc, in axp20x_pek_probe_input_device()
233 axp20x_pek->irq_dbf = regmap_irq_get_virq(axp20x->regmap_irqc, in axp20x_pek_probe_input_device()
242 idev->name = "axp20x-pek"; in axp20x_pek_probe_input_device()
252 "axp20x-pek-dbr", idev); in axp20x_pek_probe_input_device()
261 "axp20x-pek-dbf", idev); in axp20x_pek_probe_input_device()
283 axp20x_pek->axp20x->variant == AXP288_ID) { in axp20x_pek_should_register_input()
315 axp20x_pek->axp20x = dev_get_drvdata(pdev->dev.parent); in axp20x_pek_probe()
368 if (axp20x_pek->axp20x->variant != AXP288_ID) in axp20x_pek_resume_noirq()
375 regmap_write(axp20x_pek->axp20x->regmap, in axp20x_pek_resume_noirq()
389 .name = "axp20x-pek",
404 .name = "axp20x-pek",
411 MODULE_DESCRIPTION("axp20x Power Button");