Home
last modified time | relevance | path

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

12345678910>>...20

/drivers/net/wireless/broadcom/b43legacy/
Ddma.c32 struct b43legacy_dmadesc32 *op32_idx2desc(struct b43legacy_dmaring *ring, in op32_idx2desc()
45 static void op32_fill_descriptor(struct b43legacy_dmaring *ring, in op32_fill_descriptor()
80 static void op32_poke_tx(struct b43legacy_dmaring *ring, int slot) in op32_poke_tx()
86 static void op32_tx_suspend(struct b43legacy_dmaring *ring) in op32_tx_suspend()
93 static void op32_tx_resume(struct b43legacy_dmaring *ring) in op32_tx_resume()
100 static int op32_get_current_rxslot(struct b43legacy_dmaring *ring) in op32_get_current_rxslot()
110 static void op32_set_current_rxslot(struct b43legacy_dmaring *ring, in op32_set_current_rxslot()
117 static inline int free_slots(struct b43legacy_dmaring *ring) in free_slots()
122 static inline int next_slot(struct b43legacy_dmaring *ring, int slot) in next_slot()
130 static inline int prev_slot(struct b43legacy_dmaring *ring, int slot) in prev_slot()
[all …]
/drivers/net/wireless/broadcom/b43/
Ddma.c72 struct b43_dmadesc_generic *op32_idx2desc(struct b43_dmaring *ring, in op32_idx2desc()
85 static void op32_fill_descriptor(struct b43_dmaring *ring, in op32_fill_descriptor()
118 static void op32_poke_tx(struct b43_dmaring *ring, int slot) in op32_poke_tx()
124 static void op32_tx_suspend(struct b43_dmaring *ring) in op32_tx_suspend()
130 static void op32_tx_resume(struct b43_dmaring *ring) in op32_tx_resume()
136 static int op32_get_current_rxslot(struct b43_dmaring *ring) in op32_get_current_rxslot()
146 static void op32_set_current_rxslot(struct b43_dmaring *ring, int slot) in op32_set_current_rxslot()
164 struct b43_dmadesc_generic *op64_idx2desc(struct b43_dmaring *ring, in op64_idx2desc()
177 static void op64_fill_descriptor(struct b43_dmaring *ring, in op64_fill_descriptor()
213 static void op64_poke_tx(struct b43_dmaring *ring, int slot) in op64_poke_tx()
[all …]
/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ring2.c12 static void xgene_enet_ring_init(struct xgene_enet_desc_ring *ring) in xgene_enet_ring_init()
34 static void xgene_enet_ring_set_type(struct xgene_enet_desc_ring *ring) in xgene_enet_ring_set_type()
47 static void xgene_enet_ring_set_recombbuf(struct xgene_enet_desc_ring *ring) in xgene_enet_ring_set_recombbuf()
55 static void xgene_enet_ring_wr32(struct xgene_enet_desc_ring *ring, in xgene_enet_ring_wr32()
63 static void xgene_enet_write_ring_state(struct xgene_enet_desc_ring *ring) in xgene_enet_write_ring_state()
75 static void xgene_enet_clr_ring_state(struct xgene_enet_desc_ring *ring) in xgene_enet_clr_ring_state()
81 static void xgene_enet_set_ring_state(struct xgene_enet_desc_ring *ring) in xgene_enet_set_ring_state()
95 static void xgene_enet_set_ring_id(struct xgene_enet_desc_ring *ring) in xgene_enet_set_ring_id()
118 static void xgene_enet_clr_desc_ring_id(struct xgene_enet_desc_ring *ring) in xgene_enet_clr_desc_ring_id()
128 struct xgene_enet_desc_ring *ring) in xgene_enet_setup_ring()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Djpeg_v1_0.c38 static void jpeg_v1_0_decode_ring_patch_wreg(struct amdgpu_ring *ring, uint32_t *ptr, uint32_t reg_… in jpeg_v1_0_decode_ring_patch_wreg()
53 static void jpeg_v1_0_decode_ring_set_patch_ring(struct amdgpu_ring *ring, uint32_t ptr) in jpeg_v1_0_decode_ring_set_patch_ring()
136 static uint64_t jpeg_v1_0_decode_ring_get_rptr(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_get_rptr()
150 static uint64_t jpeg_v1_0_decode_ring_get_wptr(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_get_wptr()
164 static void jpeg_v1_0_decode_ring_set_wptr(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_set_wptr()
178 static void jpeg_v1_0_decode_ring_insert_start(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_insert_start()
197 static void jpeg_v1_0_decode_ring_insert_end(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_insert_end()
217 static void jpeg_v1_0_decode_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in jpeg_v1_0_decode_ring_emit_fence()
289 static void jpeg_v1_0_decode_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v1_0_decode_ring_emit_ib()
342 static void jpeg_v1_0_decode_ring_emit_reg_wait(struct amdgpu_ring *ring, in jpeg_v1_0_decode_ring_emit_reg_wait()
[all …]
Damdgpu_fence.c57 struct amdgpu_ring *ring; member
99 static void amdgpu_fence_write(struct amdgpu_ring *ring, u32 seq) in amdgpu_fence_write()
115 static u32 amdgpu_fence_read(struct amdgpu_ring *ring) in amdgpu_fence_read()
137 int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **f, in amdgpu_fence_emit()
195 int amdgpu_fence_emit_polling(struct amdgpu_ring *ring, uint32_t *s, in amdgpu_fence_emit_polling()
226 static void amdgpu_fence_schedule_fallback(struct amdgpu_ring *ring) in amdgpu_fence_schedule_fallback()
243 bool amdgpu_fence_process(struct amdgpu_ring *ring) in amdgpu_fence_process()
303 struct amdgpu_ring *ring = from_timer(ring, t, in amdgpu_fence_fallback() local
319 int amdgpu_fence_wait_empty(struct amdgpu_ring *ring) in amdgpu_fence_wait_empty()
352 signed long amdgpu_fence_wait_polling(struct amdgpu_ring *ring, in amdgpu_fence_wait_polling()
[all …]
Damdgpu_ring.c62 int amdgpu_ring_alloc(struct amdgpu_ring *ring, unsigned ndw) in amdgpu_ring_alloc()
90 void amdgpu_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in amdgpu_ring_insert_nop()
105 void amdgpu_ring_generic_pad_ib(struct amdgpu_ring *ring, struct amdgpu_ib *ib) in amdgpu_ring_generic_pad_ib()
121 void amdgpu_ring_commit(struct amdgpu_ring *ring) in amdgpu_ring_commit()
145 void amdgpu_ring_undo(struct amdgpu_ring *ring) in amdgpu_ring_undo()
164 int amdgpu_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring, in amdgpu_ring_init()
284 void amdgpu_ring_fini(struct amdgpu_ring *ring) in amdgpu_ring_fini()
322 void amdgpu_ring_emit_reg_write_reg_wait_helper(struct amdgpu_ring *ring, in amdgpu_ring_emit_reg_write_reg_wait_helper()
339 bool amdgpu_ring_soft_recovery(struct amdgpu_ring *ring, unsigned int vmid, in amdgpu_ring_soft_recovery()
370 struct amdgpu_ring *ring = file_inode(f)->i_private; in amdgpu_debugfs_ring_read() local
[all …]
Dvcn_v1_0.c91 struct amdgpu_ring *ring; in vcn_v1_0_sw_init() local
197 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_hw_init() local
790 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_spg_mode() local
964 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_dpg_mode() local
1216 struct amdgpu_ring *ring; in vcn_v1_0_pause_dpg_mode() local
1381 static uint64_t vcn_v1_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_get_rptr()
1395 static uint64_t vcn_v1_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_get_wptr()
1409 static void vcn_v1_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_set_wptr()
1427 static void vcn_v1_0_dec_ring_insert_start(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_insert_start()
1446 static void vcn_v1_0_dec_ring_insert_end(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_insert_end()
[all …]
Duvd_v7_0.c71 static uint64_t uvd_v7_0_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v7_0_ring_get_rptr()
85 static uint64_t uvd_v7_0_enc_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_get_rptr()
102 static uint64_t uvd_v7_0_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v7_0_ring_get_wptr()
116 static uint64_t uvd_v7_0_enc_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_get_wptr()
136 static void uvd_v7_0_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v7_0_ring_set_wptr()
150 static void uvd_v7_0_enc_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_set_wptr()
175 static int uvd_v7_0_enc_ring_test_ring(struct amdgpu_ring *ring) in uvd_v7_0_enc_ring_test_ring()
216 static int uvd_v7_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle, in uvd_v7_0_enc_get_create_msg()
279 static int uvd_v7_0_enc_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, in uvd_v7_0_enc_get_destroy_msg()
338 static int uvd_v7_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout) in uvd_v7_0_enc_ring_test_ib()
[all …]
Duvd_v6_0.c77 static uint64_t uvd_v6_0_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v6_0_ring_get_rptr()
91 static uint64_t uvd_v6_0_enc_ring_get_rptr(struct amdgpu_ring *ring) in uvd_v6_0_enc_ring_get_rptr()
107 static uint64_t uvd_v6_0_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v6_0_ring_get_wptr()
121 static uint64_t uvd_v6_0_enc_ring_get_wptr(struct amdgpu_ring *ring) in uvd_v6_0_enc_ring_get_wptr()
138 static void uvd_v6_0_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v6_0_ring_set_wptr()
152 static void uvd_v6_0_enc_ring_set_wptr(struct amdgpu_ring *ring) in uvd_v6_0_enc_ring_set_wptr()
170 static int uvd_v6_0_enc_ring_test_ring(struct amdgpu_ring *ring) in uvd_v6_0_enc_ring_test_ring()
208 static int uvd_v6_0_enc_get_create_msg(struct amdgpu_ring *ring, uint32_t handle, in uvd_v6_0_enc_get_create_msg()
271 static int uvd_v6_0_enc_get_destroy_msg(struct amdgpu_ring *ring, in uvd_v6_0_enc_get_destroy_msg()
331 static int uvd_v6_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout) in uvd_v6_0_enc_ring_test_ib()
[all …]
Dvcn_v2_0.c94 struct amdgpu_ring *ring; in vcn_v2_0_sw_init() local
226 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_hw_init() local
797 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start_dpg_mode() local
934 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start() local
1203 struct amdgpu_ring *ring; in vcn_v2_0_pause_dpg_mode() local
1323 static uint64_t vcn_v2_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_get_rptr()
1337 static uint64_t vcn_v2_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_get_wptr()
1354 static void vcn_v2_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_set_wptr()
1377 void vcn_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_insert_start()
1394 void vcn_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring) in vcn_v2_0_dec_ring_insert_end()
[all …]
Djpeg_v2_0.c89 struct amdgpu_ring *ring; in jpeg_v2_0_sw_init() local
151 struct amdgpu_ring *ring = &adev->jpeg.inst->ring_dec; in jpeg_v2_0_hw_init() local
334 struct amdgpu_ring *ring = &adev->jpeg.inst->ring_dec; in jpeg_v2_0_start() local
411 static uint64_t jpeg_v2_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_get_rptr()
425 static uint64_t jpeg_v2_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_get_wptr()
442 static void jpeg_v2_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_set_wptr()
461 void jpeg_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_insert_start()
479 void jpeg_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_insert_end()
498 void jpeg_v2_0_dec_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in jpeg_v2_0_dec_ring_emit_fence()
547 void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v2_0_dec_ring_emit_ib()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_ring.c62 struct radeon_ring *ring) in radeon_ring_supports_scratch_reg()
82 void radeon_ring_free_size(struct radeon_device *rdev, struct radeon_ring *ring) in radeon_ring_free_size()
108 int radeon_ring_alloc(struct radeon_device *rdev, struct radeon_ring *ring, unsigned ndw) in radeon_ring_alloc()
144 int radeon_ring_lock(struct radeon_device *rdev, struct radeon_ring *ring, unsigned ndw) in radeon_ring_lock()
168 void radeon_ring_commit(struct radeon_device *rdev, struct radeon_ring *ring, in radeon_ring_commit()
199 void radeon_ring_unlock_commit(struct radeon_device *rdev, struct radeon_ring *ring, in radeon_ring_unlock_commit()
213 void radeon_ring_undo(struct radeon_ring *ring) in radeon_ring_undo()
225 void radeon_ring_unlock_undo(struct radeon_device *rdev, struct radeon_ring *ring) in radeon_ring_unlock_undo()
239 struct radeon_ring *ring) in radeon_ring_lockup_update()
251 bool radeon_ring_test_lockup(struct radeon_device *rdev, struct radeon_ring *ring) in radeon_ring_test_lockup()
[all …]
Duvd_v1_0.c40 struct radeon_ring *ring) in uvd_v1_0_get_rptr()
54 struct radeon_ring *ring) in uvd_v1_0_get_wptr()
68 struct radeon_ring *ring) in uvd_v1_0_set_wptr()
84 struct radeon_ring *ring = &rdev->ring[fence->ring]; in uvd_v1_0_fence_emit() local
159 struct radeon_ring *ring = &rdev->ring[R600_RING_TYPE_UVD_INDEX]; in uvd_v1_0_init() local
250 struct radeon_ring *ring = &rdev->ring[R600_RING_TYPE_UVD_INDEX]; in uvd_v1_0_fini() local
265 struct radeon_ring *ring = &rdev->ring[R600_RING_TYPE_UVD_INDEX]; in uvd_v1_0_start() local
421 int uvd_v1_0_ring_test(struct radeon_device *rdev, struct radeon_ring *ring) in uvd_v1_0_ring_test()
466 struct radeon_ring *ring, in uvd_v1_0_semaphore_emit()
484 struct radeon_ring *ring = &rdev->ring[ib->ring]; in uvd_v1_0_ib_execute() local
[all …]
Dr600_dma.c52 struct radeon_ring *ring) in r600_dma_get_rptr()
73 struct radeon_ring *ring) in r600_dma_get_wptr()
87 struct radeon_ring *ring) in r600_dma_set_wptr()
122 struct radeon_ring *ring = &rdev->ring[R600_RING_TYPE_DMA_INDEX]; in r600_dma_resume() local
208 bool r600_dma_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring) in r600_dma_is_lockup()
231 struct radeon_ring *ring) in r600_dma_ring_test()
290 struct radeon_ring *ring = &rdev->ring[fence->ring]; in r600_dma_fence_ring_emit() local
314 struct radeon_ring *ring, in r600_dma_semaphore_ring_emit()
337 int r600_dma_ib_test(struct radeon_device *rdev, struct radeon_ring *ring) in r600_dma_ib_test()
407 struct radeon_ring *ring = &rdev->ring[ib->ring]; in r600_dma_ring_ib_execute() local
[all …]
Dradeon_fence.c68 static void radeon_fence_write(struct radeon_device *rdev, u32 seq, int ring) in radeon_fence_write()
89 static u32 radeon_fence_read(struct radeon_device *rdev, int ring) in radeon_fence_read()
114 static void radeon_fence_schedule_check(struct radeon_device *rdev, int ring) in radeon_fence_schedule_check()
137 int ring) in radeon_fence_emit()
205 static bool radeon_fence_activity(struct radeon_device *rdev, int ring) in radeon_fence_activity()
279 int ring; in radeon_fence_check_lockup() local
328 void radeon_fence_process(struct radeon_device *rdev, int ring) in radeon_fence_process()
349 u64 seq, unsigned ring) in radeon_fence_seq_signaled()
366 unsigned ring = fence->ring; in radeon_fence_is_signaled() local
651 int radeon_fence_wait_next(struct radeon_device *rdev, int ring) in radeon_fence_wait_next()
[all …]
/drivers/soc/ti/
Dk3-ringacc.c221 static long k3_ringacc_ring_get_fifo_pos(struct k3_ring *ring) in k3_ringacc_ring_get_fifo_pos()
227 static void *k3_ringacc_get_elm_addr(struct k3_ring *ring, u32 idx) in k3_ringacc_get_elm_addr()
264 static void k3_ringacc_ring_dump(struct k3_ring *ring) in k3_ringacc_ring_dump()
366 static void k3_ringacc_ring_reset_sci(struct k3_ring *ring) in k3_ringacc_ring_reset_sci()
387 void k3_ringacc_ring_reset(struct k3_ring *ring) in k3_ringacc_ring_reset()
398 static void k3_ringacc_ring_reconfig_qmode_sci(struct k3_ring *ring, in k3_ringacc_ring_reconfig_qmode_sci()
420 void k3_ringacc_ring_reset_dma(struct k3_ring *ring, u32 occ) in k3_ringacc_ring_reset_dma()
479 static void k3_ringacc_ring_free_sci(struct k3_ring *ring) in k3_ringacc_ring_free_sci()
500 int k3_ringacc_ring_free(struct k3_ring *ring) in k3_ringacc_ring_free()
544 u32 k3_ringacc_get_ring_id(struct k3_ring *ring) in k3_ringacc_get_ring_id()
[all …]
/drivers/thunderbolt/
Dnhi.c26 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring") argument
39 static int ring_interrupt_index(const struct tb_ring *ring) in ring_interrupt_index()
52 static void ring_interrupt_active(struct tb_ring *ring, bool active) in ring_interrupt_active()
127 static void __iomem *ring_desc_base(struct tb_ring *ring) in ring_desc_base()
135 static void __iomem *ring_options_base(struct tb_ring *ring) in ring_options_base()
143 static void ring_iowrite_cons(struct tb_ring *ring, u16 cons) in ring_iowrite_cons()
153 static void ring_iowrite_prod(struct tb_ring *ring, u16 prod) in ring_iowrite_prod()
159 static void ring_iowrite32desc(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32desc()
164 static void ring_iowrite64desc(struct tb_ring *ring, u64 value, u32 offset) in ring_iowrite64desc()
170 static void ring_iowrite32options(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32options()
[all …]
/drivers/block/xen-blkback/
Dblkback.c168 static int add_persistent_gnt(struct xen_blkif_ring *ring, in add_persistent_gnt()
205 static struct persistent_gnt *get_persistent_gnt(struct xen_blkif_ring *ring, in get_persistent_gnt()
232 static void put_persistent_gnt(struct xen_blkif_ring *ring, in put_persistent_gnt()
242 static void free_persistent_gnts(struct xen_blkif_ring *ring, struct rb_root *root, in free_persistent_gnts()
291 struct xen_blkif_ring *ring = container_of(work, typeof(*ring), persistent_purge_work); in xen_blkbk_unmap_purged_grants() local
327 static void purge_persistent_gnt(struct xen_blkif_ring *ring) in purge_persistent_gnt()
409 static struct pending_req *alloc_req(struct xen_blkif_ring *ring) in alloc_req()
428 static void free_req(struct xen_blkif_ring *ring, struct pending_req *req) in free_req()
518 static void blkif_notify_work(struct xen_blkif_ring *ring) in blkif_notify_work()
534 static void print_stats(struct xen_blkif_ring *ring) in print_stats()
[all …]
/drivers/crypto/qat/qat_common/
Dadf_transport.c36 static int adf_reserve_ring(struct adf_etr_bank_data *bank, u32 ring) in adf_reserve_ring()
48 static void adf_unreserve_ring(struct adf_etr_bank_data *bank, u32 ring) in adf_unreserve_ring()
55 static void adf_enable_ring_irq(struct adf_etr_bank_data *bank, u32 ring) in adf_enable_ring_irq()
65 static void adf_disable_ring_irq(struct adf_etr_bank_data *bank, u32 ring) in adf_disable_ring_irq()
73 int adf_send_message(struct adf_etr_ring_data *ring, u32 *msg) in adf_send_message()
93 static int adf_handle_response(struct adf_etr_ring_data *ring) in adf_handle_response()
115 static void adf_configure_tx_ring(struct adf_etr_ring_data *ring) in adf_configure_tx_ring()
123 static void adf_configure_rx_ring(struct adf_etr_ring_data *ring) in adf_configure_rx_ring()
134 static int adf_init_ring(struct adf_etr_ring_data *ring) in adf_init_ring()
173 static void adf_cleanup_ring(struct adf_etr_ring_data *ring) in adf_cleanup_ring()
[all …]
/drivers/gpu/drm/i915/gt/
Dintel_ring.c14 unsigned int intel_ring_update_space(struct intel_ring *ring) in intel_ring_update_space()
24 void __intel_ring_pin(struct intel_ring *ring) in __intel_ring_pin()
30 int intel_ring_pin(struct intel_ring *ring, struct i915_gem_ww_ctx *ww) in intel_ring_pin()
77 void intel_ring_reset(struct intel_ring *ring, u32 tail) in intel_ring_reset()
86 void intel_ring_unpin(struct intel_ring *ring) in intel_ring_unpin()
140 struct intel_ring *ring; in intel_engine_create_ring() local
177 struct intel_ring *ring = container_of(ref, typeof(*ring), ref); in intel_ring_free() local
184 wait_for_space(struct intel_ring *ring, in wait_for_space()
223 struct intel_ring *ring = rq->ring; in intel_ring_begin() local
Dintel_ring.h31 static inline struct intel_ring *intel_ring_get(struct intel_ring *ring) in intel_ring_get()
37 static inline void intel_ring_put(struct intel_ring *ring) in intel_ring_put()
55 static inline u32 intel_ring_wrap(const struct intel_ring *ring, u32 pos) in intel_ring_wrap()
60 static inline int intel_ring_direction(const struct intel_ring *ring, in intel_ring_direction()
69 intel_ring_offset_valid(const struct intel_ring *ring, in intel_ring_offset_valid()
90 assert_ring_tail_valid(const struct intel_ring *ring, unsigned int tail) in assert_ring_tail_valid()
116 intel_ring_set_tail(struct intel_ring *ring, unsigned int tail) in intel_ring_set_tail()
Dselftest_ring.c8 struct intel_ring *ring; in mock_ring() local
26 static void mock_ring_free(struct intel_ring *ring) in mock_ring_free()
31 static int check_ring_direction(struct intel_ring *ring, in check_ring_direction()
52 static int check_ring_step(struct intel_ring *ring, u32 x, u32 step) in check_ring_step()
65 static int check_ring_offset(struct intel_ring *ring, u32 x, u32 step) in check_ring_offset()
78 struct intel_ring *ring; in igt_ring_direction() local
/drivers/net/ethernet/hisilicon/hns/
Dhnae.c36 static int hnae_alloc_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_alloc_buffer()
54 static void hnae_free_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_free_buffer()
67 static int hnae_map_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_map_buffer()
78 static void hnae_unmap_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_unmap_buffer()
119 static void hnae_free_buffers(struct hnae_ring *ring) in hnae_free_buffers()
128 static int hnae_alloc_buffers(struct hnae_ring *ring) in hnae_alloc_buffers()
147 static void hnae_free_desc(struct hnae_ring *ring) in hnae_free_desc()
158 static int hnae_alloc_desc(struct hnae_ring *ring) in hnae_alloc_desc()
179 static void hnae_fini_ring(struct hnae_ring *ring) in hnae_fini_ring()
193 hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags) in hnae_init_ring()
/drivers/net/wireless/ath/ath11k/
Ddbring.c10 struct ath11k_dbring *ring, in ath11k_dbring_bufs_replenish()
74 struct ath11k_dbring *ring) in ath11k_dbring_fill_bufs()
113 struct ath11k_dbring *ring, in ath11k_dbring_wmi_cfg_setup()
144 int ath11k_dbring_set_cfg(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_set_cfg()
160 struct ath11k_dbring *ring, in ath11k_dbring_buf_setup()
182 int ath11k_dbring_srng_setup(struct ath11k *ar, struct ath11k_dbring *ring, in ath11k_dbring_srng_setup()
229 struct ath11k_dbring *ring; in ath11k_dbring_buffer_release_event() local
334 void ath11k_dbring_srng_cleanup(struct ath11k *ar, struct ath11k_dbring *ring) in ath11k_dbring_srng_cleanup()
339 void ath11k_dbring_buf_cleanup(struct ath11k *ar, struct ath11k_dbring *ring) in ath11k_dbring_buf_cleanup()
/drivers/usb/mtu3/
Dmtu3_qmu.c119 static struct qmu_gpd *gpd_dma_to_virt(struct mtu3_gpd_ring *ring, in gpd_dma_to_virt()
132 static dma_addr_t gpd_virt_to_dma(struct mtu3_gpd_ring *ring, in gpd_virt_to_dma()
146 static void gpd_ring_init(struct mtu3_gpd_ring *ring, struct qmu_gpd *gpd) in gpd_ring_init()
156 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in reset_gpd_list() local
168 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in mtu3_gpd_ring_alloc() local
182 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in mtu3_gpd_ring_free() local
203 static struct qmu_gpd *advance_enq_gpd(struct mtu3_gpd_ring *ring) in advance_enq_gpd()
214 static struct qmu_gpd *advance_deq_gpd(struct mtu3_gpd_ring *ring) in advance_deq_gpd()
225 static int gpd_ring_empty(struct mtu3_gpd_ring *ring) in gpd_ring_empty()
247 struct mtu3_gpd_ring *ring = &mep->gpd_ring; in mtu3_prepare_tx_gpd() local
[all …]

12345678910>>...20