Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/dwc2/
Dgadget.c326 int can_write; in s3c_hsotg_write_fifo() local
365 can_write = hs_ep->fifo_load - size_done; in s3c_hsotg_write_fifo()
367 __func__, can_write); in s3c_hsotg_write_fifo()
369 can_write = hs_ep->fifo_size - can_write; in s3c_hsotg_write_fifo()
371 __func__, can_write); in s3c_hsotg_write_fifo()
373 if (can_write <= 0) { in s3c_hsotg_write_fifo()
378 can_write = readl(hsotg->regs + DTXFSTS(hs_ep->index)); in s3c_hsotg_write_fifo()
380 can_write &= 0xffff; in s3c_hsotg_write_fifo()
381 can_write *= 4; in s3c_hsotg_write_fifo()
392 can_write = GNPTXSTS_NP_TXF_SPC_AVAIL_GET(gnptxsts); in s3c_hsotg_write_fifo()
[all …]