Home
last modified time | relevance | path

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

12

/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.c44 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_overscan_setup()
87 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_scaler_setup()
117 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_lock()
134 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_enable()
150 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_blank()
166 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_powergate()
195 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_set_dtd_timing()
310 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_adjust_pll()
591 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_program_pll()
752 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_crtc_prepare_pll()
[all …]
Ddce_v6_0.c405 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_program_fmt()
1117 struct amdgpu_device *adev = drm_to_adev(encoder->dev); in dce_v6_0_audio_select_pin()
1133 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_write_latency_fields()
1177 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_write_speaker_allocation()
1238 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_write_sad_regs()
1395 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_vbi_packet()
1411 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_acr()
1449 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_avi_infoframe()
1491 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_dto()
1525 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v6_0_audio_set_packet()
[all …]
Datombios_encoders.c73 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_get_backlight_level()
87 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_set_backlight_level()
155 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_get_backlight_brightness()
169 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_init_backlight()
229 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_fini_backlight()
319 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dac()
382 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dvo()
567 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dig_encoder()
756 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_encoder_setup_dig_transmitter()
1172 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()
1450 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_update_ACR()
1473 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_update_avi_infoframe()
1493 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_audio_set_dto()
1520 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_setmode()
1682 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v8_0_afmt_enable()
[all …]
Damdgpu_vram_mgr.c63 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vram_total_show()
80 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vis_vram_total_show()
98 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vram_used_show()
118 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vis_vram_used_show()
138 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_vram_vendor()
Ddce_v10_0.c508 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_program_fmt()
1213 struct amdgpu_device *adev = drm_to_adev(encoder->dev); in dce_v10_0_afmt_audio_select_pin()
1230 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_audio_write_latency_fields()
1276 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_audio_write_speaker_allocation()
1332 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_audio_write_sad_regs()
1487 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_afmt_update_ACR()
1523 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_afmt_update_avi_infoframe()
1542 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_audio_set_dto()
1573 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_afmt_setmode()
1753 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v10_0_afmt_enable()
[all …]
Ddce_v11_0.c534 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_program_fmt()
1239 struct amdgpu_device *adev = drm_to_adev(encoder->dev); in dce_v11_0_afmt_audio_select_pin()
1256 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_audio_write_latency_fields()
1302 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_audio_write_speaker_allocation()
1358 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_audio_write_sad_regs()
1529 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_afmt_update_ACR()
1565 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_afmt_update_avi_infoframe()
1584 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_audio_set_dto()
1615 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_afmt_setmode()
1795 struct amdgpu_device *adev = drm_to_adev(dev); in dce_v11_0_afmt_enable()
[all …]
Damdgpu_drv.c2135 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_pci_shutdown()
2227 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_prepare()
2253 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_suspend()
2266 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_suspend_noirq()
2278 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_resume()
2292 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_freeze()
2328 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_runtime_suspend()
2393 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_runtime_resume()
2439 struct amdgpu_device *adev = drm_to_adev(drm_dev); in amdgpu_pmops_runtime_idle()
Damdgpu_connectors.c45 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_hotplug()
283 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_get_edid()
475 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_set_property()
847 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_vga_mode_valid()
954 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_check_hpd_status_unchanged()
985 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_dvi_detect()
1172 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_dvi_mode_valid()
1324 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_is_dp12_capable()
1338 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_connector_dp_detect()
Damdgpu_gtt_mgr.c59 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_gtt_total_show()
79 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_mem_info_gtt_used_show()
Damdgpu_gem.c287 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_create_ioctl()
384 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_userptr_ioctl()
670 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_va_ioctl()
804 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_gem_op_ioctl()
882 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_mode_dumb_create()
Damdgpu_kms.c91 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_driver_unload_kms()
562 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_info_ioctl()
1167 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_driver_open_kms()
1259 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_driver_postclose_kms()
1312 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_driver_release_kms()
1333 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_get_vblank_counter_kms()
1401 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_enable_vblank_kms()
1418 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_disable_vblank_kms()
Damdgpu_fdinfo.c61 struct amdgpu_device *adev = drm_to_adev(file->minor->dev); in amdgpu_show_fdinfo()
Damdgpu_device.c152 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_pcie_replay_count()
177 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_product_name()
199 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_product_number()
221 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_device_get_serial_number()
239 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_px()
256 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_boco()
274 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_supports_baco()
1391 struct amdgpu_device *adev = drm_to_adev(pci_get_drvdata(pdev)); in amdgpu_device_vga_set_decode()
4068 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_suspend()
4129 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_device_resume()
[all …]
Datombios_dp.c63 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_dp_process_aux_ch()
310 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_dp_get_sinktype()
723 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_atombios_dp_link_train()
Damdgpu_sched.c130 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_sched_ioctl()
Damdgpu_preempt_mgr.c47 struct amdgpu_device *adev = drm_to_adev(ddev); in mem_info_preempt_used_show()
Damdgpu_display.c153 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_display_crtc_page_flip_target()
291 adev = drm_to_adev(dev); in amdgpu_display_crtc_set_config()
680 struct amdgpu_device *adev = drm_to_adev(afb->base.dev); in convert_tiling_flags_to_modifier()
1129 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_display_framebuffer_init()
1201 domains = amdgpu_display_supported_domains(drm_to_adev(dev), bo->flags); in amdgpu_display_user_framebuffer_create()
1449 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_encoders.c38 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_link_encoder_connector()
/drivers/gpu/drm/amd/pm/
Damdgpu_pm.c124 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_state()
160 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_state()
268 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_power_dpm_force_performance_level()
310 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_power_dpm_force_performance_level()
411 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_num_states()
453 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_cur_state()
495 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_force_state()
514 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_force_state()
577 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_get_pp_table()
618 struct amdgpu_device *adev = drm_to_adev(ddev); in amdgpu_set_pp_table()
[all …]
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_crc.c121 adev = drm_to_adev(crtc->dev); in amdgpu_dm_crtc_notify_ta_to_read()
172 struct amdgpu_device *adev = drm_to_adev(crtc->dev); in amdgpu_dm_crtc_configure_crc_source()
455 adev = drm_to_adev(crtc->dev); in amdgpu_dm_crtc_handle_crc_window_irq()
Damdgpu_dm.c847 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_dm_fbc_init()
889 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_dm_audio_component_get_eld()
928 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_dm_audio_component_bind()
942 struct amdgpu_device *adev = drm_to_adev(dev); in amdgpu_dm_audio_component_unbind()
1293 adev = drm_to_adev(aconnector->base.dev); in dm_handle_hpd_rx_offload_work()
2607 struct amdgpu_device *adev = drm_to_adev(aconnector->base.dev); in dm_set_dpms_off()
2875 adev = drm_to_adev(conn_base->dev); in update_connector_ext_caps()
3073 struct amdgpu_device *adev = drm_to_adev(dev); in handle_hpd_irq_helper()
3242 struct amdgpu_device *adev = drm_to_adev(dev); in handle_hpd_rx_irq()
3777 struct amdgpu_device *adev = drm_to_adev(dev); in dm_atomic_get_state()
[all …]
Damdgpu_dm_mst_types.c333 struct amdgpu_device *adev = drm_to_adev(dev); in dm_dp_mst_get_modes()
375 struct amdgpu_device *adev = drm_to_adev(dev); in dm_mst_atomic_best_encoder()
473 struct amdgpu_device *adev = drm_to_adev(dev); in dm_dp_add_mst_connector()

12