Lines Matching refs:attached

223 		u8 val, bool attached)  in max14577_muic_set_path()  argument
237 if (attached) in max14577_muic_set_path()
250 if (attached) in max14577_muic_set_path()
265 ctrl1, ctrl2, attached ? "attached" : "detached"); in max14577_muic_set_path()
282 enum max14577_muic_cable_group group, bool *attached) in max14577_muic_get_cable_type() argument
303 *attached = false; in max14577_muic_get_cable_type()
308 *attached = true; in max14577_muic_get_cable_type()
323 *attached = false; in max14577_muic_get_cable_type()
328 *attached = true; in max14577_muic_get_cable_type()
349 int cable_type, bool attached) in max14577_muic_jig_handler() argument
357 attached ? "attached" : "detached", cable_type); in max14577_muic_jig_handler()
377 attached ? "attached" : "detached"); in max14577_muic_jig_handler()
381 ret = max14577_muic_set_path(info, path, attached); in max14577_muic_jig_handler()
385 extcon_set_cable_state(info->edev, cable_name, attached); in max14577_muic_jig_handler()
393 bool attached; in max14577_muic_adc_handler() local
398 MAX14577_CABLE_GROUP_ADC, &attached); in max14577_muic_adc_handler()
402 attached ? "attached" : "detached", cable_type, in max14577_muic_adc_handler()
410 ret = max14577_muic_jig_handler(info, cable_type, attached); in max14577_muic_adc_handler()
449 attached ? "attached" : "detached", cable_type); in max14577_muic_adc_handler()
454 attached ? "attached" : "detached", cable_type); in max14577_muic_adc_handler()
464 bool attached; in max14577_muic_chg_handler() local
468 MAX14577_CABLE_GROUP_CHG, &attached); in max14577_muic_chg_handler()
472 attached ? "attached" : "detached", in max14577_muic_chg_handler()
478 ret = max14577_muic_set_path(info, info->path_usb, attached); in max14577_muic_chg_handler()
482 extcon_set_cable_state(info->edev, "USB", attached); in max14577_muic_chg_handler()
485 extcon_set_cable_state(info->edev, "TA", attached); in max14577_muic_chg_handler()
489 "Charge-downstream", attached); in max14577_muic_chg_handler()
492 extcon_set_cable_state(info->edev, "Slow-charger", attached); in max14577_muic_chg_handler()
495 extcon_set_cable_state(info->edev, "Fast-charger", attached); in max14577_muic_chg_handler()
503 attached ? "attached" : "detached", chg_type); in max14577_muic_chg_handler()
635 bool attached; in max14577_muic_detect_accessory() local
649 &attached); in max14577_muic_detect_accessory()
650 if (attached && adc != MAX14577_MUIC_ADC_OPEN) { in max14577_muic_detect_accessory()
660 &attached); in max14577_muic_detect_accessory()
661 if (attached && chg_type != MAX14577_CHARGER_TYPE_NONE) { in max14577_muic_detect_accessory()