Searched refs:CHAN_CTX_CHSTATE_MASK (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/bus/mhi/ep/ |
H A D | main.c | 193 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_process_cmd_ring() 194 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_RUNNING); in mhi_ep_process_cmd_ring() 249 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_process_cmd_ring() 250 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_STOP); in mhi_ep_process_cmd_ring() 283 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_process_cmd_ring() 284 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_DISABLED); in mhi_ep_process_cmd_ring() 1203 if (FIELD_GET(CHAN_CTX_CHSTATE_MASK, tmp) != MHI_CH_STATE_RUNNING) { in mhi_ep_suspend_channels() 1211 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_ep_suspend_channels() 1212 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_SUSPENDED); in mhi_ep_suspend_channels() 1233 if (FIELD_GET(CHAN_CTX_CHSTATE_MASK, tmp) != MHI_CH_STATE_SUSPENDED) { in mhi_ep_resume_channels() [all …]
|
/openbmc/linux/drivers/bus/mhi/host/ |
H A D | init.c | 308 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_init_dev_ctxt() 309 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_DISABLED); in mhi_init_dev_ctxt() 609 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_deinit_chan_ctxt() 610 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_DISABLED); in mhi_deinit_chan_ctxt() 646 tmp &= ~CHAN_CTX_CHSTATE_MASK; in mhi_init_chan_ctxt() 647 tmp |= FIELD_PREP(CHAN_CTX_CHSTATE_MASK, MHI_CH_STATE_ENABLED); in mhi_init_chan_ctxt()
|
H A D | debugfs.c | 110 CHAN_CTX_CHSTATE_MASK) >> __ffs(CHAN_CTX_CHSTATE_MASK), in mhi_debugfs_channels_show()
|
/openbmc/linux/drivers/bus/mhi/ |
H A D | common.h | 269 #define CHAN_CTX_CHSTATE_MASK GENMASK(7, 0) macro
|