Loading drivers/platform/msm/mhi_dev/mhi.c +3 −2 Original line number Diff line number Diff line Loading @@ -1417,7 +1417,7 @@ static void mhi_dev_transfer_completion_cb(void *mreq) ch = client->channel; mhi = ch->ring->mhi_dev; el = req->el; transfer_len = req->len; transfer_len = req->transfer_len; snd_cmpl = req->snd_cmpl; rd_offset = req->rd_offset; ch->curr_ereq->context = ch; Loading Loading @@ -2125,7 +2125,7 @@ int mhi_dev_read_channel(struct mhi_req *mreq) (mreq->len - usr_buf_remaining); ch->tre_bytes_left -= bytes_to_read; mreq->el = el; mreq->actual_len = bytes_read; mreq->transfer_len = bytes_to_read; mreq->rd_offset = ring->rd_offset; mhi_log(MHI_MSG_VERBOSE, "reading %d bytes from chan %d\n", bytes_to_read, mreq->chan); Loading Loading @@ -2289,6 +2289,7 @@ int mhi_dev_write_channel(struct mhi_req *wreq) write_to_loc = el->tre.data_buf_ptr; wreq->rd_offset = ring->rd_offset; wreq->el = el; wreq->transfer_len = bytes_to_write; rc = mhi_transfer_device_to_host(write_to_loc, (void *) read_from_loc, bytes_to_write, Loading drivers/platform/msm/mhi_dev/mhi_dev_net.c +2 −2 Original line number Diff line number Diff line Loading @@ -244,10 +244,10 @@ static void mhi_dev_net_read_completion_cb(void *req) struct sk_buff *skb = mreq->context; unsigned long flags; skb->len = mreq->actual_len; skb->len = mreq->transfer_len; skb->protocol = mhi_dev_net_eth_type_trans(skb); skb_put(skb, mreq->actual_len); skb_put(skb, mreq->transfer_len); net_handle->dev->stats.rx_packets++; skb->dev = net_handle->dev; netif_rx(skb); Loading drivers/platform/msm/mhi_dev/mhi_uci.c +2 −2 Original line number Diff line number Diff line Loading @@ -582,7 +582,7 @@ static int mhi_uci_read_async(struct uci_client *uci_handle, "wk up Read completed on ch %d\n", ureq->chan); uci_handle->pkt_loc = (void *)ureq->buf; uci_handle->pkt_size = ureq->actual_len; uci_handle->pkt_size = ureq->transfer_len; uci_log(UCI_DBG_VERBOSE, "Got pkt of sz 0x%x at adr %pK, ch %d\n", Loading Loading @@ -615,7 +615,7 @@ static int mhi_uci_read_sync(struct uci_client *uci_handle, if (*bytes_avail > 0) { uci_handle->pkt_loc = (void *)ureq->buf; uci_handle->pkt_size = ureq->actual_len; uci_handle->pkt_size = ureq->transfer_len; uci_log(UCI_DBG_VERBOSE, "Got pkt of sz 0x%x at adr %pK, ch %d\n", Loading include/linux/msm_mhi_dev.h +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ struct mhi_req { u32 snd_cmpl; void *context; size_t len; size_t actual_len; size_t transfer_len; uint32_t rd_offset; struct mhi_dev_client *client; struct list_head list; Loading Loading
drivers/platform/msm/mhi_dev/mhi.c +3 −2 Original line number Diff line number Diff line Loading @@ -1417,7 +1417,7 @@ static void mhi_dev_transfer_completion_cb(void *mreq) ch = client->channel; mhi = ch->ring->mhi_dev; el = req->el; transfer_len = req->len; transfer_len = req->transfer_len; snd_cmpl = req->snd_cmpl; rd_offset = req->rd_offset; ch->curr_ereq->context = ch; Loading Loading @@ -2125,7 +2125,7 @@ int mhi_dev_read_channel(struct mhi_req *mreq) (mreq->len - usr_buf_remaining); ch->tre_bytes_left -= bytes_to_read; mreq->el = el; mreq->actual_len = bytes_read; mreq->transfer_len = bytes_to_read; mreq->rd_offset = ring->rd_offset; mhi_log(MHI_MSG_VERBOSE, "reading %d bytes from chan %d\n", bytes_to_read, mreq->chan); Loading Loading @@ -2289,6 +2289,7 @@ int mhi_dev_write_channel(struct mhi_req *wreq) write_to_loc = el->tre.data_buf_ptr; wreq->rd_offset = ring->rd_offset; wreq->el = el; wreq->transfer_len = bytes_to_write; rc = mhi_transfer_device_to_host(write_to_loc, (void *) read_from_loc, bytes_to_write, Loading
drivers/platform/msm/mhi_dev/mhi_dev_net.c +2 −2 Original line number Diff line number Diff line Loading @@ -244,10 +244,10 @@ static void mhi_dev_net_read_completion_cb(void *req) struct sk_buff *skb = mreq->context; unsigned long flags; skb->len = mreq->actual_len; skb->len = mreq->transfer_len; skb->protocol = mhi_dev_net_eth_type_trans(skb); skb_put(skb, mreq->actual_len); skb_put(skb, mreq->transfer_len); net_handle->dev->stats.rx_packets++; skb->dev = net_handle->dev; netif_rx(skb); Loading
drivers/platform/msm/mhi_dev/mhi_uci.c +2 −2 Original line number Diff line number Diff line Loading @@ -582,7 +582,7 @@ static int mhi_uci_read_async(struct uci_client *uci_handle, "wk up Read completed on ch %d\n", ureq->chan); uci_handle->pkt_loc = (void *)ureq->buf; uci_handle->pkt_size = ureq->actual_len; uci_handle->pkt_size = ureq->transfer_len; uci_log(UCI_DBG_VERBOSE, "Got pkt of sz 0x%x at adr %pK, ch %d\n", Loading Loading @@ -615,7 +615,7 @@ static int mhi_uci_read_sync(struct uci_client *uci_handle, if (*bytes_avail > 0) { uci_handle->pkt_loc = (void *)ureq->buf; uci_handle->pkt_size = ureq->actual_len; uci_handle->pkt_size = ureq->transfer_len; uci_log(UCI_DBG_VERBOSE, "Got pkt of sz 0x%x at adr %pK, ch %d\n", Loading
include/linux/msm_mhi_dev.h +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ struct mhi_req { u32 snd_cmpl; void *context; size_t len; size_t actual_len; size_t transfer_len; uint32_t rd_offset; struct mhi_dev_client *client; struct list_head list; Loading