Home
last modified time | relevance | path

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

/Linux-v5.15/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.c464 struct axp_data { struct
471 static const struct axp_data axp202_data = { argument
478 static const struct axp_data axp221_data = {
485 static const struct axp_data axp223_data = {
492 static const struct axp_data axp813_data = {
573 const struct axp_data *axp_data; in axp20x_usb_power_probe() local
584 axp_data = of_device_get_match_data(&pdev->dev); in axp20x_usb_power_probe()
587 struct_size(power, irqs, axp_data->num_irq_names), in axp20x_usb_power_probe()
594 power->axp20x_id = axp_data->axp20x_id; in axp20x_usb_power_probe()
596 power->num_irqs = axp_data->num_irq_names; in axp20x_usb_power_probe()
[all …]
Daxp20x_battery.c61 struct axp_data { struct
78 const struct axp_data *data; argument
523 static const struct axp_data axp209_data = {
530 static const struct axp_data axp221_data = {
538 static const struct axp_data axp813_data = {
606 axp20x_batt->data = (struct axp_data *)of_device_get_match_data(dev); in axp20x_power_probe()
/Linux-v5.15/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()