Lines Matching full:attached

186  * max14577_muic_set_path - Set hardware line according to attached cable
188 * @value: the path according to attached cable
189 * @attached: the state of cable (true:attached, false:detached)
193 * attached cable.
196 u8 val, bool attached)
210 if (attached)
223 if (attached)
238 ctrl1, ctrl2, attached ? "attached" : "detached");
246 * @group: the path according to attached cable
247 * @attached: store cable state and return
249 * This function check the cable state either attached or detached,
255 enum max14577_muic_cable_group group, bool *attached)
276 *attached = false;
281 *attached = true;
296 *attached = false;
301 *attached = true;
322 int cable_type, bool attached)
329 attached ? "attached" : "detached", cable_type);
343 attached ? "attached" : "detached");
347 ret = max14577_muic_set_path(info, path, attached);
351 extcon_set_state_sync(info->edev, EXTCON_JIG, attached);
359 bool attached;
362 /* Check accessory state which is either detached or attached */
364 MAX14577_CABLE_GROUP_ADC, &attached);
368 attached ? "attached" : "detached", cable_type,
376 ret = max14577_muic_jig_handler(info, cable_type, attached);
411 * proper operation when this accessory is attached/detached.
415 attached ? "attached" : "detached", cable_type);
420 attached ? "attached" : "detached", cable_type);
430 bool attached;
434 MAX14577_CABLE_GROUP_CHG, &attached);
438 attached ? "attached" : "detached",
444 ret = max14577_muic_set_path(info, info->path_usb, attached);
448 extcon_set_state_sync(info->edev, EXTCON_USB, attached);
450 attached);
454 attached);
458 attached);
462 attached);
466 attached);
474 attached ? "attached" : "detached", chg_type);
608 bool attached;
622 &attached);
623 if (attached && adc != MAX14577_MUIC_ADC_OPEN) {
633 &attached);
634 if (attached && chg_type != MAX14577_CHARGER_TYPE_NONE) {
662 bool attached;
742 &attached);
743 if (attached && cable_type == MAX14577_MUIC_ADC_FACTORY_MODE_UART_OFF)