Searched refs:can_write (Results 1 – 5 of 5) sorted by relevance
84 int can_write; member200 s->can_write = 1; in aux_timer()1028 retval = s->can_write ? 0 : 0x80; in dsp_read()1349 VMSTATE_INT32 (can_write, SB16State),1440 s->can_write = 1; in sb16_realizefn()
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 …]
26 int can_write = qemu_chr_be_can_write(chr); in vmc_write() local27 last_out = MIN(len, can_write); in vmc_write()
103 static inline bool can_write(BlockDriverState *bs) in can_write() function1031 if (needs_update && can_write(bs)) { in qcow2_load_dirty_bitmaps()1043 if (!can_write(bs)) { in qcow2_load_dirty_bitmaps()1206 if (!can_write(bs->file->bs) || !(bs->file->perm & BLK_PERM_WRITE)) { in qcow2_reopen_bitmaps_rw()1626 if (!can_write(bs)) { in qcow2_store_persistent_dirty_bitmaps()
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()