Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fifo.c317 struct vmw_fifo_state *fifo_state = &dev_priv->fifo; in vmw_fifo_reserve() local
322 uint32_t reserveable = fifo_state->capabilities & SVGA_FIFO_CAP_RESERVE; in vmw_fifo_reserve()
325 mutex_lock(&fifo_state->fifo_mutex); in vmw_fifo_reserve()
333 BUG_ON(fifo_state->reserved_size != 0); in vmw_fifo_reserve()
334 BUG_ON(fifo_state->dynamic_buffer != NULL); in vmw_fifo_reserve()
336 fifo_state->reserved_size = bytes; in vmw_fifo_reserve()
370 fifo_state->using_bounce_buffer = false; in vmw_fifo_reserve()
382 fifo_state->using_bounce_buffer = true; in vmw_fifo_reserve()
383 if (bytes < fifo_state->static_buffer_size) in vmw_fifo_reserve()
384 return fifo_state->static_buffer; in vmw_fifo_reserve()
[all …]
Dvmwgfx_irq.c70 struct vmw_fifo_state *fifo_state) in vmw_update_seqno() argument
77 vmw_marker_pull(&fifo_state->marker_queue, seqno); in vmw_update_seqno()
85 struct vmw_fifo_state *fifo_state; in vmw_seqno_passed() local
91 fifo_state = &dev_priv->fifo; in vmw_seqno_passed()
92 vmw_update_seqno(dev_priv, fifo_state); in vmw_seqno_passed()
96 if (!(fifo_state->capabilities & SVGA_FIFO_CAP_FENCE) && in vmw_seqno_passed()
118 struct vmw_fifo_state *fifo_state = &dev_priv->fifo; in vmw_fallback_wait() local
135 down_read(&fifo_state->rwsem); in vmw_fallback_wait()
175 up_read(&fifo_state->rwsem); in vmw_fallback_wait()
Dvmwgfx_drv.h850 struct vmw_fifo_state *fifo_state);
/drivers/isdn/hisax/
Dhfc_pci.c217 { u_char fifo_state; in hfcpci_clear_fifo_rx() local
222 fifo_state = cs->hw.hfcpci.fifo_en & HFCPCI_FIFOEN_B2RX; in hfcpci_clear_fifo_rx()
225 fifo_state = cs->hw.hfcpci.fifo_en & HFCPCI_FIFOEN_B1RX; in hfcpci_clear_fifo_rx()
227 if (fifo_state) in hfcpci_clear_fifo_rx()
228 cs->hw.hfcpci.fifo_en ^= fifo_state; in hfcpci_clear_fifo_rx()
235 if (fifo_state) in hfcpci_clear_fifo_rx()
236 cs->hw.hfcpci.fifo_en |= fifo_state; in hfcpci_clear_fifo_rx()
244 { u_char fifo_state; in hfcpci_clear_fifo_tx() local
249 fifo_state = cs->hw.hfcpci.fifo_en & HFCPCI_FIFOEN_B2TX; in hfcpci_clear_fifo_tx()
252 fifo_state = cs->hw.hfcpci.fifo_en & HFCPCI_FIFOEN_B1TX; in hfcpci_clear_fifo_tx()
[all …]
/drivers/isdn/hardware/mISDN/
Dhfcpci.c337 u_char fifo_state; in hfcpci_clear_fifo_rx() local
342 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B2RX; in hfcpci_clear_fifo_rx()
345 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B1RX; in hfcpci_clear_fifo_rx()
347 if (fifo_state) in hfcpci_clear_fifo_rx()
348 hc->hw.fifo_en ^= fifo_state; in hfcpci_clear_fifo_rx()
356 if (fifo_state) in hfcpci_clear_fifo_rx()
357 hc->hw.fifo_en |= fifo_state; in hfcpci_clear_fifo_rx()
366 u_char fifo_state; in hfcpci_clear_fifo_tx() local
371 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B2TX; in hfcpci_clear_fifo_tx()
374 fifo_state = hc->hw.fifo_en & HFCPCI_FIFOEN_B1TX; in hfcpci_clear_fifo_tx()
[all …]