POWER_SUPPLY_TYPE_USB
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
case POWER_SUPPLY_TYPE_USB:
case POWER_SUPPLY_TYPE_USB:
rphy->chg_type = POWER_SUPPLY_TYPE_USB;
if (psy != tusb->psy && psy->desc->type == POWER_SUPPLY_TYPE_USB)
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
case POWER_SUPPLY_TYPE_USB:
case POWER_SUPPLY_TYPE_USB:
case POWER_SUPPLY_TYPE_USB:
case POWER_SUPPLY_TYPE_USB:
case POWER_SUPPLY_TYPE_USB:
case POWER_SUPPLY_TYPE_USB:
ext->desc->type == POWER_SUPPLY_TYPE_USB)
case POWER_SUPPLY_TYPE_USB:
case POWER_SUPPLY_TYPE_USB:
else if (charger->psy->desc->type == POWER_SUPPLY_TYPE_USB)
else if (charger->psy->desc->type == POWER_SUPPLY_TYPE_USB)
.type = POWER_SUPPLY_TYPE_USB,
*type = POWER_SUPPLY_TYPE_USB;
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
bq->charger_desc.type = POWER_SUPPLY_TYPE_USB;
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
port->psy_desc.type = POWER_SUPPLY_TYPE_USB;
psy_desc->type = POWER_SUPPLY_TYPE_USB;
.type = POWER_SUPPLY_TYPE_USB,
return POWER_SUPPLY_TYPE_USB;
return POWER_SUPPLY_TYPE_USB;
return POWER_SUPPLY_TYPE_USB;
return POWER_SUPPLY_TYPE_USB;
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
isp->psy_desc.type = POWER_SUPPLY_TYPE_USB;
isp->psy_desc.type = POWER_SUPPLY_TYPE_USB;
isp->psy_desc.type = POWER_SUPPLY_TYPE_USB;
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
{ POWER_SUPPLY_TYPE_USB },
{ POWER_SUPPLY_TYPE_USB },
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
data->psy_desc.type = POWER_SUPPLY_TYPE_USB;
data->psy_desc.type = POWER_SUPPLY_TYPE_USB;
((data->usb_in) ? POWER_SUPPLY_TYPE_USB :
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
[POWER_SUPPLY_TYPE_USB] = "USB",
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
desc->type = POWER_SUPPLY_TYPE_USB;
desc->type = POWER_SUPPLY_TYPE_USB;
.type = POWER_SUPPLY_TYPE_USB,
if (psy->desc->type == POWER_SUPPLY_TYPE_USB) {
if (psy->desc->type == POWER_SUPPLY_TYPE_USB) {
if (psy->desc->type == POWER_SUPPLY_TYPE_USB)
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
if (psy->desc->type == POWER_SUPPLY_TYPE_USB)
if (psy->desc->type == POWER_SUPPLY_TYPE_USB)
if (psy->desc->type == POWER_SUPPLY_TYPE_USB) {
if (psy->desc->type != POWER_SUPPLY_TYPE_USB) {
if (psy->desc->type == POWER_SUPPLY_TYPE_USB)
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
.type = POWER_SUPPLY_TYPE_USB,
power->usb_desc.type = POWER_SUPPLY_TYPE_USB;
.type = POWER_SUPPLY_TYPE_USB,
desc->type = POWER_SUPPLY_TYPE_USB;
psy_desc->type = POWER_SUPPLY_TYPE_USB;
data->psy_desc.type = POWER_SUPPLY_TYPE_USB;
port->psy_desc.type = POWER_SUPPLY_TYPE_USB;
tps->psy_desc.type = POWER_SUPPLY_TYPE_USB;
con->psy_desc.type = POWER_SUPPLY_TYPE_USB;