Lines Matching refs:cable

611 	struct ci_hdrc_cable *cable;  in ci_usb_role_switch_set()  local
614 cable = &ci->platdata->id_extcon; in ci_usb_role_switch_set()
615 cable->changed = true; in ci_usb_role_switch_set()
616 cable->connected = true; in ci_usb_role_switch_set()
617 cable = &ci->platdata->vbus_extcon; in ci_usb_role_switch_set()
618 cable->changed = true; in ci_usb_role_switch_set()
619 cable->connected = false; in ci_usb_role_switch_set()
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 = false; 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 = true; 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 = false; in ci_usb_role_switch_set()
674 struct ci_hdrc_cable *cable; in ci_get_platdata() local
772 cable = &platdata->vbus_extcon; in ci_get_platdata()
773 cable->nb.notifier_call = ci_cable_notifier; in ci_get_platdata()
774 cable->edev = ext_vbus; in ci_get_platdata()
777 ret = extcon_get_state(cable->edev, EXTCON_USB); in ci_get_platdata()
779 cable->connected = true; in ci_get_platdata()
781 cable->connected = false; in ci_get_platdata()
784 cable = &platdata->id_extcon; in ci_get_platdata()
785 cable->nb.notifier_call = ci_cable_notifier; in ci_get_platdata()
786 cable->edev = ext_id; in ci_get_platdata()
789 ret = extcon_get_state(cable->edev, EXTCON_USB_HOST); in ci_get_platdata()
791 cable->connected = true; in ci_get_platdata()
793 cable->connected = false; in ci_get_platdata()