Searched refs:pending_bufs (Results 1 – 2 of 2) sorted by relevance
403 atomic_inc(&dev_priv->pending_bufs); in mga_fire_primary()509 if(atomic_read(&dev_priv->pending_bufs) <= MGA_NUM_PRIM_BUFS - 1) { in mga_decide_to_fire()516 if(atomic_read(&dev_priv->pending_bufs) <= MGA_NUM_PRIM_BUFS / 2) { in mga_decide_to_fire()522 if(atomic_read(&dev_priv->pending_bufs) >= MGA_NUM_PRIM_BUFS / 2) { in mga_decide_to_fire()583 atomic_read(&dev_priv->pending_bufs) == 0) { in mga_dma_schedule()613 atomic_dec(&dev_priv->pending_bufs); in mga_dma_service()
86 atomic_t pending_bufs; member