Lines Matching defs:adc
263 int adc, chg_type, cable_type, gnd_type;
265 adc = info->status[MAX77843_MUIC_STATUS1] &
267 adc >>= MAX77843_MUIC_STATUS1_ADC_SHIFT;
271 if (adc == MAX77843_MUIC_ADC_OPEN) {
277 cable_type = info->prev_cable_type = adc;
285 if (adc == MAX77843_MUIC_ADC_GROUND) {
308 if (adc == MAX77843_MUIC_ADC_RESERVED_ACC_3) { /* SmartDock */
331 if (adc == MAX77843_MUIC_ADC_OPEN) {
415 dev_dbg(info->dev, "external connector is %s (adc:0x%02x)\n",
444 dev_dbg(info->dev, "external connector is %s (adc: 0x10)\n",
468 "external connector is %s (adc:0x%02x, prev_adc:0x%x)\n",
518 "accessory is %s but it isn't used (adc:0x%x)\n",
523 "failed to detect %s accessory (adc:0x%x)\n",
707 int chg_type, adc, ret;
720 adc = max77843_muic_get_cable_type(info,
722 if (attached && adc != MAX77843_MUIC_ADC_OPEN) {