Lines Matching defs:cable_type
249 int cable_type = 0;
270 cable_type = info->prev_cable_type;
275 cable_type = info->prev_cable_type = adc;
289 cable_type = info->prev_chg_type;
299 cable_type = info->prev_chg_type = chg_type;
305 cable_type = -EINVAL;
309 return cable_type;
342 int cable_type, bool attached)
352 switch (cable_type) {
385 int cable_type;
390 cable_type = max8997_muic_get_cable_type(info,
393 switch (cable_type) {
411 ret = max8997_muic_handle_dock(info, cable_type, attached);
449 attached ? "attached" : "detached", cable_type);
454 attached ? "attached" : "detached", cable_type);
638 int cable_type;
741 cable_type = max8997_muic_get_cable_type(info,
743 if (attached && cable_type == MAX8997_MUIC_ADC_FACTORY_MODE_UART_OFF)