Rev 1321 | Rev 1630 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1321 | Rev 1403 | ||
---|---|---|---|
Line 89... | Line 89... | ||
89 | #define ATOM_WS_SHIFT 0x43 |
89 | #define ATOM_WS_SHIFT 0x43 |
90 | #define ATOM_WS_OR_MASK 0x44 |
90 | #define ATOM_WS_OR_MASK 0x44 |
91 | #define ATOM_WS_AND_MASK 0x45 |
91 | #define ATOM_WS_AND_MASK 0x45 |
92 | #define ATOM_WS_FB_WINDOW 0x46 |
92 | #define ATOM_WS_FB_WINDOW 0x46 |
93 | #define ATOM_WS_ATTRIBUTES 0x47 |
93 | #define ATOM_WS_ATTRIBUTES 0x47 |
- | 94 | #define ATOM_WS_REGPTR 0x48 |
|
Line 94... | Line 95... | ||
94 | 95 | ||
95 | #define ATOM_IIO_NOP 0 |
96 | #define ATOM_IIO_NOP 0 |
96 | #define ATOM_IIO_START 1 |
97 | #define ATOM_IIO_START 1 |
97 | #define ATOM_IIO_READ 2 |
98 | #define ATOM_IIO_READ 2 |
Line 118... | Line 119... | ||
118 | uint32_t (* pll_read)(struct card_info *, uint32_t); /* filled by driver */ |
119 | uint32_t (* pll_read)(struct card_info *, uint32_t); /* filled by driver */ |
119 | }; |
120 | }; |
Line 120... | Line 121... | ||
120 | 121 | ||
121 | struct atom_context { |
122 | struct atom_context { |
- | 123 | struct card_info *card; |
|
122 | struct card_info *card; |
124 | // struct mutex mutex; |
123 | void *bios; |
125 | void *bios; |
124 | uint32_t cmd_table, data_table; |
126 | uint32_t cmd_table, data_table; |
Line 125... | Line 127... | ||
125 | uint16_t *iio; |
127 | uint16_t *iio; |