Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_submit.c44 u32 ring_idx; member
51 u64 context = submit->fence_ctx + submit->ring_idx; in virtio_gpu_do_fence_wait()
275 u32 ring_idx) in virtio_gpu_fence_event_create() argument
371 u64 fence_ctx, u32 ring_idx) in virtio_gpu_init_submit() argument
382 (vfpriv->ring_idx_mask & BIT_ULL(ring_idx))) in virtio_gpu_init_submit()
391 out_fence = virtio_gpu_fence_alloc(vgdev, fence_ctx, ring_idx); in virtio_gpu_init_submit()
396 err = virtio_gpu_fence_event_create(dev, file, out_fence, ring_idx); in virtio_gpu_init_submit()
405 submit->ring_idx = ring_idx; in virtio_gpu_init_submit()
481 u32 ring_idx = 0; in virtio_gpu_execbuffer_ioctl() local
491 if (exbuf->ring_idx >= vfpriv->num_rings) in virtio_gpu_execbuffer_ioctl()
[all …]
H A Dvirtgpu_fence.c76 uint32_t ring_idx) in virtio_gpu_fence_alloc() argument
78 uint64_t fence_context = base_fence_ctx + ring_idx; in virtio_gpu_fence_alloc()
87 fence->ring_idx = ring_idx; in virtio_gpu_fence_alloc()
123 cmd_hdr->ring_idx = (u8)fence->ring_idx; in virtio_gpu_fence_emit()
H A Dvirtgpu_drv.h149 uint32_t ring_idx; member
441 uint32_t ring_idx);
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_debugfs.c64 static void debugfs_dim_ring_init(struct dim *dim, int ring_idx, in debugfs_dim_ring_init() argument
69 snprintf(qname, sizeof(qname), "%d", ring_idx); in debugfs_dim_ring_init()
H A Dbnxt.c3366 int ring_idx = j & bp->tx_ring_mask; in bnxt_free_tx_skbs() local
3369 tx_buf = &txr->tx_buf_ring[ring_idx]; in bnxt_free_tx_skbs()
/linux/drivers/net/wireless/ath/wil6210/
H A Ddebugfs.c1067 int ring_idx = dbg_ring_index; in txdesc_show() local
1075 if (ring_idx >= WIL6210_MAX_TX_RINGS) { in txdesc_show()
1076 seq_printf(s, "invalid ring index %d\n", ring_idx); in txdesc_show()
1079 tx = ring_idx > 0; /* desc ring 0 is reserved for RX */ in txdesc_show()
1082 if (ring_idx > WIL6210_MAX_TX_RINGS) { in txdesc_show()
1083 seq_printf(s, "invalid ring index %d\n", ring_idx); in txdesc_show()
1086 tx = (ring_idx < WIL6210_MAX_TX_RINGS); in txdesc_show()
1089 ring = tx ? &wil->ring_tx[ring_idx] : &wil->ring_rx; in txdesc_show()
1093 seq_printf(s, "No Tx[%2d] RING\n", ring_idx); in txdesc_show()
1102 ring_idx, txdesc_idx, ring->size); in txdesc_show()
[all …]
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h471 #define VMXNET3_RX_ALLOC_THRESHOLD(rq, ring_idx, adapter) \ argument
472 ((rq)->rx_ring[ring_idx].size >> 3)
/linux/include/uapi/drm/
H A Dvirtgpu_drm.h85 __u32 ring_idx; /* command ring index (see VIRTGPU_EXECBUF_RING_IDX) */ member
/linux/drivers/bus/mhi/ep/
H A Dmain.c28 static int mhi_ep_send_event(struct mhi_ep_cntrl *mhi_cntrl, u32 ring_idx, in mhi_ep_send_event() argument
37 ring = &mhi_cntrl->mhi_event[ring_idx].ring; in mhi_ep_send_event()
38 ctx = (union mhi_ep_ring_ctx *)&mhi_cntrl->ev_ctx_cache[ring_idx]; in mhi_ep_send_event()
42 dev_err(dev, "Error starting event ring (%u)\n", ring_idx); in mhi_ep_send_event()
50 dev_err(dev, "Error adding element to event ring (%u)\n", ring_idx); in mhi_ep_send_event()
/linux/include/uapi/linux/
H A Dvirtio_gpu.h142 __u8 ring_idx; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c1104 adapter->rx_ring[i]->ring_idx = i; in ixgbe_alloc_q_vectors()
1109 adapter->tx_ring[i]->ring_idx = i; in ixgbe_alloc_q_vectors()
1114 adapter->xdp_ring[i]->ring_idx = i; in ixgbe_alloc_q_vectors()
H A Dixgbe.h400 u16 ring_idx; /* {rx,tx,xdp}_ring back reference idx */ member
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.h1050 struct idpf_tx_buf *first, u16 ring_idx);
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c1599 static int mlx4_en_init_affinity_hint(struct mlx4_en_priv *priv, int ring_idx) in mlx4_en_init_affinity_hint() argument
1601 struct mlx4_en_rx_ring *ring = priv->rx_ring[ring_idx]; in mlx4_en_init_affinity_hint()
1607 cpumask_set_cpu(cpumask_local_spread(ring_idx, numa_node), in mlx4_en_init_affinity_hint()
1612 static void mlx4_en_free_affinity_hint(struct mlx4_en_priv *priv, int ring_idx) in mlx4_en_free_affinity_hint() argument
1614 free_cpumask_var(priv->rx_ring[ring_idx]->affinity_mask); in mlx4_en_free_affinity_hint()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c1662 rattr.lrid = rdev->nqr->msix_entries[i + 1].ring_idx; in bnxt_re_alloc_res()
2014 rattr.lrid = rdev->nqr->msix_entries[BNXT_RE_AEQ_IDX].ring_idx; in bnxt_re_dev_init()
/linux/drivers/dma/ti/
H A Dk3-udma.c1680 int ring_idx, ret; in udma_alloc_tx_resources() local
1688 ring_idx = tchan->tflow_id; in udma_alloc_tx_resources()
1690 ring_idx = ud->bchan_cnt + tchan->id; in udma_alloc_tx_resources()
1692 ret = k3_ringacc_request_rings_pair(ud->ringacc, ring_idx, -1, in udma_alloc_tx_resources()
/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c3026 u32 ring_idx) in bnx2_rx_skb() argument
3029 u16 prod = ring_idx & 0xffff; in bnx2_rx_skb()
3034 bnx2_reuse_rx_data(bp, rxr, data, (u16) (ring_idx >> 16), prod); in bnx2_rx_skb()