Lines Matching refs:CHAN_CTX_CHSTATE_MASK
209 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_process_cmd_ring()
210 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_RUNNING); in mhi_ep_process_cmd_ring()
265 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_process_cmd_ring()
266 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_STOP); in mhi_ep_process_cmd_ring()
299 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_process_cmd_ring()
300 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_DISABLED); in mhi_ep_process_cmd_ring()
1220 if (FIELD_GET(CHAN_CTX_CHSTATE_MASK, tmp) != MHI_CH_STATE_RUNNING) { in mhi_ep_suspend_channels()
1228 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_suspend_channels()
1229 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_SUSPENDED); in mhi_ep_suspend_channels()
1250 if (FIELD_GET(CHAN_CTX_CHSTATE_MASK, tmp) != MHI_CH_STATE_SUSPENDED) { in mhi_ep_resume_channels()
1258 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_resume_channels()
1259 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_RUNNING); in mhi_ep_resume_channels()