Searched refs:current_prim_idx (Results 1 – 2 of 2) sorted by relevance
94 int current_prim_idx; member215 dev_priv->prim_bufs[dev_priv->current_prim_idx]; \219 tmp_buf = dev_priv->prim_bufs[dev_priv->current_prim_idx]; \225 tmp_buf = dev_priv->prim_bufs[dev_priv->current_prim_idx]; \237 dev_priv->prim_bufs[dev_priv->current_prim_idx]; \267 dev_priv->prim_bufs[dev_priv->current_prim_idx]; \279 dev_priv->prim_bufs[dev_priv->current_prim_idx]; \285 dev_priv->prim_bufs[dev_priv->current_prim_idx]; \
338 dev_priv->current_prim_idx = 0; in mga_init_primary_bufs()438 next_prim_idx = dev_priv->current_prim_idx + 1; in mga_advance_primary()486 dev_priv->current_prim_idx = next_prim_idx; in mga_advance_primary()