Lines Matching defs:adc
227 * Don't touch BTLDset, JIGset when you want to change adc
313 int adc;
325 adc = info->status[0] & MAX77693_STATUS1_ADC_MASK;
326 adc >>= MAX77693_STATUS1_ADC_SHIFT;
333 if (adc == MAX77693_MUIC_ADC_OPEN) {
341 cable_type = info->prev_cable_type = adc;
349 adc = info->status[0] & MAX77693_STATUS1_ADC_MASK;
350 adc >>= MAX77693_STATUS1_ADC_SHIFT;
357 if (adc == MAX77693_MUIC_ADC_OPEN) {
386 info->prev_cable_type = adc;
421 adc = info->status[0] & MAX77693_STATUS1_ADC_MASK;
422 adc >>= MAX77693_STATUS1_ADC_SHIFT;
426 if (adc == MAX77693_MUIC_ADC_OPEN
459 "external connector is %s (adc:0x%02x)\n",
564 "failed to detect %s key (adc:0x%x)\n",
625 "external connector is %s (adc:0x%02x)\n",
666 "external connector is %s (adc:0x%02x, prev_adc:0x%x)\n",
749 "accessory is %s but it isn't used (adc:0x%x)\n",
754 "failed to detect %s accessory (adc:0x%x)\n",
1018 int adc;
1033 adc = max77693_muic_get_cable_type(info, MAX77693_CABLE_GROUP_ADC,
1035 if (attached && adc != MAX77693_MUIC_ADC_OPEN) {