Lines Matching defs:amdgpu_asic_funcs
551 struct amdgpu_asic_funcs { struct
552 bool (*read_disabled_bios)(struct amdgpu_device *adev);
553 bool (*read_bios_from_rom)(struct amdgpu_device *adev,
555 int (*read_register)(struct amdgpu_device *adev, u32 se_num,
557 void (*set_vga_state)(struct amdgpu_device *adev, bool state);
558 int (*reset)(struct amdgpu_device *adev);
559 enum amd_reset_method (*reset_method)(struct amdgpu_device *adev);
561 u32 (*get_xclk)(struct amdgpu_device *adev);
563 int (*set_uvd_clocks)(struct amdgpu_device *adev, u32 vclk, u32 dclk);
564 int (*set_vce_clocks)(struct amdgpu_device *adev, u32 evclk, u32 ecclk);
566 int (*get_pcie_lanes)(struct amdgpu_device *adev);
567 void (*set_pcie_lanes)(struct amdgpu_device *adev, int lanes);
569 u32 (*get_config_memsize)(struct amdgpu_device *adev);
571 void (*flush_hdp)(struct amdgpu_device *adev, struct amdgpu_ring *ring);
573 void (*invalidate_hdp)(struct amdgpu_device *adev,
576 bool (*need_full_reset)(struct amdgpu_device *adev);
578 void (*init_doorbell_index)(struct amdgpu_device *adev);
580 void (*get_pcie_usage)(struct amdgpu_device *adev, uint64_t *count0,
583 bool (*need_reset_on_init)(struct amdgpu_device *adev);
585 uint64_t (*get_pcie_replay_count)(struct amdgpu_device *adev);
587 bool (*supports_baco)(struct amdgpu_device *adev);
589 void (*pre_asic_init)(struct amdgpu_device *adev);
591 int (*update_umd_stable_pstate)(struct amdgpu_device *adev, bool enter);
593 int (*query_video_codecs)(struct amdgpu_device *adev, bool encode,