Lines Matching refs:mhi_chan
250 struct mhi_chan *mhi_chan; in mhi_pm_m0_transition() local
291 mhi_chan = mhi_cntrl->mhi_chan; in mhi_pm_m0_transition()
292 for (i = 0; i < mhi_cntrl->max_chan; i++, mhi_chan++) { in mhi_pm_m0_transition()
293 struct mhi_ring *tre_ring = &mhi_chan->tre_ring; in mhi_pm_m0_transition()
295 if (mhi_chan->db_cfg.reset_req) { in mhi_pm_m0_transition()
296 write_lock_irq(&mhi_chan->lock); in mhi_pm_m0_transition()
297 mhi_chan->db_cfg.db_mode = true; in mhi_pm_m0_transition()
298 write_unlock_irq(&mhi_chan->lock); in mhi_pm_m0_transition()
301 read_lock_irq(&mhi_chan->lock); in mhi_pm_m0_transition()
305 mhi_chan->ch_state == MHI_CH_STATE_ENABLED) in mhi_pm_m0_transition()
306 mhi_ring_chan_db(mhi_cntrl, mhi_chan); in mhi_pm_m0_transition()
307 read_unlock_irq(&mhi_chan->lock); in mhi_pm_m0_transition()
810 struct mhi_chan *itr, *tmp; in mhi_pm_suspend()
898 struct mhi_chan *itr, *tmp; in __mhi_pm_resume()