Searched refs:fifo_state (Results 1 – 5 of 5) sorted by relevance
300 struct vmw_fifo_state *fifo_state = &dev_priv->fifo; in vmw_fifo_reserve() local305 uint32_t reserveable = fifo_state->capabilities & SVGA_FIFO_CAP_RESERVE; in vmw_fifo_reserve()308 mutex_lock(&fifo_state->fifo_mutex); in vmw_fifo_reserve()316 BUG_ON(fifo_state->reserved_size != 0); in vmw_fifo_reserve()317 BUG_ON(fifo_state->dynamic_buffer != NULL); in vmw_fifo_reserve()319 fifo_state->reserved_size = bytes; in vmw_fifo_reserve()353 fifo_state->using_bounce_buffer = false; in vmw_fifo_reserve()365 fifo_state->using_bounce_buffer = true; in vmw_fifo_reserve()366 if (bytes < fifo_state->static_buffer_size) in vmw_fifo_reserve()367 return fifo_state->static_buffer; in vmw_fifo_reserve()[all …]
75 struct vmw_fifo_state *fifo_state) in vmw_update_seqno() argument82 vmw_marker_pull(&fifo_state->marker_queue, seqno); in vmw_update_seqno()90 struct vmw_fifo_state *fifo_state; in vmw_seqno_passed() local96 fifo_state = &dev_priv->fifo; in vmw_seqno_passed()97 vmw_update_seqno(dev_priv, fifo_state); in vmw_seqno_passed()101 if (!(fifo_state->capabilities & SVGA_FIFO_CAP_FENCE) && in vmw_seqno_passed()123 struct vmw_fifo_state *fifo_state = &dev_priv->fifo; in vmw_fallback_wait() local140 down_read(&fifo_state->rwsem); in vmw_fallback_wait()180 up_read(&fifo_state->rwsem); in vmw_fallback_wait()
578 struct vmw_fifo_state *fifo_state);
217 { u_char fifo_state; in hfcpci_clear_fifo_rx() local222 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() local249 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 …]
337 u_char fifo_state; in hfcpci_clear_fifo_rx() local342 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() local371 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 …]