/drivers/gpu/drm/radeon/ |
D | radeon_atombios.c | 524 u8 frev, crev; in radeon_get_atom_connector_info_from_object_table() local 538 if (!atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) in radeon_get_atom_connector_info_from_object_table() 541 if (crev < 2) in radeon_get_atom_connector_info_from_object_table() 597 &crev, &igp_offset)) { in radeon_get_atom_connector_info_from_object_table() 599 if (crev >= 2) { in radeon_get_atom_connector_info_from_object_table() 862 uint8_t frev, crev; in atombios_get_connector_object_id() local 865 if (atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) { in atombios_get_connector_object_id() 906 uint8_t frev, crev; in radeon_get_atom_connector_info_from_supported_devices_table() local 922 if (!atom_parse_data_header(ctx, index, &size, &frev, &crev, in radeon_get_atom_connector_info_from_supported_devices_table() 982 if ((crev > 1) && (frev > 1)) { in radeon_get_atom_connector_info_from_supported_devices_table() [all …]
|
D | atombios_encoders.c | 495 uint8_t frev, crev; in atombios_dvo_setup() local 499 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_dvo_setup() 508 switch (crev) { in atombios_dvo_setup() 542 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in atombios_dvo_setup() 547 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in atombios_dvo_setup() 569 uint8_t frev, crev; in atombios_digital_setup() local 595 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_digital_setup() 601 switch (crev) { in atombios_digital_setup() 626 if (crev == 3) { in atombios_digital_setup() 660 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in atombios_digital_setup() [all …]
|
D | atom.h | 153 uint8_t *frev, uint8_t *crev, uint16_t *data_start); 155 uint8_t *frev, uint8_t *crev);
|
D | atombios_crtc.c | 673 u8 frev, crev; in atombios_adjust_pll() local 678 &crev)) in atombios_adjust_pll() 685 switch (crev) { in atombios_adjust_pll() 743 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in atombios_adjust_pll() 748 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in atombios_adjust_pll() 770 u8 frev, crev; in atombios_crtc_set_disp_eng_pll() local 778 &crev)) in atombios_crtc_set_disp_eng_pll() 783 switch (crev) { in atombios_crtc_set_disp_eng_pll() 805 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in atombios_crtc_set_disp_eng_pll() 810 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in atombios_crtc_set_disp_eng_pll() [all …]
|
D | atom.c | 1363 uint16_t * size, uint8_t * frev, uint8_t * crev, in atom_parse_data_header() argument 1377 if (crev) in atom_parse_data_header() 1378 *crev = CU8(idx + 3); in atom_parse_data_header() 1384 uint8_t * crev) in atom_parse_cmd_header() argument 1395 if (crev) in atom_parse_cmd_header() 1396 *crev = CU8(idx + 3); in atom_parse_cmd_header()
|
D | rs780_dpm.c | 799 u8 frev, crev; in rs780_parse_power_table() local 803 &frev, &crev, &data_offset)) in rs780_parse_power_table() 852 u8 frev, crev; in rs780_dpm_init() local 872 &frev, &crev, &data_offset)) { in rs780_dpm_init() 876 switch (crev) { in rs780_dpm_init()
|
D | atombios_dp.c | 798 u8 tmp, frev, crev; in radeon_dp_link_train() local 819 if (atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) { in radeon_dp_link_train() 820 if (crev > 1) { in radeon_dp_link_train()
|
D | trinity_dpm.c | 1741 u8 frev, crev; in trinity_parse_power_table() local 1746 &frev, &crev, &data_offset)) in trinity_parse_power_table() 1850 u8 frev, crev; in trinity_parse_sys_info_table() local 1855 &frev, &crev, &data_offset)) { in trinity_parse_sys_info_table() 1859 if (crev != 7) { in trinity_parse_sys_info_table() 1860 DRM_ERROR("Unsupported IGP table: %d %d\n", frev, crev); in trinity_parse_sys_info_table()
|
D | sumo_dpm.c | 1466 u8 frev, crev; in sumo_parse_power_table() local 1471 &frev, &crev, &data_offset)) in sumo_parse_power_table() 1661 u8 frev, crev; in sumo_parse_sys_info_table() local 1666 &frev, &crev, &data_offset)) { in sumo_parse_sys_info_table() 1670 if (crev != 6) { in sumo_parse_sys_info_table() 1671 DRM_ERROR("Unsupported IGP table: %d %d\n", frev, crev); in sumo_parse_sys_info_table()
|
D | rs690.c | 70 uint8_t frev, crev; in rs690_pm_info() local 74 &frev, &crev, &data_offset)) { in rs690_pm_info() 78 switch (crev) { in rs690_pm_info()
|
D | r600_dpm.c | 849 u8 frev, crev; in r600_get_platform_caps() local 852 &frev, &crev, &data_offset)) in r600_get_platform_caps() 879 u8 frev, crev; in r600_parse_extended_power_table() local 883 &frev, &crev, &data_offset)) in r600_parse_extended_power_table()
|
D | kv_dpm.c | 2494 u8 frev, crev; in kv_parse_sys_info_table() local 2499 &frev, &crev, &data_offset)) { in kv_parse_sys_info_table() 2503 if (crev != 8) { in kv_parse_sys_info_table() 2504 DRM_ERROR("Unsupported IGP table: %d %d\n", frev, crev); in kv_parse_sys_info_table() 2644 u8 frev, crev; in kv_parse_power_table() local 2649 &frev, &crev, &data_offset)) in kv_parse_power_table()
|
D | ci_dpm.c | 5527 u8 frev, crev; in ci_parse_power_table() local 5532 &frev, &crev, &data_offset)) in ci_parse_power_table() 5610 u8 frev, crev; in ci_get_vbios_boot_values() local 5614 &frev, &crev, &data_offset)) { in ci_get_vbios_boot_values() 5650 u8 frev, crev; in ci_dpm_init() local 5868 &frev, &crev, &data_offset)) { in ci_dpm_init()
|
D | rv6xx_dpm.c | 1883 u8 frev, crev; in rv6xx_parse_power_table() local 1887 &frev, &crev, &data_offset)) in rv6xx_parse_power_table()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_atombios.c | 278 u8 frev, crev; in amdgpu_atombios_get_connector_info_from_object_table() local 292 if (!amdgpu_atom_parse_data_header(ctx, index, &size, &frev, &crev, &data_offset)) in amdgpu_atombios_get_connector_info_from_object_table() 295 if (crev < 2) in amdgpu_atombios_get_connector_info_from_object_table() 548 uint8_t frev, crev; in amdgpu_atombios_get_clock_info() local 553 &frev, &crev, &data_offset)) { in amdgpu_atombios_get_clock_info() 711 u8 frev, crev; in amdgpu_atombios_get_igp_ss_overrides() local 716 &frev, &crev, &data_offset)) { in amdgpu_atombios_get_igp_ss_overrides() 719 switch (crev) { in amdgpu_atombios_get_igp_ss_overrides() 785 DRM_ERROR("Unsupported IGP table: %d %d\n", frev, crev); in amdgpu_atombios_get_igp_ss_overrides() 816 uint8_t frev, crev; in amdgpu_atombios_get_asic_ss_info() local [all …]
|
D | atombios_encoders.c | 392 uint8_t frev, crev; in amdgpu_atombios_encoder_setup_dvo() local 396 if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) in amdgpu_atombios_encoder_setup_dvo() 401 switch (crev) { in amdgpu_atombios_encoder_setup_dvo() 435 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in amdgpu_atombios_encoder_setup_dvo() 440 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in amdgpu_atombios_encoder_setup_dvo() 584 uint8_t frev, crev; in amdgpu_atombios_encoder_setup_dig_encoder() local 605 if (!amdgpu_atom_parse_cmd_header(adev->mode_info.atom_context, index, &frev, &crev)) in amdgpu_atombios_encoder_setup_dig_encoder() 610 switch (crev) { in amdgpu_atombios_encoder_setup_dig_encoder() 699 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in amdgpu_atombios_encoder_setup_dig_encoder() 704 DRM_ERROR("Unknown table version %d, %d\n", frev, crev); in amdgpu_atombios_encoder_setup_dig_encoder() [all …]
|
D | atombios_crtc.c | 320 u8 frev, crev; in amdgpu_atombios_crtc_adjust_pll() local 380 &crev)) in amdgpu_atombios_crtc_adjust_pll() 387 switch (crev) { in amdgpu_atombios_crtc_adjust_pll() 445 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in amdgpu_atombios_crtc_adjust_pll() 450 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in amdgpu_atombios_crtc_adjust_pll() 472 u8 frev, crev; in amdgpu_atombios_crtc_set_disp_eng_pll() local 480 &crev)) in amdgpu_atombios_crtc_set_disp_eng_pll() 485 switch (crev) { in amdgpu_atombios_crtc_set_disp_eng_pll() 502 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in amdgpu_atombios_crtc_set_disp_eng_pll() 507 DRM_ERROR("Unknown table version %d %d\n", frev, crev); in amdgpu_atombios_crtc_set_disp_eng_pll() [all …]
|
D | atom.h | 151 uint8_t *frev, uint8_t *crev, uint16_t *data_start); 153 uint8_t *frev, uint8_t *crev);
|
D | amdgpu_cgs.c | 403 uint8_t *frev, uint8_t *crev) in amdgpu_cgs_atom_get_data_table() argument 410 frev, crev, &data_start)) in amdgpu_cgs_atom_get_data_table() 418 uint8_t *frev, uint8_t *crev) in amdgpu_cgs_atom_get_cmd_table_revs() argument 424 frev, crev)) in amdgpu_cgs_atom_get_cmd_table_revs()
|
D | amdgpu_dpm.c | 290 u8 frev, crev; in amdgpu_get_platform_caps() local 293 &frev, &crev, &data_offset)) in amdgpu_get_platform_caps() 322 u8 frev, crev; in amdgpu_parse_extended_power_table() local 326 &frev, &crev, &data_offset)) in amdgpu_parse_extended_power_table() 801 u8 frev, crev; in amdgpu_add_thermal_controller() local 804 &frev, &crev, &data_offset)) in amdgpu_add_thermal_controller()
|
D | atom.c | 1395 uint16_t * size, uint8_t * frev, uint8_t * crev, in amdgpu_atom_parse_data_header() argument 1409 if (crev) in amdgpu_atom_parse_data_header() 1410 *crev = CU8(idx + 3); in amdgpu_atom_parse_data_header() 1416 uint8_t * crev) in amdgpu_atom_parse_cmd_header() argument 1427 if (crev) in amdgpu_atom_parse_cmd_header() 1428 *crev = CU8(idx + 3); in amdgpu_atom_parse_cmd_header()
|
D | cz_dpm.c | 100 u8 frev, crev; in cz_parse_sys_info_table() local 105 &frev, &crev, &data_offset)) { in cz_parse_sys_info_table() 109 if (crev != 9) { in cz_parse_sys_info_table() 110 DRM_ERROR("Unsupported IGP table: %d %d\n", frev, crev); in cz_parse_sys_info_table() 312 u8 frev, crev; in cz_parse_power_table() local 317 &frev, &crev, &data_offset)) in cz_parse_power_table()
|
D | kv_dpm.c | 2591 u8 frev, crev; in kv_parse_sys_info_table() local 2596 &frev, &crev, &data_offset)) { in kv_parse_sys_info_table() 2600 if (crev != 8) { in kv_parse_sys_info_table() 2601 DRM_ERROR("Unsupported IGP table: %d %d\n", frev, crev); in kv_parse_sys_info_table() 2741 u8 frev, crev; in kv_parse_power_table() local 2746 &frev, &crev, &data_offset)) in kv_parse_power_table()
|
D | ci_dpm.c | 5673 u8 frev, crev; in ci_parse_power_table() local 5678 &frev, &crev, &data_offset)) in ci_parse_power_table() 5757 u8 frev, crev; in ci_get_vbios_boot_values() local 5761 &frev, &crev, &data_offset)) { in ci_get_vbios_boot_values() 5843 u8 frev, crev; in ci_dpm_init() local 6055 &frev, &crev, &data_offset)) { in ci_dpm_init()
|
/drivers/gpu/drm/amd/include/ |
D | cgs_common.h | 370 uint16_t *size, uint8_t *frev, uint8_t *crev); 382 uint8_t *frev, uint8_t *crev); 596 #define cgs_atom_get_data_table(dev,table,size,frev,crev) \ argument 597 CGS_CALL(atom_get_data_table,dev,table,size,frev,crev) 598 #define cgs_atom_get_cmd_table_revs(dev,table,frev,crev) \ argument 599 CGS_CALL(atom_get_cmd_table_revs,dev,table,frev,crev)
|