Lines Matching defs:cable_type
312 int cable_type = 0;
336 cable_type = info->prev_cable_type;
341 cable_type = info->prev_cable_type = adc;
360 cable_type = info->prev_cable_type_gnd;
381 cable_type = ((0x1 << 8)
387 info->prev_cable_type_gnd = cable_type;
402 cable_type = info->prev_chg_type;
412 cable_type = info->prev_chg_type = chg_type;
439 cable_type = vbvolt;
443 cable_type = -EINVAL;
447 return cable_type;
451 int cable_type, bool attached)
460 attached ? "attached" : "detached", cable_type);
462 switch (cable_type) {
619 int cable_type, bool attached)
626 attached ? "attached" : "detached", cable_type);
628 switch (cable_type) {
656 int cable_type;
662 cable_type = max77693_muic_get_cable_type(info,
667 attached ? "attached" : "detached", cable_type,
670 switch (cable_type) {
680 ret = max77693_muic_jig_handler(info, cable_type, attached);
696 ret = max77693_muic_dock_handler(info, cable_type, attached);
716 button_type = info->prev_button_type = cable_type;
750 attached ? "attached" : "detached", cable_type);
755 attached ? "attached" : "detached", cable_type);
766 int cable_type;
811 cable_type = max77693_muic_get_cable_type(info,
814 switch (cable_type) {
1076 int cable_type;
1228 cable_type = max77693_muic_get_cable_type(info,
1230 if (attached && (cable_type == MAX77693_MUIC_ADC_FACTORY_MODE_UART_ON ||
1231 cable_type == MAX77693_MUIC_ADC_FACTORY_MODE_UART_OFF))