Searched refs:cable_mode (Results 1 – 4 of 4) sorted by relevance
23 u32 cable_mode; member
630 data.cable_mode = TBT_MODE; in cros_typec_enable_tbt()632 data.cable_mode |= cros_typec_get_cable_vdo(port, USB_TYPEC_TBT_SID); in cros_typec_enable_tbt()634 data.cable_mode |= TBT_SET_CABLE_SPEED(pd_ctrl->cable_speed); in cros_typec_enable_tbt()637 data.cable_mode |= TBT_CABLE_OPTICAL; in cros_typec_enable_tbt()640 data.cable_mode |= TBT_CABLE_LINK_TRAINING; in cros_typec_enable_tbt()642 data.cable_mode |= TBT_SET_CABLE_ROUNDED(pd_ctrl->cable_gen); in cros_typec_enable_tbt()
732 tbt_data.cable_mode = TBT_MODE | in cd321x_typec_update_mode()736 tbt_data.cable_mode |= TBT_CABLE_OPTICAL; in cd321x_typec_update_mode()738 tbt_data.cable_mode |= TBT_CABLE_LINK_TRAINING; in cd321x_typec_update_mode()740 tbt_data.cable_mode |= TBT_CABLE_ACTIVE_PASSIVE; in cd321x_typec_update_mode()
226 if (tb_data->cable_mode & TBT_CABLE_ACTIVE_PASSIVE) in ps883x_set()