Home
last modified time | relevance | path

Searched defs:ring (Results 1 – 25 of 118) sorted by relevance

12345

/freebsd-12.1/sys/dev/drm2/i915/
H A Dintel_ringbuffer.c59 gen2_render_ring_flush(struct intel_ring_buffer *ring, in gen2_render_ring_flush()
443 init_pipe_control(struct intel_ring_buffer *ring) in init_pipe_control()
582 update_mboxes(struct intel_ring_buffer *ring, in update_mboxes()
600 gen6_add_request(struct intel_ring_buffer *ring) in gen6_add_request()
747 gen5_ring_get_irq(struct intel_ring_buffer *ring) in gen5_ring_get_irq()
767 gen5_ring_put_irq(struct intel_ring_buffer *ring) in gen5_ring_put_irq()
782 i9xx_ring_get_irq(struct intel_ring_buffer *ring) in i9xx_ring_get_irq()
802 i9xx_ring_put_irq(struct intel_ring_buffer *ring) in i9xx_ring_put_irq()
883 bsd_ring_flush(struct intel_ring_buffer *ring, in bsd_ring_flush()
900 i9xx_add_request(struct intel_ring_buffer *ring) in i9xx_add_request()
[all …]
H A Dintel_ringbuffer.h24 #define I915_READ_TAIL(ring) I915_READ(RING_TAIL((ring)->mmio_base)) argument
27 #define I915_READ_START(ring) I915_READ(RING_START((ring)->mmio_base)) argument
30 #define I915_READ_HEAD(ring) I915_READ(RING_HEAD((ring)->mmio_base)) argument
33 #define I915_READ_CTL(ring) I915_READ(RING_CTL((ring)->mmio_base)) argument
36 #define I915_READ_IMR(ring) I915_READ(RING_IMR((ring)->mmio_base)) argument
39 #define I915_READ_NOPID(ring) I915_READ(RING_NOPID((ring)->mmio_base)) argument
145 intel_ring_initialized(struct intel_ring_buffer *ring) in intel_ring_initialized()
151 intel_ring_flag(struct intel_ring_buffer *ring) in intel_ring_flag()
157 intel_ring_sync_index(struct intel_ring_buffer *ring, in intel_ring_sync_index()
176 intel_read_status_page(struct intel_ring_buffer *ring, in intel_read_status_page()
[all …]
H A Di915_gem_execbuffer.c346 struct intel_ring_buffer *ring) in i915_gem_execbuffer_reserve_object()
411 i915_gem_execbuffer_reserve(struct intel_ring_buffer *ring, in i915_gem_execbuffer_reserve()
512 struct intel_ring_buffer *ring, in i915_gem_execbuffer_relocate_slow()
634 i915_gem_execbuffer_wait_for_flips(struct intel_ring_buffer *ring, u32 flips) in i915_gem_execbuffer_wait_for_flips()
666 i915_gem_execbuffer_move_to_gpu(struct intel_ring_buffer *ring, in i915_gem_execbuffer_move_to_gpu()
771 struct intel_ring_buffer *ring) in i915_gem_execbuffer_move_to_active()
801 struct intel_ring_buffer *ring) in i915_gem_execbuffer_retire_commands()
812 struct intel_ring_buffer *ring) in i915_reset_gen7_sol_offsets()
846 struct intel_ring_buffer *ring; in i915_gem_do_execbuffer() local
H A Di915_gem_context.c339 mi_set_context(struct intel_ring_buffer *ring, in mi_set_context()
387 struct intel_ring_buffer *ring = to->ring; in do_switch() local
470 int i915_switch_context(struct intel_ring_buffer *ring, in i915_switch_context()
/freebsd-12.1/crypto/heimdal/appl/telnet/telnet/
H A Dring.c83 ring_init(Ring *ring, unsigned char *buffer, int count) in ring_init()
107 ring_mark(Ring *ring) in ring_mark()
117 ring_at_mark(Ring *ring) in ring_at_mark()
131 ring_clear_mark(Ring *ring) in ring_clear_mark()
140 ring_supplied(Ring *ring, int count) in ring_supplied()
150 ring_consumed(Ring *ring, int count) in ring_consumed()
185 ring_empty_count(Ring *ring) in ring_empty_count()
196 ring_empty_consecutive(Ring *ring) in ring_empty_consecutive()
217 ring_full_count(Ring *ring) in ring_full_count()
235 ring_full_consecutive(Ring *ring) in ring_full_consecutive()
[all …]
/freebsd-12.1/contrib/telnet/telnet/
H A Dring.c100 ring_init(Ring *ring, unsigned char *buffer, int count) in ring_init()
124 ring_mark(Ring *ring) in ring_mark()
134 ring_at_mark(Ring *ring) in ring_at_mark()
148 ring_clear_mark(Ring *ring) in ring_clear_mark()
157 ring_supplied(Ring *ring, int count) in ring_supplied()
167 ring_consumed(Ring *ring, int count) in ring_consumed()
202 ring_empty_count(Ring *ring) in ring_empty_count()
213 ring_empty_consecutive(Ring *ring) in ring_empty_consecutive()
234 ring_full_count(Ring *ring) in ring_full_count()
252 ring_full_consecutive(Ring *ring) in ring_full_consecutive()
[all …]
/freebsd-12.1/sys/dev/drm2/radeon/
H A Dradeon_ring.c64 int radeon_ib_get(struct radeon_device *rdev, int ring, in radeon_ib_get()
138 struct radeon_ring *ring = &rdev->ring[ib->ring]; in radeon_ib_schedule() local
264 struct radeon_ring *ring = &rdev->ring[i]; in radeon_ib_ring_tests() local
313 void radeon_ring_write(struct radeon_ring *ring, uint32_t v) in radeon_ring_write()
337 struct radeon_ring *ring) in radeon_ring_supports_scratch_reg()
443 void radeon_ring_commit(struct radeon_device *rdev, struct radeon_ring *ring) in radeon_ring_commit()
476 void radeon_ring_undo(struct radeon_ring *ring) in radeon_ring_undo()
524 void radeon_ring_lockup_update(struct radeon_ring *ring) in radeon_ring_lockup_update()
649 int radeon_ring_restore(struct radeon_device *rdev, struct radeon_ring *ring, in radeon_ring_restore()
757 void radeon_ring_fini(struct radeon_device *rdev, struct radeon_ring *ring) in radeon_ring_fini()
[all …]
H A Dradeon_fence.c62 static void radeon_fence_write(struct radeon_device *rdev, u32 seq, int ring) in radeon_fence_write()
81 static u32 radeon_fence_read(struct radeon_device *rdev, int ring) in radeon_fence_read()
106 int ring) in radeon_fence_emit()
131 void radeon_fence_process(struct radeon_device *rdev, int ring) in radeon_fence_process()
221 u64 seq, unsigned ring) in radeon_fence_seq_signaled()
276 unsigned ring, bool intr, bool lock_ring) in radeon_fence_wait_seq()
456 unsigned i, ring = RADEON_NUM_RINGS; in radeon_fence_wait_any_seq() local
640 int radeon_fence_wait_next_locked(struct radeon_device *rdev, int ring) in radeon_fence_wait_next_locked()
882 int ring; in radeon_fence_driver_init() local
906 int ring, r; in radeon_fence_driver_fini() local
[all …]
H A Devergreen_blit_kms.c45 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_render_target() local
84 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in cp_set_surface_sync() local
112 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_shaders() local
140 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_vtx_resource() local
185 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_tex_resource() local
226 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_scissors() local
257 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in draw_auto() local
282 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_default_state() local
H A Dni.c910 int ring, u32 cp_int_cntl) in cayman_cp_int_cntl_setup()
924 struct radeon_ring *ring = &rdev->ring[fence->ring]; in cayman_fence_ring_emit() local
947 struct radeon_ring *ring = &rdev->ring[ib->ring]; in cayman_ring_ib_execute() local
1023 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in cayman_cp_start() local
1089 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in cayman_cp_fini() local
1122 struct radeon_ring *ring; in cayman_cp_resume() local
1227 struct radeon_ring *ring = &rdev->ring[ib->ring]; in cayman_dma_ring_ib_execute() local
1288 struct radeon_ring *ring; in cayman_dma_resume() local
1559 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in cayman_startup() local
1997 struct radeon_ring *ring = &rdev->ring[ridx]; in cayman_vm_flush() local
[all …]
H A Dr600_blit_kms.c76 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_render_target() local
130 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in cp_set_surface_sync() local
149 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_shaders() local
196 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_vtx_resource() local
233 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_tex_resource() local
272 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_scissors() local
293 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in draw_auto() local
318 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in set_default_state() local
669 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in r600_blit_prepare_copy() local
722 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in r600_blit_done_copy() local
H A Dr600.c2202 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in r600_cp_start() local
2360 struct radeon_ring *ring = &rdev->ring[R600_RING_TYPE_DMA_INDEX]; in r600_dma_resume() local
2513 struct radeon_ring *ring) in r600_dma_ring_test()
2563 struct radeon_ring *ring = &rdev->ring[fence->ring]; in r600_fence_ring_emit() local
2608 struct radeon_ring *ring, in r600_semaphore_ring_emit()
2640 struct radeon_ring *ring = &rdev->ring[fence->ring]; in r600_dma_fence_ring_emit() local
2664 struct radeon_ring *ring, in r600_dma_semaphore_ring_emit()
2715 struct radeon_ring *ring = &rdev->ring[ring_index]; in r600_copy_dma() local
2784 struct radeon_ring *ring; in r600_startup() local
3058 struct radeon_ring *ring = &rdev->ring[ib->ring]; in r600_ring_ib_execute() local
[all …]
H A Dradeon_semaphore.c61 void radeon_semaphore_emit_signal(struct radeon_device *rdev, int ring, in radeon_semaphore_emit_signal()
68 void radeon_semaphore_emit_wait(struct radeon_device *rdev, int ring, in radeon_semaphore_emit_wait()
H A Dr420.c204 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in r420_cp_errata_init() local
222 struct radeon_ring *ring = &rdev->ring[RADEON_RING_TYPE_GFX_INDEX]; in r420_cp_errata_fini() local
/freebsd-12.1/sys/contrib/ck/include/
H A Dck_ring.h57 ck_ring_size(const struct ck_ring *ring) in ck_ring_size()
67 ck_ring_capacity(const struct ck_ring *ring) in ck_ring_capacity()
88 _ck_ring_enqueue_sp(struct ck_ring *ring, in _ck_ring_enqueue_sp()
134 _ck_ring_dequeue_sc(struct ck_ring *ring, in _ck_ring_dequeue_sc()
167 _ck_ring_enqueue_mp(struct ck_ring *ring, in _ck_ring_enqueue_mp()
293 _ck_ring_dequeue_mc(struct ck_ring *ring, in _ck_ring_dequeue_mc()
348 ck_ring_enqueue_spsc(struct ck_ring *ring, in ck_ring_enqueue_spsc()
358 ck_ring_dequeue_spsc(struct ck_ring *ring, in ck_ring_dequeue_spsc()
373 ck_ring_enqueue_mpmc(struct ck_ring *ring, in ck_ring_enqueue_mpmc()
404 ck_ring_dequeue_mpmc(struct ck_ring *ring, in ck_ring_dequeue_mpmc()
[all …]
/freebsd-12.1/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_tx.c60 struct mlx4_en_tx_ring *ring; in mlx4_en_create_tx_ring() local
194 struct mlx4_en_tx_ring *ring = *pring; in mlx4_en_destroy_tx_ring() local
216 struct mlx4_en_tx_ring *ring, in mlx4_en_activate_tx_ring()
244 struct mlx4_en_tx_ring *ring) in mlx4_en_deactivate_tx_ring()
272 struct mlx4_en_tx_ring *ring, u32 index, u8 owner) in mlx4_en_stamp_wqe()
291 struct mlx4_en_tx_ring *ring, u32 index) in mlx4_en_free_tx_desc()
340 mlx4_en_tx_ring_is_full(struct mlx4_en_tx_ring *ring) in mlx4_en_tx_ring_is_full()
466 struct mlx4_en_tx_ring *ring = priv->tx_ring[tx_ind]; in mlx4_en_xmit_poll() local
642 struct mlx4_en_tx_ring *ring = priv->tx_ring[tx_ind]; in mlx4_en_xmit() local
933 struct mlx4_en_tx_ring *ring = priv->tx_ring[tx_ind]; in mlx4_en_transmit_locked() local
[all …]
H A Dmlx4_en_rx.c49 struct mlx4_en_rx_ring *ring, in mlx4_en_init_rx_desc()
74 mlx4_en_alloc_mbuf(struct mlx4_en_rx_ring *ring) in mlx4_en_alloc_mbuf()
234 struct mlx4_en_rx_ring *ring, int index) in mlx4_en_prepare_rx_desc()
250 mlx4_en_update_rx_prod_db(struct mlx4_en_rx_ring *ring) in mlx4_en_update_rx_prod_db()
257 struct mlx4_en_rx_ring *ring; in mlx4_en_fill_rx_buffers() local
304 struct mlx4_en_rx_ring *ring) in mlx4_en_free_rx_buf()
370 struct mlx4_en_rx_ring *ring; in mlx4_en_create_rx_ring() local
465 struct mlx4_en_rx_ring *ring; in mlx4_en_activate_rx_rings() local
550 struct mlx4_en_rx_ring *ring = *pring; in mlx4_en_destroy_rx_ring() local
575 struct mlx4_en_rx_ring *ring) in mlx4_en_deactivate_rx_ring()
[all …]
H A Dmlx4_en_port.c165 const struct mlx4_en_rx_ring *ring = priv->rx_ring[i]; in mlx4_en_fold_software_stats() local
176 const struct mlx4_en_tx_ring *ring = priv->tx_ring[i]; in mlx4_en_fold_software_stats() local
225 const struct mlx4_en_tx_ring *ring; in mlx4_en_DUMP_ETH_STATS() local
463 const struct mlx4_en_tx_ring *ring = priv->tx_ring[i]; in mlx4_en_get_vport_stats() local
/freebsd-12.1/sys/dev/axgbe/
H A Dxgbe-desc.c126 struct xgbe_ring *ring) in xgbe_free_ring()
184 struct xgbe_ring *ring, unsigned int rdesc_count) in xgbe_init_ring()
282 struct xgbe_ring *ring, in xgbe_map_rx_buffer()
341 struct xgbe_ring *ring; in xgbe_wrapper_tx_descriptor_init() local
382 struct xgbe_ring *ring; in xgbe_wrapper_rx_descriptor_init() local
440 struct xgbe_ring *ring; member
450 struct xgbe_ring *ring; in xgbe_map_tx_skb_cb() local
483 struct xgbe_ring *ring = channel->tx_ring; in xgbe_map_tx_skb() local
H A Dxgbe-drv.c199 static inline unsigned int xgbe_tx_avail_desc(struct xgbe_ring *ring) in xgbe_tx_avail_desc()
204 static inline unsigned int xgbe_rx_dirty_desc(struct xgbe_ring *ring) in xgbe_rx_dirty_desc()
210 struct xgbe_ring *ring, unsigned int count) in xgbe_maybe_stop_tx_queue()
554 struct xgbe_ring *ring; in xgbe_free_tx_data() local
579 struct xgbe_ring *ring; in xgbe_free_rx_data() local
695 struct xgbe_ring *ring, struct mbuf *m0, in xgbe_packet_info()
804 struct xgbe_ring *ring; in xgbe_xmit() local
871 struct xgbe_ring *ring = channel->rx_ring; in xgbe_rx_refresh() local
903 struct xgbe_ring *ring = channel->tx_ring; in xgbe_tx_poll() local
952 struct xgbe_ring *ring = channel->rx_ring; in xgbe_rx_poll() local
/freebsd-12.1/sys/dev/rtwn/pci/
H A Drtwn_pci_rx.c89 struct rtwn_rx_ring *ring = &pc->rx_ring; in rtwn_pci_rx_frame() local
185 struct rtwn_rx_ring *ring = &pc->rx_ring; in rtwn_pci_rx_buf_copy() local
252 struct rtwn_tx_ring *ring = &pc->tx_ring[qid]; in rtwn_pci_tx_done() local
324 struct rtwn_rx_ring *ring = &pc->rx_ring; in rtwn_pci_rx_done() local
H A Drtwn_pci_tx.c97 struct rtwn_tx_ring *ring; in rtwn_pci_tx_start_frame() local
204 struct rtwn_tx_ring *ring; in rtwn_pci_tx_start_beacon() local
/freebsd-12.1/sys/dev/oce/
H A Doce_util.c157 oce_destroy_ring_buffer(POCE_SOFTC sc, oce_ring_buffer_t *ring) in oce_destroy_ring_buffer()
171 oce_ring_buffer_t *ring; in oce_create_ring_buffer() local
256 oce_page_list(oce_ring_buffer_t *ring, struct phys_addr *pa_list) in oce_page_list()
/freebsd-12.1/sys/dev/drm/
H A Dmach64_dma.c121 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; in mach64_wait_ring() local
147 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; in mach64_ring_idle() local
182 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; in mach64_ring_reset() local
479 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; in mach64_dump_ring_info() local
1180 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; in mach64_do_dispatch_pseudo_dma() local
1512 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; in mach64_do_reclaim_completed() local
1585 drm_mach64_descriptor_ring_t *ring = &dev_priv->ring; in mach64_freelist_get() local
/freebsd-12.1/sys/dev/rt/
H A Dif_rt.c1025 struct rt_softc_tx_ring *ring; in rt_tx_data() local
1831 rt_rx_eof(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int limit) in rt_rx_eof()
1990 rt_tx_eof(struct rt_softc *sc, struct rt_softc_tx_ring *ring) in rt_tx_eof()
2194 rt_alloc_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring, int qid) in rt_alloc_rx_ring()
2299 rt_reset_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) in rt_reset_rx_ring()
2318 rt_free_rx_ring(struct rt_softc *sc, struct rt_softc_rx_ring *ring) in rt_free_rx_ring()
2359 rt_alloc_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring, int qid) in rt_alloc_tx_ring()
2464 rt_reset_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) in rt_reset_tx_ring()
2508 rt_free_tx_ring(struct rt_softc *sc, struct rt_softc_tx_ring *ring) in rt_free_tx_ring()

12345