Lines Matching refs:attached
205 u8 val, bool attached) in max14577_muic_set_path() argument
219 if (attached) in max14577_muic_set_path()
232 if (attached) in max14577_muic_set_path()
247 ctrl1, ctrl2, attached ? "attached" : "detached"); in max14577_muic_set_path()
264 enum max14577_muic_cable_group group, bool *attached) in max14577_muic_get_cable_type() argument
285 *attached = false; in max14577_muic_get_cable_type()
290 *attached = true; in max14577_muic_get_cable_type()
305 *attached = false; in max14577_muic_get_cable_type()
310 *attached = true; in max14577_muic_get_cable_type()
331 int cable_type, bool attached) in max14577_muic_jig_handler() argument
338 attached ? "attached" : "detached", cable_type); in max14577_muic_jig_handler()
352 attached ? "attached" : "detached"); in max14577_muic_jig_handler()
356 ret = max14577_muic_set_path(info, path, attached); in max14577_muic_jig_handler()
360 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max14577_muic_jig_handler()
368 bool attached; in max14577_muic_adc_handler() local
373 MAX14577_CABLE_GROUP_ADC, &attached); in max14577_muic_adc_handler()
377 attached ? "attached" : "detached", cable_type, in max14577_muic_adc_handler()
385 ret = max14577_muic_jig_handler(info, cable_type, attached); in max14577_muic_adc_handler()
424 attached ? "attached" : "detached", cable_type); in max14577_muic_adc_handler()
429 attached ? "attached" : "detached", cable_type); in max14577_muic_adc_handler()
439 bool attached; in max14577_muic_chg_handler() local
443 MAX14577_CABLE_GROUP_CHG, &attached); in max14577_muic_chg_handler()
447 attached ? "attached" : "detached", in max14577_muic_chg_handler()
453 ret = max14577_muic_set_path(info, info->path_usb, attached); in max14577_muic_chg_handler()
457 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max14577_muic_chg_handler()
459 attached); in max14577_muic_chg_handler()
463 attached); in max14577_muic_chg_handler()
467 attached); in max14577_muic_chg_handler()
471 attached); in max14577_muic_chg_handler()
475 attached); in max14577_muic_chg_handler()
483 attached ? "attached" : "detached", chg_type); in max14577_muic_chg_handler()
617 bool attached; in max14577_muic_detect_accessory() local
631 &attached); in max14577_muic_detect_accessory()
632 if (attached && adc != MAX14577_MUIC_ADC_OPEN) { in max14577_muic_detect_accessory()
642 &attached); in max14577_muic_detect_accessory()
643 if (attached && chg_type != MAX14577_CHARGER_TYPE_NONE) { in max14577_muic_detect_accessory()