Lines Matching refs:chg_type
259 int chg_type;
291 chg_type = info->status[MAX14577_MUIC_STATUS2] &
293 chg_type >>= STATUS2_CHGTYP_SHIFT;
295 if (chg_type == MAX14577_CHARGER_TYPE_NONE) {
308 cable_type = info->prev_chg_type = chg_type;
429 int chg_type;
433 chg_type = max14577_muic_get_cable_type(info,
437 "external connector is %s(chg_type:0x%x, prev_chg_type:0x%x)\n",
439 chg_type, info->prev_chg_type);
441 switch (chg_type) {
473 "failed to detect %s accessory (chg_type:0x%x)\n",
474 attached ? "attached" : "detached", chg_type);
607 int chg_type;
632 chg_type = max14577_muic_get_cable_type(info, MAX14577_CABLE_GROUP_CHG,
634 if (attached && chg_type != MAX14577_CHARGER_TYPE_NONE) {