Home
last modified time | relevance | path

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

/drivers/power/supply/
Daxp20x_usb_power.c48 struct axp_data { struct
69 const struct axp_data *axp_data; argument
86 if (power->axp_data->vbus_needs_polling && !power->online) in axp20x_usb_vbus_needs_polling()
168 val->intval = power->axp_data->curr_lim_table[v]; in axp20x_usb_power_get_property()
261 const unsigned int max = GENMASK(power->axp_data->curr_lim_fld.msb, in axp20x_usb_power_set_current_max()
262 power->axp_data->curr_lim_fld.lsb); in axp20x_usb_power_set_current_max()
268 if (power->axp_data->curr_lim_table[i] == intval) in axp20x_usb_power_set_current_max()
397 static const struct axp_data axp192_data = {
407 static const struct axp_data axp202_data = {
417 static const struct axp_data axp221_data = {
[all …]
Daxp20x_ac_power.c252 struct axp_data { struct
260 static const struct axp_data axp20x_data = { argument
268 static const struct axp_data axp22x_data = {
276 static const struct axp_data axp813_data = {
326 const struct axp_data *axp_data; in axp20x_ac_power_probe() local
337 axp_data = of_device_get_match_data(&pdev->dev); in axp20x_ac_power_probe()
340 struct_size(power, irqs, axp_data->num_irq_names), in axp20x_ac_power_probe()
345 if (axp_data->acin_adc) { in axp20x_ac_power_probe()
362 power->has_acin_path_sel = axp_data->acin_path_sel; in axp20x_ac_power_probe()
363 power->num_irqs = axp_data->num_irq_names; in axp20x_ac_power_probe()
[all …]
Daxp20x_battery.c60 struct axp_data { struct
77 const struct axp_data *data; argument
521 static const struct axp_data axp209_data = {
528 static const struct axp_data axp221_data = {
536 static const struct axp_data axp813_data = {
604 axp20x_batt->data = (struct axp_data *)of_device_get_match_data(dev); in axp20x_power_probe()
/drivers/iio/adc/
Daxp20x_adc.c67 struct axp_data;
71 const struct axp_data *data;
621 struct axp_data { struct
632 static const struct axp_data axp20x_data = { argument
642 static const struct axp_data axp22x_data = {
651 static const struct axp_data axp813_data = {
699 info->data = (const struct axp_data *)id->driver_data; in axp20x_probe()