Home
last modified time | relevance | path

Searched refs:drm_to_adev (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_i2c.c43 struct amdgpu_device *adev = drm_to_adev(i2c->dev); in amdgpu_i2c_pre_xfer()
85 struct amdgpu_device *adev = drm_to_adev(i2c->dev); in amdgpu_i2c_post_xfer()
104 struct amdgpu_device *adev = drm_to_adev(i2c->dev); in amdgpu_i2c_get_clock()
119 struct amdgpu_device *adev = drm_to_adev(i2c->dev); in amdgpu_i2c_get_data()
133 struct amdgpu_device *adev = drm_to_adev(i2c->dev); in amdgpu_i2c_set_clock()
146 struct amdgpu_device *adev = drm_to_adev(i2c->dev); in amdgpu_i2c_set_data()
Datombios_crtc.c43 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_overscan_setup()
86 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_scaler_setup()
116 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_lock()
133 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_enable()
149 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_blank()
165 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_powergate()
194 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_set_dtd_timing()
309 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_adjust_pll()
590 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_program_pll()
751 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_prepare_pll()
[all …]
Damdgpu_fru_eeprom.c232 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_fru_product_name_show()
254 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_fru_product_number_show()
276 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_fru_serial_number_show()
Ddce_v6_0.c407 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_program_fmt()
1119 struct amdgpu_device *adev = drm_to_adev(encoder->dev); in dce_v6_0_audio_select_pin()
1135 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_write_latency_fields()
1179 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_write_speaker_allocation()
1240 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_write_sad_regs()
1397 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_vbi_packet()
1413 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_acr()
1451 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_avi_infoframe()
1493 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_dto()
1527 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_packet()
[all …]
Datombios_encoders.c74 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_get_backlight_level()
88 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_set_backlight_level()
154 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_get_backlight_brightness()
168 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_init_backlight()
238 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_fini_backlight()
316 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dac()
379 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dvo()
564 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dig_encoder()
753 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dig_transmitter()
1148 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_set_edp_panel_power()
[all …]
Ddce_v8_0.c448 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_program_fmt()
1150 struct amdgpu_device *adev = drm_to_adev(encoder->dev); in dce_v8_0_afmt_audio_select_pin()
1168 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_audio_write_latency_fields()
1229 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_audio_write_speaker_allocation()
1282 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_audio_write_sad_regs()
1449 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_update_ACR()
1472 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_update_avi_infoframe()
1492 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_audio_set_dto()
1519 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_setmode()
1681 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_enable()
[all …]
Ddce_v10_0.c504 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_program_fmt()
1209 struct amdgpu_device *adev = drm_to_adev(encoder->dev); in dce_v10_0_afmt_audio_select_pin()
1226 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_audio_write_latency_fields()
1272 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_audio_write_speaker_allocation()
1328 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_audio_write_sad_regs()
1482 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_afmt_update_ACR()
1518 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_afmt_update_avi_infoframe()
1537 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_audio_set_dto()
1568 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_afmt_setmode()
1748 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_afmt_enable()
[all …]
Ddce_v11_0.c536 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_program_fmt()
1241 struct amdgpu_device *adev = drm_to_adev(encoder->dev); in dce_v11_0_afmt_audio_select_pin()
1258 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_audio_write_latency_fields()
1304 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_audio_write_speaker_allocation()
1360 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_audio_write_sad_regs()
1531 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_afmt_update_ACR()
1567 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_afmt_update_avi_infoframe()
1586 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_audio_set_dto()
1617 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_afmt_setmode()
1797 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_afmt_enable()
[all …]
Damdgpu_drv.c2234 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_pci_remove()
2291 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_pci_shutdown()
2382 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_prepare()
2408 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_suspend()
2422 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_suspend_noirq()
2433 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_resume()
2454 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_freeze()
2493 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_runtime_idle_check_display()
2560 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_runtime_suspend()
2632 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_runtime_resume()
[all …]
Damdgpu_vram_mgr.c94 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vram_total_show()
111 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vis_vram_total_show()
129 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vram_used_show()
148 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vis_vram_used_show()
167 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vram_vendor()
Damdgpu_gtt_mgr.c48 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_gtt_total_show()
68 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_gtt_used_show()
Damdgpu_gem.c281 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_create_ioctl()
382 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_userptr_ioctl()
676 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_va_ioctl()
807 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_op_ioctl()
911 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_mode_dumb_create()
Damdgpu_preempt_mgr.c41 struct amdgpu_device *adev = drm_to_adev(ddev); in mem_info_preempt_used_show()
Damdgpu_connectors.c46 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_hotplug()
284 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_get_edid()
476 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_set_property()
866 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_vga_mode_valid()
973 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_check_hpd_status_unchanged()
1004 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_dvi_detect()
1212 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_dvi_mode_valid()
1364 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_is_dp12_capable()
1378 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_dp_detect()
Damdgpu_fdinfo.c58 struct amdgpu_device *adev = drm_to_adev(file->minor->dev); in amdgpu_show_fdinfo()
Damdgpu_sched.c102 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_sched_ioctl()
Damdgpu_kms.c82 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_driver_unload_kms()
537 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_info_ioctl()
1211 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_driver_open_kms()
1307 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_driver_postclose_kms()
1362 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_driver_release_kms()
1383 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_get_vblank_counter_kms()
1451 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_enable_vblank_kms()
1468 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_disable_vblank_kms()
Datombios_dp.c64 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_dp_process_aux_ch()
311 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_dp_get_sinktype()
724 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_dp_link_train()
Damdgpu_display.c197 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_display_crtc_page_flip_target()
335 adev = drm_to_adev(dev); in amdgpu_display_crtc_set_config()
726 struct amdgpu_device *adev = drm_to_adev(afb->base.dev); in convert_tiling_flags_to_modifier()
1183 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_display_framebuffer_init()
1255 domains = amdgpu_display_supported_domains(drm_to_adev(dev), bo->flags); in amdgpu_display_user_framebuffer_create()
1502 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_display_get_crtc_scanoutpos()
Datombios_i2c.c43 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_i2c_process_i2c_ch()
Damdgpu_xgmi.c322 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_xgmi_show_device_id()
333 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_xgmi_show_num_hops()
348 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_xgmi_show_num_links()
364 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_xgmi_show_error()
Damdgpu_device.c156 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_pcie_replay_count()
178 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_px()
195 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_boco()
213 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_baco()
1315 struct amdgpu_device *adev = drm_to_adev(pci_get_drvdata(pdev)); in amdgpu_device_vga_set_decode()
4117 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_suspend()
4179 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_resume()
5590 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_baco_enter()
5605 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_baco_exit()
5639 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_pci_error_detected()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c99 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_state()
130 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_state()
227 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_force_performance_level()
266 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_force_performance_level()
327 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_num_states()
365 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_cur_state()
407 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_force_state()
426 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_force_state()
498 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_table()
535 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_table()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.c89 struct amdgpu_display_manager *dm = &drm_to_adev(drm_dev)->dm; in amdgpu_dm_set_crc_window_default()
129 psp = &drm_to_adev(crtc->dev)->psp; in amdgpu_dm_crtc_notify_ta_to_read()
174 dm = &drm_to_adev(crtc->dev)->dm; in amdgpu_dm_forward_crc_window()
216 struct amdgpu_device *adev = drm_to_adev(crtc->dev); in amdgpu_dm_crtc_configure_crc_source()
479 adev = drm_to_adev(crtc->dev); in amdgpu_dm_crtc_handle_crc_window_irq()
Damdgpu_dm_crtc.c78 struct amdgpu_device *adev = drm_to_adev(crtc->dev); in amdgpu_dm_crtc_set_vupdate_irq()
157 struct amdgpu_device *adev = drm_to_adev(crtc->dev); in dm_set_vblank()
382 struct amdgpu_device *adev = drm_to_adev(crtc->dev); in dm_crtc_helper_atomic_check()

12