Searched refs:TYPEC_MODAL_STATE (Results 1 – 4 of 4) sorted by relevance
76 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);
116 #define TYPEC_MODAL_STATE(_state_) ((_state_) + TYPEC_STATE_MODAL) macro
78 conf = TYPEC_MODAL_STATE(state); in dp_altmode_notify()
557 port->state.mode = TYPEC_MODAL_STATE(ffs(pd_ctrl->dp_mode)); in cros_typec_enable_dp()