Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/caif/
H A Dcaif_virtio.c142 struct cfv_info *cfv = vq_tx->vdev->priv; in cfv_release_cb() local
144 ++cfv->stats.tx_kicks; in cfv_release_cb()
145 tasklet_schedule(&cfv->tx_release_tasklet); in cfv_release_cb()
148 static void free_buf_info(struct cfv_info *cfv, struct buf_info *buf_info) in free_buf_info() argument
152 gen_pool_free(cfv->genpool, (unsigned long) buf_info->vaddr, in free_buf_info()
162 struct cfv_info *cfv = vq_tx->vdev->priv; in cfv_release_used_buf() local
165 BUG_ON(vq_tx != cfv->vq_tx); in cfv_release_used_buf()
172 spin_lock_irqsave(&cfv->tx_lock, flags); in cfv_release_used_buf()
174 spin_unlock_irqrestore(&cfv->tx_lock, flags); in cfv_release_used_buf()
180 free_buf_info(cfv, buf_info); in cfv_release_used_buf()
[all …]