Home
last modified time | relevance | path

Searched refs:axp_data (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/power/supply/
Daxp20x_ac_power.c253 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()
[all …]
Daxp20x_usb_power.c463 struct axp_data { struct
470 static const struct axp_data axp202_data = { argument
477 static const struct axp_data axp221_data = {
484 static const struct axp_data axp223_data = {
491 static const struct axp_data axp813_data = {
572 const struct axp_data *axp_data; in axp20x_usb_power_probe() local
583 axp_data = of_device_get_match_data(&pdev->dev); in axp20x_usb_power_probe()
586 struct_size(power, irqs, axp_data->num_irq_names), in axp20x_usb_power_probe()
593 power->axp20x_id = axp_data->axp20x_id; in axp20x_usb_power_probe()
595 power->num_irqs = axp_data->num_irq_names; in axp20x_usb_power_probe()
[all …]
Daxp20x_battery.c60 struct axp_data { struct
77 const struct axp_data *data; argument
510 static const struct axp_data axp209_data = {
517 static const struct axp_data axp221_data = {
525 static const struct axp_data axp813_data = {
593 axp20x_batt->data = (struct axp_data *)of_device_get_match_data(dev); in axp20x_power_probe()
/Linux-v5.10/drivers/iio/adc/
Daxp20x_adc.c66 struct axp_data;
70 const struct axp_data *data;
597 struct axp_data { struct
608 static const struct axp_data axp20x_data = { argument
618 static const struct axp_data axp22x_data = {
628 static const struct axp_data axp813_data = {
677 info->data = (const struct axp_data *)id->driver_data; in axp20x_probe()