Searched refs:axp_data (Results 1 – 4 of 4) sorted by relevance
61 struct axp_data { struct90 const struct axp_data *axp_data; argument108 if (power->axp_data->vbus_needs_polling && !power->online) in axp20x_usb_vbus_needs_polling()247 if (v < power->axp_data->curr_lim_table_size) in axp20x_usb_power_get_property()248 val->intval = power->axp_data->curr_lim_table[v]; in axp20x_usb_power_get_property()250 val->intval = power->axp_data->curr_lim_table[ in axp20x_usb_power_get_property()251 power->axp_data->curr_lim_table_size - 1]; in axp20x_usb_power_get_property()449 const unsigned int max = power->axp_data->curr_lim_table_size; in axp20x_usb_power_set_input_current_limit()475 if (power->axp_data->curr_lim_table[reg] <= intval) in axp20x_usb_power_set_input_current_limit()479 reg, power->axp_data->curr_lim_table[reg], intval); in axp20x_usb_power_set_input_current_limit()[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 …]
96 struct axp_data { struct121 const struct axp_data *data; argument1025 static const struct axp_data axp209_data = {1037 static const struct axp_data axp221_data = {1050 static const struct axp_data axp717_data = {1062 static const struct axp_data axp813_data = {1116 axp20x_batt->data = (struct axp_data *)of_device_get_match_data(dev); in axp20x_power_probe()
85 struct axp_data;89 const struct axp_data *data;1008 struct axp_data { struct1021 static const struct axp_data axp192_data = { argument1031 static const struct axp_data axp20x_data = {1043 static const struct axp_data axp22x_data = {1053 static const struct axp_data axp717_data = {1062 static const struct axp_data axp813_data = {1115 info->data = (const struct axp_data *)id->driver_data; in axp20x_probe()