Home
last modified time | relevance | path

Searched refs:pd_ctrl (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/drivers/platform/chrome/
Dcros_ec_typec.c413 struct ec_response_usb_pd_control_v2 *pd_ctrl) in cros_typec_enable_tbt() argument
428 if (pd_ctrl->control_flags & USB_PD_CTRL_TBT_LEGACY_ADAPTER) in cros_typec_enable_tbt()
433 data.cable_mode |= TBT_SET_CABLE_SPEED(pd_ctrl->cable_speed); in cros_typec_enable_tbt()
435 if (pd_ctrl->control_flags & USB_PD_CTRL_OPTICAL_CABLE) in cros_typec_enable_tbt()
438 if (pd_ctrl->control_flags & USB_PD_CTRL_ACTIVE_LINK_UNIDIR) in cros_typec_enable_tbt()
441 if (pd_ctrl->cable_gen) in cros_typec_enable_tbt()
445 data.enter_vdo = TBT_SET_CABLE_SPEED(pd_ctrl->cable_speed); in cros_typec_enable_tbt()
447 if (pd_ctrl->control_flags & USB_PD_CTRL_ACTIVE_CABLE) in cros_typec_enable_tbt()
466 struct ec_response_usb_pd_control_v2 *pd_ctrl) in cros_typec_enable_dp() argument
486 dp_data.conf = DP_CONF_SET_PIN_ASSIGN(pd_ctrl->dp_mode); in cros_typec_enable_dp()
[all …]