Changeset 8e7c9fe in mainline for uspace/drv/audio/hdaudio/codec.h
- Timestamp:
- 2014-09-12T03:45:25Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (diff), 105d8d6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/audio/hdaudio/codec.h
r3eb0c85 r8e7c9fe 1 1 /* 2 * Copyright (c) 20 05 Jakub Jermar2 * Copyright (c) 2014 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup mips64mm29 /** @addtogroup hdaudio 30 30 * @{ 31 31 */ 32 /** @file 32 /** @file High Definition Audio controller 33 33 */ 34 34 35 #ifndef KERN_mips64_FRAME_H_36 #define KERN_mips64_FRAME_H_35 #ifndef CODEC_H 36 #define CODEC_H 37 37 38 # define FRAME_WIDTH 14 /* 16K */39 # define FRAME_SIZE (1 << FRAME_WIDTH)38 #include "hdaudio.h" 39 #include "stream.h" 40 40 41 #define FRAME_LOWPRIO 041 #define MAX_OUT_AW 256 42 42 43 #ifndef __ASM__ 43 typedef struct hda_codec { 44 hda_t *hda; 45 uint8_t address; 46 uint8_t out_aw_list[MAX_OUT_AW]; 47 int out_aw_num; 48 int out_aw_sel; 49 } hda_codec_t; 44 50 45 extern void frame_low_arch_init(void); 46 extern void frame_high_arch_init(void); 47 extern void physmem_print(void); 48 49 #endif /* __ASM__ */ 51 extern hda_codec_t *hda_codec_init(hda_t *, uint8_t); 52 extern void hda_codec_fini(hda_codec_t *); 53 extern int hda_out_converter_setup(hda_codec_t *, hda_stream_t *); 50 54 51 55 #endif
Note:
See TracChangeset
for help on using the changeset viewer.