Searched refs:fifo_state (Results 1 – 10 of 10) sorted by relevance
300 struct vmw_fifo_state *fifo_state = &dev_priv->fifo; in vmw_local_fifo_reserve() local305 uint32_t reserveable = fifo_state->capabilities & SVGA_FIFO_CAP_RESERVE; in vmw_local_fifo_reserve()308 mutex_lock(&fifo_state->fifo_mutex); in vmw_local_fifo_reserve()316 BUG_ON(fifo_state->reserved_size != 0); in vmw_local_fifo_reserve()317 BUG_ON(fifo_state->dynamic_buffer != NULL); in vmw_local_fifo_reserve()319 fifo_state->reserved_size = bytes; in vmw_local_fifo_reserve()353 fifo_state->using_bounce_buffer = false; in vmw_local_fifo_reserve()366 fifo_state->using_bounce_buffer = true; in vmw_local_fifo_reserve()367 if (bytes < fifo_state->static_buffer_size) in vmw_local_fifo_reserve()368 return fifo_state->static_buffer; in vmw_local_fifo_reserve()[all …]
118 struct vmw_fifo_state *fifo_state) in vmw_update_seqno() argument125 vmw_marker_pull(&fifo_state->marker_queue, seqno); in vmw_update_seqno()133 struct vmw_fifo_state *fifo_state; in vmw_seqno_passed() local139 fifo_state = &dev_priv->fifo; in vmw_seqno_passed()140 vmw_update_seqno(dev_priv, fifo_state); in vmw_seqno_passed()144 if (!(fifo_state->capabilities & SVGA_FIFO_CAP_FENCE) && in vmw_seqno_passed()166 struct vmw_fifo_state *fifo_state = &dev_priv->fifo; in vmw_fallback_wait() local183 down_read(&fifo_state->rwsem); in vmw_fallback_wait()233 up_read(&fifo_state->rwsem); in vmw_fallback_wait()
1119 struct vmw_fifo_state *fifo_state);
245 port->fifo_state = DMA_FIFO_STATE_WILL_BE_FULL; in dma_get_state()247 port->fifo_state = DMA_FIFO_STATE_FULL; in dma_get_state()249 port->fifo_state = DMA_FIFO_STATE_EMPTY; in dma_get_state()
142 dma_fifo_states_t fifo_state; member
325 u_char fifo_state; in hfcpci_clear_fifo_rx() local330 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B2RX; in hfcpci_clear_fifo_rx()333 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B1RX; in hfcpci_clear_fifo_rx()335 if (fifo_state) in hfcpci_clear_fifo_rx()336 hc->hw.fifo_en ^= fifo_state; in hfcpci_clear_fifo_rx()344 if (fifo_state) in hfcpci_clear_fifo_rx()345 hc->hw.fifo_en |= fifo_state; in hfcpci_clear_fifo_rx()354 u_char fifo_state; in hfcpci_clear_fifo_tx() local359 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B2TX; in hfcpci_clear_fifo_tx()362 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B1TX; in hfcpci_clear_fifo_tx()[all …]
489 struct vlv_fifo_state *fifo_state = &crtc_state->wm.vlv.fifo_state; in vlv_get_fifo_size() local518 fifo_state->plane[PLANE_PRIMARY] = sprite0_start; in vlv_get_fifo_size()519 fifo_state->plane[PLANE_SPRITE0] = sprite1_start - sprite0_start; in vlv_get_fifo_size()520 fifo_state->plane[PLANE_SPRITE1] = 511 - sprite1_start; in vlv_get_fifo_size()521 fifo_state->plane[PLANE_CURSOR] = 63; in vlv_get_fifo_size()1706 struct vlv_fifo_state *fifo_state = &crtc_state->wm.vlv.fifo_state; in vlv_compute_fifo() local1741 fifo_state->plane[plane_id] = 0; in vlv_compute_fifo()1746 fifo_state->plane[plane_id] = fifo_size * rate / total_rate; in vlv_compute_fifo()1747 fifo_left -= fifo_state->plane[plane_id]; in vlv_compute_fifo()1750 fifo_state->plane[PLANE_SPRITE0] += sprite0_fifo_extra; in vlv_compute_fifo()[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()
1107 if (port->fifo_state == DMA_FIFO_STATE_WILL_BE_FULL) in ia_css_debug_dump_dma_state()1109 else if (port->fifo_state == DMA_FIFO_STATE_FULL) in ia_css_debug_dump_dma_state()1111 else if (port->fifo_state == DMA_FIFO_STATE_EMPTY) in ia_css_debug_dump_dma_state()
752 struct vlv_fifo_state fifo_state; member