Lines Matching defs:ext
939 struct power_supply *ext = dev_get_drvdata(dev);
940 const char **supplicants = (const char **)ext->supplied_to;
949 j = match_string(supplicants, ext->num_supplicants, psy->desc->name);
958 if (!power_supply_get_property(ext, POWER_SUPPLY_PROP_CAPACITY, &ret)) {
964 for (j = 0; j < ext->desc->num_properties; j++) {
966 prop = ext->desc->properties[j];
972 ext->desc->type == POWER_SUPPLY_TYPE_MAINS)
973 di->ac_chg = psy_to_ux500_charger(ext);
975 ext->desc->type == POWER_SUPPLY_TYPE_USB)
976 di->usb_chg = psy_to_ux500_charger(ext);
978 if (power_supply_get_property(ext, prop, &ret))
982 switch (ext->desc->type) {
1029 switch (ext->desc->type) {
1074 switch (ext->desc->type) {
1157 switch (ext->desc->type) {
1173 switch (ext->desc->type) {
1198 switch (ext->desc->type) {
1216 switch (ext->desc->type) {
1234 switch (ext->desc->type) {