Searched refs:TYPEC_MODAL_STATE (Results 1 – 5 of 5) 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);
146 #define TYPEC_MODAL_STATE(_state_) ((_state_) + TYPEC_STATE_MODAL) macro
159 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()
84 conf = TYPEC_MODAL_STATE(state); in dp_altmode_notify()
546 port->state.mode = TYPEC_MODAL_STATE(ffs(pd_ctrl->dp_mode)); in cros_typec_enable_dp()