Lines Matching full:attached

188  * max8997_muic_set_path - Set hardware line according to attached cable
190 * @value: the path according to attached cable
191 * @attached: the state of cable (true:attached, false:detached)
195 * attached cable.
198 u8 val, bool attached)
203 if (attached)
215 if (attached)
230 ctrl1, ctrl2, attached ? "attached" : "detached");
238 * @group: the path according to attached cable
239 * @attached: store cable state and return
241 * This function check the cable state either attached or detached,
247 enum max8997_muic_cable_group group, bool *attached)
268 *attached = false;
273 *attached = true;
287 *attached = false;
292 *attached = true;
313 enum max8997_muic_usb_type usb_type, bool attached)
317 ret = max8997_muic_set_path(info, info->path_usb, attached);
325 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached);
328 extcon_set_state_sync(info->edev, EXTCON_USB, attached);
330 attached);
334 attached ? "attached" : "detached");
342 int cable_type, bool attached)
346 ret = max8997_muic_set_path(info, CONTROL1_SW_AUDIO, attached);
355 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached);
359 attached ? "attached" : "detached");
367 bool attached)
372 ret = max8997_muic_set_path(info, info->path_uart, attached);
378 extcon_set_state_sync(info->edev, EXTCON_JIG, attached);
386 bool attached;
389 /* Check cable state which is either detached or attached */
391 MAX8997_CABLE_GROUP_ADC, &attached);
395 ret = max8997_muic_handle_usb(info, MAX8997_USB_HOST, attached);
400 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached);
405 MAX8997_USB_DEVICE, attached);
411 ret = max8997_muic_handle_dock(info, cable_type, attached);
416 ret = max8997_muic_handle_jig_uart(info, attached);
445 * proper operation when this cable is attached/detached.
449 attached ? "attached" : "detached", cable_type);
454 attached ? "attached" : "detached", cable_type);
464 bool attached;
468 MAX8997_CABLE_GROUP_CHG, &attached);
479 MAX8997_USB_DEVICE, attached);
484 attached);
488 attached);
492 attached);
496 attached);
501 attached ? "attached" : "detached", chg_type);
581 bool attached;
595 &attached);
596 if (attached && adc != MAX8997_MUIC_ADC_OPEN) {
606 &attached);
607 if (attached && chg_type != MAX8997_CHARGER_TYPE_NONE) {
639 bool attached;
742 MAX8997_CABLE_GROUP_ADC, &attached);
743 if (attached && cable_type == MAX8997_MUIC_ADC_FACTORY_MODE_UART_OFF)