Searched refs:chan_ctxt (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/bus/mhi/host/ |
H A D | debugfs.c | 85 struct mhi_chan_ctxt *chan_ctxt; in mhi_debugfs_channels_show() local 94 chan_ctxt = mhi_cntrl->mhi_ctxt->chan_ctxt; in mhi_debugfs_channels_show() 95 for (i = 0; i < mhi_cntrl->max_chan; i++, chan_ctxt++, mhi_chan++) { in mhi_debugfs_channels_show() 109 mhi_chan->name, mhi_chan->chan, (le32_to_cpu(chan_ctxt->chcfg) & in mhi_debugfs_channels_show() 111 (le32_to_cpu(chan_ctxt->chcfg) & CHAN_CTX_BRSTMODE_MASK) >> in mhi_debugfs_channels_show() 112 __ffs(CHAN_CTX_BRSTMODE_MASK), (le32_to_cpu(chan_ctxt->chcfg) & in mhi_debugfs_channels_show() 115 seq_printf(m, " type: 0x%x event ring: %u", le32_to_cpu(chan_ctxt->chtype), in mhi_debugfs_channels_show() 116 le32_to_cpu(chan_ctxt->erindex)); in mhi_debugfs_channels_show() 119 le64_to_cpu(chan_ctxt->rbase), le64_to_cpu(chan_ctxt->rlen), in mhi_debugfs_channels_show() 120 le64_to_cpu(chan_ctxt->rp), le64_to_cpu(chan_ctxt->wp)); in mhi_debugfs_channels_show()
|
H A D | init.c | 275 struct mhi_chan_ctxt *chan_ctxt; in mhi_init_dev_ctxt() local 297 if (!mhi_ctxt->chan_ctxt) in mhi_init_dev_ctxt() 301 chan_ctxt = mhi_ctxt->chan_ctxt; in mhi_init_dev_ctxt() 587 struct mhi_chan_ctxt *chan_ctxt; in mhi_deinit_chan_ctxt() local 592 chan_ctxt = &mhi_cntrl->mhi_ctxt->chan_ctxt[mhi_chan->chan]; in mhi_deinit_chan_ctxt() 603 chan_ctxt->rbase = 0; in mhi_deinit_chan_ctxt() 604 chan_ctxt->rlen = 0; in mhi_deinit_chan_ctxt() 605 chan_ctxt->rp = 0; in mhi_deinit_chan_ctxt() 606 chan_ctxt->wp = 0; in mhi_deinit_chan_ctxt() 630 chan_ctxt = &mhi_cntrl->mhi_ctxt->chan_ctxt[mhi_chan->chan]; in mhi_init_chan_ctxt() [all …]
|
H A D | internal.h | 26 struct mhi_chan_ctxt *chan_ctxt; member
|