Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c310 u8 cable_rounded = TBT_CABLE_ROUNDED_SUPPORT(data->cable_mode); in pmc_usb_mux_tbt()
311 u8 cable_speed = TBT_CABLE_SPEED(data->cable_mode); in pmc_usb_mux_tbt()
328 if (data->cable_mode & TBT_CABLE_OPTICAL) in pmc_usb_mux_tbt()
331 if (data->cable_mode & TBT_CABLE_LINK_TRAINING) in pmc_usb_mux_tbt()
337 (data->cable_mode & TBT_CABLE_RETIMER)) in pmc_usb_mux_tbt()
343 if (data->cable_mode & TBT_CABLE_RETIMER) in pmc_usb_mux_tbt()
/openbmc/linux/include/linux/usb/
H A Dtypec_tbt.h22 u32 cable_mode; member
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c455 data.cable_mode = TBT_MODE; in cros_typec_enable_tbt()
457 data.cable_mode |= cros_typec_get_cable_vdo(port, USB_TYPEC_TBT_SID); in cros_typec_enable_tbt()
459 data.cable_mode |= TBT_SET_CABLE_SPEED(pd_ctrl->cable_speed); in cros_typec_enable_tbt()
462 data.cable_mode |= TBT_CABLE_OPTICAL; in cros_typec_enable_tbt()
465 data.cable_mode |= TBT_CABLE_LINK_TRAINING; in cros_typec_enable_tbt()
467 data.cable_mode |= TBT_SET_CABLE_ROUNDED(pd_ctrl->cable_gen); in cros_typec_enable_tbt()
/openbmc/linux/drivers/pcmcia/
H A Di82365.c108 static int cable_mode = -1; variable
118 module_param(cable_mode, int, 0444);
399 flip(p->ema, VG469_MODE_CABLE, cable_mode); in vg46x_set_opts()