Lines Matching full:cable

618 	struct ci_hdrc_cable *cable;  in ci_usb_role_switch_set()  local
621 cable = &ci->platdata->id_extcon; in ci_usb_role_switch_set()
622 cable->changed = true; in ci_usb_role_switch_set()
623 cable->connected = true; in ci_usb_role_switch_set()
624 cable = &ci->platdata->vbus_extcon; in ci_usb_role_switch_set()
625 cable->changed = true; in ci_usb_role_switch_set()
626 cable->connected = false; in ci_usb_role_switch_set()
628 cable = &ci->platdata->id_extcon; in ci_usb_role_switch_set()
629 cable->changed = true; in ci_usb_role_switch_set()
630 cable->connected = false; in ci_usb_role_switch_set()
631 cable = &ci->platdata->vbus_extcon; in ci_usb_role_switch_set()
632 cable->changed = true; in ci_usb_role_switch_set()
633 cable->connected = true; in ci_usb_role_switch_set()
635 cable = &ci->platdata->id_extcon; in ci_usb_role_switch_set()
636 cable->changed = true; in ci_usb_role_switch_set()
637 cable->connected = false; in ci_usb_role_switch_set()
638 cable = &ci->platdata->vbus_extcon; in ci_usb_role_switch_set()
639 cable->changed = true; in ci_usb_role_switch_set()
640 cable->connected = false; in ci_usb_role_switch_set()
681 struct ci_hdrc_cable *cable; in ci_get_platdata() local
779 cable = &platdata->vbus_extcon; in ci_get_platdata()
780 cable->nb.notifier_call = ci_cable_notifier; in ci_get_platdata()
781 cable->edev = ext_vbus; in ci_get_platdata()
784 ret = extcon_get_state(cable->edev, EXTCON_USB); in ci_get_platdata()
786 cable->connected = true; in ci_get_platdata()
788 cable->connected = false; in ci_get_platdata()
791 cable = &platdata->id_extcon; in ci_get_platdata()
792 cable->nb.notifier_call = ci_cable_notifier; in ci_get_platdata()
793 cable->edev = ext_id; in ci_get_platdata()
796 ret = extcon_get_state(cable->edev, EXTCON_USB_HOST); in ci_get_platdata()
798 cable->connected = true; in ci_get_platdata()
800 cable->connected = false; in ci_get_platdata()