Searched refs:axp_data (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | axp20x_usb_power.c | 48 struct axp_data { struct 69 const struct axp_data *axp_data; member 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_dat 540 const struct axp_data *axp_data; axp20x_usb_power_probe() local [all...] |
H A D | axp20x_ac_power.c | 252 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; 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 in axp20x_ac_power_probe() [all...] |
H A D | axp20x_battery.c | 60 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); in axp20x_power_probe()
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
H A D | axp20x_ac_power.c | 253 struct axp_data { struct 261 static const struct axp_data axp20x_data = { 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 in axp20x_ac_power_probe() [all...] |
H A D | axp20x_usb_power.c | 463 struct axp_data { struct 470 static const struct axp_data axp202_data = { 477 static const struct axp_data axp221_data = { 484 static const struct axp_data axp223_data = { 491 static const struct axp_data axp813_data = { 572 const struct axp_data *axp_data; in axp20x_usb_power_probe() local 583 axp_data = of_device_get_match_data(&pdev->dev); in axp20x_usb_power_probe() 586 struct_size(power, irqs, axp_data->num_irq_names), in axp20x_usb_power_probe() 593 power->axp20x_id = axp_data in axp20x_usb_power_probe() [all...] |
H A D | axp20x_battery.c | 60 struct axp_data { struct 77 const struct axp_data *data; 509 static const struct axp_data axp209_data = { 516 static const struct axp_data axp221_data = { 524 static const struct axp_data axp813_data = { 592 axp20x_batt->data = (struct axp_data *)of_device_get_match_data(dev); in axp20x_power_probe()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | axp20x_adc.c | 66 struct axp_data; 70 const struct axp_data *data; 585 struct axp_data { struct 596 static const struct axp_data axp20x_data = { 606 static const struct axp_data axp22x_data = { 616 static const struct axp_data axp813_data = { 665 info->data = (const struct axp_data *)id->driver_data; in axp20x_probe()
|
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | axp20x_adc.c | 67 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; in axp20x_probe()
|
Completed in 13 milliseconds