Lines Matching refs:axp_data

48 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 = {
426 static const struct axp_data axp223_data = {
435 static const struct axp_data axp813_data = {
540 const struct axp_data *axp_data; in axp20x_usb_power_probe() local
551 axp_data = of_device_get_match_data(&pdev->dev); in axp20x_usb_power_probe()
554 struct_size(power, irqs, axp_data->num_irq_names), in axp20x_usb_power_probe()
561 power->axp_data = axp_data; in axp20x_usb_power_probe()
563 power->num_irqs = axp_data->num_irq_names; in axp20x_usb_power_probe()
566 axp_data->curr_lim_fld); in axp20x_usb_power_probe()
571 axp_data->vbus_valid_bit, in axp20x_usb_power_probe()
577 axp_data->vbus_mon_bit, in axp20x_usb_power_probe()
583 axp_data->usb_bc_en_bit, in axp20x_usb_power_probe()
589 axp_data->vbus_disable_bit, in axp20x_usb_power_probe()
625 axp_data->power_desc, in axp20x_usb_power_probe()
631 for (i = 0; i < axp_data->num_irq_names; i++) { in axp20x_usb_power_probe()
632 irq = platform_get_irq_byname(pdev, axp_data->irq_names[i]); in axp20x_usb_power_probe()
642 axp_data->irq_names[i], ret); in axp20x_usb_power_probe()