Changeset 8d070710 in mainline for uspace/drv/audio/hdaudio/spec
- Timestamp:
- 2014-08-14T11:12:19Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2d5329
- Parents:
- 7978d1e7
- Location:
- uspace/drv/audio/hdaudio/spec
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/spec/codec.h
r7978d1e7 r8d070710 70 70 hda_spdif_ctl_set1 = 0x70d, 71 71 /** S/PDIF Converter Control / Set 2 */ 72 hda_spdif_ctl_set 1= 0x70e,72 hda_spdif_ctl_set2 = 0x70e, 73 73 /** S/PDIF Converter Control / Set 3 */ 74 hda_spdif_ctl_set 1= 0x73e,74 hda_spdif_ctl_set3 = 0x73e, 75 75 /** S/PDIF Converter Control / Set 4 */ 76 hda_spdif_ctl_set 1= 0x73f,76 hda_spdif_ctl_set4 = 0x73f, 77 77 /** Power State / Get */ 78 78 hda_power_state_get = 0xf05, … … 91 91 /** Enable VRef / Set */ 92 92 hda_enable_vref_set = 0x707, 93 /** Connection SelectControl / Get */94 hda_ conn_sel_get = 0xf08,95 /** Connection SelectControl / Set */96 hda_ conn_sel_set = 0x70893 /** Unsolicited Response Control / Get */ 94 hda_unsol_resp_get = 0xf08, 95 /** Unsolicied Response Control / Set */ 96 hda_unsol_resp_set = 0x708 97 97 } hda_verb_t; 98 98 -
uspace/drv/audio/hdaudio/spec/regs.h
r7978d1e7 r8d070710 201 201 202 202 typedef enum { 203 /** CORB Write Pointer (H) */ 204 corbwp_wp_h = 7, 205 /** CORB Write Pointer (L) */ 206 corbwp_wp_l = 0 207 } hda_corbwp_bits_t; 208 209 typedef enum { 203 210 /** Enable CORB DMA Engine */ 204 211 corbctl_run = 1, … … 224 231 rirbwp_wp_h = 7, 225 232 /** RIRB Write Pointer (L) */ 226 rirb rp_wp_l = 0233 rirbwp_wp_l = 0 227 234 } hda_rirbwp_bits_t; 228 235 … … 247 254 } hda_rirbsize_bits_t; 248 255 256 typedef struct { 257 /** Response - data received from codec */ 258 uint32_t resp; 259 /** Response Extended - added by controller */ 260 uint32_t respex; 261 } hda_rirb_entry_t; 262 263 typedef enum { 264 /** Unsolicited response */ 265 respex_unsol = 4, 266 /** Codec Address (H) */ 267 respex_addr_h = 3, 268 /** Codec Address (L) */ 269 respex_addr_l = 0 270 } hda_respex_bits_t; 271 249 272 #endif 250 273
Note:
See TracChangeset
for help on using the changeset viewer.
