Lines Matching refs:axp_data
253 struct axp_data { struct
261 static const struct axp_data axp20x_data = { argument
269 static const struct axp_data axp22x_data = {
277 static const struct axp_data axp813_data = {
327 const struct axp_data *axp_data; in axp20x_ac_power_probe() local
338 axp_data = of_device_get_match_data(&pdev->dev); in axp20x_ac_power_probe()
341 struct_size(power, irqs, axp_data->num_irq_names), in axp20x_ac_power_probe()
346 if (axp_data->acin_adc) { in axp20x_ac_power_probe()
363 power->has_acin_path_sel = axp_data->acin_path_sel; in axp20x_ac_power_probe()
364 power->num_irqs = axp_data->num_irq_names; in axp20x_ac_power_probe()
372 axp_data->power_desc, in axp20x_ac_power_probe()
378 for (i = 0; i < axp_data->num_irq_names; i++) { in axp20x_ac_power_probe()
379 irq = platform_get_irq_byname(pdev, axp_data->irq_names[i]); in axp20x_ac_power_probe()
382 axp_data->irq_names[i], irq); in axp20x_ac_power_probe()
391 axp_data->irq_names[i], ret); in axp20x_ac_power_probe()