Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/usb/dwc2/
Dgadget.c320 int can_write; in dwc2_hsotg_write_fifo() local
359 can_write = hs_ep->fifo_load - size_done; in dwc2_hsotg_write_fifo()
361 __func__, can_write); in dwc2_hsotg_write_fifo()
363 can_write = hs_ep->fifo_size - can_write; in dwc2_hsotg_write_fifo()
365 __func__, can_write); in dwc2_hsotg_write_fifo()
367 if (can_write <= 0) { in dwc2_hsotg_write_fifo()
372 can_write = dwc2_readl(hsotg->regs + DTXFSTS(hs_ep->index)); in dwc2_hsotg_write_fifo()
374 can_write &= 0xffff; in dwc2_hsotg_write_fifo()
375 can_write *= 4; in dwc2_hsotg_write_fifo()
386 can_write = GNPTXSTS_NP_TXF_SPC_AVAIL_GET(gnptxsts); in dwc2_hsotg_write_fifo()
[all …]