Searched refs:fifo_state (Results 1 – 6 of 6) sorted by relevance
280 struct vmw_fifo_state *fifo_state = dev_priv->fifo; in vmw_local_fifo_reserve() local285 uint32_t reserveable = fifo_state->capabilities & SVGA_FIFO_CAP_RESERVE; in vmw_local_fifo_reserve()288 mutex_lock(&fifo_state->fifo_mutex); in vmw_local_fifo_reserve()296 BUG_ON(fifo_state->reserved_size != 0); in vmw_local_fifo_reserve()297 BUG_ON(fifo_state->dynamic_buffer != NULL); in vmw_local_fifo_reserve()299 fifo_state->reserved_size = bytes; in vmw_local_fifo_reserve()333 fifo_state->using_bounce_buffer = false; in vmw_local_fifo_reserve()347 fifo_state->using_bounce_buffer = true; in vmw_local_fifo_reserve()348 if (bytes < fifo_state->static_buffer_size) in vmw_local_fifo_reserve()349 return fifo_state->static_buffer; in vmw_local_fifo_reserve()[all …]
415 if (!old_hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_tail()418 commit = old_hvs_state->fifo_state[channel].pending_commit; in vc4_atomic_commit_tail()427 old_hvs_state->fifo_state[channel].pending_commit = NULL; in vc4_atomic_commit_tail()522 if (!hvs_state->fifo_state[channel].in_use) in vc4_atomic_commit_setup()525 hvs_state->fifo_state[channel].pending_commit = in vc4_atomic_commit_setup()762 state->fifo_state[i].in_use = old_state->fifo_state[i].in_use; in vc4_hvs_channels_duplicate_state()763 state->fifo_state[i].fifo_load = old_state->fifo_state[i].fifo_load; in vc4_hvs_channels_duplicate_state()778 if (!hvs_state->fifo_state[i].pending_commit) in vc4_hvs_channels_destroy_state()781 drm_crtc_commit_put(hvs_state->fifo_state[i].pending_commit); in vc4_hvs_channels_destroy_state()798 drm_printf(p, "\t\tin use=%d\n", hvs_state->fifo_state[i].in_use); in vc4_hvs_channels_print_state()[all …]
246 u32 fifo_state; in hisi_i2c_read_rx_fifo() local256 fifo_state = readl(ctlr->iobase + HISI_I2C_FIFO_STATE); in hisi_i2c_read_rx_fifo()257 while (!(fifo_state & HISI_I2C_FIFO_STATE_RX_EMPTY) && in hisi_i2c_read_rx_fifo()260 fifo_state = readl(ctlr->iobase + HISI_I2C_FIFO_STATE); in hisi_i2c_read_rx_fifo()268 if (fifo_state & HISI_I2C_FIFO_STATE_RX_EMPTY) in hisi_i2c_read_rx_fifo()280 u32 cmd, fifo_state; in hisi_i2c_xfer_msg() local290 fifo_state = readl(ctlr->iobase + HISI_I2C_FIFO_STATE); in hisi_i2c_xfer_msg()291 while (!(fifo_state & HISI_I2C_FIFO_STATE_TX_FULL) && in hisi_i2c_xfer_msg()314 fifo_state = readl(ctlr->iobase + HISI_I2C_FIFO_STATE); in hisi_i2c_xfer_msg()323 if ((fifo_state & HISI_I2C_FIFO_STATE_TX_FULL) || in hisi_i2c_xfer_msg()
327 u_char fifo_state; in hfcpci_clear_fifo_rx() local332 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B2RX; in hfcpci_clear_fifo_rx()335 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B1RX; in hfcpci_clear_fifo_rx()337 if (fifo_state) in hfcpci_clear_fifo_rx()338 hc->hw.fifo_en ^= fifo_state; in hfcpci_clear_fifo_rx()346 if (fifo_state) in hfcpci_clear_fifo_rx()347 hc->hw.fifo_en |= fifo_state; in hfcpci_clear_fifo_rx()356 u_char fifo_state; in hfcpci_clear_fifo_tx() local361 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B2TX; in hfcpci_clear_fifo_tx()364 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B1TX; in hfcpci_clear_fifo_tx()[all …]
662 u64 tmp, fifo_state; in nicvf_reclaim_rbdr() local676 fifo_state = nicvf_queue_reg_read(nic, NIC_QSET_RBDR_0_1_STATUS0, qidx); in nicvf_reclaim_rbdr()677 if (((fifo_state >> 62) & 0x03) == 0x3) in nicvf_reclaim_rbdr()
949 struct vlv_fifo_state fifo_state; member