Searched refs:ring (Results 126 - 150 of 213) sorted by relevance

123456789

/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwn.c542 "could not allocate TX ring %d, error %d\n", i,
548 /* Allocate RX ring. */
550 device_printf(dev, "could not allocate RX ring, error %d\n",
1832 iwn_alloc_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument
1837 ring->cur = 0;
1843 error = iwn_dma_contig_alloc(sc, &ring->desc_dma, (void **)&ring->desc,
1847 "%s: could not allocate RX ring DMA memory, error %d\n",
1853 error = iwn_dma_contig_alloc(sc, &ring->stat_dma, (void **)&ring
1929 iwn_reset_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument
1950 iwn_free_rx_ring(struct iwn_softc *sc, struct iwn_rx_ring *ring) argument
1979 iwn_alloc_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring, int qid) argument
2049 iwn_reset_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) argument
2080 iwn_free_tx_ring(struct iwn_softc *sc, struct iwn_tx_ring *ring) argument
2963 struct iwn_rx_ring *ring = &sc->rxq; local
3492 struct iwn_tx_ring *ring; local
3522 struct iwn_tx_ring *ring; local
3559 struct iwn_tx_ring *ring = &sc->txq[desc->qid & 0xf]; local
3621 struct iwn_tx_ring *ring; local
3652 struct iwn_tx_ring *ring = &sc->txq[qid]; local
4004 struct iwn_tx_ring *ring = &sc->txq[qid]; local
4080 struct iwn_tx_ring *ring = &sc->txq[i]; local
4367 struct iwn_tx_ring *ring; local
4668 struct iwn_tx_ring *ring; local
5101 struct iwn_tx_ring *ring; local
[all...]
/freebsd-11-stable/sys/dev/netmap/
H A Dif_re_netmap.h65 * Reconcile kernel and user view of the transmit ring.
72 struct netmap_ring *ring = kring->ring; local
73 u_int nm_i; /* index into the netmap ring */
74 u_int nic_i; /* index into the NIC ring */
96 struct netmap_slot *slot = &ring->slot[nm_i];
108 if (nic_i == lim) /* mark end of ring */
120 /* Fill the slot in the NIC ring. */
134 /* synchronize the NIC ring */
167 * Reconcile kernel and user view of the receive ring
174 struct netmap_ring *ring = kring->ring; local
[all...]
H A Dnetmap_mem2.c644 DECLARE_SYSCTLS(NETMAP_RING_POOL, ring);
1744 * On the other end, the pipe ring dimension may be different from
1745 * the parent port ring dimension. As a compromise, we allocate twice the
1754 nm_prinf("req if %d*%d ring %d*%d buf %d*%d",
1861 struct netmap_ring *ring = kring->ring; local
1863 if (ring == NULL || kring->users > 0 || (kring->nr_kflags & NKR_NEEDRING)) {
1865 nm_prinf("NOT deleting ring %s (ring %p, users %d neekring %d)",
1866 kring->name, ring, krin
1900 struct netmap_ring *ring = kring->ring; local
[all...]
H A Dnetmap_generic.c44 * For each receive ring we allocate one "struct mbq"
54 * (those with NS_REPORT, or otherwise every half ring)
58 * the specific ring have been completed, and generate
447 * on ring 'r'. However we check it explicitely to stay
450 * on 'r', we try to see if it belongs to some other ring.
465 nm_prlim(1, "event %p migrated: ring %u --> %u",
653 struct netmap_ring *ring = kring->ring; local
654 u_int nm_i; /* index into the netmap ring */ // j
686 struct netmap_slot *slot = &ring
869 struct netmap_ring *ring = kring->ring; local
[all...]
/freebsd-11-stable/sys/dev/oce/
H A Doce_if.c708 bus_dmamap_sync(eq->ring->dma.tag, eq->ring->dma.map,
711 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe);
715 bus_dmamap_sync(eq->ring->dma.tag, eq->ring->dma.map,
717 RING_GET(eq->ring, 1);
1136 if (num_wqes >= RING_NUM_FREE(wq->ring)) {
1147 RING_GET_PRODUCER_ITEM_VA(wq->ring, struct oce_nic_hdr_wqe);
1180 RING_PUT(wq->ring, 1);
1181 atomic_add_int(&wq->ring
[all...]
/freebsd-11-stable/sys/modules/vxge/
H A DMakefile53 SRCS += vxgehal-ring.c
/freebsd-11-stable/usr.bin/telnet/
H A DMakefile10 SRCS= commands.c main.c network.c ring.c sys_bsd.c \
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_cq.c54 int entries, int ring, enum cq_type mode,
86 cq->ring = ring;
147 * ring we assigned for the RX
155 cq->size = priv->rx_ring[cq->ring]->actual_size;
52 mlx4_en_create_cq(struct mlx4_en_priv *priv, struct mlx4_en_cq **pcq, int entries, int ring, enum cq_type mode, int node) argument
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_gart.c416 * the kernel tells the ring what VMID to use for that command
683 * @ring: ring we want to submit job to
691 struct radeon_vm *vm, int ring)
714 if (radeon_fence_is_earlier(fence, best[fence->ring])) {
715 best[fence->ring] = fence;
716 choices[fence->ring == ring ? 0 : 1] = i;
1096 struct radeon_ring *ring = &rdev->ring[rid local
690 radeon_vm_grab_id(struct radeon_device *rdev, struct radeon_vm *vm, int ring) argument
[all...]
H A Dradeon_irq_kms.c299 * @ring: ring whose interrupt you want to enable
301 * Enables the software interrupt for a specific ring (all asics).
303 * a particular ring.
305 void radeon_irq_kms_sw_irq_get(struct radeon_device *rdev, int ring) argument
312 if (atomic_inc_return(&rdev->irq.ring_int[ring]) == 1) {
323 * @ring: ring whose interrupt you want to disable
325 * Disables the software interrupt for a specific ring (all asics).
327 * a particular ring
329 radeon_irq_kms_sw_irq_put(struct radeon_device *rdev, int ring) argument
[all...]
H A Dradeon_asic.c179 .ring = {
255 .ring = {
331 .ring = {
407 .ring = {
483 .ring = {
559 .ring = {
635 .ring = {
711 .ring = {
787 .ring = {
863 .ring
[all...]
H A Dradeon_drv.h191 drm_radeon_ring_buffer_t ring; member in struct:drm_radeon_private
2005 if (head == dev_priv->ring.tail) \
2065 #define RING_LOCALS int write, _nr, _align_nr; unsigned int mask; u32 *ring;
2073 _align_nr = RADEON_RING_ALIGN - ((dev_priv->ring.tail + n) & (RADEON_RING_ALIGN-1)); \
2075 if (dev_priv->ring.space <= (_align_nr * sizeof(u32))) { \
2079 _nr = n; dev_priv->ring.space -= (n) * sizeof(u32); \
2080 ring = dev_priv->ring.start; \
2081 write = dev_priv->ring.tail; \
2082 mask = dev_priv->ring
[all...]
H A Dradeon_asic.h76 void r100_ring_start(struct radeon_device *rdev, struct radeon_ring *ring);
116 int r100_ib_test(struct radeon_device *rdev, struct radeon_ring *ring);
167 extern void r300_ring_start(struct radeon_device *rdev, struct radeon_ring *ring);
276 void rv515_ring_start(struct radeon_device *rdev, struct radeon_ring *ring);
320 struct radeon_ring *ring,
324 bool r600_dma_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring);
331 int r600_ib_test(struct radeon_device *rdev, struct radeon_ring *ring);
332 int r600_dma_ib_test(struct radeon_device *rdev, struct radeon_ring *ring);
493 bool cayman_dma_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring);
496 int ring, u3
[all...]
H A Dradeon_sa.c33 * after the last allocated bo. Principle is that in a linear GPU ring
288 /* limit the number of tries each ring gets */
307 ++tries[best_bo->fence->ring];
398 &sa_manager->flist[fence->ring]);
423 seq_printf(m, " protected by 0x%016llx on ring %d",
424 i->fence->seq, i->fence->ring);
/freebsd-11-stable/sys/dev/drm/
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...]
H A Dr600_cp.c535 /* Reset the CP ring */
1625 /* Set ring buffer size */
1630 (dev_priv->ring.rptr_update_l2qw << 8) |
1631 dev_priv->ring.size_l2qw);
1635 (dev_priv->ring.rptr_update_l2qw << 8) |
1636 dev_priv->ring.size_l2qw);
1649 (dev_priv->ring.rptr_update_l2qw << 8) |
1650 dev_priv->ring.size_l2qw);
1655 (dev_priv->ring.rptr_update_l2qw << 8) |
1656 dev_priv->ring
[all...]
H A Dradeon_drv.h272 * sequence into the ring */
285 drm_radeon_ring_buffer_t ring; member in struct:drm_radeon_private
1992 if (head == dev_priv->ring.tail) \
2051 #define RING_LOCALS int write, _nr, _align_nr; unsigned int mask; u32 *ring;
2059 _align_nr = RADEON_RING_ALIGN - ((dev_priv->ring.tail + n) & (RADEON_RING_ALIGN - 1)); \
2061 if ( dev_priv->ring.space <= (_align_nr) * sizeof(u32) ) { \
2065 _nr = n; dev_priv->ring.space -= (n) * sizeof(u32); \
2066 ring = dev_priv->ring.start; \
2067 write = dev_priv->ring
[all...]
/freebsd-11-stable/usr.sbin/inetd/
H A Dbuiltins.c73 static char ring[128]; variable
114 endring = ring;
138 rs = ring;
152 memmove(text + len, ring, LINESIZ - len);
155 rs = ring;
176 for (rs = ring;;) {
181 memmove(text + len, ring, LINESIZ - len);
184 rs = ring;
/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/net/
H A Dnetmap.h91 * There is one netmap_ring per physical NIC ring, plus one tx/rx ring
98 * The netmap_ring is the userspace-visible replica of the NIC ring.
104 * (char *)ring + buf_ofs + index * NETMAP_BUF_SIZE
134 * netmap:foo all NIC ring pairs
135 * netmap:foo^ only host ring pair
136 * netmap:foo+ all NIC ring + host ring pairs
137 * netmap:foo-k the k-th NIC ring pair
138 * netmap:foo{k PIPE ring pai
342 nm_ring_empty(struct netmap_ring *ring) argument
[all...]
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp.h143 #define ring_head(ring) (atomic_read(&(ring).head))
144 #define ring_tail(ring) (atomic_read(&(ring).tail))
145 #define ring_posted(ring) (ring_head(ring) - ring_tail(ring))
/freebsd-11-stable/sys/dev/xen/evtchn/
H A Devtchn_dev.c82 /* Notification ring, accessed via /dev/xen/evtchn. */
85 evtchn_port_t *ring; member in struct:per_user_data
175 u->ring[EVTCHN_RING_MASK(u->ring_prod)] = evtchn->port;
176 wmb(); /* Ensure ring contents visible */
194 u->ring = malloc(PAGE_SIZE, M_EVTCHN, M_WAITOK | M_ZERO);
210 free(u->ring, M_EVTCHN);
237 free(u->ring, M_EVTCHN);
284 /* Byte lengths of two chunks. Chunk split (if any) is at ring wrap. */
305 if (uiomove(&u->ring[EVTCHN_RING_MASK(c)], bytes1, uio) ||
306 ((bytes2 != 0) && uiomove(&u->ring[
[all...]
/freebsd-11-stable/sys/dev/nxge/
H A Dif_nxge.h154 XGE_GET_PARAM(str_kenv, ((*dconfig).ring), param, hardcode);
157 XGE_GET_PARAM(str_kenv, ((*dconfig).ring.queue[qindex]), param, \
161 XGE_GET_PARAM(str_kenv, ((*dconfig).ring.queue[qindex].rti), param, \
/freebsd-11-stable/sys/contrib/ncsw/Peripherals/BM/
H A Dbman_private.h212 struct bm_rcr_entry *ring, *cursor; member in struct:bm_rcr
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxgehal-device-fp.c33 #include <dev/nxge/include/xgehal-ring.h>
968 * @ring_lro: LRO descriptor per rx ring.
1002 * @ring_lro: LRO descriptor per ring.
1026 * @ring_lro: LRO descriptor per rx ring
1278 * @ring: rx ring number
1294 xge_hal_lro_process_rx(int ring, u8 *eth_hdr, u8 *ip_hdr, tcplro_t **tcp, argument
1313 p_lro, ext_info, hldev, &hldev->lro_desc[ring],
1370 int ring = 0; local
1371 return xge_hal_lro_process_rx(ring, buffe
1393 xge_hal_lro_next_session(xge_hal_device_t *hldev, int ring) argument
1421 int ring = 0; /* assume default ring=0 */ local
[all...]

Completed in 184 milliseconds

123456789