/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | aldebaran.c | 36 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_is_mode2_default() local 50 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_get_reset_handler() local 77 static int aldebaran_mode2_suspend_ip(struct amdgpu_device *adev) in aldebaran_mode2_suspend_ip() 111 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_mode2_prepare_hwcontext() local 126 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_async_reset() local 138 static int aldebaran_mode2_reset(struct amdgpu_device *adev) in aldebaran_mode2_reset() 150 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_mode2_perform_reset() local 210 static int aldebaran_mode2_restore_ip(struct amdgpu_device *adev) in aldebaran_mode2_restore_ip() 422 int aldebaran_reset_init(struct amdgpu_device *adev) in aldebaran_reset_init() 445 int aldebaran_reset_fini(struct amdgpu_device *adev) in aldebaran_reset_fini()
|
H A D | uvd_v7_0.c | 73 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_ring_get_rptr() local 87 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_enc_ring_get_rptr() local 104 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_ring_get_wptr() local 118 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_enc_ring_get_wptr() local 138 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_ring_set_wptr() local 152 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_enc_ring_set_wptr() local 177 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_enc_ring_test_ring() local 1180 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_ring_emit_fence() local 1250 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_ring_test_ring() local 1322 struct amdgpu_device *adev = ring->adev; in uvd_v7_0_ring_emit_ib() local [all …]
|
H A D | umc_v8_7.c | 43 static inline uint32_t get_umc_v8_7_reg_offset(struct amdgpu_device *adev, in get_umc_v8_7_reg_offset() 90 static void umc_v8_7_ecc_info_query_ras_error_count(struct amdgpu_device *adev, in umc_v8_7_ecc_info_query_ras_error_count() 111 static void umc_v8_7_convert_error_address(struct amdgpu_device *adev, in umc_v8_7_convert_error_address() 130 static void umc_v8_7_ecc_info_query_error_address(struct amdgpu_device *adev, in umc_v8_7_ecc_info_query_error_address() 180 static void umc_v8_7_clear_error_count_per_channel(struct amdgpu_device *adev, in umc_v8_7_clear_error_count_per_channel() 218 static void umc_v8_7_clear_error_count(struct amdgpu_device *adev) in umc_v8_7_clear_error_count() 301 static void umc_v8_7_query_ras_error_count(struct amdgpu_device *adev, in umc_v8_7_query_ras_error_count() 326 static void umc_v8_7_query_error_address(struct amdgpu_device *adev, in umc_v8_7_query_error_address() 368 static void umc_v8_7_query_ras_error_address(struct amdgpu_device *adev, in umc_v8_7_query_ras_error_address() 390 static void umc_v8_7_err_cnt_init_per_channel(struct amdgpu_device *adev, in umc_v8_7_err_cnt_init_per_channel() [all …]
|
H A D | amdgpu_amdkfd_gfx_v7.c | 57 static void unlock_srbm(struct amdgpu_device *adev) in unlock_srbm() 63 static void acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id, in acquire_queue() 72 static void release_queue(struct amdgpu_device *adev) in release_queue() 159 static int kgd_hqd_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_load() 204 static int kgd_hqd_dump(struct amdgpu_device *adev, in kgd_hqd_dump() 239 static int kgd_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_load() 294 static int kgd_hqd_sdma_dump(struct amdgpu_device *adev, in kgd_hqd_sdma_dump() 320 static bool kgd_hqd_is_occupied(struct amdgpu_device *adev, in kgd_hqd_is_occupied() 359 static int kgd_hqd_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_destroy() 496 static int kgd_wave_control_execute(struct amdgpu_device *adev, in kgd_wave_control_execute() [all …]
|
H A D | amdgpu_ttm.c | 93 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); in amdgpu_evict_flags() local 189 struct amdgpu_device *adev = ring->adev; in amdgpu_ttm_map_buffer() local 472 struct amdgpu_device *adev; in amdgpu_bo_move() local 583 struct amdgpu_device *adev = amdgpu_ttm_adev(bdev); in amdgpu_ttm_io_mem_reserve() local 780 struct amdgpu_device *adev = amdgpu_ttm_adev(bdev); in amdgpu_ttm_tt_pin_userptr() local 1165 struct amdgpu_device *adev; in amdgpu_ttm_tt_unpopulate() local 1829 int amdgpu_ttm_init(struct amdgpu_device *adev) in amdgpu_ttm_init() 2008 void amdgpu_ttm_fini(struct amdgpu_device *adev) in amdgpu_ttm_fini() 2156 struct amdgpu_device *adev = ring->adev; in amdgpu_copy_buffer() local 2210 struct amdgpu_device *adev = ring->adev; in amdgpu_ttm_fill_mem() local [all …]
|
H A D | gfx_v9_4_2.c | 346 static int gfx_v9_4_2_run_shader(struct amdgpu_device *adev, in gfx_v9_4_2_run_shader() 490 static int gfx_v9_4_2_do_sgprs_init(struct amdgpu_device *adev) in gfx_v9_4_2_do_sgprs_init() 633 static int gfx_v9_4_2_do_vgprs_init(struct amdgpu_device *adev) in gfx_v9_4_2_do_vgprs_init() 703 int gfx_v9_4_2_do_edc_gpr_workarounds(struct amdgpu_device *adev) in gfx_v9_4_2_do_edc_gpr_workarounds() 724 void gfx_v9_4_2_init_golden_registers(struct amdgpu_device *adev, in gfx_v9_4_2_init_golden_registers() 753 void gfx_v9_4_2_debug_trap_config_init(struct amdgpu_device *adev, in gfx_v9_4_2_debug_trap_config_init() 779 void gfx_v9_4_2_set_power_brake_sequence(struct amdgpu_device *adev) in gfx_v9_4_2_set_power_brake_sequence() 1452 static int gfx_v9_4_2_get_reg_error_count(struct amdgpu_device *adev, in gfx_v9_4_2_get_reg_error_count() 1491 static int gfx_v9_4_2_query_sram_edc_count(struct amdgpu_device *adev, in gfx_v9_4_2_query_sram_edc_count() 1545 static void gfx_v9_4_2_log_utc_edc_count(struct amdgpu_device *adev, in gfx_v9_4_2_log_utc_edc_count() [all …]
|
H A D | psp_v11_0.c | 90 struct amdgpu_device *adev = psp->adev; in psp_v11_0_init_microcode() local 146 struct amdgpu_device *adev = psp->adev; in psp_v11_0_wait_for_bootloader() local 169 struct amdgpu_device *adev = psp->adev; in psp_v11_0_is_sos_alive() local 183 struct amdgpu_device *adev = psp->adev; in psp_v11_0_bootloader_load_component() local 229 struct amdgpu_device *adev = psp->adev; in psp_v11_0_bootloader_load_sos() local 264 struct amdgpu_device *adev = psp->adev; in psp_v11_0_ring_stop() local 294 struct amdgpu_device *adev = psp->adev; in psp_v11_0_ring_create() local 362 struct amdgpu_device *adev = psp->adev; in psp_v11_0_ring_destroy() local 379 struct amdgpu_device *adev = psp->adev; in psp_v11_0_mode1_reset() local 415 struct amdgpu_device *adev = psp->adev; in psp_v11_0_memory_training_send_msg() local [all …]
|
H A D | dce_v8_0.c | 448 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_program_fmt() local 1168 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_audio_write_latency_fields() local 1229 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_audio_write_speaker_allocation() local 1282 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_audio_write_sad_regs() local 1449 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_update_ACR() local 1472 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_update_avi_infoframe() local 1492 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_audio_set_dto() local 1519 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_setmode() local 1681 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_enable() local 1753 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_vga_enable() local [all …]
|
H A D | psp_v12_0.c | 50 struct amdgpu_device *adev = psp->adev; in psp_v12_0_init_microcode() local 76 struct amdgpu_device *adev = psp->adev; in psp_v12_0_bootloader_load_sysdrv() local 115 struct amdgpu_device *adev = psp->adev; in psp_v12_0_bootloader_load_sos() local 152 struct amdgpu_device *adev = psp->adev; in psp_v12_0_reroute_ih() local 187 struct amdgpu_device *adev = psp->adev; in psp_v12_0_ring_create() local 240 struct amdgpu_device *adev = psp->adev; in psp_v12_0_ring_stop() local 269 struct amdgpu_device *adev = psp->adev; in psp_v12_0_ring_destroy() local 286 struct amdgpu_device *adev = psp->adev; in psp_v12_0_mode1_reset() local 319 struct amdgpu_device *adev = psp->adev; in psp_v12_0_ring_get_wptr() local 331 struct amdgpu_device *adev = psp->adev; in psp_v12_0_ring_set_wptr() local
|
H A D | smuio_v13_0.c | 30 static u32 smuio_v13_0_get_rom_index_offset(struct amdgpu_device *adev) in smuio_v13_0_get_rom_index_offset() 35 static u32 smuio_v13_0_get_rom_data_offset(struct amdgpu_device *adev) in smuio_v13_0_get_rom_data_offset() 40 static void smuio_v13_0_update_rom_clock_gating(struct amdgpu_device *adev, bool enable) in smuio_v13_0_update_rom_clock_gating() 61 static void smuio_v13_0_get_clock_gating_state(struct amdgpu_device *adev, u64 *flags) in smuio_v13_0_get_clock_gating_state() 81 static u32 smuio_v13_0_get_die_id(struct amdgpu_device *adev) in smuio_v13_0_get_die_id() 98 static u32 smuio_v13_0_get_socket_id(struct amdgpu_device *adev) in smuio_v13_0_get_socket_id() 115 static bool smuio_v13_0_is_host_gpu_xgmi_supported(struct amdgpu_device *adev) in smuio_v13_0_is_host_gpu_xgmi_supported()
|
H A D | umc_v6_1.c | 44 static void umc_v6_1_enable_umc_index_mode(struct amdgpu_device *adev) in umc_v6_1_enable_umc_index_mode() 59 static void umc_v6_1_disable_umc_index_mode(struct amdgpu_device *adev) in umc_v6_1_disable_umc_index_mode() 74 static uint32_t umc_v6_1_get_umc_index_mode_state(struct amdgpu_device *adev) in umc_v6_1_get_umc_index_mode_state() 87 static inline uint32_t get_umc_6_reg_offset(struct amdgpu_device *adev, in get_umc_6_reg_offset() 94 static void umc_v6_1_clear_error_count_per_channel(struct amdgpu_device *adev, in umc_v6_1_clear_error_count_per_channel() 145 static void umc_v6_1_clear_error_count(struct amdgpu_device *adev) in umc_v6_1_clear_error_count() 254 static void umc_v6_1_query_ras_error_count(struct amdgpu_device *adev, in umc_v6_1_query_ras_error_count() 295 static void umc_v6_1_query_error_address(struct amdgpu_device *adev, in umc_v6_1_query_error_address() 353 static void umc_v6_1_query_ras_error_address(struct amdgpu_device *adev, in umc_v6_1_query_ras_error_address() 391 static void umc_v6_1_err_cnt_init_per_channel(struct amdgpu_device *adev, in umc_v6_1_err_cnt_init_per_channel() [all …]
|
H A D | hdp_v5_0.c | 31 static void hdp_v5_0_flush_hdp(struct amdgpu_device *adev, in hdp_v5_0_flush_hdp() 40 static void hdp_v5_0_invalidate_hdp(struct amdgpu_device *adev, in hdp_v5_0_invalidate_hdp() 51 static void hdp_v5_0_update_mem_power_gating(struct amdgpu_device *adev, in hdp_v5_0_update_mem_power_gating() 145 static void hdp_v5_0_update_medium_grain_clock_gating(struct amdgpu_device *adev, in hdp_v5_0_update_medium_grain_clock_gating() 176 static void hdp_v5_0_update_clock_gating(struct amdgpu_device *adev, in hdp_v5_0_update_clock_gating() 183 static void hdp_v5_0_get_clockgating_state(struct amdgpu_device *adev, in hdp_v5_0_get_clockgating_state() 208 static void hdp_v5_0_init_registers(struct amdgpu_device *adev) in hdp_v5_0_init_registers()
|
H A D | smu_v11_0_i2c.c | 50 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_set_clock_gating() local 79 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_enable() local 105 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_clear_status() local 116 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_configure() local 138 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_set_clock() local 162 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_set_address() local 174 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_poll_tx_status() local 226 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_poll_rx_status() local 273 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_transmit() local 372 struct amdgpu_device *adev = smu_i2c->adev; in smu_v11_0_i2c_receive() local [all …]
|
H A D | amdgpu_amdkfd_gfx_v8.c | 51 static void unlock_srbm(struct amdgpu_device *adev) in unlock_srbm() 57 static void acquire_queue(struct amdgpu_device *adev, uint32_t pipe_id, in acquire_queue() 66 static void release_queue(struct amdgpu_device *adev) in release_queue() 154 static int kgd_hqd_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_load() 228 static int kgd_hqd_dump(struct amdgpu_device *adev, in kgd_hqd_dump() 263 static int kgd_hqd_sdma_load(struct amdgpu_device *adev, void *mqd, in kgd_hqd_sdma_load() 317 static int kgd_hqd_sdma_dump(struct amdgpu_device *adev, in kgd_hqd_sdma_dump() 352 static bool kgd_hqd_is_occupied(struct amdgpu_device *adev, in kgd_hqd_is_occupied() 391 static int kgd_hqd_destroy(struct amdgpu_device *adev, void *mqd, in kgd_hqd_destroy() 542 static int kgd_wave_control_execute(struct amdgpu_device *adev, in kgd_wave_control_execute() [all …]
|
H A D | amdgpu_vm_pt.c | 172 static void amdgpu_vm_pt_start(struct amdgpu_device *adev, in amdgpu_vm_pt_start() 192 static bool amdgpu_vm_pt_descendant(struct amdgpu_device *adev, in amdgpu_vm_pt_descendant() 221 static bool amdgpu_vm_pt_sibling(struct amdgpu_device *adev, in amdgpu_vm_pt_sibling() 274 static void amdgpu_vm_pt_next(struct amdgpu_device *adev, in amdgpu_vm_pt_next() 301 static void amdgpu_vm_pt_first_dfs(struct amdgpu_device *adev, in amdgpu_vm_pt_first_dfs() 338 static void amdgpu_vm_pt_next_dfs(struct amdgpu_device *adev, in amdgpu_vm_pt_next_dfs() 596 static int amdgpu_vm_pt_alloc(struct amdgpu_device *adev, in amdgpu_vm_pt_alloc() 691 static void amdgpu_vm_pt_free_dfs(struct amdgpu_device *adev, in amdgpu_vm_pt_free_dfs() 743 bool amdgpu_vm_pt_is_root_clean(struct amdgpu_device *adev, in amdgpu_vm_pt_is_root_clean() 821 struct amdgpu_device *adev = params->adev; in amdgpu_vm_pte_update_flags() local [all …]
|
H A D | amdgpu_mca.c | 30 void amdgpu_mca_query_correctable_error_count(struct amdgpu_device *adev, in amdgpu_mca_query_correctable_error_count() 41 void amdgpu_mca_query_uncorrectable_error_count(struct amdgpu_device *adev, in amdgpu_mca_query_uncorrectable_error_count() 56 void amdgpu_mca_reset_error_count(struct amdgpu_device *adev, in amdgpu_mca_reset_error_count() 62 void amdgpu_mca_query_ras_error_count(struct amdgpu_device *adev, in amdgpu_mca_query_ras_error_count() 74 int amdgpu_mca_mp0_ras_sw_init(struct amdgpu_device *adev) in amdgpu_mca_mp0_ras_sw_init() 98 int amdgpu_mca_mp1_ras_sw_init(struct amdgpu_device *adev) in amdgpu_mca_mp1_ras_sw_init() 122 int amdgpu_mca_mpio_ras_sw_init(struct amdgpu_device *adev) in amdgpu_mca_mpio_ras_sw_init()
|
H A D | amdgpu_discovery.c | 345 static int amdgpu_discovery_init(struct amdgpu_device *adev) in amdgpu_discovery_init() 519 void amdgpu_discovery_fini(struct amdgpu_device *adev) in amdgpu_discovery_fini() 894 struct amdgpu_device *adev; member 910 struct amdgpu_device *adev = ip_top->adev; in ip_disc_release() local 946 static int amdgpu_discovery_sysfs_ips(struct amdgpu_device *adev, in amdgpu_discovery_sysfs_ips() 1102 static int amdgpu_discovery_sysfs_init(struct amdgpu_device *adev) in amdgpu_discovery_sysfs_init() 1184 static void amdgpu_discovery_sysfs_fini(struct amdgpu_device *adev) in amdgpu_discovery_sysfs_fini() 1368 static void amdgpu_discovery_harvest_ip(struct amdgpu_device *adev) in amdgpu_discovery_harvest_ip() 1415 static int amdgpu_discovery_get_gfx_info(struct amdgpu_device *adev) in amdgpu_discovery_get_gfx_info() 1569 static int amdgpu_discovery_get_vcn_info(struct amdgpu_device *adev) in amdgpu_discovery_get_vcn_info() [all …]
|
H A D | sienna_cichlid.c | 71 static int sienna_cichlid_mode2_suspend_ip(struct amdgpu_device *adev) in sienna_cichlid_mode2_suspend_ip() 104 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in sienna_cichlid_mode2_prepare_hwcontext() local 122 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in sienna_cichlid_async_reset() local 134 static int sienna_cichlid_mode2_reset(struct amdgpu_device *adev) in sienna_cichlid_mode2_reset() 145 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in sienna_cichlid_mode2_perform_reset() local 156 static int sienna_cichlid_mode2_restore_ip(struct amdgpu_device *adev) in sienna_cichlid_mode2_restore_ip() 284 int sienna_cichlid_reset_init(struct amdgpu_device *adev) in sienna_cichlid_reset_init() 307 int sienna_cichlid_reset_fini(struct amdgpu_device *adev) in sienna_cichlid_reset_fini()
|
H A D | amdgpu_sdma.c | 39 struct amdgpu_device *adev = ring->adev; in amdgpu_sdma_get_instance_from_ring() local 52 struct amdgpu_device *adev = ring->adev; in amdgpu_sdma_get_index_from_ring() local 69 struct amdgpu_device *adev = ring->adev; in amdgpu_sdma_get_csa_mc_addr() local 98 int amdgpu_sdma_ras_late_init(struct amdgpu_device *adev, in amdgpu_sdma_ras_late_init() 123 int amdgpu_sdma_process_ras_data_cb(struct amdgpu_device *adev, in amdgpu_sdma_process_ras_data_cb() 137 int amdgpu_sdma_process_ecc_irq(struct amdgpu_device *adev, in amdgpu_sdma_process_ecc_irq() 187 void amdgpu_sdma_destroy_inst_ctx(struct amdgpu_device *adev, in amdgpu_sdma_destroy_inst_ctx() 202 int amdgpu_sdma_init_microcode(struct amdgpu_device *adev, in amdgpu_sdma_init_microcode() 292 void amdgpu_sdma_unset_buffer_funcs_helper(struct amdgpu_device *adev) in amdgpu_sdma_unset_buffer_funcs_helper() 313 int amdgpu_sdma_ras_sw_init(struct amdgpu_device *adev) in amdgpu_sdma_ras_sw_init()
|
H A D | psp_v13_0_4.c | 37 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_init_microcode() local 61 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_is_sos_alive() local 71 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_wait_for_bootloader() local 98 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_bootloader_load_component() local 161 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_bootloader_load_sos() local 198 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_ring_stop() local 229 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_ring_create() local 295 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_ring_destroy() local 311 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_ring_get_wptr() local 323 struct amdgpu_device *adev = psp->adev; in psp_v13_0_4_ring_set_wptr() local
|
/openbmc/linux/net/atm/ |
H A D | atm_sysfs.c | 17 struct atm_dev *adev = to_atm_dev(cdev); in type_show() local 25 struct atm_dev *adev = to_atm_dev(cdev); in address_show() local 34 struct atm_dev *adev = to_atm_dev(cdev); in atmaddress_show() local 56 struct atm_dev *adev = to_atm_dev(cdev); in atmindex_show() local 64 struct atm_dev *adev = to_atm_dev(cdev); in carrier_show() local 73 struct atm_dev *adev = to_atm_dev(cdev); in link_rate_show() local 113 const struct atm_dev *adev; in atm_uevent() local 130 struct atm_dev *adev = to_atm_dev(cdev); in atm_release() local 141 int atm_register_sysfs(struct atm_dev *adev, struct device *parent) in atm_register_sysfs() 170 void atm_unregister_sysfs(struct atm_dev *adev) in atm_unregister_sysfs()
|
/openbmc/linux/sound/soc/intel/avs/ |
H A D | debugfs.c | 35 bool avs_logging_fw(struct avs_dev *adev) in avs_logging_fw() 53 struct avs_dev *adev = file->private_data; in fw_regs_read() local 76 struct avs_dev *adev = file->private_data; in debug_window_read() local 101 struct avs_dev *adev = file->private_data; in probe_points_read() local 141 struct avs_dev *adev = file->private_data; in probe_points_write() local 179 struct avs_dev *adev = file->private_data; in probe_points_disconnect_write() local 215 struct avs_dev *adev = file->private_data; in strace_read() local 236 struct avs_dev *adev = inode->i_private; in strace_open() local 253 struct avs_dev *adev = file->private_data; in strace_release() local 352 struct avs_dev *adev = file->private_data; in trace_control_read() local [all …]
|
H A D | dsp.c | 18 int avs_dsp_core_power(struct avs_dev *adev, u32 core_mask, bool power) in avs_dsp_core_power() 47 int avs_dsp_core_reset(struct avs_dev *adev, u32 core_mask, bool reset) in avs_dsp_core_reset() 71 int avs_dsp_core_stall(struct avs_dev *adev, u32 core_mask, bool stall) in avs_dsp_core_stall() 99 int avs_dsp_core_enable(struct avs_dev *adev, u32 core_mask) in avs_dsp_core_enable() 114 int avs_dsp_core_disable(struct avs_dev *adev, u32 core_mask) in avs_dsp_core_disable() 123 static int avs_dsp_enable(struct avs_dev *adev, u32 core_mask) in avs_dsp_enable() 144 static int avs_dsp_disable(struct avs_dev *adev, u32 core_mask) in avs_dsp_disable() 155 static int avs_dsp_get_core(struct avs_dev *adev, u32 core_id) in avs_dsp_get_core() 196 static int avs_dsp_put_core(struct avs_dev *adev, u32 core_id) in avs_dsp_put_core() 300 int avs_dsp_create_pipeline(struct avs_dev *adev, u16 req_size, u8 priority, in avs_dsp_create_pipeline() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 99 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_state() local 130 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_state() local 227 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_force_performance_level() local 266 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_force_performance_level() local 327 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_num_states() local 365 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_cur_state() local 407 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_force_state() local 426 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_force_state() local 498 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_table() local 535 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_table() local [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | kv_smc.c | 32 int amdgpu_kv_notify_message_to_smu(struct amdgpu_device *adev, u32 id) in amdgpu_kv_notify_message_to_smu() 56 int amdgpu_kv_dpm_get_enable_mask(struct amdgpu_device *adev, u32 *enable_mask) in amdgpu_kv_dpm_get_enable_mask() 68 int amdgpu_kv_send_msg_to_smc_with_parameter(struct amdgpu_device *adev, in amdgpu_kv_send_msg_to_smc_with_parameter() 77 static int kv_set_smc_sram_address(struct amdgpu_device *adev, in kv_set_smc_sram_address() 92 int amdgpu_kv_read_smc_sram_dword(struct amdgpu_device *adev, u32 smc_address, in amdgpu_kv_read_smc_sram_dword() 105 int amdgpu_kv_smc_dpm_enable(struct amdgpu_device *adev, bool enable) in amdgpu_kv_smc_dpm_enable() 113 int amdgpu_kv_smc_bapm_enable(struct amdgpu_device *adev, bool enable) in amdgpu_kv_smc_bapm_enable() 121 int amdgpu_kv_copy_bytes_to_smc(struct amdgpu_device *adev, in amdgpu_kv_copy_bytes_to_smc()
|