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

/linux-master/drivers/power/supply/
H A Daxp20x_usb_power.c48 struct axp_data { struct
73 const struct axp_data *axp_data; member in struct:axp20x_usb_power
90 if (power->axp_data->vbus_needs_polling && !power->online)
212 if (v < power->axp_data->curr_lim_table_size)
213 val->intval = power->axp_data->curr_lim_table[v];
215 val->intval = power->axp_data->curr_lim_table[
216 power->axp_data->curr_lim_table_size - 1];
315 const unsigned int max = power->axp_data->curr_lim_table_size;
334 if (power->axp_data
648 const struct axp_data *axp_data; local
[all...]
H A Daxp20x_ac_power.c252 struct axp_data { struct
260 static const struct axp_data axp20x_data = {
268 static const struct axp_data axp22x_data = {
276 static const struct axp_data axp813_data = {
326 const struct axp_data *axp_data; local
337 axp_data = of_device_get_match_data(&pdev->dev);
340 struct_size(power, irqs, axp_data->num_irq_names),
345 if (axp_data->acin_adc) {
362 power->has_acin_path_sel = axp_data
[all...]
H A Daxp20x_battery.c60 struct axp_data { struct
77 const struct axp_data *data;
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);
/linux-master/drivers/iio/adc/
H A 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 = {
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;

Completed in 160 milliseconds