Home
last modified time | relevance | path

Searched refs:fifo_state (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fifo.c300 struct vmw_fifo_state *fifo_state = &dev_priv->fifo; in vmw_local_fifo_reserve() local
305 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 …]
Dvmwgfx_irq.c118 struct vmw_fifo_state *fifo_state) in vmw_update_seqno() argument
125 vmw_marker_pull(&fifo_state->marker_queue, seqno); in vmw_update_seqno()
133 struct vmw_fifo_state *fifo_state; in vmw_seqno_passed() local
139 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() local
183 down_read(&fifo_state->rwsem); in vmw_fallback_wait()
233 up_read(&fifo_state->rwsem); in vmw_fallback_wait()
Dvmwgfx_drv.h1119 struct vmw_fifo_state *fifo_state);
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Ddma.c245 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()
Ddma_local.h142 dma_fifo_states_t fifo_state; member
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
Dhfcpci.c325 u_char fifo_state; in hfcpci_clear_fifo_rx() local
330 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() local
359 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_pm.c489 struct vlv_fifo_state *fifo_state = &crtc_state->wm.vlv.fifo_state; in vlv_get_fifo_size() local
518 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() local
1741 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_queues.c662 u64 tmp, fifo_state; in nicvf_reclaim_rbdr() local
676 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()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/debug/src/
Dia_css_debug.c1107 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_display_types.h752 struct vlv_fifo_state fifo_state; member