/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ring_submission.c | 81 * The ring status page addresses are no longer next to the rest of 82 * the ring registers as of gen7. 121 /* ring should be idle before issuing a sync flush*/ 177 /* Empty the ring by skipping to the end */ 181 /* The ring must be empty before it is disabled */ 185 /* Then reset the disabled ring */ 194 struct intel_ring *ring = engine->legacy.ring; local 196 ENGINE_TRACE(engine, "ring:{HEAD:%04x, TAIL:%04x}\n", 197 ring 1317 struct intel_ring *ring; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mes.c | 171 "(%d) ring trail_fence_offs wb alloc failed\n", r); 596 amdgpu_gfx_select_me_pipe_q(adev, p->ring->me, p->ring->pipe, 0, 0, 0); 704 queue->ring = qprops->ring; 710 queue->ring->mqd_ptr = queue->mqd_cpu_ptr; 782 struct amdgpu_ring *ring, 790 queue_input.queue_type = ring->funcs->type; 791 queue_input.doorbell_offset = ring->doorbell_index; 792 queue_input.pipe_id = ring 781 amdgpu_mes_unmap_legacy_queue(struct amdgpu_device *adev, struct amdgpu_ring *ring, enum amdgpu_unmap_queues_action action, u64 gpu_addr, u64 seq) argument 973 amdgpu_mes_ring_to_queue_props(struct amdgpu_device *adev, struct amdgpu_ring *ring, struct amdgpu_mes_queue_properties *props) argument 1007 amdgpu_mes_ctx_get_offs(struct amdgpu_ring *ring, unsigned int id_offs) argument 1032 struct amdgpu_ring *ring; local 1128 amdgpu_mes_remove_ring(struct amdgpu_device *adev, struct amdgpu_ring *ring) argument 1310 struct amdgpu_ring *ring; local 1345 struct amdgpu_ring *ring; local [all...] |
H A D | amdgpu_gmc.c | 392 * @ih: interrupt ring that the fault received from 414 /* If we don't have space left in the ring buffer return immediately */ 432 * into the fault ring. 450 /* Add the fault to the ring */ 487 /* Get the WPTR of the last entry in IH ring */ 489 /* Order wptr with ring data. */ 491 /* Get the timetamp of the last entry in IH ring */ 564 * Engine 0, 1, 4~16: amdgpu ring, 565 * subject to change when ring number changes 572 struct amdgpu_ring *ring; local 616 struct amdgpu_ring *ring = adev->mman.buffer_funcs_ring; local 684 struct amdgpu_ring *ring = &adev->gfx.kiq[inst].ring; local 755 struct amdgpu_ring *ring = &kiq->ring; local [all...] |
H A D | vcn_v5_0_0.c | 51 static void vcn_v5_0_0_unified_ring_set_wptr(struct amdgpu_ring *ring); 58 * Set ring and irq function pointers 65 /* re-use enc ring as unified ring */ 83 struct amdgpu_ring *ring; local 117 ring = &adev->vcn.inst[i].ring_enc[0]; 118 ring->use_doorbell = true; 119 ring->doorbell_index = (adev->doorbell_index.vcn.vcn_ring0_1 << 1) + 2 + 8 * i; 121 ring->vm_hub = AMDGPU_MMHUB0(0); 122 sprintf(ring 189 struct amdgpu_ring *ring; local 619 struct amdgpu_ring *ring; local 716 struct amdgpu_ring *ring; local 1021 vcn_v5_0_0_unified_ring_get_rptr(struct amdgpu_ring *ring) argument 1038 vcn_v5_0_0_unified_ring_get_wptr(struct amdgpu_ring *ring) argument 1058 vcn_v5_0_0_unified_ring_set_wptr(struct amdgpu_ring *ring) argument [all...] |
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc.h | 100 struct igc_ring *ring; /* pointer to linked list of rings */ member in struct:igc_ring_container 105 u8 itr; /* current ITR setting for ring */ 116 void *desc; /* descriptor ring memory */ 117 unsigned long flags; /* ring specific flags */ 118 void __iomem *tail; /* pointer to ring tail register */ 119 dma_addr_t dma; /* phys address of the ring */ 120 unsigned int size; /* length of desc. ring in bytes */ 122 u16 count; /* number of desc. in the ring */ 123 u8 queue_index; /* logical index of the ring*/ 124 u8 reg_idx; /* physical index of the ring */ 630 igc_desc_unused(const struct igc_ring *ring) argument 680 igc_rx_bufsz(struct igc_ring *ring) argument 692 igc_rx_pg_order(struct igc_ring *ring) argument [all...] |
H A D | igc_main.c | 192 * @tx_ring: ring to be cleaned 257 /* Zero out the buffer ring */ 261 /* Zero out the descriptor ring */ 271 * @tx_ring: Tx descriptor ring for a specific queue 319 static void igc_disable_tx_ring_hw(struct igc_ring *ring) argument 321 struct igc_hw *hw = &ring->q_vector->adapter->hw; 322 u8 idx = ring->reg_idx; 348 * @tx_ring: tx descriptor ring (for a specific queue) to setup 380 netdev_err(ndev, "Unable to allocate memory for Tx descriptor ring\n"); 415 /* Free all the Rx ring sk_buff 443 igc_clean_rx_ring_xsk_pool(struct igc_ring *ring) argument 462 igc_clean_rx_ring(struct igc_ring *ring) argument 608 igc_get_xsk_pool(struct igc_adapter *adapter, struct igc_ring *ring) argument 625 igc_configure_rx_ring(struct igc_adapter *adapter, struct igc_ring *ring) argument 728 igc_configure_tx_ring(struct igc_adapter *adapter, struct igc_ring *ring) argument 1038 igc_tx_launchtime(struct igc_ring *ring, ktime_t txtime, bool *first_flag, bool *insert_empty) argument 1084 igc_init_empty_frame(struct igc_ring *ring, struct igc_tx_buffer *buffer, struct sk_buff *skb) argument 1110 igc_init_tx_empty_descriptor(struct igc_ring *ring, struct sk_buff *skb, struct igc_tx_buffer *first) argument 1715 igc_rx_checksum(struct igc_ring *ring, union igc_adv_rx_desc *rx_desc, struct sk_buff *skb) argument 1775 igc_rx_hash(struct igc_ring *ring, union igc_adv_rx_desc *rx_desc, struct sk_buff *skb) argument 1892 igc_get_rx_frame_truesize(struct igc_ring *ring, unsigned int size) argument 2292 igc_alloc_rx_buffers_zc(struct igc_ring *ring, u16 count) argument 2352 igc_xdp_init_tx_descriptor(struct igc_ring *ring, struct xdp_frame *xdpf) argument 2468 struct igc_ring *ring; local 2535 igc_flush_tx_descriptors(struct igc_ring *ring) argument 2549 struct igc_ring *ring; local 2567 struct igc_ring *ring = q_vector->rx.ring; local 2706 igc_construct_skb_zc(struct igc_ring *ring, struct xdp_buff *xdp) argument 2736 struct igc_ring *ring = q_vector->rx.ring; local 2767 struct igc_ring *ring = q_vector->rx.ring; local 2866 struct igc_ring *ring = q_vector->tx.ring; local 2877 igc_xdp_xmit_zc(struct igc_ring *ring) argument 3944 struct igc_ring *ring = adapter->rx_ring[i]; local 4525 igc_add_ring(struct igc_ring *ring, struct igc_ring_container *head) argument 4612 struct igc_ring *ring; local 4909 struct igc_ring *ring = adapter->rx_ring[i]; local 4935 struct igc_ring *ring = adapter->tx_ring[i]; local 6048 struct igc_ring *ring; local 6149 struct igc_ring *ring = adapter->tx_ring[i]; local 6161 struct igc_ring *ring = adapter->tx_ring[i]; local 6261 struct igc_ring *ring = adapter->tx_ring[i]; local 6289 struct igc_ring *ring = adapter->tx_ring[i]; local 6312 struct igc_ring *ring = adapter->tx_ring[i]; local 6346 struct igc_ring *ring; local 6476 struct igc_ring *ring; local 6526 struct igc_ring *ring; local 7393 igc_disable_rx_ring_hw(struct igc_ring *ring) argument 7405 igc_disable_rx_ring(struct igc_ring *ring) argument 7411 igc_enable_rx_ring(struct igc_ring *ring) argument 7423 igc_disable_tx_ring(struct igc_ring *ring) argument 7429 igc_enable_tx_ring(struct igc_ring *ring) argument [all...] |
/linux-master/drivers/dma/qcom/ |
H A D | gpi.c | 475 u32 ev_factor; /* ev ring length factor */ 541 static void gpi_ring_recycle_ev_element(struct gpi_ring *ring); 542 static int gpi_ring_add_element(struct gpi_ring *ring, void **wp); 555 static inline phys_addr_t to_physical(const struct gpi_ring *const ring, argument 558 return ring->phys_addr + (addr - ring->base); 561 static inline void *to_virtual(const struct gpi_ring *const ring, phys_addr_t addr) argument 563 return ring->base + (addr - ring->phys_addr); 644 * GPII only uses one EV ring pe 732 gpi_write_ch_db(struct gchan *gchan, struct gpi_ring *ring, void *wp) argument 743 gpi_write_ev_db(struct gpii *gpii, struct gpi_ring *ring, void *wp) argument 1271 struct gpi_ring *ring = &chan->ch_ring; local 1309 struct gpi_ring *ring = &gpii->ev_ring; local 1351 gpi_ring_num_elements_avail(const struct gpi_ring * const ring) argument 1365 gpi_ring_add_element(struct gpi_ring *ring, void **wp) argument 1381 gpi_ring_recycle_ev_element(struct gpi_ring *ring) argument 1397 gpi_free_ring(struct gpi_ring *ring, struct gpii *gpii) argument 1406 gpi_alloc_ring(struct gpi_ring *ring, u32 elements, u32 el_size, struct gpii *gpii) argument [all...] |
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 1190 static void *mtk_qdma_phys_to_virt(struct mtk_tx_ring *ring, u32 desc) argument 1192 return ring->dma + (desc - ring->phys); 1195 static struct mtk_tx_buf *mtk_desc_to_tx_buf(struct mtk_tx_ring *ring, argument 1198 int idx = (txd - ring->dma) / txd_size; 1200 return &ring->buf[idx]; 1203 static struct mtk_tx_dma *qdma_to_pdma(struct mtk_tx_ring *ring, argument 1206 return ring->dma_pdma - (struct mtk_tx_dma *)ring->dma + dma; 1209 static int txd_to_idx(struct mtk_tx_ring *ring, voi argument 1389 mtk_tx_map(struct sk_buff *skb, struct net_device *dev, int tx_num, struct mtk_tx_ring *ring, bool gso) argument 1588 struct mtk_tx_ring *ring = ð->tx_ring; local 1646 struct mtk_rx_ring *ring; local 1669 struct mtk_rx_ring *ring; local 1745 mtk_rx_put_buff(struct mtk_rx_ring *ring, void *data, bool napi) argument 1759 struct mtk_tx_ring *ring = ð->tx_ring; local 1796 struct mtk_tx_ring *ring = ð->tx_ring; local 1936 mtk_xdp_run(struct mtk_eth *eth, struct mtk_rx_ring *ring, struct xdp_buff *xdp, struct net_device *dev) argument 2003 struct mtk_rx_ring *ring; local 2263 struct mtk_tx_ring *ring = ð->tx_ring; local 2312 struct mtk_tx_ring *ring = ð->tx_ring; local 2349 struct mtk_tx_ring *ring = ð->tx_ring; local 2451 struct mtk_tx_ring *ring = ð->tx_ring; local 2564 struct mtk_tx_ring *ring = ð->tx_ring; local 2591 struct mtk_rx_ring *ring; local 2735 mtk_rx_clean(struct mtk_eth *eth, struct mtk_rx_ring *ring, bool in_sram) argument 4332 struct mtk_rx_ring *ring = ð->rx_ring[i]; local [all...] |
/linux-master/drivers/gpu/drm/msm/adreno/ |
H A D | a4xx_gpu.c | 27 struct msm_ringbuffer *ring = submit->ring; local 41 OUT_PKT3(ring, CP_INDIRECT_BUFFER_PFE, 2); 42 OUT_RING(ring, lower_32_bits(submit->cmd[i].iova)); 43 OUT_RING(ring, submit->cmd[i].size); 44 OUT_PKT2(ring); 49 OUT_PKT0(ring, REG_AXXX_CP_SCRATCH_REG2, 1); 50 OUT_RING(ring, submit->seqno); 56 OUT_PKT3(ring, CP_EVENT_WRITE, 1); 57 OUT_RING(ring, HLSQ_FLUS 158 struct msm_ringbuffer *ring = gpu->rb[0]; local 624 a4xx_get_rptr(struct msm_gpu *gpu, struct msm_ringbuffer *ring) argument [all...] |
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_pfvf_mbox.c | 242 int ring = 0; local 248 ring = rings_per_vf * i; 249 oct->mbox[ring] = vzalloc(sizeof(*oct->mbox[ring])); 251 if (!oct->mbox[ring]) 254 memset(oct->mbox[ring], 0, sizeof(struct octep_mbox)); 256 mutex_init(&oct->mbox[ring]->lock); 257 INIT_WORK(&oct->mbox[ring]->wk.work, octep_pfvf_mbox_work); 258 oct->mbox[ring]->wk.ctxptr = oct->mbox[ring]; 281 int i = 0, ring = 0, vf_srn = 0; local [all...] |
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k.h | 55 #define check_for_tx_hang(ring) \ 56 test_bit(__FM10K_TX_DETECT_HANG, (ring)->state) 57 #define set_check_for_tx_hang(ring) \ 58 set_bit(__FM10K_TX_DETECT_HANG, (ring)->state) 59 #define clear_check_for_tx_hang(ring) \ 60 clear_bit(__FM10K_TX_DETECT_HANG, (ring)->state) 105 struct net_device *netdev; /* netdev ring belongs to */ 108 void *desc; /* descriptor ring memory */ 115 dma_addr_t dma; /* phys. address of descriptor ring */ 121 * associated with this ring, whic 146 struct fm10k_ring *ring; /* pointer to linked list of rings */ member in struct:fm10k_ring_container 167 txring_txq(const struct fm10k_ring *ring) argument 416 fm10k_desc_unused(struct fm10k_ring *ring) argument [all...] |
/linux-master/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac-ethtool.c | 136 struct ethtool_ringparam *ring, 142 ring->rx_max_pending = EMAC_MAX_RX_DESCS; 143 ring->tx_max_pending = EMAC_MAX_TX_DESCS; 144 ring->rx_pending = adpt->rx_desc_cnt; 145 ring->tx_pending = adpt->tx_desc_cnt; 149 struct ethtool_ringparam *ring, 158 if (ring->rx_mini_pending || ring->rx_jumbo_pending) 162 clamp_val(ring->tx_pending, EMAC_MIN_TX_DESCS, EMAC_MAX_TX_DESCS); 165 clamp_val(ring 135 emac_get_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument 148 emac_set_ringparam(struct net_device *netdev, struct ethtool_ringparam *ring, struct kernel_ethtool_ringparam *kernel_ring, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_wq.c | 21 unsigned int i, j, count = wq->ring.desc_count; 34 buf->desc = (u8 *)wq->ring.descs + 35 wq->ring.desc_size * buf->index; 63 vnic_dev_free_desc_ring(vdev, &wq->ring); 91 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); 116 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); 127 unsigned int count = wq->ring.desc_count; 129 paddr = (u64)wq->ring.base_addr | VNIC_PADDR_TARGET; 194 wq->ring.desc_avail++; 203 vnic_dev_clear_desc_ring(&wq->ring); [all...] |
H A D | vnic_wq.h | 71 struct vnic_dev_ring ring; member in struct:vnic_wq 93 return wq->ring.desc_avail; 99 return wq->ring.desc_count - wq->ring.desc_avail - 1; 138 wq->ring.desc_avail -= desc_skip_cnt; 154 wq->ring.desc_avail++;
|
/linux-master/drivers/usb/gadget/udc/cdns2/ |
H A D | cdns2-debug.h | 102 struct cdns2_ring *ring = &pep->ring; local 110 trb = &trbs[ring->dequeue]; 114 ring->dequeue, trb, &dma); 116 trb = &trbs[ring->enqueue]; 120 ring->enqueue, trb, &dma); 124 ring->free_trbs, ring->ccs, ring->pcs); 128 "\t\tTransfer ring [all...] |
/linux-master/drivers/net/ethernet/qualcomm/ |
H A D | qca_debug.c | 50 "Transmit ring full", 67 seq_puts(s, "TX ring state : "); 78 seq_printf(s, "TX ring size : %u\n", 238 qcaspi_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ring, argument 244 ring->rx_max_pending = QCASPI_RX_MAX_FRAMES; 245 ring->tx_max_pending = QCASPI_TX_RING_MAX_LEN; 246 ring->rx_pending = QCASPI_RX_MAX_FRAMES; 247 ring->tx_pending = qca->txr.count; 251 qcaspi_set_ringparam(struct net_device *dev, struct ethtool_ringparam *ring, argument 257 if (ring [all...] |
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_txrx.h | 325 /* struct that defines a descriptor ring, associated with a VSI */ 327 struct iavf_ring *next; /* pointer to next ring in q_vector */ 328 void *desc; /* Descriptor ring memory */ 330 struct net_device *netdev; /* netdev ring maps to */ 336 u16 queue_index; /* Queue number of ring */ 337 u8 dcb_tc; /* Traffic class of ring */ 348 u16 reg_idx; /* HW register index of the ring */ 358 bool ring_active; /* is ring online or not */ 377 unsigned int size; /* length of descriptor ring in bytes */ 378 dma_addr_t dma; /* physical address of ring */ 395 ring_uses_build_skb(struct iavf_ring *ring) argument 400 set_ring_build_skb_enabled(struct iavf_ring *ring) argument 405 clear_ring_build_skb_enabled(struct iavf_ring *ring) argument 418 struct iavf_ring *ring; /* pointer to linked list of ring(s) */ member in struct:iavf_ring_container 431 iavf_rx_pg_order(struct iavf_ring *ring) argument 518 txring_txq(const struct iavf_ring *ring) argument [all...] |
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_b0.c | 631 int hw_atl_b0_hw_ring_tx_start(struct aq_hw_s *self, struct aq_ring_s *ring) argument 633 hw_atl_tdm_tx_desc_en_set(self, 1, ring->idx); 638 int hw_atl_b0_hw_ring_rx_start(struct aq_hw_s *self, struct aq_ring_s *ring) argument 640 hw_atl_rdm_rx_desc_en_set(self, 1, ring->idx); 654 struct aq_ring_s *ring) 656 hw_atl_reg_tx_dma_desc_tail_ptr_set(self, ring->sw_tail, ring->idx); 661 int hw_atl_b0_hw_ring_tx_xmit(struct aq_hw_s *self, struct aq_ring_s *ring, argument 672 buff = &ring->buff_ring[ring 653 hw_atl_b0_hw_tx_ring_tail_update(struct aq_hw_s *self, struct aq_ring_s *ring) argument 820 hw_atl_b0_hw_ring_rx_fill(struct aq_hw_s *self, struct aq_ring_s *ring, unsigned int sw_tail_old) argument 840 hw_atl_b0_hw_ring_hwts_rx_fill(struct aq_hw_s *self, struct aq_ring_s *ring) argument 862 hw_atl_b0_hw_ring_hwts_rx_receive(struct aq_hw_s *self, struct aq_ring_s *ring) argument 880 hw_atl_b0_hw_ring_tx_head_update(struct aq_hw_s *self, struct aq_ring_s *ring) argument 906 hw_atl_b0_hw_ring_rx_receive(struct aq_hw_s *self, struct aq_ring_s *ring) argument 1223 hw_atl_b0_hw_ring_tx_stop(struct aq_hw_s *self, struct aq_ring_s *ring) argument 1230 hw_atl_b0_hw_ring_rx_stop(struct aq_hw_s *self, struct aq_ring_s *ring) argument [all...] |
/linux-master/drivers/net/ethernet/qlogic/netxen/ |
H A D | netxen_nic_ctx.c | 687 int ring; local 700 for (ring = 0; ring < adapter->max_rds_rings; ring++) { 701 rds_ring = &recv_ctx->rds_rings[ring]; 703 hwctx->rcv_rings[ring].addr = 705 hwctx->rcv_rings[ring].size = 709 for (ring = 0; ring < adapter->max_sds_rings; ring 738 int ring; local 856 int ring; local [all...] |
/linux-master/drivers/scsi/fnic/ |
H A D | vnic_dev.c | 177 unsigned int vnic_dev_desc_ring_size(struct vnic_dev_ring *ring, argument 190 ring->base_align = 512; 195 ring->desc_count = ALIGN(desc_count, count_align); 197 ring->desc_size = ALIGN(desc_size, desc_align); 199 ring->size = ring->desc_count * ring->desc_size; 200 ring->size_unaligned = ring->size + ring 205 vnic_dev_clear_desc_ring(struct vnic_dev_ring *ring) argument 210 vnic_dev_alloc_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring, unsigned int desc_count, unsigned int desc_size) argument 238 vnic_dev_free_desc_ring(struct vnic_dev *vdev, struct vnic_dev_ring *ring) argument [all...] |
H A D | vnic_wq.h | 79 struct vnic_dev_ring ring; member in struct:vnic_wq 89 return wq->ring.desc_avail; 95 return wq->ring.desc_count - wq->ring.desc_avail - 1; 126 wq->ring.desc_avail--; 142 wq->ring.desc_avail++;
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_controlq.c | 136 * ice_free_cq_ring - Free control queue ring 138 * @ring: pointer to the specific control queue ring 143 static void ice_free_cq_ring(struct ice_hw *hw, struct ice_ctl_q_ring *ring) argument 145 dmam_free_coherent(ice_hw_to_dev(hw), ring->desc_buf.size, 146 ring->desc_buf.va, ring->desc_buf.pa); 147 ring->desc_buf.va = NULL; 148 ring->desc_buf.pa = 0; 149 ring 273 ice_cfg_cq_regs(struct ice_hw *hw, struct ice_ctl_q_ring *ring, u16 num_entries) argument [all...] |
/linux-master/drivers/xen/ |
H A D | pvcalls-front.c | 32 struct xen_pvcalls_front_ring ring; member in struct:pvcalls_bedata 65 struct pvcalls_data_intf *ring; member in struct:sock_mapping::__anon765::__anon766 127 *req_id = bedata->ring.req_prod_pvt & (RING_SIZE(&bedata->ring) - 1); 128 if (RING_FULL(&bedata->ring) || 136 struct pvcalls_data_intf *intf = map->active.ring; 153 struct pvcalls_data_intf *intf = map->active.ring; 184 while (RING_HAS_UNCONSUMED_RESPONSES(&bedata->ring)) { 185 rsp = RING_GET_RESPONSE(&bedata->ring, bedata->ring [all...] |
/linux-master/drivers/usb/host/ |
H A D | xhci-dbgcap.c | 41 static void dbc_ring_free(struct device *dev, struct xhci_ring *ring) argument 43 if (!ring) 46 if (ring->first_seg) { 48 ring->first_seg->trbs, 49 ring->first_seg->dma); 50 kfree(ring->first_seg); 52 kfree(ring); 238 xhci_dbc_queue_trb(struct xhci_ring *ring, u32 field1, argument 243 trb = ring->enqueue; 249 trace_xhci_dbc_gadget_ep_queue(ring, 267 struct xhci_ring *ring = dep->ring; local 439 struct xhci_ring *ring; local 697 struct xhci_ring *ring; local 751 inc_evt_deq(struct xhci_ring *ring) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_port.c | 163 const struct mlx4_en_rx_ring *ring = priv->rx_ring[i]; local 165 packets += READ_ONCE(ring->packets); 166 bytes += READ_ONCE(ring->bytes); 174 const struct mlx4_en_tx_ring *ring = priv->tx_ring[TX][i]; local 176 packets += READ_ONCE(ring->packets); 177 bytes += READ_ONCE(ring->bytes); 252 const struct mlx4_en_rx_ring *ring = priv->rx_ring[i]; local 254 sw_rx_dropped += READ_ONCE(ring->dropped); 255 priv->port_stats.rx_chksum_good += READ_ONCE(ring->csum_ok); 256 priv->port_stats.rx_chksum_none += READ_ONCE(ring 272 const struct mlx4_en_tx_ring *ring = priv->tx_ring[TX][i]; local [all...] |