|
|
@@ -617,7 +617,7 @@ static int s3c_hsotg_write_fifo(struct s3c_hsotg *hsotg,
|
|
|
to_write = DIV_ROUND_UP(to_write, 4);
|
|
|
data = hs_req->req.buf + buf_pos;
|
|
|
|
|
|
- writesl(hsotg->regs + EPFIFO(hs_ep->index), data, to_write);
|
|
|
+ iowrite32_rep(hsotg->regs + EPFIFO(hs_ep->index), data, to_write);
|
|
|
|
|
|
return (to_write >= can_write) ? -ENOSPC : 0;
|
|
|
}
|
|
|
@@ -720,8 +720,8 @@ static void s3c_hsotg_start_req(struct s3c_hsotg *hsotg,
|
|
|
ureq->length, ureq->actual);
|
|
|
if (0)
|
|
|
dev_dbg(hsotg->dev,
|
|
|
- "REQ buf %p len %d dma 0x%08x noi=%d zp=%d snok=%d\n",
|
|
|
- ureq->buf, length, ureq->dma,
|
|
|
+ "REQ buf %p len %d dma 0x%08llx noi=%d zp=%d snok=%d\n",
|
|
|
+ ureq->buf, length, (unsigned long long)ureq->dma,
|
|
|
ureq->no_interrupt, ureq->zero, ureq->short_not_ok);
|
|
|
|
|
|
maxreq = get_ep_limit(hs_ep);
|
|
|
@@ -789,8 +789,8 @@ static void s3c_hsotg_start_req(struct s3c_hsotg *hsotg,
|
|
|
dma_reg = dir_in ? DIEPDMA(index) : DOEPDMA(index);
|
|
|
writel(ureq->dma, hsotg->regs + dma_reg);
|
|
|
|
|
|
- dev_dbg(hsotg->dev, "%s: 0x%08x => 0x%08x\n",
|
|
|
- __func__, ureq->dma, dma_reg);
|
|
|
+ dev_dbg(hsotg->dev, "%s: 0x%08llx => 0x%08x\n",
|
|
|
+ __func__, (unsigned long long)ureq->dma, dma_reg);
|
|
|
}
|
|
|
|
|
|
ctrl |= DxEPCTL_EPEna; /* ensure ep enabled */
|
|
|
@@ -1488,7 +1488,7 @@ static void s3c_hsotg_rx_data(struct s3c_hsotg *hsotg, int ep_idx, int size)
|
|
|
* note, we might over-write the buffer end by 3 bytes depending on
|
|
|
* alignment of the data.
|
|
|
*/
|
|
|
- readsl(fifo, hs_req->req.buf + read_ptr, to_read);
|
|
|
+ ioread32_rep(fifo, hs_req->req.buf + read_ptr, to_read);
|
|
|
}
|
|
|
|
|
|
/**
|