Lines Matching refs:attached

247  * max77693_muic_set_path - Set hardware line according to attached cable
249 * @value: the path according to attached cable
250 * @attached: the state of cable (true:attached, false:detached)
254 * attached cable.
257 u8 val, bool attached)
262 if (attached)
274 if (attached)
290 ctrl1, ctrl2, attached ? "attached" : "detached");
298 * @group: the path according to attached cable
299 * @attached: store cable state and return
301 * This function check the cable state either attached or detached,
309 enum max77693_muic_cable_group group, bool *attached)
333 *attached = false;
338 *attached = true;
357 *attached = false;
362 *attached = true;
399 *attached = false;
404 *attached = true;
427 *attached = false;
429 *attached = true;
450 int cable_type, bool attached)
459 attached ? "attached" : "detached", cable_type);
464 * Check power cable whether attached or detached state.
471 if (attached && !vbvolt) {
496 ret = max77693_muic_set_path(info, info->path_usb, attached);
500 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached);
501 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached);
508 if (!attached) {
516 attached ? "attached" : "detached");
522 attached);
525 extcon_set_state_sync(info->edev, dock_id, attached);
532 int button_type, bool attached)
564 attached ? "pressed" : "released", button_type);
568 input_event(dock, EV_KEY, code, attached);
578 bool attached;
581 MAX77693_CABLE_GROUP_ADC_GND, &attached);
588 attached);
591 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached);
596 attached);
599 extcon_set_state_sync(info->edev, EXTCON_USB, attached);
601 attached);
606 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached);
610 attached ? "attached" : "detached");
618 int cable_type, bool attached)
625 attached ? "attached" : "detached", cable_type);
640 attached ? "attached" : "detached");
644 ret = max77693_muic_set_path(info, path, attached);
648 extcon_set_state_sync(info->edev, EXTCON_JIG, attached);
657 bool attached;
660 /* Check accessory state which is either detached or attached */
662 MAX77693_CABLE_GROUP_ADC, &attached);
666 attached ? "attached" : "detached", cable_type,
679 ret = max77693_muic_jig_handler(info, cable_type, attached);
695 ret = max77693_muic_dock_handler(info, cable_type, attached);
714 if (attached)
720 attached);
745 * proper operation when this accessory is attached/detached.
749 attached ? "attached" : "detached", cable_type);
754 attached ? "attached" : "detached", cable_type);
766 bool attached;
771 MAX77693_CABLE_GROUP_CHG, &attached);
775 attached ? "attached" : "detached",
803 attached);
829 attached);
831 attached);
859 attached);
864 attached);
866 attached);
875 * cable is attached, muic device happen below two irq.
895 attached);
900 attached);
902 attached);
907 attached);
913 attached);
917 attached);
921 attached);
928 attached ? "attached" : "detached", chg_type);
1019 bool attached;
1033 &attached);
1034 if (attached && adc != MAX77693_MUIC_ADC_OPEN) {
1044 &attached);
1045 if (attached && chg_type != MAX77693_CHARGER_TYPE_NONE) {
1076 bool attached;
1225 MAX77693_CABLE_GROUP_ADC, &attached);
1226 if (attached && (cable_type == MAX77693_MUIC_ADC_FACTORY_MODE_UART_ON ||