Lines Matching refs:attached

264 		u8 val, bool attached)  in max77693_muic_set_path()  argument
269 if (attached) in max77693_muic_set_path()
281 if (attached) in max77693_muic_set_path()
297 ctrl1, ctrl2, attached ? "attached" : "detached"); in max77693_muic_set_path()
316 enum max77693_muic_cable_group group, bool *attached) in max77693_muic_get_cable_type() argument
340 *attached = false; in max77693_muic_get_cable_type()
345 *attached = true; in max77693_muic_get_cable_type()
364 *attached = false; in max77693_muic_get_cable_type()
369 *attached = true; in max77693_muic_get_cable_type()
406 *attached = false; in max77693_muic_get_cable_type()
411 *attached = true; in max77693_muic_get_cable_type()
434 *attached = false; in max77693_muic_get_cable_type()
436 *attached = true; in max77693_muic_get_cable_type()
457 int cable_type, bool attached) in max77693_muic_dock_handler() argument
466 attached ? "attached" : "detached", cable_type); in max77693_muic_dock_handler()
478 if (attached && !vbvolt) { in max77693_muic_dock_handler()
503 ret = max77693_muic_set_path(info, info->path_usb, attached); in max77693_muic_dock_handler()
507 extcon_set_cable_state_(info->edev, EXTCON_DOCK, attached); in max77693_muic_dock_handler()
508 extcon_set_cable_state_(info->edev, EXTCON_DISP_MHL, attached); in max77693_muic_dock_handler()
515 if (!attached) in max77693_muic_dock_handler()
520 attached ? "attached" : "detached"); in max77693_muic_dock_handler()
526 attached); in max77693_muic_dock_handler()
529 extcon_set_cable_state_(info->edev, dock_id, attached); in max77693_muic_dock_handler()
536 int button_type, bool attached) in max77693_muic_dock_button_handler() argument
568 attached ? "pressed" : "released", button_type); in max77693_muic_dock_button_handler()
572 input_event(dock, EV_KEY, code, attached); in max77693_muic_dock_button_handler()
582 bool attached; in max77693_muic_adc_ground_handler() local
585 MAX77693_CABLE_GROUP_ADC_GND, &attached); in max77693_muic_adc_ground_handler()
592 attached); in max77693_muic_adc_ground_handler()
595 extcon_set_cable_state_(info->edev, EXTCON_USB_HOST, attached); in max77693_muic_adc_ground_handler()
600 attached); in max77693_muic_adc_ground_handler()
603 extcon_set_cable_state_(info->edev, EXTCON_USB, attached); in max77693_muic_adc_ground_handler()
608 extcon_set_cable_state_(info->edev, EXTCON_DISP_MHL, attached); in max77693_muic_adc_ground_handler()
612 attached ? "attached" : "detached"); in max77693_muic_adc_ground_handler()
620 int cable_type, bool attached) in max77693_muic_jig_handler() argument
627 attached ? "attached" : "detached", cable_type); in max77693_muic_jig_handler()
642 attached ? "attached" : "detached"); in max77693_muic_jig_handler()
646 ret = max77693_muic_set_path(info, path, attached); in max77693_muic_jig_handler()
650 extcon_set_cable_state_(info->edev, EXTCON_JIG, attached); in max77693_muic_jig_handler()
659 bool attached; in max77693_muic_adc_handler() local
664 MAX77693_CABLE_GROUP_ADC, &attached); in max77693_muic_adc_handler()
668 attached ? "attached" : "detached", cable_type, in max77693_muic_adc_handler()
681 ret = max77693_muic_jig_handler(info, cable_type, attached); in max77693_muic_adc_handler()
697 ret = max77693_muic_dock_handler(info, cable_type, attached); in max77693_muic_adc_handler()
716 if (attached) in max77693_muic_adc_handler()
722 attached); in max77693_muic_adc_handler()
751 attached ? "attached" : "detached", cable_type); in max77693_muic_adc_handler()
756 attached ? "attached" : "detached", cable_type); in max77693_muic_adc_handler()
768 bool attached; in max77693_muic_chg_handler() local
773 MAX77693_CABLE_GROUP_CHG, &attached); in max77693_muic_chg_handler()
777 attached ? "attached" : "detached", in max77693_muic_chg_handler()
805 attached); in max77693_muic_chg_handler()
832 attached); in max77693_muic_chg_handler()
860 attached); in max77693_muic_chg_handler()
865 attached); in max77693_muic_chg_handler()
867 attached); in max77693_muic_chg_handler()
896 attached); in max77693_muic_chg_handler()
901 attached); in max77693_muic_chg_handler()
906 attached); in max77693_muic_chg_handler()
912 attached); in max77693_muic_chg_handler()
916 attached); in max77693_muic_chg_handler()
920 attached); in max77693_muic_chg_handler()
927 attached ? "attached" : "detached", chg_type); in max77693_muic_chg_handler()
1016 bool attached; in max77693_muic_detect_accessory() local
1030 &attached); in max77693_muic_detect_accessory()
1031 if (attached && adc != MAX77693_MUIC_ADC_OPEN) { in max77693_muic_detect_accessory()
1041 &attached); in max77693_muic_detect_accessory()
1042 if (attached && chg_type != MAX77693_CHARGER_TYPE_NONE) { in max77693_muic_detect_accessory()