Home
last modified time | relevance | path

Searched refs:atom_context (Results 1 – 19 of 19) sorted by relevance

/drivers/gpu/drm/radeon/
Datom.h125 struct atom_context { struct
146 struct atom_context *atom_parse(struct card_info *, void *); argument
147 int atom_execute_table(struct atom_context *, int, uint32_t *);
148 int atom_asic_init(struct atom_context *);
149 void atom_destroy(struct atom_context *);
150 bool atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size,
152 bool atom_parse_cmd_header(struct atom_context *ctx, int index,
154 int atom_allocate_fb_scratch(struct atom_context *ctx);
Dradeon_atombios.c153 struct atom_context *ctx = rdev->mode_info.atom_context; in radeon_lookup_i2c_gpio()
187 struct atom_context *ctx = rdev->mode_info.atom_context; in radeon_atombios_i2c_init()
220 struct atom_context *ctx = rdev->mode_info.atom_context; in radeon_lookup_gpio()
535 struct atom_context *ctx = mode_info->atom_context; in radeon_get_atom_connector_info_from_object_table()
872 struct atom_context *ctx = mode_info->atom_context; in atombios_get_connector_object_id()
916 struct atom_context *ctx = mode_info->atom_context; in radeon_get_atom_connector_info_from_supported_devices_table()
1136 if (atom_parse_data_header(mode_info->atom_context, index, NULL, in radeon_atom_get_clock_info()
1139 (union firmware_info *)(mode_info->atom_context->bios + in radeon_atom_get_clock_info()
1283 if (atom_parse_data_header(mode_info->atom_context, index, NULL, in radeon_atombios_sideport_present()
1285 igp_info = (union igp_info *)(mode_info->atom_context->bios + in radeon_atombios_sideport_present()
[all …]
Datom.c56 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(struct atom_context *ctx, int index, uint32_t * params) in atom_execute_table()
1243 static void atom_index_iio(struct atom_context *ctx, int base) in atom_index_iio()
1255 struct atom_context *atom_parse(struct card_info *card, void *bios) in atom_parse()
[all …]
Datombios_encoders.c152 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_dac_setup()
208 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_tv_setup()
230 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_dvo_setup()
275 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_dvo_setup()
319 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_digital_setup()
393 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_digital_setup()
571 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_dig_encoder_setup()
710 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_dig_encoder_setup()
792 if (!atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) in atombios_dig_transmitter_setup()
1086 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_dig_transmitter_setup()
[all …]
Datombios_crtc.c76 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_overscan_setup()
162 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_scaler_setup()
183 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_lock_crtc()
199 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_enable_crtc()
215 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_enable_crtc_memreq()
231 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_blank_crtc()
247 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_powergate_crtc()
327 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_set_crtc_dtd_timing()
371 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_crtc_set_timing()
531 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in atombios_crtc_program_ss()
[all …]
Datombios_i2c.c51 base = (unsigned char *)rdev->mode_info.atom_context->scratch; in radeon_process_i2c_ch()
73 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in radeon_process_i2c_ch()
Dradeon_device.c434 atom_asic_init(rdev->mode_info.atom_context); in radeon_boot_test_post_card()
564 rdev->mode_info.atom_context = atom_parse(atom_card_info, rdev->bios); in radeon_atombios_init()
565 mutex_init(&rdev->mode_info.atom_context->mutex); in radeon_atombios_init()
567 atom_allocate_fb_scratch(rdev->mode_info.atom_context); in radeon_atombios_init()
573 if (rdev->mode_info.atom_context) { in radeon_atombios_fini()
574 kfree(rdev->mode_info.atom_context->scratch); in radeon_atombios_fini()
575 kfree(rdev->mode_info.atom_context); in radeon_atombios_fini()
Dr520.c241 atom_asic_init(rdev->mode_info.atom_context); in r520_resume()
292 atom_asic_init(rdev->mode_info.atom_context); in r520_init()
Datombios_dp.c102 base = (unsigned char *)(rdev->mode_info.atom_context->scratch + 1); in radeon_process_aux_ch()
114 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in radeon_process_aux_ch()
558 atom_execute_table(rdev->mode_info.atom_context, index, (uint32_t *)&args); in radeon_dp_encoder_service()
986 if (atom_parse_cmd_header(rdev->mode_info.atom_context, index, &frev, &crev)) { in radeon_dp_link_train()
Drs690.c72 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()
681 atom_asic_init(rdev->mode_info.atom_context); in rs690_resume()
Dradeon_mode.h223 struct atom_context *atom_context; member
Dr420.c317 atom_asic_init(rdev->mode_info.atom_context); in r420_resume()
Drv770.c1151 atom_asic_init(rdev->mode_info.atom_context); in rv770_resume()
1220 atom_asic_init(rdev->mode_info.atom_context); in rv770_init()
Dni.c1670 atom_asic_init(rdev->mode_info.atom_context); in cayman_resume()
1732 atom_asic_init(rdev->mode_info.atom_context); in cayman_init()
Drs600.c917 atom_asic_init(rdev->mode_info.atom_context); in rs600_resume()
Drv515.c433 atom_asic_init(rdev->mode_info.atom_context); in rv515_resume()
Dsi.c3977 atom_asic_init(rdev->mode_info.atom_context); in si_resume()
4045 atom_asic_init(rdev->mode_info.atom_context); in si_init()
Devergreen.c3338 atom_asic_init(rdev->mode_info.atom_context); in evergreen_resume()
3408 atom_asic_init(rdev->mode_info.atom_context); in evergreen_init()
Dr600.c2537 atom_asic_init(rdev->mode_info.atom_context); in r600_resume()
2608 atom_asic_init(rdev->mode_info.atom_context); in r600_init()