Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/power/supply/
Daxp20x_ac_power.c142 struct axp_data { struct
147 static const struct axp_data axp20x_data = { argument
152 static const struct axp_data axp22x_data = {
162 const struct axp_data *axp_data; in axp20x_ac_power_probe() local
179 axp_data = of_device_get_match_data(&pdev->dev); in axp20x_ac_power_probe()
181 if (axp_data->acin_adc) { in axp20x_ac_power_probe()
205 axp_data->power_desc, in axp20x_ac_power_probe()
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-v4.19/drivers/iio/adc/
Daxp20x_adc.c69 struct axp_data;
73 struct axp_data *data;
600 struct axp_data { struct
611 static const struct axp_data axp20x_data = { argument
621 static const struct axp_data axp22x_data = {
631 static const struct axp_data axp813_data = {
682 info->data = (struct axp_data *)id->driver_data; in axp20x_probe()
686 info->data = (struct axp_data *)of_device_get_match_data(dev); in axp20x_probe()