chg_type 258 drivers/extcon/extcon-max14577.c int chg_type; chg_type 290 drivers/extcon/extcon-max14577.c chg_type = info->status[MAX14577_MUIC_STATUS2] & chg_type 292 drivers/extcon/extcon-max14577.c chg_type >>= STATUS2_CHGTYP_SHIFT; chg_type 294 drivers/extcon/extcon-max14577.c if (chg_type == MAX14577_CHARGER_TYPE_NONE) { chg_type 307 drivers/extcon/extcon-max14577.c cable_type = info->prev_chg_type = chg_type; chg_type 428 drivers/extcon/extcon-max14577.c int chg_type; chg_type 432 drivers/extcon/extcon-max14577.c chg_type = max14577_muic_get_cable_type(info, chg_type 438 drivers/extcon/extcon-max14577.c chg_type, info->prev_chg_type); chg_type 440 drivers/extcon/extcon-max14577.c switch (chg_type) { chg_type 473 drivers/extcon/extcon-max14577.c attached ? "attached" : "detached", chg_type); chg_type 606 drivers/extcon/extcon-max14577.c int chg_type; chg_type 631 drivers/extcon/extcon-max14577.c chg_type = max14577_muic_get_cable_type(info, MAX14577_CABLE_GROUP_CHG, chg_type 633 drivers/extcon/extcon-max14577.c if (attached && chg_type != MAX14577_CHARGER_TYPE_NONE) { chg_type 316 drivers/extcon/extcon-max77693.c int chg_type; chg_type 395 drivers/extcon/extcon-max77693.c chg_type = info->status[1] & MAX77693_STATUS2_CHGTYP_MASK; chg_type 396 drivers/extcon/extcon-max77693.c chg_type >>= MAX77693_STATUS2_CHGTYP_SHIFT; chg_type 398 drivers/extcon/extcon-max77693.c if (chg_type == MAX77693_CHARGER_TYPE_NONE) { chg_type 411 drivers/extcon/extcon-max77693.c cable_type = info->prev_chg_type = chg_type; chg_type 422 drivers/extcon/extcon-max77693.c chg_type = info->status[1] & MAX77693_STATUS2_CHGTYP_MASK; chg_type 423 drivers/extcon/extcon-max77693.c chg_type >>= MAX77693_STATUS2_CHGTYP_SHIFT; chg_type 426 drivers/extcon/extcon-max77693.c && chg_type == MAX77693_CHARGER_TYPE_NONE) chg_type 763 drivers/extcon/extcon-max77693.c int chg_type; chg_type 770 drivers/extcon/extcon-max77693.c chg_type = max77693_muic_get_cable_type(info, chg_type 776 drivers/extcon/extcon-max77693.c chg_type, info->prev_chg_type); chg_type 778 drivers/extcon/extcon-max77693.c switch (chg_type) { chg_type 871 drivers/extcon/extcon-max77693.c switch (chg_type) { chg_type 928 drivers/extcon/extcon-max77693.c attached ? "attached" : "detached", chg_type); chg_type 1018 drivers/extcon/extcon-max77693.c int chg_type; chg_type 1043 drivers/extcon/extcon-max77693.c chg_type = max77693_muic_get_cable_type(info, MAX77693_CABLE_GROUP_CHG, chg_type 1045 drivers/extcon/extcon-max77693.c if (attached && chg_type != MAX77693_CHARGER_TYPE_NONE) { chg_type 264 drivers/extcon/extcon-max77843.c int adc, chg_type, cable_type, gnd_type; chg_type 282 drivers/extcon/extcon-max77843.c chg_type = info->status[MAX77843_MUIC_STATUS2] & chg_type 287 drivers/extcon/extcon-max77843.c if (chg_type == MAX77843_MUIC_CHG_NONE) { chg_type 310 drivers/extcon/extcon-max77843.c if (chg_type == MAX77843_MUIC_CHG_NONE) { chg_type 322 drivers/extcon/extcon-max77843.c if (chg_type == MAX77843_MUIC_CHG_NONE) { chg_type 328 drivers/extcon/extcon-max77843.c cable_type = info->prev_chg_type = chg_type; chg_type 534 drivers/extcon/extcon-max77843.c int ret, chg_type, gnd_type; chg_type 537 drivers/extcon/extcon-max77843.c chg_type = max77843_muic_get_cable_type(info, chg_type 543 drivers/extcon/extcon-max77843.c chg_type, info->prev_chg_type); chg_type 545 drivers/extcon/extcon-max77843.c switch (chg_type) { chg_type 617 drivers/extcon/extcon-max77843.c attached ? "attached" : "detached", chg_type); chg_type 708 drivers/extcon/extcon-max77843.c int chg_type, adc, ret; chg_type 731 drivers/extcon/extcon-max77843.c chg_type = max77843_muic_get_cable_type(info, chg_type 733 drivers/extcon/extcon-max77843.c if (attached && chg_type != MAX77843_MUIC_CHG_NONE) { chg_type 248 drivers/extcon/extcon-max8997.c int chg_type; chg_type 280 drivers/extcon/extcon-max8997.c chg_type = info->status[1] & STATUS2_CHGTYP_MASK; chg_type 281 drivers/extcon/extcon-max8997.c chg_type >>= STATUS2_CHGTYP_SHIFT; chg_type 283 drivers/extcon/extcon-max8997.c if (chg_type == MAX8997_CHARGER_TYPE_NONE) { chg_type 296 drivers/extcon/extcon-max8997.c cable_type = info->prev_chg_type = chg_type; chg_type 460 drivers/extcon/extcon-max8997.c int chg_type; chg_type 464 drivers/extcon/extcon-max8997.c chg_type = max8997_muic_get_cable_type(info, chg_type 467 drivers/extcon/extcon-max8997.c switch (chg_type) { chg_type 498 drivers/extcon/extcon-max8997.c attached ? "attached" : "detached", chg_type); chg_type 575 drivers/extcon/extcon-max8997.c int chg_type; chg_type 600 drivers/extcon/extcon-max8997.c chg_type = max8997_muic_get_cable_type(info, MAX8997_CABLE_GROUP_CHG, chg_type 602 drivers/extcon/extcon-max8997.c if (attached && chg_type != MAX8997_CHARGER_TYPE_NONE) { chg_type 218 drivers/phy/rockchip/phy-rockchip-inno-usb2.c enum power_supply_type chg_type; chg_type 563 drivers/phy/rockchip/phy-rockchip-inno-usb2.c switch (rphy->chg_type) { chg_type 597 drivers/phy/rockchip/phy-rockchip-inno-usb2.c rphy->chg_type = POWER_SUPPLY_TYPE_UNKNOWN; chg_type 617 drivers/phy/rockchip/phy-rockchip-inno-usb2.c rphy->chg_type = POWER_SUPPLY_TYPE_UNKNOWN; chg_type 639 drivers/phy/rockchip/phy-rockchip-inno-usb2.c static const char *chg_to_string(enum power_supply_type chg_type) chg_type 641 drivers/phy/rockchip/phy-rockchip-inno-usb2.c switch (chg_type) { chg_type 738 drivers/phy/rockchip/phy-rockchip-inno-usb2.c rphy->chg_type = POWER_SUPPLY_TYPE_USB_DCP; chg_type 742 drivers/phy/rockchip/phy-rockchip-inno-usb2.c rphy->chg_type = POWER_SUPPLY_TYPE_USB; chg_type 754 drivers/phy/rockchip/phy-rockchip-inno-usb2.c rphy->chg_type = POWER_SUPPLY_TYPE_USB_DCP; chg_type 756 drivers/phy/rockchip/phy-rockchip-inno-usb2.c rphy->chg_type = POWER_SUPPLY_TYPE_USB_CDP; chg_type 767 drivers/phy/rockchip/phy-rockchip-inno-usb2.c chg_to_string(rphy->chg_type)); chg_type 1110 drivers/phy/rockchip/phy-rockchip-inno-usb2.c rphy->chg_type = POWER_SUPPLY_TYPE_UNKNOWN; chg_type 83 drivers/platform/chrome/cros_usbpd_logger.c const char *fault, *role, *chg_type; chg_type 112 drivers/platform/chrome/cros_usbpd_logger.c chg_type = type_idx < ARRAY_SIZE(chg_type_names) ? chg_type 125 drivers/platform/chrome/cros_usbpd_logger.c chg_type, meas->voltage_now, chg_type 424 drivers/power/supply/adp5061.c int chg_type, ret; chg_type 430 drivers/power/supply/adp5061.c chg_type = adp5061_chg_type[ADP5061_CHG_STATUS_1_CHG_STATUS(status1)]; chg_type 431 drivers/power/supply/adp5061.c if (chg_type > ADP5061_CHG_FAST_CV) chg_type 434 drivers/power/supply/adp5061.c val->intval = chg_type; chg_type 126 drivers/power/supply/max14577_charger.c enum max14577_muic_charger_type chg_type; chg_type 133 drivers/power/supply/max14577_charger.c chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); chg_type 134 drivers/power/supply/max14577_charger.c switch (chg_type) { chg_type 165 drivers/power/supply/max14577_charger.c enum max14577_muic_charger_type chg_type; chg_type 172 drivers/power/supply/max14577_charger.c chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); chg_type 173 drivers/power/supply/max14577_charger.c if (chg_type == MAX14577_CHARGER_TYPE_DEAD_BATTERY) { chg_type 141 drivers/power/supply/max14656_charger_detector.c u8 chg_type; chg_type 149 drivers/power/supply/max14656_charger_detector.c chg_type = buf[MAX14656_STATUS_1] & STATUS1_CHG_TYPE_MASK; chg_type 150 drivers/power/supply/max14656_charger_detector.c if (chg_type < MAX14656_CHARGER_LAST) chg_type 151 drivers/power/supply/max14656_charger_detector.c chip->psy_desc.type = chg_type_props[chg_type].type; chg_type 131 drivers/usb/phy/phy.c usb_phy->chg_type = SDP_TYPE; chg_type 134 drivers/usb/phy/phy.c usb_phy->chg_type = CDP_TYPE; chg_type 137 drivers/usb/phy/phy.c usb_phy->chg_type = DCP_TYPE; chg_type 140 drivers/usb/phy/phy.c usb_phy->chg_type = ACA_TYPE; chg_type 143 drivers/usb/phy/phy.c usb_phy->chg_type = UNKNOWN_TYPE; chg_type 184 drivers/usb/phy/phy.c switch (usb_phy->chg_type) { chg_type 234 drivers/usb/phy/phy.c switch (usb_phy->chg_type) { chg_type 276 drivers/usb/phy/phy.c usb_phy->chg_type = usb_phy->charger_detect(usb_phy); chg_type 278 drivers/usb/phy/phy.c usb_phy->chg_type = UNKNOWN_TYPE; chg_type 309 drivers/usb/phy/phy.c usb_phy->chg_type = UNKNOWN_TYPE; chg_type 110 include/linux/usb/phy.h enum usb_charger_type chg_type;