Searched refs:can_write (Results 1 – 2 of 2) sorted by relevance
513 int can_write; in dwc2_hsotg_write_fifo() local552 can_write = hs_ep->fifo_load - size_done; in dwc2_hsotg_write_fifo()554 __func__, can_write); in dwc2_hsotg_write_fifo()556 can_write = hs_ep->fifo_size - can_write; in dwc2_hsotg_write_fifo()558 __func__, can_write); in dwc2_hsotg_write_fifo()560 if (can_write <= 0) { in dwc2_hsotg_write_fifo()565 can_write = dwc2_readl(hsotg, in dwc2_hsotg_write_fifo()568 can_write &= 0xffff; in dwc2_hsotg_write_fifo()569 can_write *= 4; in dwc2_hsotg_write_fifo()580 can_write = GNPTXSTS_NP_TXF_SPC_AVAIL_GET(gnptxsts); in dwc2_hsotg_write_fifo()[all …]
153 u32 can_write; in imx_mu_tx_waiting_write() local159 can_write = status & IMX_MU_xSR_TEn(priv->dcfg->type, idx % 4); in imx_mu_tx_waiting_write()160 } while (!can_write && time_is_after_jiffies64(timeout_time)); in imx_mu_tx_waiting_write()162 if (!can_write) { in imx_mu_tx_waiting_write()