Lines Matching defs:adc
264 int adc, chg_type, cable_type, gnd_type;
266 adc = info->status[MAX77843_MUIC_STATUS1] &
268 adc >>= MAX77843_MUIC_STATUS1_ADC_SHIFT;
272 if (adc == MAX77843_MUIC_ADC_OPEN) {
278 cable_type = info->prev_cable_type = adc;
286 if (adc == MAX77843_MUIC_ADC_GROUND) {
309 if (adc == MAX77843_MUIC_ADC_RESERVED_ACC_3) { /* SmartDock */
332 if (adc == MAX77843_MUIC_ADC_OPEN) {
416 dev_dbg(info->dev, "external connector is %s (adc:0x%02x)\n",
445 dev_dbg(info->dev, "external connector is %s (adc: 0x10)\n",
469 "external connector is %s (adc:0x%02x, prev_adc:0x%x)\n",
519 "accessory is %s but it isn't used (adc:0x%x)\n",
524 "failed to detect %s accessory (adc:0x%x)\n",
708 int chg_type, adc, ret;
721 adc = max77843_muic_get_cable_type(info,
723 if (attached && adc != MAX77843_MUIC_ADC_OPEN) {