Searched refs:axp_data (Results 1 – 4 of 4) sorted by relevance
48 struct axp_data { struct69 const struct axp_data *axp_data; argument86 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 …]
252 struct axp_data { struct260 static const struct axp_data axp20x_data = { argument268 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() local337 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 …]
60 struct axp_data { struct77 const struct axp_data *data; argument521 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()
67 struct axp_data;71 const struct axp_data *data;621 struct axp_data { struct632 static const struct axp_data axp20x_data = { argument642 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()