Home
last modified time | relevance | path

Searched refs:tre_bytes_left (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/bus/mhi/ep/
H A Dmain.c411 if (mhi_chan->tre_bytes_left) { in mhi_ep_read_channel()
412 dev_dbg(dev, "TRE bytes remaining: %u\n", mhi_chan->tre_bytes_left); in mhi_ep_read_channel()
413 tr_len = min(buf_left, mhi_chan->tre_bytes_left); in mhi_ep_read_channel()
417 mhi_chan->tre_bytes_left = mhi_chan->tre_size; in mhi_ep_read_channel()
422 read_offset = mhi_chan->tre_size - mhi_chan->tre_bytes_left; in mhi_ep_read_channel()
436 if (mhi_chan->tre_bytes_left - tr_len) in mhi_ep_read_channel()
447 mhi_chan->tre_bytes_left -= tr_len; in mhi_ep_read_channel()
449 if (!mhi_chan->tre_bytes_left) { in mhi_ep_read_channel()
H A Dinternal.h165 u32 tre_bytes_left; member