Changeset 8d070710 in mainline for uspace/drv/audio/hdaudio/spec


Ignore:
Timestamp:
2014-08-14T11:12:19Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d2d5329
Parents:
7978d1e7
Message:

Say hello to root node.

Location:
uspace/drv/audio/hdaudio/spec
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/spec/codec.h

    r7978d1e7 r8d070710  
    7070        hda_spdif_ctl_set1 = 0x70d,
    7171        /** S/PDIF Converter Control / Set 2 */
    72         hda_spdif_ctl_set1 = 0x70e,
     72        hda_spdif_ctl_set2 = 0x70e,
    7373        /** S/PDIF Converter Control / Set 3 */
    74         hda_spdif_ctl_set1 = 0x73e,
     74        hda_spdif_ctl_set3 = 0x73e,
    7575        /** S/PDIF Converter Control / Set 4 */
    76         hda_spdif_ctl_set1 = 0x73f,
     76        hda_spdif_ctl_set4 = 0x73f,
    7777        /** Power State / Get */
    7878        hda_power_state_get = 0xf05,
     
    9191        /** Enable VRef / Set */
    9292        hda_enable_vref_set = 0x707,
    93         /** Connection Select Control / Get */
    94         hda_conn_sel_get = 0xf08,
    95         /** Connection Select Control / Set */
    96         hda_conn_sel_set = 0x708
     93        /** Unsolicited Response Control / Get */
     94        hda_unsol_resp_get = 0xf08,
     95        /** Unsolicied Response Control / Set */
     96        hda_unsol_resp_set = 0x708
    9797} hda_verb_t;
    9898
  • uspace/drv/audio/hdaudio/spec/regs.h

    r7978d1e7 r8d070710  
    201201
    202202typedef 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
     209typedef enum {
    203210        /** Enable CORB DMA Engine */
    204211        corbctl_run = 1,
     
    224231        rirbwp_wp_h = 7,
    225232        /** RIRB Write Pointer (L) */
    226         rirbrp_wp_l = 0
     233        rirbwp_wp_l = 0
    227234} hda_rirbwp_bits_t;
    228235
     
    247254} hda_rirbsize_bits_t;
    248255
     256typedef 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
     263typedef 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
    249272#endif
    250273
Note: See TracChangeset for help on using the changeset viewer.