id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
sdma_v6_0_enable(9) | NAME sdma_v6_0_enable - stop the async dma engines
SYNOPSIS void sdma_v6_0_enable (struct amdgpu_device *adev , bool enable );
ARGUMENTS adev amdgpu_device pointer
enable enable/disable the DMA MEs.
DESCRIPTION Halt or unhalt the async dma engines.
SEE ALSO Kernel file ./drivers/gpu/drm/am... |
sdma_v6_0_gfx_resume(9) | NAME sdma_v6_0_gfx_resume - setup and start the async dma engines
SYNOPSIS int sdma_v6_0_gfx_resume (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Set up the gfx DMA ring buffers and enable them. Returns 0 for success, error for failure.
SEE ALSO Kernel file ./drivers/... |
sdma_v6_0_gfx_resume_instance(9) | NAME sdma_v6_0_gfx_resume_instance - start/restart a certain sdma engine
SYNOPSIS int sdma_v6_0_gfx_resume_instance (struct amdgpu_device *adev , int i , bool restore );
ARGUMENTS adev amdgpu_device pointer
i instance
restore used to restore wptr when restart
DESCRIPTION Set up t... |
sdma_v6_0_gfx_stop(9) | NAME sdma_v6_0_gfx_stop - stop the gfx async dma engines
SYNOPSIS void sdma_v6_0_gfx_stop (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Stop the gfx async dma ring buffers.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c sdma_v6_0_ring_get_rptr(9), ... |
sdma_v6_0_load_microcode(9) | NAME sdma_v6_0_load_microcode - load the sDMA ME ucode
SYNOPSIS int sdma_v6_0_load_microcode (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Loads the sDMA0/1 ucode. Returns 0 for success, -EINVAL if the ucode is not available.
SEE ALSO Kernel file ./drivers/gpu/drm/amd... |
sdma_v6_0_ring_emit_fence(9) | NAME sdma_v6_0_ring_emit_fence - emit a fence on the DMA ring
SYNOPSIS void sdma_v6_0_ring_emit_fence (struct amdgpu_ring *ring , u64 addr , u64 seq , unsigned flags );
ARGUMENTS ring amdgpu ring pointer
addr address
seq fence seq number
flags fence flags
DESCRIPTI... |
sdma_v6_0_ring_emit_hdp_flush(9) | NAME sdma_v6_0_ring_emit_hdp_flush - emit an hdp flush on the DMA ring
SYNOPSIS void sdma_v6_0_ring_emit_hdp_flush (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Emit an hdp flush packet on the requested DMA ring.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0... |
sdma_v6_0_ring_emit_mem_sync(9) | NAME sdma_v6_0_ring_emit_mem_sync - flush the IB by graphics cache rinse
SYNOPSIS void sdma_v6_0_ring_emit_mem_sync (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION flush the IB by graphics cache rinse.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c sdma_v6_... |
sdma_v6_0_ring_emit_pipeline_sync(9) | NAME sdma_v6_0_ring_emit_pipeline_sync - sync the pipeline
SYNOPSIS void sdma_v6_0_ring_emit_pipeline_sync (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu_ring pointer
DESCRIPTION Make sure all previous operations are completed (CIK).
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c ... |
sdma_v6_0_ring_get_rptr(9) | NAME sdma_v6_0_ring_get_rptr - get the current read pointer
SYNOPSIS uint64_t sdma_v6_0_ring_get_rptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Get the current rptr from the hardware.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c sdma_v6_0_ring_get_wp... |
sdma_v6_0_ring_get_wptr(9) | NAME sdma_v6_0_ring_get_wptr - get the current write pointer
SYNOPSIS uint64_t sdma_v6_0_ring_get_wptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Get the current wptr from the hardware.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c sdma_v6_0_ring_get_r... |
sdma_v6_0_ring_set_wptr(9) | NAME sdma_v6_0_ring_set_wptr - commit the write pointer
SYNOPSIS void sdma_v6_0_ring_set_wptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Write the wptr back to the hardware.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c sdma_v6_0_ring_get_rptr(9), sdma_v6_... |
sdma_v6_0_ring_test_ring(9) | NAME sdma_v6_0_ring_test_ring - simple async dma engine test
SYNOPSIS int sdma_v6_0_ring_test_ring (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu_ring structure holding ring information
DESCRIPTION Test the DMA engine by writing using it to write an value to memory. Returns 0 for success, error for failu... |
sdma_v6_0_rlc_resume(9) | NAME sdma_v6_0_rlc_resume - setup and start the async dma engines
SYNOPSIS int sdma_v6_0_rlc_resume (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Set up the compute DMA queues and enable them. Returns 0 for success, error for failure.
SEE ALSO Kernel file ./drivers/gp... |
sdma_v6_0_rlc_stop(9) | NAME sdma_v6_0_rlc_stop - stop the compute async dma engines
SYNOPSIS void sdma_v6_0_rlc_stop (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Stop the compute async dma queues.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c sdma_v6_0_ring_get_rptr(9), ... |
sdma_v6_0_start(9) | NAME sdma_v6_0_start - setup and start the async dma engines
SYNOPSIS int sdma_v6_0_start (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Set up the DMA engines and enable them. Returns 0 for success, error for failure.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/... |
sdma_v6_0_vm_copy_pte(9) | NAME sdma_v6_0_vm_copy_pte - update PTEs by copying them from the GART
SYNOPSIS void sdma_v6_0_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t src , unsigned count );
ARGUMENTS ib indirect buffer to fill with commands
pe addr of the page entry
src src addr to copy ... |
sdma_v6_0_vm_set_pte_pde(9) | NAME sdma_v6_0_vm_set_pte_pde - update the page tables using sDMA
SYNOPSIS void sdma_v6_0_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe , uint64_t addr , unsigned count , uint32_t incr , uint64_t flags );
ARGUMENTS ib indirect buffer to fill with commands
pe addr of the page entry
... |
sdma_v6_0_vm_write_pte(9) | NAME sdma_v6_0_vm_write_pte - update PTEs by writing them manually
SYNOPSIS void sdma_v6_0_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t value , unsigned count , uint32_t incr );
ARGUMENTS ib indirect buffer to fill with commands
pe addr of the page entry
value ds... |
sdma_v7_0_ctx_switch_enable(9) | NAME sdma_v7_0_ctx_switch_enable - stop the async dma engines context switch
SYNOPSIS void sdma_v7_0_ctx_switch_enable (struct amdgpu_device *adev , bool enable );
ARGUMENTS adev amdgpu_device pointer
enable enable/disable the DMA MEs context switch.
DESCRIPTION Halt or unhalt the async dma engin... |
sdma_v7_0_emit_copy_buffer(9) | NAME sdma_v7_0_emit_copy_buffer - copy buffer using the sDMA engine
SYNOPSIS void sdma_v7_0_emit_copy_buffer (struct amdgpu_ib *ib , uint64_t src_offset , uint64_t dst_offset , uint32_t byte_count , uint32_t copy_flags );
ARGUMENTS ib indirect buffer to fill with commands
src_offset src GPU address
... |
sdma_v7_0_emit_fill_buffer(9) | NAME sdma_v7_0_emit_fill_buffer - fill buffer using the sDMA engine
SYNOPSIS void sdma_v7_0_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t src_data , uint64_t dst_offset , uint32_t byte_count );
ARGUMENTS ib indirect buffer to fill
src_data value to write to buffer
dst_offset dst GPU a... |
sdma_v7_0_enable(9) | NAME sdma_v7_0_enable - stop the async dma engines
SYNOPSIS void sdma_v7_0_enable (struct amdgpu_device *adev , bool enable );
ARGUMENTS adev amdgpu_device pointer
enable enable/disable the DMA MEs.
DESCRIPTION Halt or unhalt the async dma engines.
SEE ALSO Kernel file ./drivers/gpu/drm/... |
sdma_v7_0_gfx_resume(9) | NAME sdma_v7_0_gfx_resume - setup and start the async dma engines
SYNOPSIS int sdma_v7_0_gfx_resume (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Set up the gfx DMA ring buffers and enable them. Returns 0 for success, error for failure.
SEE ALSO Kernel file ./drivers/gpu/... |
sdma_v7_0_gfx_resume_instance(9) | NAME sdma_v7_0_gfx_resume_instance - start/restart a certain sdma engine
SYNOPSIS int sdma_v7_0_gfx_resume_instance (struct amdgpu_device *adev , int i , bool restore );
ARGUMENTS adev amdgpu_device pointer
i instance
restore used to restore wptr when restart
DESCRIPTION Set up t... |
sdma_v7_0_gfx_stop(9) | NAME sdma_v7_0_gfx_stop - stop the gfx async dma engines
SYNOPSIS void sdma_v7_0_gfx_stop (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Stop the gfx async dma ring buffers.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c sdma_v7_0_ring_get_rptr(9), ... |
sdma_v7_0_load_microcode(9) | NAME sdma_v7_0_load_microcode - load the sDMA ME ucode
SYNOPSIS int sdma_v7_0_load_microcode (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Loads the sDMA0/1 ucode. Returns 0 for success, -EINVAL if the ucode is not available.
SEE ALSO Kernel file ./drivers/gpu/drm/a... |
sdma_v7_0_ring_emit_fence(9) | NAME sdma_v7_0_ring_emit_fence - emit a fence on the DMA ring
SYNOPSIS void sdma_v7_0_ring_emit_fence (struct amdgpu_ring *ring , u64 addr , u64 seq , unsigned flags );
ARGUMENTS ring amdgpu ring pointer
addr address
seq fence seq number
flags fence flags
DESCRIPTI... |
sdma_v7_0_ring_emit_hdp_flush(9) | NAME sdma_v7_0_ring_emit_hdp_flush - emit an hdp flush on the DMA ring
SYNOPSIS void sdma_v7_0_ring_emit_hdp_flush (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Emit an hdp flush packet on the requested DMA ring.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_... |
sdma_v7_0_ring_emit_ib(9) | NAME sdma_v7_0_ring_emit_ib - Schedule an IB on the DMA engine
SYNOPSIS void sdma_v7_0_ring_emit_ib (struct amdgpu_ring *ring , struct amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags );
ARGUMENTS ring amdgpu ring pointer
job job to retrieve vmid from
ib IB object to sch... |
sdma_v7_0_ring_emit_mem_sync(9) | NAME sdma_v7_0_ring_emit_mem_sync - flush the IB by graphics cache rinse
SYNOPSIS void sdma_v7_0_ring_emit_mem_sync (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION flush the IB by graphics cache rinse.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c sdma_... |
sdma_v7_0_ring_emit_pipeline_sync(9) | NAME sdma_v7_0_ring_emit_pipeline_sync - sync the pipeline
SYNOPSIS void sdma_v7_0_ring_emit_pipeline_sync (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu_ring pointer
DESCRIPTION Make sure all previous operations are completed (CIK).
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c ... |
sdma_v7_0_ring_emit_vm_flush(9) | NAME sdma_v7_0_ring_emit_vm_flush - vm flush using sDMA
SYNOPSIS void sdma_v7_0_ring_emit_vm_flush (struct amdgpu_ring *ring , unsigned vmid , uint64_t pd_addr );
ARGUMENTS ring amdgpu_ring pointer
vmid vmid number to use
pd_addr address
DESCRIPTION Update the page table base and fl... |
sdma_v7_0_ring_get_rptr(9) | NAME sdma_v7_0_ring_get_rptr - get the current read pointer
SYNOPSIS uint64_t sdma_v7_0_ring_get_rptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Get the current rptr from the hardware.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c sdma_v7_0_ring_get_w... |
sdma_v7_0_ring_get_wptr(9) | NAME sdma_v7_0_ring_get_wptr - get the current write pointer
SYNOPSIS uint64_t sdma_v7_0_ring_get_wptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Get the current wptr from the hardware.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c sdma_v7_0_ring_get_rptr(9... |
sdma_v7_0_ring_pad_ib(9) | NAME sdma_v7_0_ring_pad_ib - pad the IB
SYNOPSIS void sdma_v7_0_ring_pad_ib (struct amdgpu_ring *ring , struct amdgpu_ib *ib );
ARGUMENTS ring amdgpu ring pointer
ib indirect buffer to fill with padding
DESCRIPTION Pad the IB with NOPs to a boundary multiple of 8.
SEE ALSO Kernel file ... |
sdma_v7_0_ring_set_wptr(9) | NAME sdma_v7_0_ring_set_wptr - commit the write pointer
SYNOPSIS void sdma_v7_0_ring_set_wptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Write the wptr back to the hardware.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c sdma_v7_0_ring_get_rptr(9), ... |
sdma_v7_0_ring_test_ib(9) | NAME sdma_v7_0_ring_test_ib - test an IB on the DMA engine
SYNOPSIS int sdma_v7_0_ring_test_ib (struct amdgpu_ring *ring , long timeout );
ARGUMENTS ring amdgpu_ring structure holding ring information
timeout timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
DESCRIPTION Test a simple IB in the DMA... |
sdma_v7_0_ring_test_ring(9) | NAME sdma_v7_0_ring_test_ring - simple async dma engine test
SYNOPSIS int sdma_v7_0_ring_test_ring (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu_ring structure holding ring information
DESCRIPTION Test the DMA engine by writing using it to write an value to memory. Returns 0 for success, error for failu... |
sdma_v7_0_rlc_resume(9) | NAME sdma_v7_0_rlc_resume - setup and start the async dma engines
SYNOPSIS int sdma_v7_0_rlc_resume (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Set up the compute DMA queues and enable them. Returns 0 for success, error for failure.
SEE ALSO Kernel file ./drivers/... |
sdma_v7_0_rlc_stop(9) | NAME sdma_v7_0_rlc_stop - stop the compute async dma engines
SYNOPSIS void sdma_v7_0_rlc_stop (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Stop the compute async dma queues.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c sdma_v7_0_ring_get_rptr(9)... |
sdma_v7_0_start(9) | NAME sdma_v7_0_start - setup and start the async dma engines
SYNOPSIS int sdma_v7_0_start (struct amdgpu_device *adev );
ARGUMENTS adev amdgpu_device pointer
DESCRIPTION Set up the DMA engines and enable them. Returns 0 for success, error for failure.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgp... |
sdma_v7_0_vm_copy_pte(9) | NAME sdma_v7_0_vm_copy_pte - update PTEs by copying them from the GART
SYNOPSIS void sdma_v7_0_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t src , unsigned count );
ARGUMENTS ib indirect buffer to fill with commands
pe addr of the page entry
src src addr to copy ... |
sdma_v7_0_vm_set_pte_pde(9) | NAME sdma_v7_0_vm_set_pte_pde - update the page tables using sDMA
SYNOPSIS void sdma_v7_0_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe , uint64_t addr , unsigned count , uint32_t incr , uint64_t flags );
ARGUMENTS ib indirect buffer to fill with commands
pe addr of the page entry
... |
sdma_v7_0_vm_write_pte(9) | NAME sdma_v7_0_vm_write_pte - update PTEs by writing them manually
SYNOPSIS void sdma_v7_0_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t value , unsigned count , uint32_t incr );
ARGUMENTS ib indirect buffer to fill with commands
pe addr of the page entry
value ds... |
sdma_v7_1_emit_copy_buffer(9) | NAME sdma_v7_1_emit_copy_buffer - copy buffer using the sDMA engine
SYNOPSIS void sdma_v7_1_emit_copy_buffer (struct amdgpu_ib *ib , uint64_t src_offset , uint64_t dst_offset , uint32_t byte_count , uint32_t copy_flags );
ARGUMENTS ib indirect buffer to fill with commands
src_offset src GPU address
... |
sdma_v7_1_emit_fill_buffer(9) | NAME sdma_v7_1_emit_fill_buffer - fill buffer using the sDMA engine
SYNOPSIS void sdma_v7_1_emit_fill_buffer (struct amdgpu_ib *ib , uint32_t src_data , uint64_t dst_offset , uint32_t byte_count );
ARGUMENTS ib indirect buffer to fill
src_data value to write to buffer
dst_offset dst GPU a... |
sdma_v7_1_gfx_resume_instance(9) | NAME sdma_v7_1_gfx_resume_instance - start/restart a certain sdma engine
SYNOPSIS int sdma_v7_1_gfx_resume_instance (struct amdgpu_device *adev , int i , bool restore );
ARGUMENTS adev amdgpu_device pointer
i instance
restore used to restore wptr when restart
DESCRIPTION Set up t... |
sdma_v7_1_inst_ctx_switch_enable(9) | NAME sdma_v7_1_inst_ctx_switch_enable - stop the async dma engines context switch
SYNOPSIS void sdma_v7_1_inst_ctx_switch_enable (struct amdgpu_device *adev , bool enable , uint32_t inst_mask );
ARGUMENTS adev amdgpu_device pointer
enable enable/disable the DMA MEs context switch.
inst_mas... |
sdma_v7_1_inst_enable(9) | NAME sdma_v7_1_inst_enable - stop the async dma engines
SYNOPSIS void sdma_v7_1_inst_enable (struct amdgpu_device *adev , bool enable , uint32_t inst_mask );
ARGUMENTS adev amdgpu_device pointer
enable enable/disable the DMA MEs.
inst_mask mask of dma engine instances to be enabled
DESC... |
sdma_v7_1_inst_gfx_resume(9) | NAME sdma_v7_1_inst_gfx_resume - setup and start the async dma engines
SYNOPSIS int sdma_v7_1_inst_gfx_resume (struct amdgpu_device *adev , uint32_t inst_mask );
ARGUMENTS adev amdgpu_device pointer
inst_mask mask of dma engine instances to be enabled
DESCRIPTION Set up the gfx DMA ring buffers and ... |
sdma_v7_1_inst_gfx_stop(9) | NAME sdma_v7_1_inst_gfx_stop - stop the gfx async dma engines
SYNOPSIS void sdma_v7_1_inst_gfx_stop (struct amdgpu_device *adev , uint32_t inst_mask );
ARGUMENTS adev amdgpu_device pointer
inst_mask mask of dma engine instances to be disabled
DESCRIPTION Stop the gfx async dma ring buffers.
SEE ALS... |
sdma_v7_1_inst_load_microcode(9) | NAME sdma_v7_1_inst_load_microcode - load the sDMA ME ucode
SYNOPSIS int sdma_v7_1_inst_load_microcode (struct amdgpu_device *adev , uint32_t inst_mask );
ARGUMENTS adev amdgpu_device pointer
inst_mask mask of dma engine instances to be enabled
DESCRIPTION Loads the sDMA0/1 ucode. Returns 0 for suc... |
sdma_v7_1_inst_rlc_resume(9) | NAME sdma_v7_1_inst_rlc_resume - setup and start the async dma engines
SYNOPSIS int sdma_v7_1_inst_rlc_resume (struct amdgpu_device *adev , uint32_t inst_mask );
ARGUMENTS adev amdgpu_device pointer
inst_mask mask of dma engine instances to be enabled
DESCRIPTION Set up the compute DMA queues and en... |
sdma_v7_1_inst_rlc_stop(9) | NAME sdma_v7_1_inst_rlc_stop - stop the compute async dma engines
SYNOPSIS void sdma_v7_1_inst_rlc_stop (struct amdgpu_device *adev , uint32_t inst_mask );
ARGUMENTS adev amdgpu_device pointer
inst_mask mask of dma engine instances to be disabled
DESCRIPTION Stop the compute async dma queues.
SEE A... |
sdma_v7_1_inst_start(9) | NAME sdma_v7_1_inst_start - setup and start the async dma engines
SYNOPSIS int sdma_v7_1_inst_start (struct amdgpu_device *adev , uint32_t inst_mask );
ARGUMENTS adev amdgpu_device pointer
inst_mask mask of dma engine instances to be enabled
DESCRIPTION Set up the DMA engines and enable them. Retur... |
sdma_v7_1_ring_emit_fence(9) | NAME sdma_v7_1_ring_emit_fence - emit a fence on the DMA ring
SYNOPSIS void sdma_v7_1_ring_emit_fence (struct amdgpu_ring *ring , u64 addr , u64 seq , unsigned flags );
ARGUMENTS ring amdgpu ring pointer
addr address
seq fence seq number
flags fence flags
DESCRIPTI... |
sdma_v7_1_ring_emit_ib(9) | NAME sdma_v7_1_ring_emit_ib - Schedule an IB on the DMA engine
SYNOPSIS void sdma_v7_1_ring_emit_ib (struct amdgpu_ring *ring , struct amdgpu_job *job , struct amdgpu_ib *ib , uint32_t flags );
ARGUMENTS ring amdgpu ring pointer
job job to retrieve vmid from
ib IB object to sch... |
sdma_v7_1_ring_emit_mem_sync(9) | NAME sdma_v7_1_ring_emit_mem_sync - flush the IB by graphics cache rinse
SYNOPSIS void sdma_v7_1_ring_emit_mem_sync (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION flush the IB by graphics cache rinse.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c sdma_v7_1_ring_ge... |
sdma_v7_1_ring_emit_pipeline_sync(9) | NAME sdma_v7_1_ring_emit_pipeline_sync - sync the pipeline
SYNOPSIS void sdma_v7_1_ring_emit_pipeline_sync (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu_ring pointer
DESCRIPTION Make sure all previous operations are completed (CIK).
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c ... |
sdma_v7_1_ring_emit_vm_flush(9) | NAME sdma_v7_1_ring_emit_vm_flush - vm flush using sDMA
SYNOPSIS void sdma_v7_1_ring_emit_vm_flush (struct amdgpu_ring *ring , unsigned vmid , uint64_t pd_addr );
ARGUMENTS ring amdgpu_ring pointer
vmid vmid number to use
pd_addr address
DESCRIPTION Update the page table base and fl... |
sdma_v7_1_ring_get_rptr(9) | NAME sdma_v7_1_ring_get_rptr - get the current read pointer
SYNOPSIS uint64_t sdma_v7_1_ring_get_rptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Get the current rptr from the hardware.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c sdma_v7_1_ring_get... |
sdma_v7_1_ring_get_wptr(9) | NAME sdma_v7_1_ring_get_wptr - get the current write pointer
SYNOPSIS uint64_t sdma_v7_1_ring_get_wptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Get the current wptr from the hardware.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c sdma_v7_1_ring_ge... |
sdma_v7_1_ring_pad_ib(9) | NAME sdma_v7_1_ring_pad_ib - pad the IB
SYNOPSIS void sdma_v7_1_ring_pad_ib (struct amdgpu_ring *ring , struct amdgpu_ib *ib );
ARGUMENTS ring amdgpu ring pointer
ib indirect buffer to fill with padding
DESCRIPTION Pad the IB with NOPs to a boundary multiple of 8.
SEE ALSO Kernel file ... |
sdma_v7_1_ring_set_wptr(9) | NAME sdma_v7_1_ring_set_wptr - commit the write pointer
SYNOPSIS void sdma_v7_1_ring_set_wptr (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu ring pointer
DESCRIPTION Write the wptr back to the hardware.
SEE ALSO Kernel file ./drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c sdma_v7_1_ring_get_rptr(9), ... |
sdma_v7_1_ring_test_ib(9) | NAME sdma_v7_1_ring_test_ib - test an IB on the DMA engine
SYNOPSIS int sdma_v7_1_ring_test_ib (struct amdgpu_ring *ring , long timeout );
ARGUMENTS ring amdgpu_ring structure holding ring information
timeout timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT
DESCRIPTION Test a simple IB in the DMA... |
sdma_v7_1_ring_test_ring(9) | NAME sdma_v7_1_ring_test_ring - simple async dma engine test
SYNOPSIS int sdma_v7_1_ring_test_ring (struct amdgpu_ring *ring );
ARGUMENTS ring amdgpu_ring structure holding ring information
DESCRIPTION Test the DMA engine by writing using it to write an value to memory. Returns 0 for success, error for failu... |
sdma_v7_1_vm_copy_pte(9) | NAME sdma_v7_1_vm_copy_pte - update PTEs by copying them from the GART
SYNOPSIS void sdma_v7_1_vm_copy_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t src , unsigned count );
ARGUMENTS ib indirect buffer to fill with commands
pe addr of the page entry
src src addr to copy ... |
sdma_v7_1_vm_set_pte_pde(9) | NAME sdma_v7_1_vm_set_pte_pde - update the page tables using sDMA
SYNOPSIS void sdma_v7_1_vm_set_pte_pde (struct amdgpu_ib *ib , uint64_t pe , uint64_t addr , unsigned count , uint32_t incr , uint64_t flags );
ARGUMENTS ib indirect buffer to fill with commands
pe addr of the page entry
... |
sdma_v7_1_vm_write_pte(9) | NAME sdma_v7_1_vm_write_pte - update PTEs by writing them manually
SYNOPSIS void sdma_v7_1_vm_write_pte (struct amdgpu_ib *ib , uint64_t pe , uint64_t value , unsigned count , uint32_t incr );
ARGUMENTS ib indirect buffer to fill with commands
pe addr of the page entry
value ds... |
sdptool(1) | NAME sdptool - control and interrogate SDP servers
SYNOPSIS sdptool [OPTIONS] [COMMAND [PARAMETERS]]
DESCRIPTION sdptool(1) provides the interface for performing SDP queries on Bluetooth devices, and administering a local SDP database.
COMMANDS The following commands are available. In all cases bdaddr specifies the... |
sdt_notes__get_count(9) | NAME sdt_notes__get_count - Counts the number of sdt events
SYNOPSIS int sdt_notes__get_count (struct list_head *start );
ARGUMENTS start list_head to sdt_notes list
DESCRIPTION Returns the number of SDT notes in a list
SEE ALSO Kernel file ./tools/perf/util/symbol-elf.c elf_symtab__for_each_symbol(9), ... |
sdw_acquire_bus_lock(9) | NAME sdw_acquire_bus_lock - Acquire bus lock for all Master runtime(s)
SYNOPSIS void sdw_acquire_bus_lock (struct sdw_stream_runtime *stream );
ARGUMENTS stream SoundWire stream
DESCRIPTION Acquire bus_lock for each of the master runtime(m_rt) part of this stream to reconfigure the bus.
NOTE This function is c... |
sdw_alloc_stream(9) | NAME sdw_alloc_stream - Allocate and return stream runtime
SYNOPSIS struct sdw_stream_runtime * sdw_alloc_stream (const char *stream_name , enum sdw_stream_type type );
ARGUMENTS stream_name SoundWire stream name
type stream type (could be PCM ,PDM or BPT)
DESCRIPTION Allocates a SoundWire stream runt... |
sdw_bus_clk_stop(9) | NAME sdw_bus_clk_stop - stop bus clock
SYNOPSIS int sdw_bus_clk_stop (struct sdw_bus *bus );
ARGUMENTS bus SDW bus instance
DESCRIPTION After preparing the Slaves for clock stop, stop the clock by broadcasting write to SCP_CTRL register.
SEE ALSO Kernel file ./drivers/soundwire/bus.c sdw_bus_master_add(9... |
sdw_bus_exit_clk_stop(9) | NAME sdw_bus_exit_clk_stop - Exit clock stop mode
SYNOPSIS int sdw_bus_exit_clk_stop (struct sdw_bus *bus );
ARGUMENTS bus SDW bus instance
DESCRIPTION This De-prepares the Slaves by exiting Clock Stop Mode 0. For the Slaves exiting Clock Stop Mode 1, they will be de-prepared after they enumerate back.
SEE ... |
sdw_bus_master_add(9) | NAME sdw_bus_master_add - add a bus Master instance
SYNOPSIS int sdw_bus_master_add (struct sdw_bus *bus , struct device *parent , struct fwnode_handle *fwnode );
ARGUMENTS bus bus instance
parent parent device
fwnode firmware node handle
DESCRIPTION Initializes the bus instance, re... |
sdw_bus_master_delete(9) | NAME sdw_bus_master_delete - delete the bus master instance
SYNOPSIS void sdw_bus_master_delete (struct sdw_bus *bus );
ARGUMENTS bus bus to be deleted
DESCRIPTION Remove the instance, delete the child devices.
SEE ALSO Kernel file ./drivers/soundwire/bus.c sdw_bus_master_add(9), sdw_transfer(9), sdw_show... |
sdw_bus_prep_clk_stop(9) | NAME sdw_bus_prep_clk_stop - prepare Slave(s) for clock stop
SYNOPSIS int sdw_bus_prep_clk_stop (struct sdw_bus *bus );
ARGUMENTS bus SDW bus instance
DESCRIPTION Query Slave for clock stop mode and prepare for that mode.
SEE ALSO Kernel file ./drivers/soundwire/bus.c sdw_bus_master_add(9), sdw_bus_mast... |
sdw_cdns_alloc_pdi(9) | NAME sdw_cdns_alloc_pdi - Allocate a PDI
SYNOPSIS struct sdw_cdns_pdi * sdw_cdns_alloc_pdi (struct sdw_cdns *cdns , struct sdw_cdns_streams *stream , u32 ch , u32 dir , int dai_id );
ARGUMENTS cdns Cadence instance
stream Stream to be allocated
ch Channel count
dir ... |
sdw_cdns_clock_restart(9) | NAME sdw_cdns_clock_restart - Cadence PM clock restart configuration routine
SYNOPSIS int sdw_cdns_clock_restart (struct sdw_cdns *cdns , bool bus_reset );
ARGUMENTS cdns Cadence instance
bus_reset context may be lost while in low power modes and the bus may require a Severe Reset and re-enumeration ... |
sdw_cdns_clock_stop(9) | NAME sdw_cdns_clock_stop - Cadence clock stop configuration routine
SYNOPSIS int sdw_cdns_clock_stop (struct sdw_cdns *cdns , bool block_wake );
ARGUMENTS cdns Cadence instance
block_wake prevent wakes if required by the platform
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_conf... |
sdw_cdns_config_stream(9) | NAME sdw_cdns_config_stream - Configure a stream
SYNOPSIS void sdw_cdns_config_stream (struct sdw_cdns *cdns , u32 ch , u32 dir , struct sdw_cdns_pdi *pdi );
ARGUMENTS cdns Cadence instance
ch Channel count
dir Data direction
pdi PDI to be used
SEE ALSO Kernel ... |
sdw_cdns_config_update(9) | NAME sdw_cdns_config_update - Update configurations
SYNOPSIS void sdw_cdns_config_update (struct sdw_cdns *cdns );
ARGUMENTS cdns Cadence instance
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update_set_wait(9), sdw_cdns_debugfs_init(9), sdw_cdns_irq(9), cdns_update_slave_statu... |
sdw_cdns_config_update_set_wait(9) | NAME sdw_cdns_config_update_set_wait - wait until configuration update bit is self-cleared
SYNOPSIS int sdw_cdns_config_update_set_wait (struct sdw_cdns *cdns );
ARGUMENTS cdns Cadence instance
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), sdw_cdns_debugfs_init(9... |
sdw_cdns_debugfs_init(9) | NAME sdw_cdns_debugfs_init - Cadence debugfs init
SYNOPSIS void sdw_cdns_debugfs_init (struct sdw_cdns *cdns , struct dentry *root );
ARGUMENTS cdns Cadence instance
root debugfs root
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), sdw_cdns_config_update_s... |
sdw_cdns_enable_interrupt(9) | NAME sdw_cdns_enable_interrupt - Enable SDW interrupts
SYNOPSIS int sdw_cdns_enable_interrupt (struct sdw_cdns *cdns , bool state );
ARGUMENTS cdns Cadence instance
state True if we are trying to enable interrupt.
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9... |
sdw_cdns_exit_reset(9) | NAME sdw_cdns_exit_reset - Program reset parameters and start bus operations
SYNOPSIS int sdw_cdns_exit_reset (struct sdw_cdns *cdns );
ARGUMENTS cdns Cadence instance
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), sdw_cdns_config_update_set_wait(9), sdw_cdns_debugfs_init... |
sdw_cdns_init(9) | NAME sdw_cdns_init - Cadence initialization
SYNOPSIS int sdw_cdns_init (struct sdw_cdns *cdns );
ARGUMENTS cdns Cadence instance
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), sdw_cdns_config_update_set_wait(9), sdw_cdns_debugfs_init(9), sdw_cdns_irq(9), cdns_update_slave... |
sdw_cdns_irq(9) | NAME sdw_cdns_irq - Cadence interrupt handler
SYNOPSIS irqreturn_t sdw_cdns_irq (int irq , void *dev_id );
ARGUMENTS irq irq number
dev_id irq context
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), sdw_cdns_config_update_set_wait(9), sdw_cdns_debugfs_init(9... |
sdw_cdns_is_clock_stop(9) | NAME sdw_cdns_is_clock_stop - Check clock status
SYNOPSIS bool sdw_cdns_is_clock_stop (struct sdw_cdns *cdns );
ARGUMENTS cdns Cadence instance
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), sdw_cdns_config_update_set_wait(9), sdw_cdns_debugfs_init(9), sdw_cdns_irq(9), cd... |
sdw_cdns_pdi_init(9) | NAME sdw_cdns_pdi_init - PDI initialization routine
SYNOPSIS int sdw_cdns_pdi_init (struct sdw_cdns *cdns , struct sdw_cdns_stream_config config );
ARGUMENTS cdns Cadence instance
config Stream configurations
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), sdw... |
sdw_cdns_probe(9) | NAME sdw_cdns_probe - Cadence probe routine
SYNOPSIS int sdw_cdns_probe (struct sdw_cdns *cdns );
ARGUMENTS cdns Cadence instance
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), sdw_cdns_config_update_set_wait(9), sdw_cdns_debugfs_init(9), sdw_cdns_irq(9), cdns_update_slav... |
sdw_cdns_soft_reset(9) | NAME sdw_cdns_soft_reset - Cadence soft-reset
SYNOPSIS int sdw_cdns_soft_reset (struct sdw_cdns *cdns );
ARGUMENTS cdns Cadence instance
SEE ALSO Kernel file ./drivers/soundwire/cadence_master.c sdw_cdns_config_update(9), sdw_cdns_config_update_set_wait(9), sdw_cdns_debugfs_init(9), sdw_cdns_irq(9), cdns_upda... |
sdw_compute_bus_params(9) | NAME sdw_compute_bus_params - Compute bus parameters
SYNOPSIS int sdw_compute_bus_params (struct sdw_bus *bus );
ARGUMENTS bus SDW Bus instance
SEE ALSO Kernel file ./drivers/soundwire/generic_bandwidth_allocation.c sdw_compute_port_params(9), is_lane_connected_to_all_peripherals(9), sdw_compute_params(9)
A... |
sdw_compute_params(9) | NAME sdw_compute_params - Compute bus, transport and port parameters
SYNOPSIS int sdw_compute_params (struct sdw_bus *bus , struct sdw_stream_runtime *stream );
ARGUMENTS bus SDW Bus instance
stream Soundwire stream
SEE ALSO Kernel file ./drivers/soundwire/generic_bandwidth_allocation.c sdw_comp... |
sdw_compute_port_params(9) | NAME sdw_compute_port_params - Compute transport and port parameters
SYNOPSIS int sdw_compute_port_params (struct sdw_bus *bus , struct sdw_stream_runtime *stream );
ARGUMENTS bus SDW Bus instance
stream Soundwire stream
SEE ALSO Kernel file ./drivers/soundwire/generic_bandwidth_allocation.c is_... |
sdw_config_stream(9) | NAME sdw_config_stream - Configure the allocated stream
SYNOPSIS int sdw_config_stream (struct device *dev , struct sdw_stream_runtime *stream , struct sdw_stream_config *stream_config , bool is_slave );
ARGUMENTS dev SDW device
stream SoundWire stream
stream_config
Str... |
sdw_deprepare_stream(9) | NAME sdw_deprepare_stream - Deprepare SoundWire stream
SYNOPSIS int sdw_deprepare_stream (struct sdw_stream_runtime *stream );
ARGUMENTS stream Soundwire stream
DESCRIPTION Documentation/driver-api/soundwire/stream.rst explains this API in detail
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_pr... |
sdw_disable_stream(9) | NAME sdw_disable_stream - Disable SoundWire stream
SYNOPSIS int sdw_disable_stream (struct sdw_stream_runtime *stream );
ARGUMENTS stream Soundwire stream
DESCRIPTION Documentation/driver-api/soundwire/stream.rst explains this API in detail
SEE ALSO Kernel file ./drivers/soundwire/stream.c sdw_program_port_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.