Searched refs:ring (Results 126 - 150 of 213) sorted by last modified time

123456789

/freebsd-11-stable/sys/xen/
H A Dblkif.h26 #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/xen/interface/io/
H A Dconsole.h32 #define MASK_XENCONS_IDX(idx, ring) ((idx) & (sizeof(ring)-1))
H A Dring.h2 * ring.h
4 * Shared producer-consumer ring macros.
48 * Calculate size of a shared ring, given the total available space for the
49 * ring and indexes (_sz), and the name tag of the request/response structure.
50 * A ring contains as many entries as will fit, rounded down to the nearest
54 (__RD32(((_sz) - offsetof(struct _s##_sring, ring)) / \
55 sizeof(((struct _s##_sring *)0)->ring[0])))
60 (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
63 * Macros to make the correct C datatypes for a new kind of ring
[all...]
H A Dtpmif.h63 struct tpmif_ring ring[TPMIF_TX_RING_SIZE]; member in struct:tpmif_tx_interface
/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...]
H A Dcvmx-tim.c111 * 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/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;
H A Dbman_private.h212 struct bm_rcr_entry *ring, *cursor; member in struct:bm_rcr
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/QM/
H A Dqman_low.h150 * 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...]
H A Dqman_private.h213 struct qm_eqcr_entry *ring, *cursor; member in struct:qm_eqcr
225 struct qm_dqrr_entry *ring, *cursor; member in struct:qm_dqrr
234 #define QM_DQRR_FLAG_RE 0x01 /* Stash ring entries */
239 struct qm_mr_entry *ring, *cursor; member in struct:qm_mr
/freebsd-11-stable/sys/dev/beri/virtio/
H A Dvirtio.c137 head = be16toh(vq->vq_avail->ring[idx & (vq->vq_qsize - 1)]);
179 head = be16toh(vq->vq_avail->ring[vq->vq_last_avail++ & mask]);
182 vue = &vu->ring[uidx++ & mask];
/freebsd-11-stable/sys/dev/sis/
H A Dif_sis.c1186 bus_size_t maxsize, bus_dma_tag_t *tag, uint8_t **ring, bus_dmamap_t *map,
1200 /* Allocate DMA'able memory for ring. */
1201 error = bus_dmamem_alloc(*tag, (void **)ring,
1208 /* Load the address of the ring. */
1210 error = bus_dmamap_load(*tag, *map, *ring, maxsize, sis_dmamap_cb,
1239 /* Create RX ring. */
1242 &sc->sis_rx_list_map, &sc->sis_rx_paddr, "RX ring");
1246 /* Create TX ring. */
1249 &sc->sis_tx_list_map, &sc->sis_tx_paddr, "TX ring");
1333 /* Destroy RX ring
1185 sis_dma_ring_alloc(struct sis_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/dev/oce/
H A Doce_util.c149 * @brief Destroy a ring buffer
151 * @param ring ring buffer
155 oce_destroy_ring_buffer(POCE_SOFTC sc, oce_ring_buffer_t *ring) argument
157 oce_dma_free(sc, &ring->dma);
158 free(ring, M_DEVBUF);
169 oce_ring_buffer_t *ring; local
172 ring = malloc(sizeof(oce_ring_buffer_t), M_DEVBUF, M_NOWAIT | M_ZERO);
173 if (ring == NULL)
176 ring
254 oce_page_list(oce_ring_buffer_t *ring, struct phys_addr *pa_list) argument
[all...]
/freebsd-11-stable/sys/dev/vxge/vxgehal/
H A Dvxgehal-device.c2791 if (device_config->vp_config[i].ring.enable ==
2794 (device_config->vp_config[i].ring.ring_length +
2796 device_config->vp_config[i].ring.buffer_mode) - 1) /
2798 device_config->vp_config[i].ring.buffer_mode);
H A Dvxgehal-mgmtaux.c753 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 Dvxgehal-ring.c101 * @ringh: Handle to the ring
109 __hal_ring_t *ring = (__hal_ring_t *) ringh; local
112 dma_object = __hal_mempool_memblock_dma(ring->mempool, 0);
123 * @mempoolh: Handle to the memory pool of the ring
165 * @mempoolh: Handle to the memory pool of the ring
222 * @mempoolh: Handle to the memory pool of the ring
223 * @ring: ring
232 __hal_ring_t *ring,
241 vxge_assert((mempoolh != NULL) && (ring !
230 __hal_ring_rxdblock_link( vxge_hal_mempool_h mempoolh, __hal_ring_t *ring, u32 from, u32 to) argument
321 __hal_ring_t *ring = (__hal_ring_t *) userdata; local
435 __hal_ring_t *ring = (__hal_ring_t *) userdata; local
467 __hal_ring_initial_replenish( __hal_ring_t *ring, vxge_hal_reopen_e reopen) argument
527 __hal_ring_t *ring; local
692 __hal_ring_t *ring = (__hal_ring_t *) ringh; local
747 __hal_ring_t *ring = (__hal_ring_t *) ringh; local
806 __hal_ring_t *ring; local
943 __hal_ring_t *ring; local
1018 __hal_ring_t *ring; local
1108 __hal_ring_t *ring; local
1169 __hal_ring_t *ring; local
1300 __hal_ring_t *ring; local
1354 __hal_ring_t *ring; local
1448 __hal_ring_t *ring; local
1777 __hal_ring_t *ring; local
[all...]
H A Dvxgehal-ring.h81 * @channel: Channel "base" of this ring, the common part of all HAL
87 * @ring_length: Length of the ring
115 * If not NULL, HAL invokes the callback when opening the ring.
119 * @stats: Statistics for ring
146 #define VXGE_HAL_RING_ULD_PRIV(ring, rxdh) \
147 ring->channel.dtr_arr[ \
150 #define VXGE_HAL_RING_HAL_PRIV(ring, rxdh) \
151 ((__hal_ring_rxd_priv_t *)(ring->channel.dtr_arr[ \
191 __hal_ring_t *ring,
H A Dvxgehal.h61 #include <dev/vxge/vxgehal/vxgehal-ring.h>
/freebsd-11-stable/sys/dev/wpi/
H A Dif_wpi.c33 * There is 6 memory rings. 1 command ring, 1 rx data ring & 4 tx data rings.
36 * The rx data ring consists of 32 dma buffers. Two registers are used to
37 * indicate where in the ring the driver and the firmware are up to. The
48 * The command ring operates in the same manner as the tx queues.
435 "could not allocate TX ring %d, error %d\n", i,
441 /* Allocate RX ring. */
443 device_printf(dev, "could not allocate RX ring, error %d\n",
990 struct wpi_rx_ring *ring = &sc->rxq; local
994 ring
1081 struct wpi_rx_ring *ring = &sc->rxq; local
1104 struct wpi_rx_ring *ring = &sc->rxq; local
1127 struct wpi_rx_ring *ring = &sc->rxq; local
1154 wpi_alloc_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring, uint8_t qid) argument
1230 wpi_update_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument
1236 wpi_update_tx_ring_ps(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument
1256 wpi_reset_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument
1288 wpi_free_tx_ring(struct wpi_softc *sc, struct wpi_tx_ring *ring) argument
1908 struct wpi_rx_ring *ring = &sc->rxq; local
2054 struct wpi_tx_ring *ring = &sc->txq[desc->qid & 0x3]; local
2109 struct wpi_tx_ring *ring = &sc->txq[WPI_CMD_QUEUE_NUM]; local
2373 struct wpi_tx_ring *ring = &sc->txq[qid]; local
2502 struct wpi_tx_ring *ring = &sc->txq[i]; local
2575 struct wpi_tx_ring *ring; local
2607 struct wpi_tx_ring *ring; local
3040 struct wpi_tx_ring *ring = &sc->txq[ac]; local
3213 struct wpi_tx_ring *ring = &sc->txq[WPI_CMD_QUEUE_NUM]; local
[all...]
/freebsd-11-stable/sys/dev/rt/
H A Dif_rt.c143 struct rt_softc_rx_ring *ring, int limit);
145 struct rt_softc_tx_ring *ring);
153 struct rt_softc_rx_ring *ring, int qid);
155 struct rt_softc_rx_ring *ring);
157 struct rt_softc_rx_ring *ring);
159 struct rt_softc_tx_ring *ring, int qid);
161 struct rt_softc_tx_ring *ring);
163 struct rt_softc_tx_ring *ring);
471 device_printf(dev, "could not allocate Tx ring #%d\n",
481 device_printf(dev, "could not allocate Rx ring\
1007 struct rt_softc_tx_ring *ring; local
1813 rt_rx_eof(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int limit) argument
1972 rt_tx_eof(struct rt_softc *sc, struct rt_softc_tx_ring *ring) argument
2176 rt_alloc_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int qid) argument
2281 rt_reset_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) argument
2300 rt_free_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) argument
2341 rt_alloc_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring, int qid) argument
2446 rt_reset_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) argument
2490 rt_free_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) argument
[all...]
H A Dif_rtvar.h65 #define RT_SOFTC_TX_RING_LOCK(ring) mtx_lock(&(ring)->lock)
66 #define RT_SOFTC_TX_RING_UNLOCK(ring) mtx_unlock(&(ring)->lock)
67 #define RT_SOFTC_TX_RING_ASSERT_LOCKED(ring) \
68 mtx_assert(&(ring)->lock, MA_OWNED)
/freebsd-11-stable/sys/dev/qlxgb/
H A Dqla_isr.c56 uint32_t idx, length, status, ring; local
65 ring = (uint32_t)Q8_STAT_DESC_TYPE(data);
70 if (ring == 0) {
72 device_printf(ha->pci_dev, "%s: ring[%d] index[0x%08x]"
74 __func__, ring, idx, length);
79 device_printf(ha->pci_dev, "%s: ring[%d] index[0x%08x]"
81 __func__, ring, idx, length);
86 if (ring == 0)
93 __func__, ring, idx, sds_idx));
99 __func__, ring, id
[all...]
/freebsd-11-stable/sys/dev/vxge/include/
H A Dvxgehal-config.h1922 * @enable: Is this ring to be commissioned
1923 * @ring_length: Numbers of RxDs in the ring
1929 * @max_frm_len: Maximum frame length that can be received on _that_ ring.
1931 * the ring will "accept"
2044 * @ring: See vxge_hal_ring_config_t {}.
2194 vxge_hal_ring_config_t ring; member in struct:vxge_hal_vp_config_t
/freebsd-11-stable/sys/dev/drm/
H A Di915_dma.c39 * the head pointer changes, so that EBUSY only happens if the ring
45 drm_i915_ring_buffer_t *ring = &(dev_priv->ring); local
53 ring->head = I915_READ(PRB0_HEAD) & HEAD_ADDR;
55 ring->space = ring->head - (ring->tail + 8);
56 if (ring->space < 0)
57 ring->space += ring
129 drm_i915_ring_buffer_t *ring = &(dev_priv->ring); local
[all...]
H A Di915_drv.h116 drm_i915_ring_buffer_t ring; member in struct:drm_i915_private
279 * fire periodically while the ring is running. When it
553 * Lock test for when it's just for synchronization of ring access.
556 * has access to the ring.
559 if (((drm_i915_private_t *)dev->dev_private)->ring.ring_obj == NULL) \
582 if (dev_priv->ring.space < (n)*4) \
585 outring = dev_priv->ring.tail; \
586 ringmask = dev_priv->ring.tail_mask; \
587 virt = dev_priv->ring.virtual_start; \
600 dev_priv->ring
[all...]

Completed in 258 milliseconds

123456789