Lines Matching defs:cable_type
361 unsigned int cable_type, adc, dev_type1;
375 cable_type = adc & SM5502_REG_ADC_MASK;
377 switch (cable_type) {
387 cable_type = SM5502_MUIC_ADC_GROUND_USB_OTG;
442 cable_type = SM5502_MUIC_ADC_OPEN_USB_OTG;
448 cable_type = SM5502_MUIC_ADC_OPEN_USB;
451 cable_type = SM5502_MUIC_ADC_OPEN_TA;
466 return cable_type;
473 unsigned int cable_type = SM5502_MUIC_ADC_GROUND;
481 cable_type = sm5502_muic_get_cable_type(info);
483 cable_type = prev_cable_type;
484 prev_cable_type = cable_type;
486 switch (cable_type) {
505 "cannot handle this cable_type (0x%x)\n", cable_type);