Home
last modified time | relevance | path

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

/linux/Documentation/driver-api/usb/
H A Dtypec_bus.rst76 Helper macro ``TYPEC_MODAL_STATE()`` can also be used::
78 #define ALTMODEX_CONF_A = TYPEC_MODAL_STATE(0);
79 #define ALTMODEX_CONF_B = TYPEC_MODAL_STATE(1);
/linux/include/linux/usb/
H A Dtypec_altmode.h146 #define TYPEC_MODAL_STATE(_state_) ((_state_) + TYPEC_STATE_MODAL) macro
/linux/drivers/soc/qcom/
H A Dpmic_glink_altmode.c159 port->state.mode = TYPEC_MODAL_STATE(mode); in pmic_glink_altmode_enable_dp()
167 port->retimer_state.mode = TYPEC_MODAL_STATE(mode); in pmic_glink_altmode_enable_dp()
/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c84 conf = TYPEC_MODAL_STATE(state); in dp_altmode_notify()
/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c546 port->state.mode = TYPEC_MODAL_STATE(ffs(pd_ctrl->dp_mode)); in cros_typec_enable_dp()