Lines Matching defs:rdev

153 int cik_get_allowed_info_register(struct radeon_device *rdev,  in cik_get_allowed_info_register()
179 u32 cik_didt_rreg(struct radeon_device *rdev, u32 reg) in cik_didt_rreg()
191 void cik_didt_wreg(struct radeon_device *rdev, u32 reg, u32 v) in cik_didt_wreg()
202 int ci_get_temp(struct radeon_device *rdev) in ci_get_temp()
219 int kv_get_temp(struct radeon_device *rdev) in kv_get_temp()
237 u32 cik_pciep_rreg(struct radeon_device *rdev, u32 reg) in cik_pciep_rreg()
250 void cik_pciep_wreg(struct radeon_device *rdev, u32 reg, u32 v) in cik_pciep_wreg()
1619 static void cik_init_golden_registers(struct radeon_device *rdev) in cik_init_golden_registers()
1705 u32 cik_get_xclk(struct radeon_device *rdev) in cik_get_xclk()
1728 u32 cik_mm_rdoorbell(struct radeon_device *rdev, u32 index) in cik_mm_rdoorbell()
1748 void cik_mm_wdoorbell(struct radeon_device *rdev, u32 index, u32 v) in cik_mm_wdoorbell()
1841 static void cik_srbm_select(struct radeon_device *rdev, in cik_srbm_select()
1860 int ci_mc_load_microcode(struct radeon_device *rdev) in ci_mc_load_microcode()
1966 static int cik_init_microcode(struct radeon_device *rdev) in cik_init_microcode()
2320 static void cik_tiling_mode_table_init(struct radeon_device *rdev) in cik_tiling_mode_table_init()
3026 static void cik_select_se_sh(struct radeon_device *rdev, in cik_select_se_sh()
3071 static u32 cik_get_rb_disabled(struct radeon_device *rdev, in cik_get_rb_disabled()
3101 static void cik_setup_rb(struct radeon_device *rdev, in cik_setup_rb()
3168 static void cik_gpu_init(struct radeon_device *rdev) in cik_gpu_init()
3422 static void cik_scratch_init(struct radeon_device *rdev) in cik_scratch_init()
3445 int cik_ring_test(struct radeon_device *rdev, struct radeon_ring *ring) in cik_ring_test()
3494 static void cik_hdp_flush_cp_ring_emit(struct radeon_device *rdev, in cik_hdp_flush_cp_ring_emit()
3540 void cik_fence_gfx_ring_emit(struct radeon_device *rdev, in cik_fence_gfx_ring_emit()
3581 void cik_fence_compute_ring_emit(struct radeon_device *rdev, in cik_fence_compute_ring_emit()
3611 bool cik_semaphore_ring_emit(struct radeon_device *rdev, in cik_semaphore_ring_emit()
3645 struct radeon_fence *cik_copy_cpdma(struct radeon_device *rdev, in cik_copy_cpdma()
3719 void cik_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib) in cik_ring_ib_execute()
3769 int cik_ib_test(struct radeon_device *rdev, struct radeon_ring *ring) in cik_ib_test()
3863 static void cik_cp_gfx_enable(struct radeon_device *rdev, bool enable) in cik_cp_gfx_enable()
3884 static int cik_cp_gfx_load_microcode(struct radeon_device *rdev) in cik_cp_gfx_load_microcode()
3971 static int cik_cp_gfx_start(struct radeon_device *rdev) in cik_cp_gfx_start()
4031 static void cik_cp_gfx_fini(struct radeon_device *rdev) in cik_cp_gfx_fini()
4046 static int cik_cp_gfx_resume(struct radeon_device *rdev) in cik_cp_gfx_resume()
4113 u32 cik_gfx_get_rptr(struct radeon_device *rdev, in cik_gfx_get_rptr()
4126 u32 cik_gfx_get_wptr(struct radeon_device *rdev, in cik_gfx_get_wptr()
4132 void cik_gfx_set_wptr(struct radeon_device *rdev, in cik_gfx_set_wptr()
4139 u32 cik_compute_get_rptr(struct radeon_device *rdev, in cik_compute_get_rptr()
4157 u32 cik_compute_get_wptr(struct radeon_device *rdev, in cik_compute_get_wptr()
4176 void cik_compute_set_wptr(struct radeon_device *rdev, in cik_compute_set_wptr()
4184 static void cik_compute_stop(struct radeon_device *rdev, in cik_compute_stop()
4217 static void cik_cp_compute_enable(struct radeon_device *rdev, bool enable) in cik_cp_compute_enable()
4246 static int cik_cp_compute_load_microcode(struct radeon_device *rdev) in cik_cp_compute_load_microcode()
4317 static int cik_cp_compute_start(struct radeon_device *rdev) in cik_cp_compute_start()
4332 static void cik_cp_compute_fini(struct radeon_device *rdev) in cik_cp_compute_fini()
4358 static void cik_mec_fini(struct radeon_device *rdev) in cik_mec_fini()
4376 static int cik_mec_init(struct radeon_device *rdev) in cik_mec_init()
4508 static int cik_cp_compute_resume(struct radeon_device *rdev) in cik_cp_compute_resume()
4745 static void cik_cp_enable(struct radeon_device *rdev, bool enable) in cik_cp_enable()
4751 static int cik_cp_load_microcode(struct radeon_device *rdev) in cik_cp_load_microcode()
4765 static void cik_cp_fini(struct radeon_device *rdev) in cik_cp_fini()
4771 static int cik_cp_resume(struct radeon_device *rdev) in cik_cp_resume()
4793 static void cik_print_gpu_status_regs(struct radeon_device *rdev) in cik_print_gpu_status_regs()
4842 u32 cik_gpu_check_soft_reset(struct radeon_device *rdev) in cik_gpu_check_soft_reset()
4922 static void cik_gpu_soft_reset(struct radeon_device *rdev, u32 reset_mask) in cik_gpu_soft_reset()
5051 static void kv_save_regs_for_reset(struct radeon_device *rdev, in kv_save_regs_for_reset()
5063 static void kv_restore_regs_for_reset(struct radeon_device *rdev, in kv_restore_regs_for_reset()
5136 static void cik_gpu_pci_config_reset(struct radeon_device *rdev) in cik_gpu_pci_config_reset()
5209 int cik_asic_reset(struct radeon_device *rdev, bool hard) in cik_asic_reset()
5249 bool cik_gfx_is_lockup(struct radeon_device *rdev, struct radeon_ring *ring) in cik_gfx_is_lockup()
5271 static void cik_mc_program(struct radeon_device *rdev) in cik_mc_program()
5328 static int cik_mc_init(struct radeon_device *rdev) in cik_mc_init()
5399 void cik_pcie_gart_tlb_flush(struct radeon_device *rdev) in cik_pcie_gart_tlb_flush()
5419 static int cik_pcie_gart_enable(struct radeon_device *rdev) in cik_pcie_gart_enable()
5536 static void cik_pcie_gart_disable(struct radeon_device *rdev) in cik_pcie_gart_disable()
5575 static void cik_pcie_gart_fini(struct radeon_device *rdev) in cik_pcie_gart_fini()
5591 int cik_ib_parse(struct radeon_device *rdev, struct radeon_ib *ib) in cik_ib_parse()
5611 int cik_vm_init(struct radeon_device *rdev) in cik_vm_init()
5637 void cik_vm_fini(struct radeon_device *rdev) in cik_vm_fini()
5651 static void cik_vm_decode_fault(struct radeon_device *rdev, in cik_vm_decode_fault()
5677 void cik_vm_flush(struct radeon_device *rdev, struct radeon_ring *ring, in cik_vm_flush()
5757 static void cik_enable_gui_idle_interrupt(struct radeon_device *rdev, in cik_enable_gui_idle_interrupt()
5769 static void cik_enable_lbpw(struct radeon_device *rdev, bool enable) in cik_enable_lbpw()
5781 static void cik_wait_for_rlc_serdes(struct radeon_device *rdev) in cik_wait_for_rlc_serdes()
5806 static void cik_update_rlc(struct radeon_device *rdev, u32 rlc) in cik_update_rlc()
5815 static u32 cik_halt_rlc(struct radeon_device *rdev) in cik_halt_rlc()
5839 void cik_enter_rlc_safe_mode(struct radeon_device *rdev) in cik_enter_rlc_safe_mode()
5860 void cik_exit_rlc_safe_mode(struct radeon_device *rdev) in cik_exit_rlc_safe_mode()
5875 static void cik_rlc_stop(struct radeon_device *rdev) in cik_rlc_stop()
5891 static void cik_rlc_start(struct radeon_device *rdev) in cik_rlc_start()
5909 static int cik_rlc_resume(struct radeon_device *rdev) in cik_rlc_resume()
5990 static void cik_enable_cgcg(struct radeon_device *rdev, bool enable) in cik_enable_cgcg()
6026 static void cik_enable_mgcg(struct radeon_device *rdev, bool enable) in cik_enable_mgcg()
6119 static void cik_enable_mc_ls(struct radeon_device *rdev, in cik_enable_mc_ls()
6136 static void cik_enable_mc_mgcg(struct radeon_device *rdev, in cik_enable_mc_mgcg()
6153 static void cik_enable_sdma_mgcg(struct radeon_device *rdev, in cik_enable_sdma_mgcg()
6174 static void cik_enable_sdma_mgls(struct radeon_device *rdev, in cik_enable_sdma_mgls()
6202 static void cik_enable_uvd_mgcg(struct radeon_device *rdev, in cik_enable_uvd_mgcg()
6228 static void cik_enable_bif_mgls(struct radeon_device *rdev, in cik_enable_bif_mgls()
6246 static void cik_enable_hdp_mgcg(struct radeon_device *rdev, in cik_enable_hdp_mgcg()
6262 static void cik_enable_hdp_ls(struct radeon_device *rdev, in cik_enable_hdp_ls()
6278 void cik_update_cg(struct radeon_device *rdev, in cik_update_cg()
6326 static void cik_init_cg(struct radeon_device *rdev) in cik_init_cg()
6341 static void cik_fini_cg(struct radeon_device *rdev) in cik_fini_cg()
6352 static void cik_enable_sck_slowdown_on_pu(struct radeon_device *rdev, in cik_enable_sck_slowdown_on_pu()
6366 static void cik_enable_sck_slowdown_on_pd(struct radeon_device *rdev, in cik_enable_sck_slowdown_on_pd()
6380 static void cik_enable_cp_pg(struct radeon_device *rdev, bool enable) in cik_enable_cp_pg()
6393 static void cik_enable_gds_pg(struct radeon_device *rdev, bool enable) in cik_enable_gds_pg()
6410 void cik_init_cp_pg_table(struct radeon_device *rdev) in cik_init_cp_pg_table()
6494 static void cik_enable_gfx_cgpg(struct radeon_device *rdev, in cik_enable_gfx_cgpg()
6524 static u32 cik_get_cu_active_bitmap(struct radeon_device *rdev, u32 se, u32 sh) in cik_get_cu_active_bitmap()
6547 static void cik_init_ao_cu_mask(struct radeon_device *rdev) in cik_init_ao_cu_mask()
6580 static void cik_enable_gfx_static_mgpg(struct radeon_device *rdev, in cik_enable_gfx_static_mgpg()
6594 static void cik_enable_gfx_dynamic_mgpg(struct radeon_device *rdev, in cik_enable_gfx_dynamic_mgpg()
6611 static void cik_init_gfx_cgpg(struct radeon_device *rdev) in cik_init_gfx_cgpg()
6660 static void cik_update_gfx_pg(struct radeon_device *rdev, bool enable) in cik_update_gfx_pg()
6667 u32 cik_get_csb_size(struct radeon_device *rdev) in cik_get_csb_size()
6699 void cik_get_csb_buffer(struct radeon_device *rdev, volatile u32 *buffer) in cik_get_csb_buffer()
6764 static void cik_init_pg(struct radeon_device *rdev) in cik_init_pg()
6779 static void cik_fini_pg(struct radeon_device *rdev) in cik_fini_pg()
6812 static void cik_enable_interrupts(struct radeon_device *rdev) in cik_enable_interrupts()
6831 static void cik_disable_interrupts(struct radeon_device *rdev) in cik_disable_interrupts()
6854 static void cik_disable_interrupt_state(struct radeon_device *rdev) in cik_disable_interrupt_state()
6935 static int cik_irq_init(struct radeon_device *rdev) in cik_irq_init()
7015 int cik_irq_set(struct radeon_device *rdev) in cik_irq_set()
7285 static inline void cik_irq_ack(struct radeon_device *rdev) in cik_irq_ack()
7432 static void cik_irq_disable(struct radeon_device *rdev) in cik_irq_disable()
7449 static void cik_irq_suspend(struct radeon_device *rdev) in cik_irq_suspend()
7464 static void cik_irq_fini(struct radeon_device *rdev) in cik_irq_fini()
7481 static inline u32 cik_get_ih_wptr(struct radeon_device *rdev) in cik_get_ih_wptr()
7538 int cik_irq_process(struct radeon_device *rdev) in cik_irq_process()
8109 static void cik_uvd_init(struct radeon_device *rdev) in cik_uvd_init()
8132 static void cik_uvd_start(struct radeon_device *rdev) in cik_uvd_start()
8160 static void cik_uvd_resume(struct radeon_device *rdev) in cik_uvd_resume()
8181 static void cik_vce_init(struct radeon_device *rdev) in cik_vce_init()
8206 static void cik_vce_start(struct radeon_device *rdev) in cik_vce_start()
8240 static void cik_vce_resume(struct radeon_device *rdev) in cik_vce_resume()
8276 static int cik_startup(struct radeon_device *rdev) in cik_startup()
8478 int cik_resume(struct radeon_device *rdev) in cik_resume()
8512 int cik_suspend(struct radeon_device *rdev) in cik_suspend()
8549 int cik_init(struct radeon_device *rdev) in cik_init()
8696 void cik_fini(struct radeon_device *rdev) in cik_fini()
8726 struct radeon_device *rdev = dev->dev_private; in dce8_program_fmt() local
8800 static u32 dce8_line_buffer_adjust(struct radeon_device *rdev, in dce8_line_buffer_adjust()
8871 static u32 cik_get_number_of_dram_channels(struct radeon_device *rdev) in cik_get_number_of_dram_channels()
9229 static void dce8_program_watermarks(struct radeon_device *rdev, in dce8_program_watermarks()
9365 void dce8_bandwidth_update(struct radeon_device *rdev) in dce8_bandwidth_update()
9395 uint64_t cik_get_gpu_clock_counter(struct radeon_device *rdev) in cik_get_gpu_clock_counter()
9407 static int cik_set_uvd_clock(struct radeon_device *rdev, u32 clock, in cik_set_uvd_clock()
9435 int cik_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk) in cik_set_uvd_clocks()
9447 int cik_set_vce_clocks(struct radeon_device *rdev, u32 evclk, u32 ecclk) in cik_set_vce_clocks()
9482 static void cik_pcie_gen3_enable(struct radeon_device *rdev) in cik_pcie_gen3_enable()
9652 static void cik_program_aspm(struct radeon_device *rdev) in cik_program_aspm()