Searched refs:fifo_state (Results 1 – 6 of 6) 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 …]
71 struct vmw_fifo_state *fifo_state) in vmw_update_seqno() argument78 vmw_marker_pull(&fifo_state->marker_queue, seqno); in vmw_update_seqno()86 struct vmw_fifo_state *fifo_state; in vmw_seqno_passed() local92 fifo_state = &dev_priv->fifo; in vmw_seqno_passed()93 vmw_update_seqno(dev_priv, fifo_state); in vmw_seqno_passed()97 if (!(fifo_state->capabilities & SVGA_FIFO_CAP_FENCE) && in vmw_seqno_passed()119 struct vmw_fifo_state *fifo_state = &dev_priv->fifo; in vmw_fallback_wait() local136 down_read(&fifo_state->rwsem); in vmw_fallback_wait()186 up_read(&fifo_state->rwsem); in vmw_fallback_wait()
862 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 …]
431 u64 tmp, fifo_state; in nicvf_reclaim_rbdr() local445 fifo_state = nicvf_queue_reg_read(nic, NIC_QSET_RBDR_0_1_STATUS0, qidx); in nicvf_reclaim_rbdr()446 if (((fifo_state >> 62) & 0x03) == 0x3) in nicvf_reclaim_rbdr()