Lines Matching refs:CHAN_CTX_CHSTATE_MASK
152 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_process_cmd_ring()
153 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_RUNNING); in mhi_ep_process_cmd_ring()
206 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_process_cmd_ring()
207 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_STOP); in mhi_ep_process_cmd_ring()
238 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_process_cmd_ring()
239 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_DISABLED); in mhi_ep_process_cmd_ring()
1115 if (FIELD_GET(CHAN_CTX_CHSTATE_MASK, tmp) != MHI_CH_STATE_RUNNING) { in mhi_ep_suspend_channels()
1122 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_suspend_channels()
1123 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_SUSPENDED); in mhi_ep_suspend_channels()
1144 if (FIELD_GET(CHAN_CTX_CHSTATE_MASK, tmp) != MHI_CH_STATE_SUSPENDED) { in mhi_ep_resume_channels()
1151 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_resume_channels()
1152 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_RUNNING); in mhi_ep_resume_channels()