Home
last modified time | relevance | path

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

12345678910>>...24

/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/net/rds/
Dib_ring.c66 void rds_ib_ring_init(struct rds_ib_work_ring *ring, u32 nr) in rds_ib_ring_init()
73 static inline u32 __rds_ib_ring_used(struct rds_ib_work_ring *ring) in __rds_ib_ring_used()
84 void rds_ib_ring_resize(struct rds_ib_work_ring *ring, u32 nr) in rds_ib_ring_resize()
92 static int __rds_ib_ring_empty(struct rds_ib_work_ring *ring) in __rds_ib_ring_empty()
97 u32 rds_ib_ring_alloc(struct rds_ib_work_ring *ring, u32 val, u32 *pos) in rds_ib_ring_alloc()
117 void rds_ib_ring_free(struct rds_ib_work_ring *ring, u32 val) in rds_ib_ring_free()
127 void rds_ib_ring_unalloc(struct rds_ib_work_ring *ring, u32 val) in rds_ib_ring_unalloc()
133 int rds_ib_ring_empty(struct rds_ib_work_ring *ring) in rds_ib_ring_empty()
138 int rds_ib_ring_low(struct rds_ib_work_ring *ring) in rds_ib_ring_low()
147 u32 rds_ib_ring_oldest(struct rds_ib_work_ring *ring) in rds_ib_ring_oldest()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ring.c61 int amdgpu_ring_alloc(struct amdgpu_ring *ring, unsigned ndw) in amdgpu_ring_alloc()
89 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()
120 void amdgpu_ring_commit(struct amdgpu_ring *ring) in amdgpu_ring_commit()
144 void amdgpu_ring_undo(struct amdgpu_ring *ring) in amdgpu_ring_undo()
152 #define amdgpu_ring_get_gpu_addr(ring, offset) \ argument
157 #define amdgpu_ring_get_cpu_addr(ring, offset) \ argument
176 int amdgpu_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring, in amdgpu_ring_init()
344 void amdgpu_ring_fini(struct amdgpu_ring *ring) in amdgpu_ring_fini()
386 void amdgpu_ring_emit_reg_write_reg_wait_helper(struct amdgpu_ring *ring, in amdgpu_ring_emit_reg_write_reg_wait_helper()
[all …]
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()
219 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()
293 static void jpeg_v1_0_decode_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v1_0_decode_ring_emit_ib()
346 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
101 static void amdgpu_fence_write(struct amdgpu_ring *ring, u32 seq) in amdgpu_fence_write()
117 static u32 amdgpu_fence_read(struct amdgpu_ring *ring) in amdgpu_fence_read()
141 int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **f, struct amdgpu_job *job, in amdgpu_fence_emit()
223 int amdgpu_fence_emit_polling(struct amdgpu_ring *ring, uint32_t *s, in amdgpu_fence_emit_polling()
254 static void amdgpu_fence_schedule_fallback(struct amdgpu_ring *ring) in amdgpu_fence_schedule_fallback()
271 bool amdgpu_fence_process(struct amdgpu_ring *ring) in amdgpu_fence_process()
325 struct amdgpu_ring *ring = from_timer(ring, t, in amdgpu_fence_fallback() local
340 int amdgpu_fence_wait_empty(struct amdgpu_ring *ring) in amdgpu_fence_wait_empty()
373 signed long amdgpu_fence_wait_polling(struct amdgpu_ring *ring, in amdgpu_fence_wait_polling()
[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()
339 static int uvd_v7_0_enc_ring_test_ib(struct amdgpu_ring *ring, long timeout) in uvd_v7_0_enc_ring_test_ib()
[all …]
Dvcn_v1_0.c90 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
788 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_spg_mode() local
962 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_dpg_mode() local
1214 struct amdgpu_ring *ring; in vcn_v1_0_pause_dpg_mode() local
1379 static uint64_t vcn_v1_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_get_rptr()
1393 static uint64_t vcn_v1_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_get_wptr()
1407 static void vcn_v1_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_set_wptr()
1425 static void vcn_v1_0_dec_ring_insert_start(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_insert_start()
1444 static void vcn_v1_0_dec_ring_insert_end(struct amdgpu_ring *ring) in vcn_v1_0_dec_ring_insert_end()
[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()
332 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.c96 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
795 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start_dpg_mode() local
932 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.c69 struct amdgpu_ring *ring; in jpeg_v2_0_sw_init() local
131 struct amdgpu_ring *ring = &adev->jpeg.inst->ring_dec; in jpeg_v2_0_hw_init() local
314 struct amdgpu_ring *ring = &adev->jpeg.inst->ring_dec; in jpeg_v2_0_start() local
391 static uint64_t jpeg_v2_0_dec_ring_get_rptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_get_rptr()
405 static uint64_t jpeg_v2_0_dec_ring_get_wptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_get_wptr()
422 static void jpeg_v2_0_dec_ring_set_wptr(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_set_wptr()
441 void jpeg_v2_0_dec_ring_insert_start(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_insert_start()
459 void jpeg_v2_0_dec_ring_insert_end(struct amdgpu_ring *ring) in jpeg_v2_0_dec_ring_insert_end()
480 void jpeg_v2_0_dec_ring_emit_fence(struct amdgpu_ring *ring, u64 addr, u64 seq, in jpeg_v2_0_dec_ring_emit_fence()
531 void jpeg_v2_0_dec_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v2_0_dec_ring_emit_ib()
[all …]
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_ring.c61 struct radeon_ring *ring) in radeon_ring_supports_scratch_reg()
81 void radeon_ring_free_size(struct radeon_device *rdev, struct radeon_ring *ring) in radeon_ring_free_size()
107 int radeon_ring_alloc(struct radeon_device *rdev, struct radeon_ring *ring, unsigned ndw) in radeon_ring_alloc()
143 int radeon_ring_lock(struct radeon_device *rdev, struct radeon_ring *ring, unsigned ndw) in radeon_ring_lock()
167 void radeon_ring_commit(struct radeon_device *rdev, struct radeon_ring *ring, in radeon_ring_commit()
198 void radeon_ring_unlock_commit(struct radeon_device *rdev, struct radeon_ring *ring, in radeon_ring_unlock_commit()
212 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()
240 struct radeon_ring *ring) in radeon_ring_lockup_update()
252 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.c51 struct radeon_ring *ring) in r600_dma_get_rptr()
72 struct radeon_ring *ring) in r600_dma_get_wptr()
86 struct radeon_ring *ring) in r600_dma_set_wptr()
121 struct radeon_ring *ring = &rdev->ring[R600_RING_TYPE_DMA_INDEX]; in r600_dma_resume() local
207 bool r600_dma_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring) in r600_dma_is_lockup()
230 struct radeon_ring *ring) in r600_dma_ring_test()
289 struct radeon_ring *ring = &rdev->ring[fence->ring]; in r600_dma_fence_ring_emit() local
313 struct radeon_ring *ring, in r600_dma_semaphore_ring_emit()
336 int r600_dma_ib_test(struct radeon_device *rdev, struct radeon_ring *ring) in r600_dma_ib_test()
406 struct radeon_ring *ring = &rdev->ring[ib->ring]; in r600_dma_ring_ib_execute() local
[all …]
Dradeon_fence.c67 static void radeon_fence_write(struct radeon_device *rdev, u32 seq, int ring) in radeon_fence_write()
88 static u32 radeon_fence_read(struct radeon_device *rdev, int ring) in radeon_fence_read()
113 static void radeon_fence_schedule_check(struct radeon_device *rdev, int ring) in radeon_fence_schedule_check()
136 int ring) in radeon_fence_emit()
197 static bool radeon_fence_activity(struct radeon_device *rdev, int ring) in radeon_fence_activity()
271 int ring; in radeon_fence_check_lockup() local
320 void radeon_fence_process(struct radeon_device *rdev, int ring) in radeon_fence_process()
341 u64 seq, unsigned ring) in radeon_fence_seq_signaled()
358 unsigned ring = fence->ring; in radeon_fence_is_signaled() local
634 int radeon_fence_wait_next(struct radeon_device *rdev, int ring) in radeon_fence_wait_next()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_regs_cn9k_pf.h72 #define CN93_SDP_R_IN_CONTROL(ring) \ argument
75 #define CN93_SDP_R_IN_ENABLE(ring) \ argument
78 #define CN93_SDP_R_IN_INSTR_BADDR(ring) \ argument
81 #define CN93_SDP_R_IN_INSTR_RSIZE(ring) \ argument
84 #define CN93_SDP_R_IN_INSTR_DBELL(ring) \ argument
87 #define CN93_SDP_R_IN_CNTS(ring) \ argument
90 #define CN93_SDP_R_IN_INT_LEVELS(ring) \ argument
93 #define CN93_SDP_R_IN_PKT_CNT(ring) \ argument
96 #define CN93_SDP_R_IN_BYTE_CNT(ring) \ argument
129 #define CN93_SDP_R_OUT_CONTROL(ring) \ argument
[all …]
/linux-6.1.9/tools/testing/selftests/net/
Dpsock_tpacket.c66 struct ring { struct
71 void (*walk)(int sock, struct ring *ring); argument
72 int type, rd_num, flen, version;
73 union {
220 static void walk_v1_v2_rx(int sock, struct ring *ring) in walk_v1_v2_rx()
354 static inline void *get_next_frame(struct ring *ring, int n) in get_next_frame()
369 static void walk_tx(int sock, struct ring *ring) in walk_tx()
500 static void walk_v1_v2(int sock, struct ring *ring) in walk_v1_v2()
581 static void walk_v3_rx(int sock, struct ring *ring) in walk_v3_rx()
622 static void walk_v3(int sock, struct ring *ring) in walk_v3()
[all …]
/linux-6.1.9/drivers/bus/mhi/ep/
Dring.c10 size_t mhi_ep_ring_addr2offset(struct mhi_ep_ring *ring, u64 ptr) in mhi_ep_ring_addr2offset()
15 static u32 mhi_ep_ring_num_elems(struct mhi_ep_ring *ring) in mhi_ep_ring_num_elems()
24 void mhi_ep_ring_inc_index(struct mhi_ep_ring *ring) in mhi_ep_ring_inc_index()
29 static int __mhi_ep_cache_ring(struct mhi_ep_ring *ring, size_t end) in __mhi_ep_cache_ring()
74 static int mhi_ep_cache_ring(struct mhi_ep_ring *ring, u64 wr_ptr) in mhi_ep_cache_ring()
91 int mhi_ep_update_wr_offset(struct mhi_ep_ring *ring) in mhi_ep_update_wr_offset()
101 int mhi_ep_ring_add_element(struct mhi_ep_ring *ring, struct mhi_ring_element *el) in mhi_ep_ring_add_element()
144 void mhi_ep_ring_init(struct mhi_ep_ring *ring, enum mhi_ep_ring_type type, u32 id) in mhi_ep_ring_init()
160 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_ring_start()
202 void mhi_ep_ring_reset(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring) in mhi_ep_ring_reset()
/linux-6.1.9/drivers/soc/ti/
Dk3-ringacc.c240 static int k3_ringacc_ring_read_occ(struct k3_ring *ring) in k3_ringacc_ring_read_occ()
245 static void k3_ringacc_ring_update_occ(struct k3_ring *ring) in k3_ringacc_ring_update_occ()
255 static long k3_ringacc_ring_get_fifo_pos(struct k3_ring *ring) in k3_ringacc_ring_get_fifo_pos()
261 static void *k3_ringacc_get_elm_addr(struct k3_ring *ring, u32 idx) in k3_ringacc_get_elm_addr()
310 static void k3_ringacc_ring_dump(struct k3_ring *ring) in k3_ringacc_ring_dump()
450 static void k3_ringacc_ring_reset_sci(struct k3_ring *ring) in k3_ringacc_ring_reset_sci()
467 void k3_ringacc_ring_reset(struct k3_ring *ring) in k3_ringacc_ring_reset()
478 static void k3_ringacc_ring_reconfig_qmode_sci(struct k3_ring *ring, in k3_ringacc_ring_reconfig_qmode_sci()
496 void k3_ringacc_ring_reset_dma(struct k3_ring *ring, u32 occ) in k3_ringacc_ring_reset_dma()
555 static void k3_ringacc_ring_free_sci(struct k3_ring *ring) in k3_ringacc_ring_free_sci()
[all …]
/linux-6.1.9/drivers/thunderbolt/
Dnhi.c28 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring") argument
49 static int ring_interrupt_index(struct tb_ring *ring) in ring_interrupt_index()
62 static void ring_interrupt_active(struct tb_ring *ring, bool active) in ring_interrupt_active()
140 static void __iomem *ring_desc_base(struct tb_ring *ring) in ring_desc_base()
148 static void __iomem *ring_options_base(struct tb_ring *ring) in ring_options_base()
156 static void ring_iowrite_cons(struct tb_ring *ring, u16 cons) in ring_iowrite_cons()
166 static void ring_iowrite_prod(struct tb_ring *ring, u16 prod) in ring_iowrite_prod()
172 static void ring_iowrite32desc(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32desc()
177 static void ring_iowrite64desc(struct tb_ring *ring, u64 value, u32 offset) in ring_iowrite64desc()
183 static void ring_iowrite32options(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32options()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_ring.c18 unsigned int intel_ring_update_space(struct intel_ring *ring) in intel_ring_update_space()
28 void __intel_ring_pin(struct intel_ring *ring) in __intel_ring_pin()
34 int intel_ring_pin(struct intel_ring *ring, struct i915_gem_ww_ctx *ww) in intel_ring_pin()
84 void intel_ring_reset(struct intel_ring *ring, u32 tail) in intel_ring_reset()
93 void intel_ring_unpin(struct intel_ring *ring) in intel_ring_unpin()
148 struct intel_ring *ring; in intel_engine_create_ring() local
185 struct intel_ring *ring = container_of(ref, typeof(*ring), ref); in intel_ring_free() local
192 wait_for_space(struct intel_ring *ring, in wait_for_space()
231 struct intel_ring *ring = rq->ring; in intel_ring_begin() local
Dintel_ring.h30 static inline struct intel_ring *intel_ring_get(struct intel_ring *ring) in intel_ring_get()
36 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()
91 assert_ring_tail_valid(const struct intel_ring *ring, unsigned int tail) in assert_ring_tail_valid()
117 intel_ring_set_tail(struct intel_ring *ring, unsigned int tail) in intel_ring_set_tail()
/linux-6.1.9/virt/kvm/
Ddirty_ring.c24 static u32 kvm_dirty_ring_used(struct kvm_dirty_ring *ring) in kvm_dirty_ring_used()
29 bool kvm_dirty_ring_soft_full(struct kvm_dirty_ring *ring) in kvm_dirty_ring_soft_full()
34 static bool kvm_dirty_ring_full(struct kvm_dirty_ring *ring) in kvm_dirty_ring_full()
60 int kvm_dirty_ring_alloc(struct kvm_dirty_ring *ring, int index, u32 size) in kvm_dirty_ring_alloc()
90 int kvm_dirty_ring_reset(struct kvm *kvm, struct kvm_dirty_ring *ring) in kvm_dirty_ring_reset()
150 void kvm_dirty_ring_push(struct kvm_dirty_ring *ring, u32 slot, u64 offset) in kvm_dirty_ring_push()
171 struct page *kvm_dirty_ring_get_page(struct kvm_dirty_ring *ring, u32 offset) in kvm_dirty_ring_get_page()
176 void kvm_dirty_ring_free(struct kvm_dirty_ring *ring) in kvm_dirty_ring_free()

12345678910>>...24