Lines Matching refs:chg_type
263 int adc, chg_type, cable_type, gnd_type;
281 chg_type = info->status[MAX77843_MUIC_STATUS2] &
286 if (chg_type == MAX77843_MUIC_CHG_NONE) {
309 if (chg_type == MAX77843_MUIC_CHG_NONE) {
321 if (chg_type == MAX77843_MUIC_CHG_NONE) {
327 cable_type = info->prev_chg_type = chg_type;
533 int ret, chg_type, gnd_type;
536 chg_type = max77843_muic_get_cable_type(info,
540 "external connector is %s(chg_type:0x%x, prev_chg_type:0x%x)\n",
542 chg_type, info->prev_chg_type);
544 switch (chg_type) {
615 "failed to detect %s accessory (chg_type:0x%x)\n",
616 attached ? "attached" : "detached", chg_type);
707 int chg_type, adc, ret;
730 chg_type = max77843_muic_get_cable_type(info,
732 if (attached && chg_type != MAX77843_MUIC_CHG_NONE) {