Lines Matching defs:rdev
363 struct radeon_device *rdev; member
377 struct radeon_device *rdev; member
504 struct radeon_device *rdev; member
697 struct radeon_device *rdev; member
793 struct radeon_device *rdev; member
1019 struct radeon_device *rdev; member
2457 static inline uint32_t r100_mm_rreg(struct radeon_device *rdev, uint32_t reg, in r100_mm_rreg()
2466 static inline void r100_mm_wreg(struct radeon_device *rdev, uint32_t reg, uint32_t v, in r100_mm_wreg()
2481 static inline struct drm_device *rdev_to_drm(struct radeon_device *rdev) in rdev_to_drm()
2561 #define DREG32_SYS(sqf, rdev, reg) seq_printf((sqf), #reg " : 0x%08X\n", r100_mm_rreg((rdev), (reg)… argument
2599 #define ASIC_IS_RN50(rdev) ((rdev->pdev->device == 0x515e) || \ argument
2601 #define ASIC_IS_RV100(rdev) ((rdev->family == CHIP_RV100) || \ argument
2608 #define ASIC_IS_R300(rdev) ((rdev->family == CHIP_R300) || \ argument
2617 #define ASIC_IS_X2(rdev) ((rdev->pdev->device == 0x9441) || \ argument
2625 #define ASIC_IS_AVIVO(rdev) ((rdev->family >= CHIP_RS600)) argument
2626 #define ASIC_IS_DCE2(rdev) ((rdev->family == CHIP_RS600) || \ argument
2630 #define ASIC_IS_DCE3(rdev) ((rdev->family >= CHIP_RV620)) argument
2631 #define ASIC_IS_DCE32(rdev) ((rdev->family >= CHIP_RV730)) argument
2632 #define ASIC_IS_DCE4(rdev) ((rdev->family >= CHIP_CEDAR)) argument
2633 #define ASIC_IS_DCE41(rdev) ((rdev->family >= CHIP_PALM) && \ argument
2635 #define ASIC_IS_DCE5(rdev) ((rdev->family >= CHIP_BARTS)) argument
2636 #define ASIC_IS_DCE6(rdev) ((rdev->family >= CHIP_ARUBA)) argument
2637 #define ASIC_IS_DCE61(rdev) ((rdev->family >= CHIP_ARUBA) && \ argument
2639 #define ASIC_IS_DCE64(rdev) ((rdev->family == CHIP_OLAND)) argument
2640 #define ASIC_IS_NODCE(rdev) ((rdev->family == CHIP_HAINAN)) argument
2641 #define ASIC_IS_DCE8(rdev) ((rdev->family >= CHIP_BONAIRE)) argument
2642 #define ASIC_IS_DCE81(rdev) ((rdev->family == CHIP_KAVERI)) argument
2643 #define ASIC_IS_DCE82(rdev) ((rdev->family == CHIP_BONAIRE)) argument
2644 #define ASIC_IS_DCE83(rdev) ((rdev->family == CHIP_KABINI) || \ argument
2647 #define ASIC_IS_LOMBOK(rdev) ((rdev->pdev->device == 0x6849) || \ argument
2695 #define radeon_init(rdev) (rdev)->asic->init((rdev)) argument
2696 #define radeon_fini(rdev) (rdev)->asic->fini((rdev)) argument
2697 #define radeon_resume(rdev) (rdev)->asic->resume((rdev)) argument
2698 #define radeon_suspend(rdev) (rdev)->asic->suspend((rdev)) argument
2699 #define radeon_cs_parse(rdev, r, p) (rdev)->asic->ring[(r)]->cs_parse((p)) argument
2700 #define radeon_vga_set_state(rdev, state) (rdev)->asic->vga_set_state((rdev), (state)) argument
2701 #define radeon_asic_reset(rdev) (rdev)->asic->asic_reset((rdev), false) argument
2702 #define radeon_gart_tlb_flush(rdev) (rdev)->asic->gart.tlb_flush((rdev)) argument
2704 #define radeon_gart_set_page(rdev, i, e) (rdev)->asic->gart.set_page((rdev), (i), (e)) argument
2705 #define radeon_asic_vm_init(rdev) (rdev)->asic->vm.init((rdev)) argument
2706 #define radeon_asic_vm_fini(rdev) (rdev)->asic->vm.fini((rdev)) argument
2707 #define radeon_asic_vm_copy_pages(rdev, ib, pe, src, count) ((rdev)->asic->vm.copy_pages((rdev), (i… argument
2708 #define radeon_asic_vm_write_pages(rdev, ib, pe, addr, count, incr, flags) ((rdev)->asic->vm.write_… argument
2709 #define radeon_asic_vm_set_pages(rdev, ib, pe, addr, count, incr, flags) ((rdev)->asic->vm.set_page… argument
2710 #define radeon_asic_vm_pad_ib(rdev, ib) ((rdev)->asic->vm.pad_ib((ib))) argument
2711 #define radeon_ring_start(rdev, r, cp) (rdev)->asic->ring[(r)]->ring_start((rdev), (cp)) argument
2712 #define radeon_ring_test(rdev, r, cp) (rdev)->asic->ring[(r)]->ring_test((rdev), (cp)) argument
2713 #define radeon_ib_test(rdev, r, cp) (rdev)->asic->ring[(r)]->ib_test((rdev), (cp)) argument
2714 #define radeon_ring_ib_execute(rdev, r, ib) (rdev)->asic->ring[(r)]->ib_execute((rdev), (ib)) argument
2715 #define radeon_ring_ib_parse(rdev, r, ib) (rdev)->asic->ring[(r)]->ib_parse((rdev), (ib)) argument
2716 #define radeon_ring_is_lockup(rdev, r, cp) (rdev)->asic->ring[(r)]->is_lockup((rdev), (cp)) argument
2717 #define radeon_ring_vm_flush(rdev, r, vm_id, pd_addr) (rdev)->asic->ring[(r)->idx]->vm_flush((rdev)… argument
2718 #define radeon_ring_get_rptr(rdev, r) (rdev)->asic->ring[(r)->idx]->get_rptr((rdev), (r)) argument
2719 #define radeon_ring_get_wptr(rdev, r) (rdev)->asic->ring[(r)->idx]->get_wptr((rdev), (r)) argument
2720 #define radeon_ring_set_wptr(rdev, r) (rdev)->asic->ring[(r)->idx]->set_wptr((rdev), (r)) argument
2721 #define radeon_irq_set(rdev) (rdev)->asic->irq.set((rdev)) argument
2722 #define radeon_irq_process(rdev) (rdev)->asic->irq.process((rdev)) argument
2723 #define radeon_get_vblank_counter(rdev, crtc) (rdev)->asic->display.get_vblank_counter((rdev), (crt… argument
2724 #define radeon_set_backlight_level(rdev, e, l) (rdev)->asic->display.set_backlight_level((e), (l)) argument
2725 #define radeon_get_backlight_level(rdev, e) (rdev)->asic->display.get_backlight_level((e)) argument
2726 #define radeon_hdmi_enable(rdev, e, b) (rdev)->asic->display.hdmi_enable((e), (b)) argument
2727 #define radeon_hdmi_setmode(rdev, e, m) (rdev)->asic->display.hdmi_setmode((e), (m)) argument
2728 #define radeon_fence_ring_emit(rdev, r, fence) (rdev)->asic->ring[(r)]->emit_fence((rdev), (fence)) argument
2729 #define radeon_semaphore_ring_emit(rdev, r, cp, semaphore, emit_wait) (rdev)->asic->ring[(r)]->emit… argument
2730 #define radeon_copy_blit(rdev, s, d, np, resv) (rdev)->asic->copy.blit((rdev), (s), (d), (np), (res… argument
2731 #define radeon_copy_dma(rdev, s, d, np, resv) (rdev)->asic->copy.dma((rdev), (s), (d), (np), (resv)) argument
2732 #define radeon_copy(rdev, s, d, np, resv) (rdev)->asic->copy.copy((rdev), (s), (d), (np), (resv)) argument
2733 #define radeon_copy_blit_ring_index(rdev) (rdev)->asic->copy.blit_ring_index argument
2734 #define radeon_copy_dma_ring_index(rdev) (rdev)->asic->copy.dma_ring_index argument
2735 #define radeon_copy_ring_index(rdev) (rdev)->asic->copy.copy_ring_index argument
2736 #define radeon_get_engine_clock(rdev) (rdev)->asic->pm.get_engine_clock((rdev)) argument
2737 #define radeon_set_engine_clock(rdev, e) (rdev)->asic->pm.set_engine_clock((rdev), (e)) argument
2738 #define radeon_get_memory_clock(rdev) (rdev)->asic->pm.get_memory_clock((rdev)) argument
2739 #define radeon_set_memory_clock(rdev, e) (rdev)->asic->pm.set_memory_clock((rdev), (e)) argument
2740 #define radeon_get_pcie_lanes(rdev) (rdev)->asic->pm.get_pcie_lanes((rdev)) argument
2741 #define radeon_set_pcie_lanes(rdev, l) (rdev)->asic->pm.set_pcie_lanes((rdev), (l)) argument
2742 #define radeon_set_clock_gating(rdev, e) (rdev)->asic->pm.set_clock_gating((rdev), (e)) argument
2743 #define radeon_set_uvd_clocks(rdev, v, d) (rdev)->asic->pm.set_uvd_clocks((rdev), (v), (d)) argument
2744 #define radeon_set_vce_clocks(rdev, ev, ec) (rdev)->asic->pm.set_vce_clocks((rdev), (ev), (ec)) argument
2745 #define radeon_get_temperature(rdev) (rdev)->asic->pm.get_temperature((rdev)) argument
2746 #define radeon_set_surface_reg(rdev, r, f, p, o, s) ((rdev)->asic->surface.set_reg((rdev), (r), (f)… argument
2747 #define radeon_clear_surface_reg(rdev, r) ((rdev)->asic->surface.clear_reg((rdev), (r))) argument
2748 #define radeon_bandwidth_update(rdev) (rdev)->asic->display.bandwidth_update((rdev)) argument
2749 #define radeon_hpd_init(rdev) (rdev)->asic->hpd.init((rdev)) argument
2750 #define radeon_hpd_fini(rdev) (rdev)->asic->hpd.fini((rdev)) argument
2751 #define radeon_hpd_sense(rdev, h) (rdev)->asic->hpd.sense((rdev), (h)) argument
2752 #define radeon_hpd_set_polarity(rdev, h) (rdev)->asic->hpd.set_polarity((rdev), (h)) argument
2753 #define radeon_gui_idle(rdev) (rdev)->asic->gui_idle((rdev)) argument
2754 #define radeon_pm_misc(rdev) (rdev)->asic->pm.misc((rdev)) argument
2755 #define radeon_pm_prepare(rdev) (rdev)->asic->pm.prepare((rdev)) argument
2756 #define radeon_pm_finish(rdev) (rdev)->asic->pm.finish((rdev)) argument
2757 #define radeon_pm_init_profile(rdev) (rdev)->asic->pm.init_profile((rdev)) argument
2758 #define radeon_pm_get_dynpm_state(rdev) (rdev)->asic->pm.get_dynpm_state((rdev)) argument
2759 #define radeon_page_flip(rdev, crtc, base, async) (rdev)->asic->pflip.page_flip((rdev), (crtc), (ba… argument
2760 #define radeon_page_flip_pending(rdev, crtc) (rdev)->asic->pflip.page_flip_pending((rdev), (crtc)) argument
2761 #define radeon_wait_for_vblank(rdev, crtc) (rdev)->asic->display.wait_for_vblank((rdev), (crtc)) argument
2762 #define radeon_mc_wait_for_idle(rdev) (rdev)->asic->mc_wait_for_idle((rdev)) argument
2763 #define radeon_get_xclk(rdev) (rdev)->asic->get_xclk((rdev)) argument
2764 #define radeon_get_gpu_clock_counter(rdev) (rdev)->asic->get_gpu_clock_counter((rdev)) argument
2765 #define radeon_get_allowed_info_register(rdev, r, v) (rdev)->asic->get_allowed_info_register((rdev)… argument
2766 #define radeon_dpm_init(rdev) rdev->asic->dpm.init((rdev)) argument
2767 #define radeon_dpm_setup_asic(rdev) rdev->asic->dpm.setup_asic((rdev)) argument
2768 #define radeon_dpm_enable(rdev) rdev->asic->dpm.enable((rdev)) argument
2769 #define radeon_dpm_late_enable(rdev) rdev->asic->dpm.late_enable((rdev)) argument
2770 #define radeon_dpm_disable(rdev) rdev->asic->dpm.disable((rdev)) argument
2771 #define radeon_dpm_pre_set_power_state(rdev) rdev->asic->dpm.pre_set_power_state((rdev)) argument
2772 #define radeon_dpm_set_power_state(rdev) rdev->asic->dpm.set_power_state((rdev)) argument
2773 #define radeon_dpm_post_set_power_state(rdev) rdev->asic->dpm.post_set_power_state((rdev)) argument
2774 #define radeon_dpm_display_configuration_changed(rdev) rdev->asic->dpm.display_configuration_change… argument
2775 #define radeon_dpm_fini(rdev) rdev->asic->dpm.fini((rdev)) argument
2776 #define radeon_dpm_get_sclk(rdev, l) rdev->asic->dpm.get_sclk((rdev), (l)) argument
2777 #define radeon_dpm_get_mclk(rdev, l) rdev->asic->dpm.get_mclk((rdev), (l)) argument
2778 #define radeon_dpm_print_power_state(rdev, ps) rdev->asic->dpm.print_power_state((rdev), (ps)) argument
2779 #define radeon_dpm_debugfs_print_current_performance_level(rdev, m) rdev->asic->dpm.debugfs_print_c… argument
2780 #define radeon_dpm_force_performance_level(rdev, l) rdev->asic->dpm.force_performance_level((rdev),… argument
2781 #define radeon_dpm_vblank_too_short(rdev) rdev->asic->dpm.vblank_too_short((rdev)) argument
2782 #define radeon_dpm_powergate_uvd(rdev, g) rdev->asic->dpm.powergate_uvd((rdev), (g)) argument
2783 #define radeon_dpm_enable_bapm(rdev, e) rdev->asic->dpm.enable_bapm((rdev), (e)) argument
2784 #define radeon_dpm_get_current_sclk(rdev) rdev->asic->dpm.get_current_sclk((rdev)) argument
2785 #define radeon_dpm_get_current_mclk(rdev) rdev->asic->dpm.get_current_mclk((rdev)) argument
2940 static inline int radeon_acpi_init(struct radeon_device *rdev) { return 0; } in radeon_acpi_init()
2941 static inline void radeon_acpi_fini(struct radeon_device *rdev) { } in radeon_acpi_fini()