Searched refs:can_write (Results 1 – 2 of 2) sorted by relevance
512 int can_write; in dwc2_hsotg_write_fifo() local551 can_write = hs_ep->fifo_load - size_done; in dwc2_hsotg_write_fifo()553 __func__, can_write); in dwc2_hsotg_write_fifo()555 can_write = hs_ep->fifo_size - can_write; in dwc2_hsotg_write_fifo()557 __func__, can_write); in dwc2_hsotg_write_fifo()559 if (can_write <= 0) { in dwc2_hsotg_write_fifo()564 can_write = dwc2_readl(hsotg, in dwc2_hsotg_write_fifo()567 can_write &= 0xffff; in dwc2_hsotg_write_fifo()568 can_write *= 4; in dwc2_hsotg_write_fifo()579 can_write = GNPTXSTS_NP_TXF_SPC_AVAIL_GET(gnptxsts); in dwc2_hsotg_write_fifo()[all …]
154 u32 can_write; in imx_mu_tx_waiting_write() local160 can_write = status & IMX_MU_xSR_TEn(priv->dcfg->type, idx % 4); in imx_mu_tx_waiting_write()161 } while (!can_write && time_is_after_jiffies64(timeout_time)); in imx_mu_tx_waiting_write()163 if (!can_write) { in imx_mu_tx_waiting_write()