Lines Matching defs:ext
850 struct power_supply *ext = dev_get_drvdata(dev);
851 const char **supplicants = (const char **)ext->supplied_to;
860 j = match_string(supplicants, ext->num_supplicants, psy->desc->name);
869 if (!power_supply_get_property(ext, POWER_SUPPLY_PROP_CAPACITY, &ret)) {
875 for (j = 0; j < ext->desc->num_properties; j++) {
877 prop = ext->desc->properties[j];
883 ext->desc->type == POWER_SUPPLY_TYPE_MAINS)
884 di->ac_chg = psy_to_ux500_charger(ext);
886 ext->desc->type == POWER_SUPPLY_TYPE_USB)
887 di->usb_chg = psy_to_ux500_charger(ext);
889 if (power_supply_get_property(ext, prop, &ret))
893 switch (ext->desc->type) {
940 switch (ext->desc->type) {
985 switch (ext->desc->type) {
1069 switch (ext->desc->type) {
1085 switch (ext->desc->type) {
1110 switch (ext->desc->type) {
1128 switch (ext->desc->type) {
1144 switch (ext->desc->type) {