/drivers/gpu/drm/radeon/ |
D | atom.h | 125 struct atom_context { struct 147 struct atom_context *atom_parse(struct card_info *, void *); argument 148 int atom_execute_table(struct atom_context *, int, uint32_t *); 149 int atom_execute_table_scratch_unlocked(struct atom_context *, int, uint32_t *); 150 int atom_asic_init(struct atom_context *); 151 void atom_destroy(struct atom_context *); 152 bool atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, 154 bool atom_parse_cmd_header(struct atom_context *ctx, int index, 156 int atom_allocate_fb_scratch(struct atom_context *ctx);
|
D | radeon_atombios.c | 132 struct atom_context *ctx = rdev->mode_info.atom_context; in radeon_lookup_i2c_gpio() 168 struct atom_context *ctx = rdev->mode_info.atom_context; in radeon_atombios_i2c_init() 202 struct atom_context *ctx = rdev->mode_info.atom_context; in radeon_lookup_gpio() 520 struct atom_context *ctx = mode_info->atom_context; in radeon_get_atom_connector_info_from_object_table() 857 struct atom_context *ctx = mode_info->atom_context; in atombios_get_connector_object_id() 901 struct atom_context *ctx = mode_info->atom_context; in radeon_get_atom_connector_info_from_supported_devices_table() 1121 if (atom_parse_data_header(mode_info->atom_context, index, NULL, in radeon_atom_get_clock_info() 1124 (union firmware_info *)(mode_info->atom_context->bios + in radeon_atom_get_clock_info() 1284 if (atom_parse_data_header(mode_info->atom_context, index, NULL, in radeon_atombios_sideport_present() 1286 igp_info = (union igp_info *)(mode_info->atom_context->bios + in radeon_atombios_sideport_present() [all …]
|
D | atombios_i2c.c | 51 mutex_lock(&rdev->mode_info.atom_context->scratch_mutex); in radeon_process_i2c_ch() 53 base = (unsigned char *)rdev->mode_info.atom_context->scratch; in radeon_process_i2c_ch() 86 atom_execute_table_scratch_unlocked(rdev->mode_info.atom_context, index, (uint32_t *)&args); in radeon_process_i2c_ch() 99 mutex_unlock(&rdev->mode_info.atom_context->scratch_mutex); in radeon_process_i2c_ch()
|
D | r600_dpm.c | 850 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in r600_get_platform_caps() 853 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in r600_get_platform_caps() 881 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in r600_parse_extended_power_table() 884 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in r600_parse_extended_power_table() 890 fan_info = (union fan_info *)(mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 913 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 922 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 933 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 945 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 959 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() [all …]
|
D | atom.c | 56 struct atom_context *ctx; 66 static int atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t * params); 67 int atom_execute_table(struct atom_context *ctx, int index, uint32_t * params); 102 static uint32_t atom_iio_execute(struct atom_context *ctx, int base, in atom_iio_execute() 181 struct atom_context *gctx = ctx->ctx; in atom_get_src_int() 454 struct atom_context *gctx = ctx->ctx; in atom_put_dst() 1159 static int atom_execute_table_locked(struct atom_context *ctx, int index, uint32_t * params) in atom_execute_table_locked() 1220 int atom_execute_table_scratch_unlocked(struct atom_context *ctx, int index, uint32_t * params) in atom_execute_table_scratch_unlocked() 1241 int atom_execute_table(struct atom_context *ctx, int index, uint32_t * params) in atom_execute_table() 1252 static void atom_index_iio(struct atom_context *ctx, int base) in atom_index_iio() [all …]
|
D | atombios_encoders.c | 110 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_backlight_level() 113 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_backlight_level() 115 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_backlight_level() 391 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_dac_setup() 447 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_tv_setup() 496 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_dvo_setup() 548 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_dvo_setup() 592 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_digital_setup() 666 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_digital_setup() 859 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_dig_encoder_setup() [all …]
|
D | radeon_device.c | 732 atom_asic_init(rdev->mode_info.atom_context); in radeon_boot_test_post_card() 971 rdev->mode_info.atom_context = atom_parse(atom_card_info, rdev->bios); in radeon_atombios_init() 972 if (!rdev->mode_info.atom_context) { in radeon_atombios_init() 977 mutex_init(&rdev->mode_info.atom_context->mutex); in radeon_atombios_init() 978 mutex_init(&rdev->mode_info.atom_context->scratch_mutex); in radeon_atombios_init() 980 atom_allocate_fb_scratch(rdev->mode_info.atom_context); in radeon_atombios_init() 995 if (rdev->mode_info.atom_context) { in radeon_atombios_fini() 996 kfree(rdev->mode_info.atom_context->scratch); in radeon_atombios_fini() 998 kfree(rdev->mode_info.atom_context); in radeon_atombios_fini() 999 rdev->mode_info.atom_context = NULL; in radeon_atombios_fini()
|
D | atombios_crtc.c | 76 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_overscan_setup() 156 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_scaler_setup() 177 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_lock_crtc() 193 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_enable_crtc() 209 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_enable_crtc_memreq() 241 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_blank_crtc() 261 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_powergate_crtc() 341 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_crtc_dtd_timing() 387 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_crtc_set_timing() 544 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_crtc_program_ss() [all …]
|
D | atombios_dp.c | 103 mutex_lock(&rdev->mode_info.atom_context->scratch_mutex); in radeon_process_aux_ch() 105 base = (unsigned char *)(rdev->mode_info.atom_context->scratch + 1); in radeon_process_aux_ch() 117 atom_execute_table_scratch_unlocked(rdev->mode_info.atom_context, index, (uint32_t *)&args); in radeon_process_aux_ch() 151 mutex_unlock(&rdev->mode_info.atom_context->scratch_mutex); in radeon_process_aux_ch() 374 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in radeon_dp_encoder_service() 827 if (atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) { in radeon_dp_link_train()
|
D | rs780_dpm.c | 802 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in rs780_parse_power_table() 805 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rs780_parse_power_table() 814 (mode_info->atom_context->bios + data_offset + in rs780_parse_power_table() 818 (mode_info->atom_context->bios + data_offset + in rs780_parse_power_table() 824 (mode_info->atom_context->bios + data_offset + in rs780_parse_power_table() 871 if (atom_parse_data_header(rdev->mode_info.atom_context, index, NULL, in rs780_dpm_init() 873 info = (union igp_info *)(rdev->mode_info.atom_context->bios + data_offset); in rs780_dpm_init()
|
D | r520.c | 237 atom_asic_init(rdev->mode_info.atom_context); in r520_resume() 288 atom_asic_init(rdev->mode_info.atom_context); in r520_init()
|
D | trinity_dpm.c | 1678 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in trinity_parse_power_table() 1681 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in trinity_parse_power_table() 1684 (mode_info->atom_context->bios + data_offset + in trinity_parse_power_table() 1687 (mode_info->atom_context->bios + data_offset + in trinity_parse_power_table() 1690 (mode_info->atom_context->bios + data_offset + in trinity_parse_power_table() 1774 if (atom_parse_data_header(mode_info->atom_context, index, NULL, in trinity_parse_sys_info_table() 1776 igp_info = (union igp_info *)(mode_info->atom_context->bios + in trinity_parse_sys_info_table()
|
D | sumo_dpm.c | 1468 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in sumo_parse_power_table() 1471 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in sumo_parse_power_table() 1474 (mode_info->atom_context->bios + data_offset + in sumo_parse_power_table() 1477 (mode_info->atom_context->bios + data_offset + in sumo_parse_power_table() 1480 (mode_info->atom_context->bios + data_offset + in sumo_parse_power_table() 1661 if (atom_parse_data_header(mode_info->atom_context, index, NULL, in sumo_parse_sys_info_table() 1663 igp_info = (union igp_info *)(mode_info->atom_context->bios + in sumo_parse_sys_info_table()
|
D | rs690.c | 72 if (atom_parse_data_header(rdev->mode_info.atom_context, index, NULL, in rs690_pm_info() 74 info = (union igp_info *)(rdev->mode_info.atom_context->bios + data_offset); in rs690_pm_info() 756 atom_asic_init(rdev->mode_info.atom_context); in rs690_resume()
|
D | kv_dpm.c | 2496 if (atom_parse_data_header(mode_info->atom_context, index, NULL, in kv_parse_sys_info_table() 2498 igp_info = (union igp_info *)(mode_info->atom_context->bios + in kv_parse_sys_info_table() 2646 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in kv_parse_power_table() 2649 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in kv_parse_power_table() 2652 (mode_info->atom_context->bios + data_offset + in kv_parse_power_table() 2655 (mode_info->atom_context->bios + data_offset + in kv_parse_power_table() 2658 (mode_info->atom_context->bios + data_offset + in kv_parse_power_table()
|
D | radeon_mode.h | 236 struct atom_context *atom_context; member
|
D | rv6xx_dpm.c | 1886 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in rv6xx_parse_power_table() 1889 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rv6xx_parse_power_table() 1898 (mode_info->atom_context->bios + data_offset + in rv6xx_parse_power_table() 1902 (mode_info->atom_context->bios + data_offset + in rv6xx_parse_power_table() 1919 (mode_info->atom_context->bios + data_offset + in rv6xx_parse_power_table()
|
D | rv770_dpm.c | 2276 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in rv7xx_parse_power_table() 2279 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rv7xx_parse_power_table() 2288 (mode_info->atom_context->bios + data_offset + in rv7xx_parse_power_table() 2292 (mode_info->atom_context->bios + data_offset + in rv7xx_parse_power_table() 2310 (mode_info->atom_context->bios + data_offset + in rv7xx_parse_power_table()
|
D | r420.c | 319 atom_asic_init(rdev->mode_info.atom_context); in r420_resume()
|
D | ci_dpm.c | 4966 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in ci_parse_power_table() 4969 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in ci_parse_power_table() 4972 (mode_info->atom_context->bios + data_offset + in ci_parse_power_table() 4975 (mode_info->atom_context->bios + data_offset + in ci_parse_power_table() 4978 (mode_info->atom_context->bios + data_offset + in ci_parse_power_table() 5049 if (atom_parse_data_header(mode_info->atom_context, index, NULL, in ci_get_vbios_boot_values() 5052 (ATOM_FIRMWARE_INFO_V2_2 *)(mode_info->atom_context->bios + in ci_get_vbios_boot_values() 5251 if (atom_parse_data_header(rdev->mode_info.atom_context, index, &size, in ci_dpm_init()
|
D | rv770.c | 1809 atom_asic_init(rdev->mode_info.atom_context); in rv770_resume() 1874 atom_asic_init(rdev->mode_info.atom_context); in rv770_init()
|
D | ni_dpm.c | 3996 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in ni_parse_power_table() 3999 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in ni_parse_power_table() 4008 (mode_info->atom_context->bios + data_offset + in ni_parse_power_table() 4012 (mode_info->atom_context->bios + data_offset + in ni_parse_power_table() 4030 (mode_info->atom_context->bios + data_offset + in ni_parse_power_table()
|
D | ni.c | 2121 atom_asic_init(rdev->mode_info.atom_context); in cayman_resume() 2189 atom_asic_init(rdev->mode_info.atom_context); in cayman_init()
|
D | rs600.c | 1047 atom_asic_init(rdev->mode_info.atom_context); in rs600_resume()
|
D | si_dpm.c | 6410 if (!atom_parse_data_header(mode_info->atom_context, index, NULL, in si_parse_power_table() 6413 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in si_parse_power_table() 6416 (mode_info->atom_context->bios + data_offset + in si_parse_power_table() 6419 (mode_info->atom_context->bios + data_offset + in si_parse_power_table() 6422 (mode_info->atom_context->bios + data_offset + in si_parse_power_table()
|