| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
| D | dma.c | 32 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_ring.c | 81 int amdgpu_ring_alloc(struct amdgpu_ring *ring, unsigned int ndw) in amdgpu_ring_alloc() 109 void amdgpu_ring_insert_nop(struct amdgpu_ring *ring, uint32_t count) in amdgpu_ring_insert_nop() 125 void amdgpu_ring_generic_pad_ib(struct amdgpu_ring *ring, struct amdgpu_ib *ib) in amdgpu_ring_generic_pad_ib() 140 void amdgpu_ring_commit(struct amdgpu_ring *ring) in amdgpu_ring_commit() 164 void amdgpu_ring_undo(struct amdgpu_ring *ring) in amdgpu_ring_undo() 172 #define amdgpu_ring_get_gpu_addr(ring, offset) \ argument 177 #define amdgpu_ring_get_cpu_addr(ring, offset) \ argument 196 int amdgpu_ring_init(struct amdgpu_device *adev, struct amdgpu_ring *ring, in amdgpu_ring_init() 372 void amdgpu_ring_fini(struct amdgpu_ring *ring) in amdgpu_ring_fini() 416 void amdgpu_ring_emit_reg_write_reg_wait_helper(struct amdgpu_ring *ring, in amdgpu_ring_emit_reg_write_reg_wait_helper() [all …]
|
| D | amdgpu_fence.c | 85 static void amdgpu_fence_write(struct amdgpu_ring *ring, u32 seq) in amdgpu_fence_write() 101 static u32 amdgpu_fence_read(struct amdgpu_ring *ring) in amdgpu_fence_read() 125 int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **f, struct amdgpu_job *job, in amdgpu_fence_emit() 209 int amdgpu_fence_emit_polling(struct amdgpu_ring *ring, uint32_t *s, in amdgpu_fence_emit_polling() 240 static void amdgpu_fence_schedule_fallback(struct amdgpu_ring *ring) in amdgpu_fence_schedule_fallback() 257 bool amdgpu_fence_process(struct amdgpu_ring *ring) in amdgpu_fence_process() 311 struct amdgpu_ring *ring = from_timer(ring, t, in amdgpu_fence_fallback() local 326 int amdgpu_fence_wait_empty(struct amdgpu_ring *ring) in amdgpu_fence_wait_empty() 359 signed long amdgpu_fence_wait_polling(struct amdgpu_ring *ring, in amdgpu_fence_wait_polling() 379 unsigned int amdgpu_fence_count_emitted(struct amdgpu_ring *ring) in amdgpu_fence_count_emitted() [all …]
|
| D | amdgpu_ring_mux.c | 44 struct amdgpu_ring *ring) in amdgpu_ring_mux_sw_entry() 52 struct amdgpu_ring *ring, in amdgpu_ring_mux_copy_pkt_from_sw_ring() 149 int amdgpu_ring_mux_init(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring, in amdgpu_ring_mux_init() 196 int amdgpu_ring_mux_add_sw_ring(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring) in amdgpu_ring_mux_add_sw_ring() 214 void amdgpu_ring_mux_set_wptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring, u64 wptr) in amdgpu_ring_mux_set_wptr() 254 u64 amdgpu_ring_mux_get_wptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring) in amdgpu_ring_mux_get_wptr() 283 u64 amdgpu_ring_mux_get_rptr(struct amdgpu_ring_mux *mux, struct amdgpu_ring *ring) in amdgpu_ring_mux_get_rptr() 317 u64 amdgpu_sw_ring_get_rptr_gfx(struct amdgpu_ring *ring) in amdgpu_sw_ring_get_rptr_gfx() 326 u64 amdgpu_sw_ring_get_wptr_gfx(struct amdgpu_ring *ring) in amdgpu_sw_ring_get_wptr_gfx() 335 void amdgpu_sw_ring_set_wptr_gfx(struct amdgpu_ring *ring) in amdgpu_sw_ring_set_wptr_gfx() [all …]
|
| D | jpeg_v1_0.c | 42 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() 57 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() 140 static uint64_t jpeg_v1_0_decode_ring_get_rptr(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_get_rptr() 154 static uint64_t jpeg_v1_0_decode_ring_get_wptr(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_get_wptr() 168 static void jpeg_v1_0_decode_ring_set_wptr(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_set_wptr() 182 static void jpeg_v1_0_decode_ring_insert_start(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_insert_start() 201 static void jpeg_v1_0_decode_ring_insert_end(struct amdgpu_ring *ring) in jpeg_v1_0_decode_ring_insert_end() 223 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() 297 static void jpeg_v1_0_decode_ring_emit_ib(struct amdgpu_ring *ring, in jpeg_v1_0_decode_ring_emit_ib() 353 static void jpeg_v1_0_decode_ring_emit_reg_wait(struct amdgpu_ring *ring, in jpeg_v1_0_decode_ring_emit_reg_wait() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/ |
| D | dma.c | 32 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() 131 static void update_max_used_slots(struct b43legacy_dmaring *ring, in update_max_used_slots() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/ |
| D | xgene_enet_ring2.c | 12 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/apm/xgene/ |
| D | xgene_enet_ring2.c | 12 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
| D | dma.c | 72 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
| D | dma.c | 72 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 …]
|
| /kernel/linux/linux-5.10/net/rds/ |
| D | ib_ring.c | 66 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 …]
|
| /kernel/linux/linux-6.6/net/rds/ |
| D | ib_ring.c | 66 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
| D | radeon_ring.c | 61 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 …]
|
| D | uvd_v1_0.c | 40 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_ring.c | 62 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 …]
|
| D | jpeg_v1_0.c | 38 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 …]
|
| D | amdgpu_fence.c | 57 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 …]
|
| D | vcn_v1_0.c | 91 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 …]
|
| D | uvd_v7_0.c | 71 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
| D | radeon_ring.c | 62 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() 200 void radeon_ring_unlock_commit(struct radeon_device *rdev, struct radeon_ring *ring, in radeon_ring_unlock_commit() 214 void radeon_ring_undo(struct radeon_ring *ring) in radeon_ring_undo() 226 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 …]
|
| D | uvd_v1_0.c | 40 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeon_ep/ |
| D | octep_regs_cn9k_pf.h | 72 #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 …]
|
| /kernel/linux/linux-6.6/drivers/bus/mhi/ep/ |
| D | ring.c | 10 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() 79 static int mhi_ep_cache_ring(struct mhi_ep_ring *ring, u64 wr_ptr) in mhi_ep_cache_ring() 96 int mhi_ep_update_wr_offset(struct mhi_ep_ring *ring) in mhi_ep_update_wr_offset() 106 int mhi_ep_ring_add_element(struct mhi_ep_ring *ring, struct mhi_ring_element *el) in mhi_ep_ring_add_element() 153 void mhi_ep_ring_init(struct mhi_ep_ring *ring, enum mhi_ep_ring_type type, u32 id) in mhi_ep_ring_init() 169 int mhi_ep_ring_start(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring, in mhi_ep_ring_start() 211 void mhi_ep_ring_reset(struct mhi_ep_cntrl *mhi_cntrl, struct mhi_ep_ring *ring) in mhi_ep_ring_reset()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | psock_tpacket.c | 66 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | psock_tpacket.c | 66 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 …]
|