/freebsd-11-stable/sys/dev/vxge/vxgehal/ |
H A D | vxgehal.h | 61 #include <dev/vxge/vxgehal/vxgehal-ring.h>
|
H A D | vxgehal-mgmtaux.c | 753 dev_config->vp_config[i].ring.ring_length, "%u"); 755 dev_config->vp_config[i].ring.buffer_mode, "%u"); 757 dev_config->vp_config[i].ring.scatter_mode, "%u"); 759 dev_config->vp_config[i].ring.post_mode, "%u"); 761 dev_config->vp_config[i].ring.max_frm_len, "%u"); 763 dev_config->vp_config[i].ring.no_snoop_bits, "%u"); 765 dev_config->vp_config[i].ring.rx_timer_val, "%u"); 767 dev_config->vp_config[i].ring.greedy_return, "%u"); 769 dev_config->vp_config[i].ring.rx_timer_ci, "%u"); 771 dev_config->vp_config[i].ring 2841 __hal_ring_t *ring; local [all...] |
H A D | vxgehal-config.c | 1311 * __hal_device_ring_config_check - Check ring configuration. 1314 * Check the ring configuration 1642 status = __hal_device_ring_config_check(&vp_config->ring); 2505 device_config->vp_config[i].ring.enable = 2508 device_config->vp_config[i].ring.ring_length = 2511 device_config->vp_config[i].ring.buffer_mode = 2514 device_config->vp_config[i].ring.scatter_mode = 2517 device_config->vp_config[i].ring.post_mode = 2520 device_config->vp_config[i].ring.max_frm_len = 2523 device_config->vp_config[i].ring [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mad.c | 1284 sg_list.addr = tun_qp->ring[index].map; 1293 ib_dma_sync_single_for_device(ctx->ib_dev, tun_qp->ring[index].map, 1452 struct mlx4_tunnel_mad *tunnel = tun_qp->ring[wr_ix].addr; 1476 ib_dma_sync_single_for_cpu(ctx->ib_dev, tun_qp->ring[wr_ix].map, 1573 tun_qp->ring = kzalloc(sizeof (struct mlx4_ib_buf) * MLX4_NUM_TUNNEL_BUFS, 1575 if (!tun_qp->ring) 1582 kfree(tun_qp->ring); 1583 tun_qp->ring = NULL; 1596 tun_qp->ring[i].addr = kmalloc(rx_buf_size, GFP_KERNEL); 1597 if (!tun_qp->ring[ [all...] |
/freebsd-11-stable/sys/dev/nxge/xgehal/ |
H A D | xgehal-mgmtaux.c | 965 (void) xge_os_sprintf(key, "ring%d_", channel->post_qid); 1260 (void) xge_os_sprintf(key, "ring%d_", channel->post_qid); 1539 dev_config->ring.memblock_size, "%u"); 1551 xge_hal_ring_queue_t *ring = &dev_config->ring.queue[i]; local 1552 xge_hal_rti_config_t *rti = &ring->rti; 1554 if (!ring->configured) 1557 (void) xge_os_sprintf(key, "ring%d_", i); 1559 __HAL_AUX_ENTRY(key, ring->initial, "%u"); 1561 __HAL_AUX_ENTRY(key, ring [all...] |
H A D | xgehal-device.c | 32 #include <dev/nxge/include/xgehal-ring.h> 913 if (!hldev->config.ring.queue[i].configured) 915 rti = &hldev->config.ring.queue[i].rti; 1120 xge_hal_rti_config_t *rti = &hldev->config.ring.queue[i].rti; 1122 if (!hldev->config.ring.queue[i].configured) 1536 * Initiate port steering according to per-ring configuration 1540 xge_hal_ring_queue_t *queue = &hldev->config.ring.queue[rnum]; 1643 if (hldev->config.ring.queue[j].configured) 1857 if (hldev->config.ring.queue[rnum].configured && 1858 hldev->config.ring 6516 int ring = channel->post_qid; local 6663 int ring = channel->post_qid; local [all...] |
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/QM/ |
H A D | qman_low.h | 150 * analysis, look at using the "extra" bit in the ring index registers to avoid 186 /* Bit-wise logic to wrap a ring pointer by clearing the "carry bit" */ 190 /* Bit-wise logic to convert a ring pointer to a ring index */ 196 /* Increment the 'cursor' ring pointer, taking 'vbit' into account */ 217 eqcr->ring = ptr_ADD(portal->addr.addr_ce, CL_EQCR); 221 eqcr->cursor = eqcr->ring + pi; 492 dqrr->ring = ptr_ADD(portal->addr.addr_ce, CL_DQRR); 495 dqrr->cursor = dqrr->ring + dqrr->ci; 600 /* If ring entrie [all...] |
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_vale.c | 610 * Returns the next position in the ring. 617 struct netmap_ring *ring = kring->ring; local 638 struct netmap_slot *slot = &ring->slot[j]; 735 * ring in *dst_ring (at the moment, always use ring 0) 790 * Available space in the ring. Only used in VALE code 890 uint8_t dst_ring = ring_nr; /* default, same ring as origin */ 915 dst_ring = 0; /* broadcasts always go to ring 0 */ 938 * Broadcast traffic goes to ring 963 struct netmap_ring *ring; local [all...] |
H A D | netmap_monitor.c | 37 * However, only the rx rings are actually used. Each monitor rx ring receives 56 * application is reading from a monitored ring, the ring will eventually 69 * Several copy or zero-copy monitors may be active on any ring. 396 * previous ring owner, instead 444 * no monitor ring callback can be active. 587 struct netmap_ring *ring = kring->ring, *mring; local 598 mring = mkring->ring; 619 * to call rxsync if this is a rx ring 735 struct netmap_ring *ring = kring->ring, *mring = mkring->ring; local [all...] |
/freebsd-11-stable/sys/dev/cxgbe/ |
H A D | t4_netmap.c | 544 * Write work requests to send 'npkt' frames and ring the doorbell to send them 551 struct netmap_ring *ring = kring->ring; local 574 slot = &ring->slot[kring->nr_hwcur]; 762 struct netmap_ring *ring = kring->ring; local 785 struct netmap_slot *slot = &ring->slot[fl_pidx]; 811 slot = &ring->slot[0]; 910 struct netmap_ring *ring = kring->ring; local [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-tim.c | 111 * to fetch the bucket data, Resulting in timer ring error interrupt 218 config_ring0.s.ring = timer_id; 227 config_ring1.s.ring = timer_id;
|
/freebsd-11-stable/sys/dev/ioat/ |
H A D | ioat.c | 123 0, "Set IOAT ring order. (1 << this) == ring size."); 359 if (ioat->ring != NULL) 360 ioat_free_ring(ioat, 1 << ioat->ring_size_order, ioat->ring); 446 struct ioat_descriptor *ring; local 524 ioat->ring = malloc(num_descriptors * sizeof(*ring), M_IOAT, 527 ring = ioat->ring; 529 memset(&ring[ 1397 ioat_free_ring(struct ioat_softc *ioat, uint32_t size, struct ioat_descriptor *ring) argument [all...] |
/freebsd-11-stable/sys/dev/drm2/i915/ |
H A D | i915_drv.h | 204 /* our own tracking of ring head and tail */ 231 } ring[I915_NUM_RINGS]; member in struct:drm_i915_error_state 244 s32 ring:4; member in struct:drm_i915_error_state::drm_i915_error_buffer 365 struct intel_ring_buffer *ring; member in struct:i915_hw_context 655 struct intel_ring_buffer ring[I915_NUM_RINGS]; member in struct:drm_i915_private 825 * fire periodically while the ring is running. When it 941 if (((ring__) = &(dev_priv__)->ring[(i__)]), intel_ring_initialized((ring__))) 1083 struct intel_ring_buffer *ring; member in struct:drm_i915_gem_object 1126 /** On Which ring this request was generated */ 1127 struct intel_ring_buffer *ring; member in struct:drm_i915_gem_request [all...] |
H A D | i915_gem_gtt.c | 300 struct intel_ring_buffer *ring; local 346 /* GFX_MODE is per-ring on gen7+ */ 349 for_each_ring(ring, dev_priv, i) { 351 I915_WRITE(RING_MODE_GEN7(ring), 354 I915_WRITE(RING_PP_DIR_DCLV(ring), PP_DIR_DCLV_2G); 355 I915_WRITE(RING_PP_DIR_BASE(ring), pd_offset);
|
H A D | intel_display.c | 252 /* Pineview's Ncounter is a ring counter */ 603 /* m1 is reserved as 0 in Pineview, n is a ring counter */ 7189 struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; local 7192 ret = intel_pin_and_fence_fb_obj(dev, obj, ring); 7196 ret = intel_ring_begin(ring, 6); 7207 intel_ring_emit(ring, MI_WAIT_FOR_EVENT | flip_mask); 7208 intel_ring_emit(ring, MI_NOOP); 7209 intel_ring_emit(ring, MI_DISPLAY_FLIP | 7211 intel_ring_emit(ring, f 7233 struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; local 7274 struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; local 7321 struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; local 7371 struct intel_ring_buffer *ring = &dev_priv->ring[BCS]; local [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/ |
H A D | en.h | 121 /* Maximum ring sizes */ 128 /* Maximum ring sizes */ 132 /* Minimum ring sizes */ 276 u16 cqn; /* index of port CQ associated with this ring */ 333 u16 cqn; /* index of port CQ associated with this ring */ 385 int ring; member in struct:mlx4_en_cq 707 struct mlx4_en_rx_ring *rx_ring = priv->rx_ring[cq->ring]; 786 int entries, int ring, enum cq_type mode, int node); 804 struct mlx4_en_tx_ring *ring, 807 struct mlx4_en_tx_ring *ring); [all...] |
H A D | mlx4_en_netdev.c | 66 struct mlx4_en_rx_ring *rx_ring = priv->rx_ring[cq->ring]; 1128 int ring, err; local 1133 for (ring = 0; ring < priv->rx_ring_num; ring++) { 1135 rx_packets = priv->rx_ring[ring]->packets; 1136 rx_bytes = priv->rx_ring[ring]->bytes; 1140 priv->last_moder_packets[ring])); 1144 priv->last_moder_bytes[ring])) / packets : 0; 1163 if (moder_time != priv->last_moder_time[ring]) { 1572 struct mlx4_en_tx_ring *ring; local [all...] |
/freebsd-11-stable/sys/dev/random/ |
H A D | random_harvestq.c | 103 * Lockless ring buffer holding entropy events 104 * If ring.in == ring.out, 106 * If ring.in != ring.out, 108 * If (ring.in + 1) == ring.out (mod RANDOM_RING_MAX), 111 * NOTE: ring.in points to the last added element, 112 * and ring.out points to the last consumed element. 114 * The ring 123 struct harvest_event ring[RANDOM_RING_MAX]; member in struct:harvest_context::entropy_ring [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | via_drv.h | 78 drm_via_ring_buffer_t ring; member in struct:drm_via_private
|
H A D | mach64_state.c | 446 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; local 456 tail = ring->tail; 457 mach64_ring_tick(dev_priv, ring); 458 head = ring->head;
|
/freebsd-11-stable/sys/xen/ |
H A D | blkif.h | 26 #include <xen/interface/io/ring.h> 30 /* Not a real protocol. Used to generate ring structs which contain 83 * regardless of the protocol in use, based on the ring size. This constant 93 * The number of ring pages required to support a given number of requests
|
/freebsd-11-stable/sys/dev/bnxt/ |
H A D | bnxt_hwrm.h | 45 struct bnxt_ring *ring, uint16_t cmpl_ring_id, uint32_t stat_ctx_id,
|
H A D | bnxt_hwrm.c | 728 "Attempt to re-allocate ring group %04x\n", grp->grp_id); 756 struct bnxt_ring *ring, uint16_t cmpl_ring_id, uint32_t stat_ctx_id, 763 if (ring->phys_id != (uint16_t)HWRM_NA_SIGNATURE) { 765 "Attempt to re-allocate ring %04x\n", ring->phys_id); 780 req.page_tbl_addr = htole64(ring->paddr); 781 req.length = htole32(ring->ring_size); 782 req.logical_id = htole16(ring->id); 799 ring->phys_id = le16toh(resp->ring_id); 981 req.async_event_cr = htole16(softc->def_cp_ring.ring 755 bnxt_hwrm_ring_alloc(struct bnxt_softc *softc, uint8_t type, struct bnxt_ring *ring, uint16_t cmpl_ring_id, uint32_t stat_ctx_id, bool irq) argument [all...] |
/freebsd-11-stable/sys/dev/nxge/include/ |
H A D | xgehal-ring.h | 38 /* HW ring configuration */ 282 * @channel: Channel "base" of this ring, the common part of all HAL 327 * completed ring descriptor. 398 __hal_ring_rxd_priv(xge_hal_ring_t *ring, xge_hal_dtr_h dtrh); 460 #include <dev/nxge/xgehal/xgehal-ring-fp.c>
|
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_pm.c | 257 struct radeon_ring *ring = &rdev->ring[i]; local 258 if (!ring->ready) { 832 struct radeon_ring *ring = &rdev->ring[i]; local 834 if (ring->ready) {
|