Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/dwc2/
H A Dgadget.c512 int can_write; in dwc2_hsotg_write_fifo() local
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()
594 can_write = 512; in dwc2_hsotg_write_fifo()
613 if (to_write > can_write) { in dwc2_hsotg_write_fifo()
[all …]
/linux-6.15/drivers/mailbox/
H A Dimx-mailbox.c163 u32 can_write; in imx_mu_tx_waiting_write() local
169 can_write = status & IMX_MU_xSR_TEn(priv->dcfg->type, idx % 4); in imx_mu_tx_waiting_write()
170 } while (!can_write && time_is_after_jiffies64(timeout_time)); in imx_mu_tx_waiting_write()
172 if (!can_write) { in imx_mu_tx_waiting_write()