Lines Matching full:cable

619 	struct ci_hdrc_cable *cable;  in ci_usb_role_switch_set()  local
622 cable = &ci->platdata->id_extcon; in ci_usb_role_switch_set()
623 cable->changed = true; in ci_usb_role_switch_set()
624 cable->connected = true; in ci_usb_role_switch_set()
625 cable = &ci->platdata->vbus_extcon; in ci_usb_role_switch_set()
626 cable->changed = true; in ci_usb_role_switch_set()
627 cable->connected = false; in ci_usb_role_switch_set()
629 cable = &ci->platdata->id_extcon; in ci_usb_role_switch_set()
630 cable->changed = true; in ci_usb_role_switch_set()
631 cable->connected = false; in ci_usb_role_switch_set()
632 cable = &ci->platdata->vbus_extcon; in ci_usb_role_switch_set()
633 cable->changed = true; in ci_usb_role_switch_set()
634 cable->connected = true; in ci_usb_role_switch_set()
636 cable = &ci->platdata->id_extcon; in ci_usb_role_switch_set()
637 cable->changed = true; in ci_usb_role_switch_set()
638 cable->connected = false; in ci_usb_role_switch_set()
639 cable = &ci->platdata->vbus_extcon; in ci_usb_role_switch_set()
640 cable->changed = true; in ci_usb_role_switch_set()
641 cable->connected = false; in ci_usb_role_switch_set()
682 struct ci_hdrc_cable *cable; in ci_get_platdata() local
780 cable = &platdata->vbus_extcon; in ci_get_platdata()
781 cable->nb.notifier_call = ci_cable_notifier; in ci_get_platdata()
782 cable->edev = ext_vbus; in ci_get_platdata()
785 ret = extcon_get_state(cable->edev, EXTCON_USB); in ci_get_platdata()
787 cable->connected = true; in ci_get_platdata()
789 cable->connected = false; in ci_get_platdata()
792 cable = &platdata->id_extcon; in ci_get_platdata()
793 cable->nb.notifier_call = ci_cable_notifier; in ci_get_platdata()
794 cable->edev = ext_id; in ci_get_platdata()
797 ret = extcon_get_state(cable->edev, EXTCON_USB_HOST); in ci_get_platdata()
799 cable->connected = true; in ci_get_platdata()
801 cable->connected = false; in ci_get_platdata()