Rev 1963 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1963 | Rev 2997 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | 24 | ||
25 | #ifndef ATOM_H |
25 | #ifndef ATOM_H |
Line 26... | Line 26... | ||
26 | #define ATOM_H |
26 | #define ATOM_H |
27 | 27 | ||
Line 28... | Line 28... | ||
28 | #include |
28 | #include |
29 | #include "drmP.h" |
29 | #include |
30 | 30 | ||
31 | #define ATOM_BIOS_MAGIC 0xAA55 |
31 | #define ATOM_BIOS_MAGIC 0xAA55 |
Line 42... | Line 42... | ||
42 | 42 | ||
43 | #define ATOM_CMD_INIT 0 |
43 | #define ATOM_CMD_INIT 0 |
44 | #define ATOM_CMD_SETSCLK 0x0A |
44 | #define ATOM_CMD_SETSCLK 0x0A |
45 | #define ATOM_CMD_SETMCLK 0x0B |
45 | #define ATOM_CMD_SETMCLK 0x0B |
- | 46 | #define ATOM_CMD_SETPCLK 0x0C |
|
Line 46... | Line 47... | ||
46 | #define ATOM_CMD_SETPCLK 0x0C |
47 | #define ATOM_CMD_SPDFANCNTL 0x39 |
47 | 48 | ||
Line 48... | Line 49... | ||
48 | #define ATOM_DATA_FWI_PTR 0xC |
49 | #define ATOM_DATA_FWI_PTR 0xC |
Line 135... | Line 136... | ||
135 | uint16_t reg_block; |
136 | uint16_t reg_block; |
136 | uint8_t shift; |
137 | uint8_t shift; |
137 | int cs_equal, cs_above; |
138 | int cs_equal, cs_above; |
138 | int io_mode; |
139 | int io_mode; |
139 | uint32_t *scratch; |
140 | uint32_t *scratch; |
- | 141 | int scratch_size_bytes; |
|
140 | }; |
142 | }; |
Line 141... | Line 143... | ||
141 | 143 | ||
Line 142... | Line 144... | ||
142 | extern int atom_debug; |
144 | extern int atom_debug; |