Lines Matching refs:chg_type
317 int chg_type;
396 chg_type = info->status[1] & MAX77693_STATUS2_CHGTYP_MASK;
397 chg_type >>= MAX77693_STATUS2_CHGTYP_SHIFT;
399 if (chg_type == MAX77693_CHARGER_TYPE_NONE) {
412 cable_type = info->prev_chg_type = chg_type;
423 chg_type = info->status[1] & MAX77693_STATUS2_CHGTYP_MASK;
424 chg_type >>= MAX77693_STATUS2_CHGTYP_SHIFT;
427 && chg_type == MAX77693_CHARGER_TYPE_NONE)
764 int chg_type;
771 chg_type = max77693_muic_get_cable_type(info,
775 "external connector is %s(chg_type:0x%x, prev_chg_type:0x%x)\n",
777 chg_type, info->prev_chg_type);
779 switch (chg_type) {
872 switch (chg_type) {
928 "failed to detect %s accessory (chg_type:0x%x)\n",
929 attached ? "attached" : "detached", chg_type);
1019 int chg_type;
1044 chg_type = max77693_muic_get_cable_type(info, MAX77693_CABLE_GROUP_CHG,
1046 if (attached && chg_type != MAX77693_CHARGER_TYPE_NONE) {