Lines Matching refs:attached
185 * max14577_muic_set_path - Set hardware line according to attached cable
187 * @value: the path according to attached cable
188 * @attached: the state of cable (true:attached, false:detached)
192 * attached cable.
195 u8 val, bool attached)
209 if (attached)
222 if (attached)
237 ctrl1, ctrl2, attached ? "attached" : "detached");
245 * @group: the path according to attached cable
246 * @attached: store cable state and return
248 * This function check the cable state either attached or detached,
254 enum max14577_muic_cable_group group, bool *attached)
275 *attached = false;
280 *attached = true;
295 *attached = false;
300 *attached = true;
321 int cable_type, bool attached)
328 attached ? "attached" : "detached", cable_type);
342 attached ? "attached" : "detached");
346 ret = max14577_muic_set_path(info, path, attached);
350 extcon_set_state_sync(info->edev, EXTCON_JIG, attached);
358 bool attached;
361 /* Check accessory state which is either detached or attached */
363 MAX14577_CABLE_GROUP_ADC, &attached);
367 attached ? "attached" : "detached", cable_type,
375 ret = max14577_muic_jig_handler(info, cable_type, attached);
410 * proper operation when this accessory is attached/detached.
414 attached ? "attached" : "detached", cable_type);
419 attached ? "attached" : "detached", cable_type);
429 bool attached;
433 MAX14577_CABLE_GROUP_CHG, &attached);
437 attached ? "attached" : "detached",
443 ret = max14577_muic_set_path(info, info->path_usb, attached);
447 extcon_set_state_sync(info->edev, EXTCON_USB, attached);
449 attached);
453 attached);
457 attached);
461 attached);
465 attached);
473 attached ? "attached" : "detached", chg_type);
607 bool attached;
621 &attached);
622 if (attached && adc != MAX14577_MUIC_ADC_OPEN) {
632 &attached);
633 if (attached && chg_type != MAX14577_CHARGER_TYPE_NONE) {
661 bool attached;
738 &attached);
739 if (attached && cable_type == MAX14577_MUIC_ADC_FACTORY_MODE_UART_OFF)