Lines Matching refs:max_chan
128 if ((ch_id >= mhi_cntrl->max_chan) || !mhi_cntrl->mhi_chan[ch_id].name) { in mhi_ep_process_cmd_ring()
542 ch_ctx_host_size = sizeof(struct mhi_chan_ctxt) * mhi_cntrl->max_chan; in mhi_ep_cache_host_cfg()
614 ch_ctx_host_size = sizeof(struct mhi_chan_ctxt) * mhi_cntrl->max_chan; in mhi_ep_free_host_cfg()
943 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_abort_transfer()
966 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_abort_transfer()
1060 for (i = 0; i < mhi_cntrl->max_chan; i++) in mhi_ep_power_up()
1111 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_suspend_channels()
1141 for (i = 0; i < mhi_cntrl->max_chan; i++) { in mhi_ep_resume_channels()
1310 mhi_cntrl->max_chan = config->max_channels; in mhi_ep_chan_init()
1316 mhi_cntrl->mhi_chan = kcalloc(mhi_cntrl->max_chan, sizeof(*mhi_cntrl->mhi_chan), in mhi_ep_chan_init()
1327 if (chan >= mhi_cntrl->max_chan) { in mhi_ep_chan_init()
1329 chan, mhi_cntrl->max_chan); in mhi_ep_chan_init()