Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/gadget/
Ds3c-hsotg.c466 int can_write; in s3c_hsotg_write_fifo() local
501 can_write = hs_ep->fifo_load - size_done; in s3c_hsotg_write_fifo()
503 __func__, can_write); in s3c_hsotg_write_fifo()
505 can_write = hs_ep->fifo_size - can_write; in s3c_hsotg_write_fifo()
507 __func__, can_write); in s3c_hsotg_write_fifo()
509 if (can_write <= 0) { in s3c_hsotg_write_fifo()
514 can_write = readl(hsotg->regs + S3C_DTXFSTS(hs_ep->index)); in s3c_hsotg_write_fifo()
516 can_write &= 0xffff; in s3c_hsotg_write_fifo()
517 can_write *= 4; in s3c_hsotg_write_fifo()
528 can_write = S3C_GNPTXSTS_NPTxFSpcAvail_GET(gnptxsts); in s3c_hsotg_write_fifo()
[all …]