Lines Matching refs:attached
204 u8 val, bool attached) in max14577_muic_set_path() argument
218 if (attached) in max14577_muic_set_path()
231 if (attached) in max14577_muic_set_path()
246 ctrl1, ctrl2, attached ? "attached" : "detached"); in max14577_muic_set_path()
263 enum max14577_muic_cable_group group, bool *attached) in max14577_muic_get_cable_type() argument
284 *attached = false; in max14577_muic_get_cable_type()
289 *attached = true; in max14577_muic_get_cable_type()
304 *attached = false; in max14577_muic_get_cable_type()
309 *attached = true; in max14577_muic_get_cable_type()
330 int cable_type, bool attached) in max14577_muic_jig_handler() argument
337 attached ? "attached" : "detached", cable_type); in max14577_muic_jig_handler()
351 attached ? "attached" : "detached"); in max14577_muic_jig_handler()
355 ret = max14577_muic_set_path(info, path, attached); in max14577_muic_jig_handler()
359 extcon_set_cable_state_(info->edev, EXTCON_JIG, attached); in max14577_muic_jig_handler()
367 bool attached; in max14577_muic_adc_handler() local
372 MAX14577_CABLE_GROUP_ADC, &attached); in max14577_muic_adc_handler()
376 attached ? "attached" : "detached", cable_type, in max14577_muic_adc_handler()
384 ret = max14577_muic_jig_handler(info, cable_type, attached); in max14577_muic_adc_handler()
423 attached ? "attached" : "detached", cable_type); in max14577_muic_adc_handler()
428 attached ? "attached" : "detached", cable_type); in max14577_muic_adc_handler()
438 bool attached; in max14577_muic_chg_handler() local
442 MAX14577_CABLE_GROUP_CHG, &attached); in max14577_muic_chg_handler()
446 attached ? "attached" : "detached", in max14577_muic_chg_handler()
452 ret = max14577_muic_set_path(info, info->path_usb, attached); in max14577_muic_chg_handler()
456 extcon_set_cable_state_(info->edev, EXTCON_USB, attached); in max14577_muic_chg_handler()
460 attached); in max14577_muic_chg_handler()
464 attached); in max14577_muic_chg_handler()
468 attached); in max14577_muic_chg_handler()
472 attached); in max14577_muic_chg_handler()
480 attached ? "attached" : "detached", chg_type); in max14577_muic_chg_handler()
612 bool attached; in max14577_muic_detect_accessory() local
626 &attached); in max14577_muic_detect_accessory()
627 if (attached && adc != MAX14577_MUIC_ADC_OPEN) { in max14577_muic_detect_accessory()
637 &attached); in max14577_muic_detect_accessory()
638 if (attached && chg_type != MAX14577_CHARGER_TYPE_NONE) { in max14577_muic_detect_accessory()