Searched refs:ring (Results 176 - 200 of 213) sorted by relevance

123456789

/freebsd-11-stable/sys/dev/nxge/include/
H A Dxgehal-device.h39 #include <dev/nxge/include/xgehal-ring.h>
606 * @chan_type: Channel type (fifo/ring).
976 xge_hal_lro_process_rx(int ring, u8 *eth_hdr, u8 *ip_hdr, tcplro_t **tcp,
987 xge_hal_lro_next_session (xge_hal_device_t *hldev, int ring);
H A Dxgehal-config.h323 * struct xge_hal_ring_queue_t - Single ring configuration.
329 * @dram_size_mb: Size (in MB) of Xframe DRAM used for _that_ ring.
332 * If a single ring is used, @dram_size_mb can be set to 64.
339 * @max_frm_len: Maximum frame length that can be received on _that_ ring.
340 * Setting this field to -1 ensures that the ring will
357 * @configured: Boolean. Use 1 to specify that the ring is configured.
368 * Single ring configuration.
441 * struct xge_hal_ring_config_t - Array of ring configurations.
449 * @queue: Array of all Xframe ring configurations.
451 * Array of ring configuration
746 xge_hal_ring_config_t ring; member in struct:xge_hal_device_config_t
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMEHABIPrinter.h37 static ArrayRef<RingEntry> ring();
70 inline ArrayRef<OpcodeDecoder::RingEntry> OpcodeDecoder::ring() { function in class:llvm::ARM::EHABI::OpcodeDecoder
311 for (const auto &RE : ring()) {
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_bdg.c44 On the rx ring, the per-port lock is grabbed initially to reserve
45 a number of slot in the ring, then the lock is released,
47 the lock is acquired again and the receive ring is updated.
48 (A similar thing is done on the tx ring for NIC and host stack
704 /* Use a separate core for each ring. If nr_num_polling_cpus>1
707 * ring 2 and 3 are polled by core 2 and 3, respectively. */
954 struct netmap_ring *ring = kring->ring; local
973 struct netmap_slot *slot = &ring->slot[nm_i];
1086 * The only part of the ring tha
[all...]
H A Dnetmap_kern.h369 * private, kernel view of a ring. Keeps track of the status of
370 * a ring across system calls.
373 * It corresponds to ring->head
379 * ring->head, hwtail is advanced on incoming packets,
380 * and a wakeup is generated when hwtail passes ring->cur
410 * Concurrent rxsync or txsync on the same ring are prevented through
419 * and receiver. They are protected through the q_lock on the RX ring.
422 struct netmap_ring *ring; member in struct:netmap_kring
429 * at the ring (which could be modified). These are set in the
439 #define NKR_FORWARD 0x4 /* (host ring onl
2266 struct netmap_ring *ring = kring->ring; local
[all...]
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_pm.c2529 struct intel_ring_buffer *ring; local
2572 for_each_ring(ring, dev_priv, i)
2573 I915_WRITE(RING_MAX_IDLE(ring->mmio_base), 10);
2699 * For each potential GPU frequency, load a ring frequency we'd like
2701 * the PCU should use as a reference to determine the ring frequency.
2709 * ring freq.
2781 struct intel_ring_buffer *ring = &dev_priv->ring[RCS]; local
2804 ret = intel_ring_begin(ring, 6);
2811 intel_ring_emit(ring, MI_SUSPEND_FLUS
3287 struct intel_ring_buffer *ring; local
[all...]
H A Di915_drv.c75 "Use semaphores for inter-ring sync (default: -1 (use per-chip defaults))");
854 * - re-init ring buffer
899 struct intel_ring_buffer *ring; local
906 for_each_ring(ring, dev_priv, i)
907 ring->init(ring);
H A Di915_reg.h120 #define RING_PP_DIR_BASE(ring) ((ring)->mmio_base+0x228)
121 #define RING_PP_DIR_BASE_READ(ring) ((ring)->mmio_base+0x518)
122 #define RING_PP_DIR_DCLV(ring) ((ring)->mmio_base+0x220)
452 #define RING_FAULT_REG(ring) (0x4094 + 0x100*(ring)->id)
547 #define RING_MODE_GEN7(ring) ((ring)
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-tim-defs.h425 uint64_t rings_pending_vec : 64; /**< Pending rings vector. Indicates which ring in TIM are
426 pending traversal. Bit 0 represents ring 0 while bit 63
427 represents ring 63. */
540 * A ring is in error if its interval has elapsed more than once without having been serviced. This is
542 * specified for the ring.
549 uint64_t int0 : 64; /**< Interrupt bit per ring. Each bit indicates the
550 ring number in error. Each bit in this reg is set
698 * Internal per-ring state intended for debug use only - tim.ctl[47:0]
709 uint64_t count : 22; /**< Time offset for the ring
716 is written for the ring
854 uint64_t ring : 4; /**< Ring ID */ member in struct:cvmx_tim_mem_ring0::cvmx_tim_mem_ring0_s
905 uint64_t ring : 4; /**< Ring ID */ member in struct:cvmx_tim_mem_ring1::cvmx_tim_mem_ring1_s
[all...]
/freebsd-11-stable/contrib/libpcap/msdos/
H A Dpkt_rx1.s30 _rxOutOfs dw offset _pktRxBuf ; ring buffer offsets
H A Dpkt_rx0.asm55 _rxOutOfs dw offset _pktRxBuf ; ring buffer offsets
/freebsd-11-stable/sys/dev/oce/
H A Doce_mbox.c346 mbx = RING_GET_PRODUCER_ITEM_VA(mq->ring, struct oce_mbx);
358 bus_dmamap_sync(mq->ring->dma.tag, mq->ring->dma.map,
360 RING_PUT(mq->ring, 1);
1690 num_pages = oce_page_list(rq->ring, &fwcmd->params.req.pages[0]);
1754 num_pages = oce_page_list(wq->ring, &fwcmd->params.req.pages[0]);
1806 num_pages = oce_page_list(eq->ring, &fwcmd->params.req.pages[0]);
1865 num_pages = oce_page_list(cq->ring, &fwcmd->params.req.pages[0]);
2333 num_pages = oce_page_list(rq->ring, &fwcmd->params.req.pages[0]);
/freebsd-11-stable/sys/dev/vxge/vxgehal/
H A Dvxgehal-virtualpath.c7041 * interrupts(Can be repeated). If fifo or ring are not enabled
7555 __hal_ring_t *ring; local
7570 ring = (__hal_ring_t *) vpath->ringh;
7571 if (ring == NULL) {
7577 ring->cmpl_cnt = 0;
7578 ring->channel.poll_bytes = 0;
7583 if (ring->callback(vpath_handle, first_rxdh, rxd_priv,
7584 t_code, ring->channel.userdata) != VXGE_HAL_OK) {
7987 if (vp_config->ring.enable == VXGE_HAL_RING_DISABLE) {
7997 if (vp_config->ring
[all...]
/freebsd-11-stable/sys/dev/ena/
H A Dena.c387 ena_init_io_rings_common(struct ena_adapter *adapter, struct ena_ring *ring, argument
391 ring->qid = qid;
392 ring->adapter = adapter;
393 ring->ena_dev = adapter->ena_dev;
394 ring->first_interrupt = false;
395 ring->no_interrupt_event_cnt = 0;
412 /* TX/RX common ring state */
416 /* TX specific ring state */
444 /* Allocate a buf ring */
745 /* Flush buffer ring, */
1448 struct ena_ring *ring; local
[all...]
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/BM/
H A Dbman_low.c134 * analysis, look at using the "extra" bit in the ring index registers to avoid
152 /* Bit-wise logic to wrap a ring pointer by clearing the "carry bit" */
156 /* Bit-wise logic to convert a ring pointer to a ring index */
162 /* Increment the 'cursor' ring pointer, taking 'vbit' into account */
182 rcr->ring = ptr_ADD(portal->addr.addr_ce, CL_RCR);
185 rcr->cursor = rcr->ring + pi;
/freebsd-11-stable/crypto/heimdal/appl/telnet/telnet/
H A DMakefile.in102 main.$(OBJEXT) network.$(OBJEXT) ring.$(OBJEXT) \
397 telnet_SOURCES = authenc.c commands.c main.c network.c ring.c \
399 utilities.c defines.h externs.h ring.h telnet_locl.h types.h
501 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ring.Po@am__quote@
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_device.c195 * in memory with the status of certain GPU events (fences, ring pointers,
1018 /* set up ring ids */
1020 rdev->ring[i].idx = i;
1144 DRM_ERROR("ib ring test failed (%d).\n", r);
1390 DRM_ERROR("ib ring test failed (%d).\n", r);
1450 ring_sizes[i] = radeon_ring_backup(rdev, &rdev->ring[i],
1455 "on ring %d.\n", ring_sizes[i], i);
1470 radeon_ring_restore(rdev, &rdev->ring[i],
1478 dev_err(rdev->dev, "ib ring test failed (%d).\n", r);
H A Dradeon_ttm.c193 if (rbo->rdev->ring[RADEON_RING_TYPE_GFX_INDEX].ready == false)
257 if (!rdev->ring[ridx].ready) {
258 DRM_ERROR("Trying to move memory with ring turned off.\n");
385 if (!rdev->ring[radeon_copy_ring_index(rdev)].ready ||
/freebsd-11-stable/sys/dev/lmc/
H A Dif_lmc.h1007 /* DMA descriptors are kept in a ring.
1010 * The ring also contains a tailq of data buffers.
1016 struct dma_desc *first; /* first descriptor in ring */
1017 struct dma_desc *last; /* last descriptor in ring */
1130 struct desc_ring txring; /* tx descriptor ring state */
1131 struct desc_ring rxring; /* rx descriptor ring state */
1155 # define DMA_SYNC(map, size, flags) bus_dmamap_sync(ring->tag, map, flags)
1156 # define DMA_LOAD(map, addr, size) bus_dmamap_load(ring->tag, map, addr, size, fbsd_dmamap_load, ring, 0)
/freebsd-11-stable/sys/dev/et/
H A Dif_et.c810 bus_dma_tag_t *tag, uint8_t **ring, bus_dmamap_t *map, bus_addr_t *paddr,
823 /* Allocate DMA'able memory for ring. */
824 error = bus_dmamem_alloc(*tag, (void **)ring,
831 /* Load the address of the ring. */
833 error = bus_dmamap_load(*tag, *map, *ring, maxsize, et_dma_map_addr,
845 et_dma_ring_free(struct et_softc *sc, bus_dma_tag_t *tag, uint8_t **ring, argument
853 if (*ring != NULL) {
854 bus_dmamem_free(*tag, *ring, map);
855 *ring = NULL;
884 /* TX ring
809 et_dma_ring_alloc(struct et_softc *sc, bus_size_t alignment, bus_size_t maxsize, bus_dma_tag_t *tag, uint8_t **ring, bus_dmamap_t *map, bus_addr_t *paddr, const char *msg) argument
[all...]
/freebsd-11-stable/sys/net/
H A Diflib.c314 /* this should really scale with ring size - this is a fairly arbitrary value */
541 * Only allow a single packet to take up most 1/nth of the tx ring
824 struct netmap_ring *ring = kring->ring; local
837 * IMPORTANT: we must leave one free slot in the ring,
843 struct netmap_slot *slot = &ring->slot[nm_i];
893 * Reconcile kernel and user view of the transmit ring.
911 struct netmap_ring *ring = kring->ring; local
912 u_int nm_i; /* index into the netmap ring */
1047 struct netmap_ring *ring = kring->ring; local
2773 iflib_txd_db_check(if_ctx_t ctx, iflib_txq_t txq, int ring, qidx_t in_use) argument
3560 bool do_prefetch, ring, rang; local
[all...]
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxgehal-channel.c31 #include <dev/nxge/include/xgehal-ring.h>
H A Dxgehal-config.c215 * __hal_ring_queue_check - Check ring queue configuration
216 * @new_config: ring queue configuration information
422 * __hal_ring_config_check - Check ring configuration
657 if ((status = __hal_ring_config_check(&new_config->ring))
/freebsd-11-stable/sys/dev/ioat/
H A Dioat_internal.h472 struct ioat_descriptor *ring; member in struct:ioat_softc
/freebsd-11-stable/sys/dev/virtio/
H A Dvirtqueue.c110 "invalid ring index: %d, max: %d", (_idx), \
115 VQ_RING_DESC_CHAIN_END, "full ring terminated " \
205 "cannot allocate memory for virtqueue ring\n");
576 uep = &vq->vq_ring.used->ring[used_idx];
679 vq->vq_ring.avail->ring[avail_idx] = desc_idx;

Completed in 403 milliseconds

123456789