Lines Matching refs:attached

196 		u8 val, bool attached)  in max14577_muic_set_path()  argument
210 if (attached) in max14577_muic_set_path()
223 if (attached) in max14577_muic_set_path()
238 ctrl1, ctrl2, attached ? "attached" : "detached"); in max14577_muic_set_path()
255 enum max14577_muic_cable_group group, bool *attached) in max14577_muic_get_cable_type() argument
276 *attached = false; in max14577_muic_get_cable_type()
281 *attached = true; in max14577_muic_get_cable_type()
296 *attached = false; in max14577_muic_get_cable_type()
301 *attached = true; in max14577_muic_get_cable_type()
322 int cable_type, bool attached) in max14577_muic_jig_handler() argument
329 attached ? "attached" : "detached", cable_type); in max14577_muic_jig_handler()
343 attached ? "attached" : "detached"); in max14577_muic_jig_handler()
347 ret = max14577_muic_set_path(info, path, attached); in max14577_muic_jig_handler()
351 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max14577_muic_jig_handler()
359 bool attached; in max14577_muic_adc_handler() local
364 MAX14577_CABLE_GROUP_ADC, &attached); in max14577_muic_adc_handler()
368 attached ? "attached" : "detached", cable_type, in max14577_muic_adc_handler()
376 ret = max14577_muic_jig_handler(info, cable_type, attached); in max14577_muic_adc_handler()
415 attached ? "attached" : "detached", cable_type); in max14577_muic_adc_handler()
420 attached ? "attached" : "detached", cable_type); in max14577_muic_adc_handler()
430 bool attached; in max14577_muic_chg_handler() local
434 MAX14577_CABLE_GROUP_CHG, &attached); in max14577_muic_chg_handler()
438 attached ? "attached" : "detached", in max14577_muic_chg_handler()
444 ret = max14577_muic_set_path(info, info->path_usb, attached); in max14577_muic_chg_handler()
448 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max14577_muic_chg_handler()
450 attached); in max14577_muic_chg_handler()
454 attached); in max14577_muic_chg_handler()
458 attached); in max14577_muic_chg_handler()
462 attached); in max14577_muic_chg_handler()
466 attached); in max14577_muic_chg_handler()
474 attached ? "attached" : "detached", chg_type); in max14577_muic_chg_handler()
608 bool attached; in max14577_muic_detect_accessory() local
622 &attached); in max14577_muic_detect_accessory()
623 if (attached && adc != MAX14577_MUIC_ADC_OPEN) { in max14577_muic_detect_accessory()
633 &attached); in max14577_muic_detect_accessory()
634 if (attached && chg_type != MAX14577_CHARGER_TYPE_NONE) { in max14577_muic_detect_accessory()
662 bool attached; in max14577_muic_probe() local
742 &attached); in max14577_muic_probe()
743 if (attached && cable_type == MAX14577_MUIC_ADC_FACTORY_MODE_UART_OFF) in max14577_muic_probe()