Lines Matching defs:rdev
162 int cik_get_allowed_info_register(struct radeon_device *rdev, in cik_get_allowed_info_register()
188 u32 cik_didt_rreg(struct radeon_device *rdev, u32 reg) in cik_didt_rreg()
200 void cik_didt_wreg(struct radeon_device *rdev, u32 reg, u32 v) in cik_didt_wreg()
211 int ci_get_temp(struct radeon_device *rdev) in ci_get_temp()
230 int kv_get_temp(struct radeon_device *rdev) in kv_get_temp()
250 u32 cik_pciep_rreg(struct radeon_device *rdev, u32 reg) in cik_pciep_rreg()
263 void cik_pciep_wreg(struct radeon_device *rdev, u32 reg, u32 v) in cik_pciep_wreg()
1632 static void cik_init_golden_registers(struct radeon_device *rdev) in cik_init_golden_registers()
1718 u32 cik_get_xclk(struct radeon_device *rdev) in cik_get_xclk()
1741 u32 cik_mm_rdoorbell(struct radeon_device *rdev, u32 index) in cik_mm_rdoorbell()
1761 void cik_mm_wdoorbell(struct radeon_device *rdev, u32 index, u32 v) in cik_mm_wdoorbell()
1854 static void cik_srbm_select(struct radeon_device *rdev, in cik_srbm_select()
1873 int ci_mc_load_microcode(struct radeon_device *rdev) in ci_mc_load_microcode()
1979 static int cik_init_microcode(struct radeon_device *rdev) in cik_init_microcode()
2333 static void cik_tiling_mode_table_init(struct radeon_device *rdev) in cik_tiling_mode_table_init()
3039 static void cik_select_se_sh(struct radeon_device *rdev, in cik_select_se_sh()
3085 static u32 cik_get_rb_disabled(struct radeon_device *rdev, in cik_get_rb_disabled()
3115 static void cik_setup_rb(struct radeon_device *rdev, in cik_setup_rb()
3182 static void cik_gpu_init(struct radeon_device *rdev) in cik_gpu_init()
3436 static void cik_scratch_init(struct radeon_device *rdev) in cik_scratch_init()
3459 int cik_ring_test(struct radeon_device *rdev, struct radeon_ring *ring) in cik_ring_test()
3508 static void cik_hdp_flush_cp_ring_emit(struct radeon_device *rdev, in cik_hdp_flush_cp_ring_emit()
3554 void cik_fence_gfx_ring_emit(struct radeon_device *rdev, in cik_fence_gfx_ring_emit()
3595 void cik_fence_compute_ring_emit(struct radeon_device *rdev, in cik_fence_compute_ring_emit()
3625 bool cik_semaphore_ring_emit(struct radeon_device *rdev, in cik_semaphore_ring_emit()
3659 struct radeon_fence *cik_copy_cpdma(struct radeon_device *rdev, in cik_copy_cpdma()
3733 void cik_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib) in cik_ring_ib_execute()
3783 int cik_ib_test(struct radeon_device *rdev, struct radeon_ring *ring) in cik_ib_test()
3877 static void cik_cp_gfx_enable(struct radeon_device *rdev, bool enable) in cik_cp_gfx_enable()
3898 static int cik_cp_gfx_load_microcode(struct radeon_device *rdev) in cik_cp_gfx_load_microcode()
3985 static int cik_cp_gfx_start(struct radeon_device *rdev) in cik_cp_gfx_start()
4045 static void cik_cp_gfx_fini(struct radeon_device *rdev) in cik_cp_gfx_fini()
4060 static int cik_cp_gfx_resume(struct radeon_device *rdev) in cik_cp_gfx_resume()
4127 u32 cik_gfx_get_rptr(struct radeon_device *rdev, in cik_gfx_get_rptr()
4140 u32 cik_gfx_get_wptr(struct radeon_device *rdev, in cik_gfx_get_wptr()
4146 void cik_gfx_set_wptr(struct radeon_device *rdev, in cik_gfx_set_wptr()
4153 u32 cik_compute_get_rptr(struct radeon_device *rdev, in cik_compute_get_rptr()
4171 u32 cik_compute_get_wptr(struct radeon_device *rdev, in cik_compute_get_wptr()
4190 void cik_compute_set_wptr(struct radeon_device *rdev, in cik_compute_set_wptr()
4198 static void cik_compute_stop(struct radeon_device *rdev, in cik_compute_stop()
4231 static void cik_cp_compute_enable(struct radeon_device *rdev, bool enable) in cik_cp_compute_enable()
4260 static int cik_cp_compute_load_microcode(struct radeon_device *rdev) in cik_cp_compute_load_microcode()
4331 static int cik_cp_compute_start(struct radeon_device *rdev) in cik_cp_compute_start()
4346 static void cik_cp_compute_fini(struct radeon_device *rdev) in cik_cp_compute_fini()
4372 static void cik_mec_fini(struct radeon_device *rdev) in cik_mec_fini()
4390 static int cik_mec_init(struct radeon_device *rdev) in cik_mec_init()
4522 static int cik_cp_compute_resume(struct radeon_device *rdev) in cik_cp_compute_resume()
4759 static void cik_cp_enable(struct radeon_device *rdev, bool enable) in cik_cp_enable()
4765 static int cik_cp_load_microcode(struct radeon_device *rdev) in cik_cp_load_microcode()
4779 static void cik_cp_fini(struct radeon_device *rdev) in cik_cp_fini()
4785 static int cik_cp_resume(struct radeon_device *rdev) in cik_cp_resume()
4807 static void cik_print_gpu_status_regs(struct radeon_device *rdev) in cik_print_gpu_status_regs()
4856 u32 cik_gpu_check_soft_reset(struct radeon_device *rdev) in cik_gpu_check_soft_reset()
4936 static void cik_gpu_soft_reset(struct radeon_device *rdev, u32 reset_mask) in cik_gpu_soft_reset()
5065 static void kv_save_regs_for_reset(struct radeon_device *rdev, in kv_save_regs_for_reset()
5077 static void kv_restore_regs_for_reset(struct radeon_device *rdev, in kv_restore_regs_for_reset()
5150 static void cik_gpu_pci_config_reset(struct radeon_device *rdev) in cik_gpu_pci_config_reset()
5223 int cik_asic_reset(struct radeon_device *rdev, bool hard) in cik_asic_reset()
5263 bool cik_gfx_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring) in cik_gfx_is_lockup()
5285 static void cik_mc_program(struct radeon_device *rdev) in cik_mc_program()
5342 static int cik_mc_init(struct radeon_device *rdev) in cik_mc_init()
5413 void cik_pcie_gart_tlb_flush(struct radeon_device *rdev) in cik_pcie_gart_tlb_flush()
5433 static int cik_pcie_gart_enable(struct radeon_device *rdev) in cik_pcie_gart_enable()
5550 static void cik_pcie_gart_disable(struct radeon_device *rdev) in cik_pcie_gart_disable()
5589 static void cik_pcie_gart_fini(struct radeon_device *rdev) in cik_pcie_gart_fini()
5605 int cik_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib) in cik_ib_parse()
5625 int cik_vm_init(struct radeon_device *rdev) in cik_vm_init()
5651 void cik_vm_fini(struct radeon_device *rdev) in cik_vm_fini()
5664 static void cik_vm_decode_fault(struct radeon_device *rdev, in cik_vm_decode_fault()
5692 void cik_vm_flush(struct radeon_device *rdev, struct radeon_ring *ring, in cik_vm_flush()
5772 static void cik_enable_gui_idle_interrupt(struct radeon_device *rdev, in cik_enable_gui_idle_interrupt()
5784 static void cik_enable_lbpw(struct radeon_device *rdev, bool enable) in cik_enable_lbpw()
5796 static void cik_wait_for_rlc_serdes(struct radeon_device *rdev) in cik_wait_for_rlc_serdes()
5821 static void cik_update_rlc(struct radeon_device *rdev, u32 rlc) in cik_update_rlc()
5830 static u32 cik_halt_rlc(struct radeon_device *rdev) in cik_halt_rlc()
5854 void cik_enter_rlc_safe_mode(struct radeon_device *rdev) in cik_enter_rlc_safe_mode()
5875 void cik_exit_rlc_safe_mode(struct radeon_device *rdev) in cik_exit_rlc_safe_mode()
5890 static void cik_rlc_stop(struct radeon_device *rdev) in cik_rlc_stop()
5906 static void cik_rlc_start(struct radeon_device *rdev) in cik_rlc_start()
5924 static int cik_rlc_resume(struct radeon_device *rdev) in cik_rlc_resume()
6005 static void cik_enable_cgcg(struct radeon_device *rdev, bool enable) in cik_enable_cgcg()
6041 static void cik_enable_mgcg(struct radeon_device *rdev, bool enable) in cik_enable_mgcg()
6134 static void cik_enable_mc_ls(struct radeon_device *rdev, in cik_enable_mc_ls()
6151 static void cik_enable_mc_mgcg(struct radeon_device *rdev, in cik_enable_mc_mgcg()
6168 static void cik_enable_sdma_mgcg(struct radeon_device *rdev, in cik_enable_sdma_mgcg()
6189 static void cik_enable_sdma_mgls(struct radeon_device *rdev, in cik_enable_sdma_mgls()
6217 static void cik_enable_uvd_mgcg(struct radeon_device *rdev, in cik_enable_uvd_mgcg()
6243 static void cik_enable_bif_mgls(struct radeon_device *rdev, in cik_enable_bif_mgls()
6261 static void cik_enable_hdp_mgcg(struct radeon_device *rdev, in cik_enable_hdp_mgcg()
6277 static void cik_enable_hdp_ls(struct radeon_device *rdev, in cik_enable_hdp_ls()
6293 void cik_update_cg(struct radeon_device *rdev, in cik_update_cg()
6341 static void cik_init_cg(struct radeon_device *rdev) in cik_init_cg()
6356 static void cik_fini_cg(struct radeon_device *rdev) in cik_fini_cg()
6367 static void cik_enable_sck_slowdown_on_pu(struct radeon_device *rdev, in cik_enable_sck_slowdown_on_pu()
6381 static void cik_enable_sck_slowdown_on_pd(struct radeon_device *rdev, in cik_enable_sck_slowdown_on_pd()
6395 static void cik_enable_cp_pg(struct radeon_device *rdev, bool enable) in cik_enable_cp_pg()
6408 static void cik_enable_gds_pg(struct radeon_device *rdev, bool enable) in cik_enable_gds_pg()
6425 void cik_init_cp_pg_table(struct radeon_device *rdev) in cik_init_cp_pg_table()
6509 static void cik_enable_gfx_cgpg(struct radeon_device *rdev, in cik_enable_gfx_cgpg()
6539 static u32 cik_get_cu_active_bitmap(struct radeon_device *rdev, u32 se, u32 sh) in cik_get_cu_active_bitmap()
6562 static void cik_init_ao_cu_mask(struct radeon_device *rdev) in cik_init_ao_cu_mask()
6595 static void cik_enable_gfx_static_mgpg(struct radeon_device *rdev, in cik_enable_gfx_static_mgpg()
6609 static void cik_enable_gfx_dynamic_mgpg(struct radeon_device *rdev, in cik_enable_gfx_dynamic_mgpg()
6626 static void cik_init_gfx_cgpg(struct radeon_device *rdev) in cik_init_gfx_cgpg()
6675 static void cik_update_gfx_pg(struct radeon_device *rdev, bool enable) in cik_update_gfx_pg()
6682 u32 cik_get_csb_size(struct radeon_device *rdev) in cik_get_csb_size()
6714 void cik_get_csb_buffer(struct radeon_device *rdev, volatile u32 *buffer) in cik_get_csb_buffer()
6779 static void cik_init_pg(struct radeon_device *rdev) in cik_init_pg()
6794 static void cik_fini_pg(struct radeon_device *rdev) in cik_fini_pg()
6827 static void cik_enable_interrupts(struct radeon_device *rdev) in cik_enable_interrupts()
6846 static void cik_disable_interrupts(struct radeon_device *rdev) in cik_disable_interrupts()
6869 static void cik_disable_interrupt_state(struct radeon_device *rdev) in cik_disable_interrupt_state()
6950 static int cik_irq_init(struct radeon_device *rdev) in cik_irq_init()
7030 int cik_irq_set(struct radeon_device *rdev) in cik_irq_set()
7300 static inline void cik_irq_ack(struct radeon_device *rdev) in cik_irq_ack()
7447 static void cik_irq_disable(struct radeon_device *rdev) in cik_irq_disable()
7464 static void cik_irq_suspend(struct radeon_device *rdev) in cik_irq_suspend()
7479 static void cik_irq_fini(struct radeon_device *rdev) in cik_irq_fini()
7496 static inline u32 cik_get_ih_wptr(struct radeon_device *rdev) in cik_get_ih_wptr()
7553 int cik_irq_process(struct radeon_device *rdev) in cik_irq_process()
8128 static void cik_uvd_init(struct radeon_device *rdev) in cik_uvd_init()
8151 static void cik_uvd_start(struct radeon_device *rdev) in cik_uvd_start()
8179 static void cik_uvd_resume(struct radeon_device *rdev) in cik_uvd_resume()
8200 static void cik_vce_init(struct radeon_device *rdev) in cik_vce_init()
8225 static void cik_vce_start(struct radeon_device *rdev) in cik_vce_start()
8259 static void cik_vce_resume(struct radeon_device *rdev) in cik_vce_resume()
8295 static int cik_startup(struct radeon_device *rdev) in cik_startup()
8497 int cik_resume(struct radeon_device *rdev) in cik_resume()
8531 int cik_suspend(struct radeon_device *rdev) in cik_suspend()
8568 int cik_init(struct radeon_device *rdev) in cik_init()
8717 void cik_fini(struct radeon_device *rdev) in cik_fini()
8747 struct radeon_device *rdev = dev->dev_private; in dce8_program_fmt() local
8821 static u32 dce8_line_buffer_adjust(struct radeon_device *rdev, in dce8_line_buffer_adjust()
8892 static u32 cik_get_number_of_dram_channels(struct radeon_device *rdev) in cik_get_number_of_dram_channels()
9250 static void dce8_program_watermarks(struct radeon_device *rdev, in dce8_program_watermarks()
9386 void dce8_bandwidth_update(struct radeon_device *rdev) in dce8_bandwidth_update()
9416 uint64_t cik_get_gpu_clock_counter(struct radeon_device *rdev) in cik_get_gpu_clock_counter()
9428 static int cik_set_uvd_clock(struct radeon_device *rdev, u32 clock, in cik_set_uvd_clock()
9456 int cik_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk) in cik_set_uvd_clocks()
9468 int cik_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk) in cik_set_vce_clocks()
9503 static void cik_pcie_gen3_enable(struct radeon_device *rdev) in cik_pcie_gen3_enable()
9665 static void cik_program_aspm(struct radeon_device *rdev) in cik_program_aspm()