Searched refs:pd_ctrl (Results 1 – 1 of 1) sorted by relevance
611 struct ec_response_usb_pd_control_v2 *pd_ctrl) in cros_typec_enable_tbt() argument626 if (pd_ctrl->control_flags & USB_PD_CTRL_TBT_LEGACY_ADAPTER) in cros_typec_enable_tbt()634 data.cable_mode |= TBT_SET_CABLE_SPEED(pd_ctrl->cable_speed); in cros_typec_enable_tbt()636 if (pd_ctrl->control_flags & USB_PD_CTRL_OPTICAL_CABLE) in cros_typec_enable_tbt()639 if (pd_ctrl->control_flags & USB_PD_CTRL_ACTIVE_LINK_UNIDIR) in cros_typec_enable_tbt()642 data.cable_mode |= TBT_SET_CABLE_ROUNDED(pd_ctrl->cable_gen); in cros_typec_enable_tbt()645 data.enter_vdo = TBT_SET_CABLE_SPEED(pd_ctrl->cable_speed); in cros_typec_enable_tbt()647 if (pd_ctrl->control_flags & USB_PD_CTRL_ACTIVE_CABLE) in cros_typec_enable_tbt()666 struct ec_response_usb_pd_control_v2 *pd_ctrl) in cros_typec_enable_dp() argument680 if (!pd_ctrl->dp_mode) { in cros_typec_enable_dp()[all …]