atom.h (fc8e1ead9314cf0e0f1922e661428b93d3a50d88) | atom.h (d904ef9b00a4473af16766e99f17bdbb5f0fde65) |
---|---|
1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 118 unchanged lines hidden (view full) --- 127 uint16_t data_block; 128 uint32_t fb_base; 129 uint32_t divmul[2]; 130 uint16_t io_attr; 131 uint16_t reg_block; 132 uint8_t shift; 133 int cs_equal, cs_above; 134 int io_mode; | 1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the --- 118 unchanged lines hidden (view full) --- 127 uint16_t data_block; 128 uint32_t fb_base; 129 uint32_t divmul[2]; 130 uint16_t io_attr; 131 uint16_t reg_block; 132 uint8_t shift; 133 int cs_equal, cs_above; 134 int io_mode; |
135 uint32_t *scratch; |
|
135}; 136 137extern int atom_debug; 138 139struct atom_context *atom_parse(struct card_info *, void *); 140void atom_execute_table(struct atom_context *, int, uint32_t *); 141int atom_asic_init(struct atom_context *); 142void atom_destroy(struct atom_context *); 143void atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, uint8_t *frev, uint8_t *crev, uint16_t *data_start); 144void atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t *frev, uint8_t *crev); | 136}; 137 138extern int atom_debug; 139 140struct atom_context *atom_parse(struct card_info *, void *); 141void atom_execute_table(struct atom_context *, int, uint32_t *); 142int atom_asic_init(struct atom_context *); 143void atom_destroy(struct atom_context *); 144void atom_parse_data_header(struct atom_context *ctx, int index, uint16_t *size, uint8_t *frev, uint8_t *crev, uint16_t *data_start); 145void atom_parse_cmd_header(struct atom_context *ctx, int index, uint8_t *frev, uint8_t *crev); |
146int atom_allocate_fb_scratch(struct atom_context *ctx); |
|
145#include "atom-types.h" 146#include "atombios.h" 147#include "ObjectID.h" 148 149#endif | 147#include "atom-types.h" 148#include "atombios.h" 149#include "ObjectID.h" 150 151#endif |