Searched refs:charger_desc (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/power/
H A Dgpio-charger.c36 struct power_supply_desc charger_desc; member in struct:gpio_charger
133 struct power_supply_desc *charger_desc; gpio_charger_probe() local
159 charger_desc = &gpio_charger->charger_desc; gpio_charger_probe()
161 charger_desc->name = pdata->name ? pdata->name : "gpio-charger"; gpio_charger_probe()
162 charger_desc->type = pdata->type; gpio_charger_probe()
163 charger_desc->properties = gpio_charger_properties; gpio_charger_probe()
164 charger_desc->num_properties = ARRAY_SIZE(gpio_charger_properties); gpio_charger_probe()
165 charger_desc->get_property = gpio_charger_get_property; gpio_charger_probe()
186 charger_desc, &psy_cfg); gpio_charger_probe()
H A Dcharger-manager.c275 struct charger_desc *desc = cm->desc; is_full_charged()
364 struct charger_desc *desc = cm->desc; try_charger_enable()
511 * charger_desc, Charger Manager checks voltage drop after the battery
520 struct charger_desc *desc = cm->desc; fullbatt_vchk()
559 struct charger_desc *desc = cm->desc; check_charging_duration()
638 struct charger_desc *desc = cm->desc; cm_check_thermal_status()
830 struct charger_desc *desc = cm->desc; fullbatt_handler()
889 struct charger_desc *desc = cm->desc; charger_get_property()
1233 struct charger_desc *desc = cm->desc; charger_manager_register_extcon()
1309 struct charger_desc *desc = cm->desc; charger_externally_control_store()
1370 struct charger_desc *desc = cm->desc; charger_manager_register_sysfs()
1447 struct charger_desc *desc = cm->desc; cm_init_thermal_data()
1494 static struct charger_desc *of_cm_parse_desc(struct device *dev) of_cm_parse_desc()
1496 struct charger_desc *desc; of_cm_parse_desc()
1612 static inline struct charger_desc *cm_get_drv_data(struct platform_device *pdev) cm_get_drv_data()
1627 struct charger_desc *desc = cm_get_drv_data(pdev); charger_manager_probe()
1851 struct charger_desc *desc = cm->desc; charger_manager_remove()
H A Dbq24735-charger.c48 struct power_supply_desc charger_desc; member in struct:bq24735
281 supply_desc = &charger->charger_desc; bq24735_charger_probe()
H A Dbq2415x_charger.c171 struct power_supply_desc charger_desc; member in struct:bq2415x_device
1042 bq->charger_desc.name = bq->name; bq2415x_power_supply_init()
1043 bq->charger_desc.type = POWER_SUPPLY_TYPE_USB; bq2415x_power_supply_init()
1044 bq->charger_desc.properties = bq2415x_power_supply_props; bq2415x_power_supply_init()
1045 bq->charger_desc.num_properties = bq2415x_power_supply_init()
1047 bq->charger_desc.get_property = bq2415x_power_supply_get_property; bq2415x_power_supply_init()
1070 bq->charger = power_supply_register(bq->dev, &bq->charger_desc, bq2415x_power_supply_init()
/linux-4.4.14/drivers/acpi/
H A Dac.c95 struct power_supply_desc charger_desc; member in struct:acpi_ac
344 ac->charger_desc.name = acpi_device_bid(device); acpi_ac_add()
350 ac->charger_desc.type = POWER_SUPPLY_TYPE_MAINS; acpi_ac_add()
351 ac->charger_desc.properties = ac_props; acpi_ac_add()
352 ac->charger_desc.num_properties = ARRAY_SIZE(ac_props); acpi_ac_add()
353 ac->charger_desc.get_property = get_ac_property; acpi_ac_add()
355 &ac->charger_desc, &psy_cfg); acpi_ac_add()
/linux-4.4.14/include/linux/power/
H A Dcharger-manager.h132 * struct charger_desc
171 struct charger_desc { struct
210 * @desc: instance of charger_desc
232 struct charger_desc *desc;
/linux-4.4.14/include/linux/mfd/
H A D88pm860x.h459 struct charger_desc *chg_desc;

Completed in 242 milliseconds