Lines Matching defs:adev

180 static int nv_query_video_codecs(struct amdgpu_device *adev, bool encode,  in nv_query_video_codecs()
233 static u32 nv_pcie_rreg(struct amdgpu_device *adev, u32 reg) in nv_pcie_rreg()
242 static void nv_pcie_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in nv_pcie_wreg()
252 static u64 nv_pcie_rreg64(struct amdgpu_device *adev, u32 reg) in nv_pcie_rreg64()
261 static u32 nv_pcie_port_rreg(struct amdgpu_device *adev, u32 reg) in nv_pcie_port_rreg()
276 static void nv_pcie_wreg64(struct amdgpu_device *adev, u32 reg, u64 v) in nv_pcie_wreg64()
286 static void nv_pcie_port_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in nv_pcie_port_wreg()
301 static u32 nv_didt_rreg(struct amdgpu_device *adev, u32 reg) in nv_didt_rreg()
316 static void nv_didt_wreg(struct amdgpu_device *adev, u32 reg, u32 v) in nv_didt_wreg()
329 static u32 nv_get_config_memsize(struct amdgpu_device *adev) in nv_get_config_memsize()
334 static u32 nv_get_xclk(struct amdgpu_device *adev) in nv_get_xclk()
340 void nv_grbm_select(struct amdgpu_device *adev, in nv_grbm_select()
352 static void nv_vga_set_state(struct amdgpu_device *adev, bool state) in nv_vga_set_state()
357 static bool nv_read_disabled_bios(struct amdgpu_device *adev) in nv_read_disabled_bios()
363 static bool nv_read_bios_from_rom(struct amdgpu_device *adev, in nv_read_bios_from_rom()
417 static uint32_t nv_read_indexed_register(struct amdgpu_device *adev, u32 se_num, in nv_read_indexed_register()
434 static uint32_t nv_get_register_value(struct amdgpu_device *adev, in nv_get_register_value()
447 static int nv_read_register(struct amdgpu_device *adev, u32 se_num, in nv_read_register()
469 static int nv_asic_mode2_reset(struct amdgpu_device *adev) in nv_asic_mode2_reset()
502 nv_asic_reset_method(struct amdgpu_device *adev) in nv_asic_reset_method()
532 static int nv_asic_reset(struct amdgpu_device *adev) in nv_asic_reset()
558 static int nv_set_uvd_clocks(struct amdgpu_device *adev, u32 vclk, u32 dclk) in nv_set_uvd_clocks()
564 static int nv_set_vce_clocks(struct amdgpu_device *adev, u32 evclk, u32 ecclk) in nv_set_vce_clocks()
570 static void nv_pcie_gen3_enable(struct amdgpu_device *adev) in nv_pcie_gen3_enable()
585 static void nv_program_aspm(struct amdgpu_device *adev) in nv_program_aspm()
596 static void nv_enable_doorbell_aperture(struct amdgpu_device *adev, in nv_enable_doorbell_aperture()
612 void nv_set_virt_ops(struct amdgpu_device *adev) in nv_set_virt_ops()
617 static uint32_t nv_get_rev_id(struct amdgpu_device *adev) in nv_get_rev_id()
622 static bool nv_need_full_reset(struct amdgpu_device *adev) in nv_need_full_reset()
627 static bool nv_need_reset_on_init(struct amdgpu_device *adev) in nv_need_reset_on_init()
644 static uint64_t nv_get_pcie_replay_count(struct amdgpu_device *adev) in nv_get_pcie_replay_count()
654 static void nv_init_doorbell_index(struct amdgpu_device *adev) in nv_init_doorbell_index()
686 static void nv_pre_asic_init(struct amdgpu_device *adev) in nv_pre_asic_init()
690 static int nv_update_umd_stable_pstate(struct amdgpu_device *adev, in nv_update_umd_stable_pstate()
733 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in nv_common_early_init() local
991 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in nv_common_late_init() local
1005 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in nv_common_sw_init() local
1020 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in nv_common_hw_init() local
1048 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in nv_common_hw_fini() local
1058 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in nv_common_suspend() local
1065 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in nv_common_resume() local
1088 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in nv_common_set_clockgating_state() local
1125 struct amdgpu_device *adev = (struct amdgpu_device *)handle; in nv_common_get_clockgating_state() local