Rev 2997 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2997 | Rev 5271 | ||
---|---|---|---|
Line 123... | Line 123... | ||
123 | }; |
123 | }; |
Line 124... | Line 124... | ||
124 | 124 | ||
125 | struct atom_context { |
125 | struct atom_context { |
126 | struct card_info *card; |
126 | struct card_info *card; |
- | 127 | struct mutex mutex; |
|
127 | struct mutex mutex; |
128 | struct mutex scratch_mutex; |
128 | void *bios; |
129 | void *bios; |
129 | uint32_t cmd_table, data_table; |
130 | uint32_t cmd_table, data_table; |
Line 130... | Line 131... | ||
130 | uint16_t *iio; |
131 | uint16_t *iio; |
Line 143... | Line 144... | ||
143 | 144 | ||
Line 144... | Line 145... | ||
144 | extern int atom_debug; |
145 | extern int atom_debug; |
145 | 146 | ||
- | 147 | struct atom_context *atom_parse(struct card_info *, void *); |
|
146 | struct atom_context *atom_parse(struct card_info *, void *); |
148 | int atom_execute_table(struct atom_context *, int, uint32_t *); |
147 | int atom_execute_table(struct atom_context *, int, uint32_t *); |
149 | int atom_execute_table_scratch_unlocked(struct atom_context *, int, uint32_t *); |
148 | int atom_asic_init(struct atom_context *); |
150 | int atom_asic_init(struct atom_context *); |
149 | void atom_destroy(struct atom_context *); |
151 | 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_data_header(struct atom_context *ctx, int index, uint16_t *size, |