Lines Matching defs:adev
989 static int si_query_video_codecs(struct amdgpu_device *adev, bool encode, in si_query_video_codecs()
1018 static u32 si_pcie_rreg(struct amdgpu_device *adev, u32 reg) in si_pcie_rreg()
1031 static void si_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_pcie_wreg()
1043 static u32 si_pciep_rreg(struct amdgpu_device *adev, u32 reg) in si_pciep_rreg()
1056 static void si_pciep_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_pciep_wreg()
1068 static u32 si_smc_rreg(struct amdgpu_device *adev, u32 reg) in si_smc_rreg()
1080 static void si_smc_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_smc_wreg()
1090 static u32 si_uvd_ctx_rreg(struct amdgpu_device *adev, u32 reg) in si_uvd_ctx_rreg()
1102 static void si_uvd_ctx_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_uvd_ctx_wreg()
1164 static uint32_t si_get_register_value(struct amdgpu_device *adev, in si_get_register_value()
1239 static int si_read_register(struct amdgpu_device *adev, u32 se_num, in si_read_register()
1258 static bool si_read_disabled_bios(struct amdgpu_device *adev) in si_read_disabled_bios()
1306 static bool si_read_bios_from_rom(struct amdgpu_device *adev, in si_read_bios_from_rom()
1330 static void si_set_clk_bypass_mode(struct amdgpu_device *adev) in si_set_clk_bypass_mode()
1357 static void si_spll_powerdown(struct amdgpu_device *adev) in si_spll_powerdown()
1378 static int si_gpu_pci_config_reset(struct amdgpu_device *adev) in si_gpu_pci_config_reset()
1412 static bool si_asic_supports_baco(struct amdgpu_device *adev) in si_asic_supports_baco()
1418 si_asic_reset_method(struct amdgpu_device *adev) in si_asic_reset_method()
1430 static int si_asic_reset(struct amdgpu_device *adev) in si_asic_reset()
1448 static u32 si_get_config_memsize(struct amdgpu_device *adev) in si_get_config_memsize()
1453 static void si_vga_set_state(struct amdgpu_device *adev, bool state) in si_vga_set_state()
1467 static u32 si_get_xclk(struct amdgpu_device *adev) in si_get_xclk()
1483 static void si_flush_hdp(struct amdgpu_device *adev, struct amdgpu_ring *ring) in si_flush_hdp()
1493 static void si_invalidate_hdp(struct amdgpu_device *adev, in si_invalidate_hdp()
1504 static bool si_need_full_reset(struct amdgpu_device *adev) in si_need_full_reset()
1510 static bool si_need_reset_on_init(struct amdgpu_device *adev) in si_need_reset_on_init()
1515 static int si_get_pcie_lanes(struct amdgpu_device *adev) in si_get_pcie_lanes()
1540 static void si_set_pcie_lanes(struct amdgpu_device *adev, int lanes) in si_set_pcie_lanes()
1580 static void si_get_pcie_usage(struct amdgpu_device *adev, uint64_t *count0, in si_get_pcie_usage()
1626 static uint64_t si_get_pcie_replay_count(struct amdgpu_device *adev) in si_get_pcie_replay_count()
1638 static int si_uvd_send_upll_ctlreq(struct amdgpu_device *adev, in si_uvd_send_upll_ctlreq()
1713 static int si_calc_upll_dividers(struct amdgpu_device *adev, in si_calc_upll_dividers()
1775 static int si_set_uvd_clocks(struct amdgpu_device *adev, u32 vclk, u32 dclk) in si_set_uvd_clocks()
1866 static int si_vce_send_vcepll_ctlreq(struct amdgpu_device *adev) in si_vce_send_vcepll_ctlreq()
1898 static int si_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in si_set_vce_clocks()
1990 static void si_pre_asic_init(struct amdgpu_device *adev) in si_pre_asic_init()
2019 static uint32_t si_get_rev_id(struct amdgpu_device *adev) in si_get_rev_id()
2027 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in si_common_early_init() local
2162 static void si_init_golden_registers(struct amdgpu_device *adev) in si_init_golden_registers()
2233 static void si_pcie_gen3_enable(struct amdgpu_device *adev) in si_pcie_gen3_enable()
2407 static inline u32 si_pif_phy0_rreg(struct amdgpu_device *adev, u32 reg) in si_pif_phy0_rreg()
2419 static inline void si_pif_phy0_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_pif_phy0_wreg()
2429 static inline u32 si_pif_phy1_rreg(struct amdgpu_device *adev, u32 reg) in si_pif_phy1_rreg()
2441 static inline void si_pif_phy1_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in si_pif_phy1_wreg()
2450 static void si_program_aspm(struct amdgpu_device *adev) in si_program_aspm()
2654 static void si_fix_pci_max_read_req_size(struct amdgpu_device *adev) in si_fix_pci_max_read_req_size()
2667 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in si_common_hw_init() local
2684 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in si_common_suspend() local
2691 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in si_common_resume() local
2749 int si_set_ip_blocks(struct amdgpu_device *adev) in si_set_ip_blocks()