/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/ |
H A D | ac97_codec.c | 46 * Isolated from trident.c to support multiple ac97 codec 62 static int ac97_read_mixer(struct ac97_codec *codec, int oss_channel); 63 static void ac97_write_mixer(struct ac97_codec *codec, int oss_channel, 65 static void ac97_set_mixer(struct ac97_codec *codec, unsigned int oss_mixer, unsigned int val ); 66 static int ac97_recmask_io(struct ac97_codec *codec, int rw, int mask); 67 static int ac97_mixer_ioctl(struct ac97_codec *codec, unsigned int cmd, unsigned long arg); 69 static int ac97_init_mixer(struct ac97_codec *codec); 71 static int wolfson_init03(struct ac97_codec * codec); 72 static int wolfson_init04(struct ac97_codec * codec); 73 static int wolfson_init05(struct ac97_codec * codec); 311 ac97_read_mixer(struct ac97_codec *codec, int oss_channel) argument 372 ac97_write_mixer(struct ac97_codec *codec, int oss_channel, unsigned int left, unsigned int right) argument 467 ac97_set_mixer(struct ac97_codec *codec, unsigned int oss_mixer, unsigned int val ) argument 486 ac97_recmask_io(struct ac97_codec *codec, int rw, int mask) argument 519 ac97_mixer_ioctl(struct ac97_codec *codec, unsigned int cmd, unsigned long arg) argument 622 struct ac97_codec *codec; local 724 ac97_check_modem(struct ac97_codec *codec) argument 747 struct ac97_codec *codec = kzalloc(sizeof(struct ac97_codec), GFP_KERNEL); local 767 ac97_release_codec(struct ac97_codec *codec) argument 811 ac97_probe_codec(struct ac97_codec *codec) argument 903 ac97_init_mixer(struct ac97_codec *codec) argument 969 sigmatel_9708_init(struct ac97_codec * codec) argument 993 sigmatel_9721_init(struct ac97_codec * codec) argument 1018 sigmatel_9744_init(struct ac97_codec * codec) argument 1029 cmedia_init(struct ac97_codec *codec) argument 1058 wolfson_init03(struct ac97_codec * codec) argument 1066 wolfson_init04(struct ac97_codec * codec) argument 1084 wolfson_init05(struct ac97_codec * codec) argument 1092 wolfson_init11(struct ac97_codec * codec) argument 1104 wolfson_init13(struct ac97_codec * codec) argument 1116 tritech_init(struct ac97_codec * codec) argument 1127 tritech_maestro_init(struct ac97_codec * codec) argument 1141 ad1886_init(struct ac97_codec * codec) argument 1158 eapd_control(struct ac97_codec * codec, int on) argument 1169 generic_digital_control(struct ac97_codec *codec, int slots, int rate, int mode) argument 1226 crystal_digital_control(struct ac97_codec *codec, int slots, int rate, int mode) argument 1251 cmedia_digital_control(struct ac97_codec *codec, int slots, int rate, int mode) argument 1320 ac97_set_dac_rate(struct ac97_codec *codec, unsigned int rate) argument 1368 ac97_set_adc_rate(struct ac97_codec *codec, unsigned int rate) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/ |
H A D | apc.c | 46 st->codec->codec_type = CODEC_TYPE_AUDIO; 47 st->codec->codec_id = CODEC_ID_ADPCM_IMA_WS; 50 st->codec->sample_rate = get_le32(pb); 52 st->codec->extradata_size = 2 * 4; 53 st->codec->extradata = av_malloc(st->codec->extradata_size + 55 if (!st->codec->extradata) 59 get_buffer(pb, st->codec->extradata, 2 * 4); 61 st->codec->channels = 1; 63 st->codec [all...] |
H A D | flacenc.h | 27 int ff_flac_write_header(ByteIOContext *pb, AVCodecContext *codec);
|
H A D | oggparsespeex.c | 42 st->codec->codec_type = CODEC_TYPE_AUDIO; 43 st->codec->codec_id = CODEC_ID_SPEEX; 45 st->codec->sample_rate = AV_RL32(p + 36); 46 st->codec->channels = AV_RL32(p + 48); 47 st->codec->extradata_size = os->psize; 48 st->codec->extradata = av_malloc(st->codec->extradata_size); 49 memcpy(st->codec->extradata, p, st->codec->extradata_size); 52 st->time_base.den = st->codec [all...] |
H A D | daud.c | 27 st->codec->codec_type = CODEC_TYPE_AUDIO; 28 st->codec->codec_id = CODEC_ID_PCM_S24DAUD; 29 st->codec->codec_tag = MKTAG('d', 'a', 'u', 'd'); 30 st->codec->channels = 6; 31 st->codec->sample_rate = 96000; 32 st->codec->bit_rate = 3 * 6 * 96000 * 8; 33 st->codec->block_align = 3 * 6; 34 st->codec->bits_per_coded_sample = 24; 52 AVCodecContext *codec = s->streams[0]->codec; local [all...] |
H A D | oggparseogm.c | 53 st->codec->codec_type = CODEC_TYPE_VIDEO; 56 st->codec->codec_id = codec_get_id(codec_bmp_tags, tag); 57 st->codec->codec_tag = tag; 59 st->codec->codec_type = CODEC_TYPE_SUBTITLE; 60 st->codec->codec_id = CODEC_ID_TEXT; 65 st->codec->codec_type = CODEC_TYPE_AUDIO; 70 st->codec->codec_id = codec_get_id(codec_wav_tags, cid); 82 if(st->codec->codec_type == CODEC_TYPE_VIDEO){ 83 st->codec->width = bytestream_get_le32(&p); 84 st->codec [all...] |
H A D | ffmenc.c | 88 AVCodecContext *codec; local 103 bit_rate += st->codec->bit_rate; 112 codec = st->codec; 114 put_be32(pb, codec->codec_id); 115 put_byte(pb, codec->codec_type); 116 put_be32(pb, codec->bit_rate); 118 put_be32(pb, codec->flags); 119 put_be32(pb, codec->flags2); 120 put_be32(pb, codec [all...] |
H A D | westwood.c | 153 st->codec->codec_type = CODEC_TYPE_AUDIO; 154 st->codec->codec_id = wsaud->audio_type; 155 st->codec->codec_tag = 0; /* no tag */ 156 st->codec->channels = wsaud->audio_channels; 157 st->codec->sample_rate = wsaud->audio_samplerate; 158 st->codec->bits_per_coded_sample = wsaud->audio_bits; 159 st->codec->bit_rate = st->codec->channels * st->codec->sample_rate * 160 st->codec [all...] |
H A D | iff.c | 100 st->codec->channels = 1; 111 st->codec->sample_rate = get_be16(pb); 113 st->codec->codec_tag = get_byte(pb); 123 st->codec->channels = (get_be32(pb) < 6) ? 1 : 2; 132 if(!st->codec->sample_rate) 135 av_set_pts_info(st, 32, 1, st->codec->sample_rate); 136 st->codec->codec_type = CODEC_TYPE_AUDIO; 138 switch(st->codec->codec_tag) { 140 st->codec->codec_id = CODEC_ID_PCM_S8; 143 st->codec [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ac97/ |
H A D | Makefile | 6 snd-ac97-codec-objs := ac97_codec.o ac97_pcm.o 9 snd-ac97-codec-objs += ac97_proc.o 12 snd-ak4531-codec-objs := ak4531_codec.o 15 obj-$(CONFIG_SND_AC97_CODEC) += snd-ac97-codec.o 16 obj-$(CONFIG_SND_ENS1370) += snd-ak4531-codec.o
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/hda/ |
H A D | patch_atihdmi.c | 47 static int atihdmi_build_controls(struct hda_codec *codec) argument 49 struct atihdmi_spec *spec = codec->spec; 52 err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid); 59 static int atihdmi_init(struct hda_codec *codec) argument 61 snd_hda_sequence_write(codec, atihdmi_basic_init); 69 static int atihdmi_resume(struct hda_codec *codec) argument 71 atihdmi_init(codec); 72 snd_hda_resume_spdif_out(codec); 82 struct hda_codec *codec, 85 struct atihdmi_spec *spec = codec 81 atihdmi_dig_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 89 atihdmi_dig_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 97 atihdmi_dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument 120 atihdmi_build_pcms(struct hda_codec *codec) argument 134 atihdmi_free(struct hda_codec *codec) argument 149 patch_atihdmi(struct hda_codec *codec) argument [all...] |
H A D | patch_si3054.c | 4 * HD audio interface patch for Silicon Labs 3054/5 modem codec 78 /* si3054 codec registers (nodes) access macros */ 79 #define GET_REG(codec,reg) (snd_hda_codec_read(codec,reg,0,SI3054_VERB_READ_NODE,0)) 80 #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val)) 110 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 113 uvalue->value.integer.value[0] = (GET_REG(codec, reg)) & mask ? 1 : 0 ; 120 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 124 SET_REG(codec, re 146 si3054_build_controls(struct hda_codec *codec) argument 156 si3054_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument 175 si3054_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 206 si3054_build_pcms(struct hda_codec *codec) argument 225 si3054_init(struct hda_codec *codec) argument 264 si3054_free(struct hda_codec *codec) argument 284 patch_si3054(struct hda_codec *codec) argument [all...] |
H A D | hda_codec.c | 45 /* codec vendor labels */ 58 /* codec presets */ 64 * @codec: the HDA codec 74 unsigned int snd_hda_codec_read(struct hda_codec *codec, hda_nid_t nid, argument 79 mutex_lock(&codec->bus->cmd_mutex); 80 if (!codec->bus->ops.command(codec, nid, direct, verb, parm)) 81 res = codec->bus->ops.get_response(codec); 100 snd_hda_codec_write(struct hda_codec *codec, hda_nid_t nid, int direct, unsigned int verb, unsigned int parm) argument 118 snd_hda_sequence_write(struct hda_codec *codec, const struct hda_verb *seq) argument 133 snd_hda_get_sub_nodes(struct hda_codec *codec, hda_nid_t nid, hda_nid_t *start_id) argument 155 snd_hda_get_connections(struct hda_codec *codec, hda_nid_t nid, hda_nid_t *conn_list, int max_conns) argument 272 struct hda_codec *codec; local 318 struct hda_codec *codec, *n; local 394 find_codec_preset(struct hda_codec *codec) argument 418 snd_hda_get_codec_name(struct hda_codec *codec, char *name, int namelen) argument 446 setup_fg_nodes(struct hda_codec *codec) argument 471 read_widget_caps(struct hda_codec *codec, hda_nid_t fg_node) argument 492 snd_hda_codec_free(struct hda_codec *codec) argument 518 struct hda_codec *codec; local 614 snd_hda_codec_setup_stream(struct hda_codec *codec, hda_nid_t nid, u32 stream_tag, int channel_id, int format) argument 639 init_amp_hash(struct hda_codec *codec) argument 648 get_alloc_amp_hash(struct hda_codec *codec, u32 key) argument 695 query_amp_caps(struct hda_codec *codec, hda_nid_t nid, int direction) argument 715 snd_hda_override_amp_caps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int caps) argument 732 get_vol_mute(struct hda_codec *codec, struct hda_amp_info *info, hda_nid_t nid, int ch, int direction, int index) argument 754 put_vol_mute(struct hda_codec *codec, struct hda_amp_info *info, hda_nid_t nid, int ch, int direction, int index, int val) argument 771 snd_hda_codec_amp_read(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int index) argument 784 snd_hda_codec_amp_update(struct hda_codec *codec, hda_nid_t nid, int ch, int direction, int idx, int mask, int val) argument 814 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 838 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 855 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 877 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 916 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 935 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 967 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 983 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 1039 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 1105 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 1144 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 1153 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 1221 snd_hda_create_spdif_out_ctls(struct hda_codec *codec, hda_nid_t nid) argument 1250 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 1259 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 1278 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 1320 snd_hda_create_spdif_in_ctls(struct hda_codec *codec, hda_nid_t nid) argument 1344 hda_set_power_state(struct hda_codec *codec, hda_nid_t fg, unsigned int power_state) argument 1376 struct hda_codec *codec; local 1506 snd_hda_query_supported_pcm(struct hda_codec *codec, hda_nid_t nid, u32 *ratesp, u64 *formatsp, unsigned int *bpsp) argument 1604 snd_hda_is_supported_format(struct hda_codec *codec, hda_nid_t nid, unsigned int format) argument 1674 hda_pcm_default_open_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 1681 hda_pcm_default_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument 1691 hda_pcm_default_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 1699 set_pcm_default_values(struct hda_codec *codec, struct hda_pcm_stream *info) argument 1752 struct hda_codec *codec; local 1790 snd_hda_check_board_config(struct hda_codec *codec, int num_configs, const char **models, const struct snd_pci_quirk *tbl) argument 1842 snd_hda_add_new_ctls(struct hda_codec *codec, struct snd_kcontrol_new *knew) argument 1872 snd_hda_ch_mode_info(struct hda_codec *codec, struct snd_ctl_elem_info *uinfo, const struct hda_channel_mode *chmode, int num_chmodes) argument 1887 snd_hda_ch_mode_get(struct hda_codec *codec, struct snd_ctl_elem_value *ucontrol, const struct hda_channel_mode *chmode, int num_chmodes, int max_channels) argument 1904 snd_hda_ch_mode_put(struct hda_codec *codec, struct snd_ctl_elem_value *ucontrol, const struct hda_channel_mode *chmode, int num_chmodes, int *max_channelsp) argument 1941 snd_hda_input_mux_put(struct hda_codec *codec, const struct hda_input_mux *imux, struct snd_ctl_elem_value *ucontrol, hda_nid_t nid, unsigned int *cur_val) argument 1966 setup_dig_out_stream(struct hda_codec *codec, hda_nid_t nid, unsigned int stream_tag, unsigned int format) argument 1983 snd_hda_multi_out_dig_open(struct hda_codec *codec, struct hda_multi_out *mout) argument 1995 snd_hda_multi_out_dig_prepare(struct hda_codec *codec, struct hda_multi_out *mout, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument 2010 snd_hda_multi_out_dig_close(struct hda_codec *codec, struct hda_multi_out *mout) argument 2022 snd_hda_multi_out_analog_open(struct hda_codec *codec, struct hda_multi_out *mout, struct snd_pcm_substream *substream) argument 2035 snd_hda_multi_out_analog_prepare(struct hda_codec *codec, struct hda_multi_out *mout, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument 2091 snd_hda_multi_out_analog_cleanup(struct hda_codec *codec, struct hda_multi_out *mout) argument 2170 snd_hda_parse_pin_def_config(struct hda_codec *codec, struct auto_pin_cfg *cfg, hda_nid_t *ignore_nids) argument 2370 struct hda_codec *codec; local 2391 struct hda_codec *codec; local 2412 snd_hda_resume_ctls(struct hda_codec *codec, struct snd_kcontrol_new *knew) argument 2447 snd_hda_resume_spdif_out(struct hda_codec *codec) argument 2456 snd_hda_resume_spdif_in(struct hda_codec *codec) argument [all...] |
H A D | patch_cmedia.c | 85 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 86 struct cmi_spec *spec = codec->spec; 92 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 93 struct cmi_spec *spec = codec->spec; 102 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 103 struct cmi_spec *spec = codec->spec; 106 return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol, 155 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 156 struct cmi_spec *spec = codec->spec; 157 return snd_hda_ch_mode_info(codec, uinf 163 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 171 struct hda_codec *codec = snd_kcontrol_chip(kcontrol); local 314 cmi9880_build_controls(struct hda_codec *codec) argument 342 cmi9880_fill_multi_dac_nids(struct hda_codec *codec, const struct auto_pin_cfg *cfg) argument 380 cmi9880_fill_multi_init(struct hda_codec *codec, const struct auto_pin_cfg *cfg) argument 414 cmi9880_init(struct hda_codec *codec) argument 430 cmi9880_resume(struct hda_codec *codec) argument 450 cmi9880_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 458 cmi9880_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument 469 cmi9880_playback_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 480 cmi9880_dig_playback_pcm_open(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 488 cmi9880_dig_playback_pcm_close(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 496 cmi9880_dig_playback_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument 510 cmi9880_capture_pcm_prepare(struct hda_pcm_stream *hinfo, struct hda_codec *codec, unsigned int stream_tag, unsigned int format, struct snd_pcm_substream *substream) argument 523 cmi9880_capture_pcm_cleanup(struct hda_pcm_stream *hinfo, struct hda_codec *codec, struct snd_pcm_substream *substream) argument 578 cmi9880_build_pcms(struct hda_codec *codec) argument 607 cmi9880_free(struct hda_codec *codec) argument 639 patch_cmi9880(struct hda_codec *codec) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/codecs/ |
H A D | Makefile | 1 obj-$(CONFIG_SND_AOA_ONYX) += snd-aoa-codec-onyx.o 2 obj-$(CONFIG_SND_AOA_TAS) += snd-aoa-codec-tas.o 3 obj-$(CONFIG_SND_AOA_TOONIE) += snd-aoa-codec-toonie.o
|
H A D | snd-aoa-codec-toonie.c | 2 * Apple Onboard Audio driver for Toonie codec 9 * This is a driver for the toonie codec chip. This chip is present 16 MODULE_DESCRIPTION("toonie codec driver for snd-aoa"); 22 #define PFX "snd-aoa-codec-toonie: " 25 struct aoa_codec codec; member in struct:toonie 27 #define codec_to_toonie(c) container_of(c, struct toonie, codec) 86 static int toonie_init_codec(struct aoa_codec *codec) argument 88 struct toonie *toonie = codec_to_toonie(codec); 91 if (toonie->codec.connected != 1) 99 if (toonie->codec 110 toonie_exit_codec(struct aoa_codec *codec) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/ |
H A D | videocodec.c | 4 * Interface for MJPEG (and maybe later MPEG/WAVELETS) codec's 58 struct videocodec *codec; member in struct:attached_list 63 const struct videocodec *codec; member in struct:codec_list 80 struct videocodec *codec; local 102 if ((master->flags & h->codec->flags) == master->flags) { 104 h->codec->name); 106 if (!try_module_get(h->codec->owner)) 109 codec = 111 if (!codec) { 117 memcpy(codec, 169 videocodec_detach(struct videocodec *codec) argument 234 videocodec_register(const struct videocodec *codec) argument 269 videocodec_unregister(const struct videocodec *codec) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/include/vorbis/ |
H A D | Makefile.am | 5 vorbisinclude_HEADERS = codec.h vorbisfile.h vorbisenc.h
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/aoa/core/ |
H A D | snd-aoa-core.c | 36 printk(KERN_ERR "snd-aoa: fabric didn't like codec %s\n", 46 printk(KERN_ERR "snd-aoa: codec %s didn't init\n", c->name); 58 int aoa_codec_register(struct aoa_codec *codec) argument 63 * will want to have this codec, so propagate error 66 err = attach_codec_to_fabric(codec); 68 list_add(&codec->list, &codec_list); 73 void aoa_codec_unregister(struct aoa_codec *codec) argument 75 list_del(&codec->list); 76 if (codec->fabric && codec 134 aoa_fabric_unlink_codec(struct aoa_codec *codec) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/codecs/ |
H A D | ac97.c | 2 * ac97.c -- ALSA Soc AC97 codec support 36 struct snd_soc_codec *codec = socdev->codec; local 40 return snd_ac97_set_rate(codec->ac97, reg, runtime->rate); 66 static unsigned int ac97_read(struct snd_soc_codec *codec, argument 69 return soc_ac97_ops.read(codec->ac97, reg); 72 static int ac97_write(struct snd_soc_codec *codec, unsigned int reg, argument 75 soc_ac97_ops.write(codec->ac97, reg, val); 82 struct snd_soc_codec *codec; local 89 socdev->codec 137 struct snd_soc_codec *codec = socdev->codec; local [all...] |
H A D | wm9712.c | 2 * wm9712.c -- ALSA Soc WM9712 codec support 32 static unsigned int ac97_read(struct snd_soc_codec *codec, 34 static int ac97_write(struct snd_soc_codec *codec, 162 static int wm9712_add_controls(struct snd_soc_codec *codec) argument 167 err = snd_ctl_add(codec->card, 168 snd_soc_cnew(&wm9712_snd_ac97_controls[i],codec, NULL)); 176 * the codec only has a single control that is shared by both channels. 183 l = ac97_read(w->codec, HPL_MIXER); 184 r = ac97_read(w->codec, HPR_MIXER); 185 beep = ac97_read(w->codec, AC97_PC_BEE 452 wm9712_add_widgets(struct snd_soc_codec *codec) argument 470 ac97_read(struct snd_soc_codec *codec, unsigned int reg) argument 489 ac97_write(struct snd_soc_codec *codec, unsigned int reg, unsigned int val) argument 507 struct snd_soc_codec *codec = socdev->codec; local 527 struct snd_soc_codec *codec = socdev->codec; local 577 wm9712_dapm_event(struct snd_soc_codec *codec, int event) argument 607 wm9712_reset(struct snd_soc_codec *codec, int try_warm) argument 629 struct snd_soc_codec *codec = socdev->codec; local 638 struct snd_soc_codec *codec = socdev->codec; local 669 struct snd_soc_codec *codec; local 748 struct snd_soc_codec *codec = socdev->codec; local [all...] |
H A D | wm8731.c | 56 /* codec private data */ 76 static inline unsigned int wm8731_read_reg_cache(struct snd_soc_codec *codec, argument 79 u16 *cache = codec->reg_cache; 90 static inline void wm8731_write_reg_cache(struct snd_soc_codec *codec, argument 93 u16 *cache = codec->reg_cache; 102 static int wm8731_write(struct snd_soc_codec *codec, unsigned int reg, argument 114 wm8731_write_reg_cache (codec, reg, value); 115 if (codec->hw_write(codec->control_data, data, 2) == 2) 153 static int wm8731_add_controls(struct snd_soc_codec *codec) argument 221 wm8731_add_widgets(struct snd_soc_codec *codec) argument 299 struct snd_soc_codec *codec = socdev->codec; local 328 struct snd_soc_codec *codec = socdev->codec; local 340 struct snd_soc_codec *codec = socdev->codec; local 351 struct snd_soc_codec *codec = dai->codec; local 364 struct snd_soc_codec *codec = codec_dai->codec; local 383 struct snd_soc_codec *codec = codec_dai->codec; local 439 wm8731_dapm_event(struct snd_soc_codec *codec, int event) argument 504 struct snd_soc_codec *codec = socdev->codec; local 514 struct snd_soc_codec *codec = socdev->codec; local 536 struct snd_soc_codec *codec = socdev->codec; local 616 struct snd_soc_codec *codec = socdev->codec; local 655 struct snd_soc_codec* codec = i2c_get_clientdata(client); local 689 struct snd_soc_codec *codec; local 731 struct snd_soc_codec *codec = socdev->codec; local [all...] |
H A D | wm8753.c | 14 * The WM8753 is a low power, high quality stereo codec with integrated PCM 15 * codec designed for portable digital telephony applications. 24 * codec or GSM modem and thus cannot be read or written to, although it is 81 static void wm8753_set_dai_mode(struct snd_soc_codec *codec, 84 /* codec private data */ 117 static inline unsigned int wm8753_read_reg_cache(struct snd_soc_codec *codec, argument 120 u16 *cache = codec->reg_cache; 129 static inline void wm8753_write_reg_cache(struct snd_soc_codec *codec, argument 132 u16 *cache = codec->reg_cache; 141 static int wm8753_write(struct snd_soc_codec *codec, unsigne argument 237 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local 247 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local 334 wm8753_add_controls(struct snd_soc_codec *codec) argument 676 wm8753_add_widgets(struct snd_soc_codec *codec) argument 745 struct snd_soc_codec *codec = codec_dai->codec; local 866 struct snd_soc_codec *codec = codec_dai->codec; local 893 struct snd_soc_codec *codec = codec_dai->codec; local 928 struct snd_soc_codec *codec = socdev->codec; local 963 struct snd_soc_codec *codec = codec_dai->codec; local 1029 struct snd_soc_codec *codec = codec_dai->codec; local 1057 struct snd_soc_codec *codec = codec_dai->codec; local 1090 struct snd_soc_codec *codec = codec_dai->codec; local 1161 struct snd_soc_codec *codec = socdev->codec; local 1198 struct snd_soc_codec *codec = codec_dai->codec; local 1221 struct snd_soc_codec *codec = codec_dai->codec; local 1236 struct snd_soc_codec *codec = codec_dai->codec; local 1252 struct snd_soc_codec *codec = dai->codec; local 1271 wm8753_dapm_event(struct snd_soc_codec *codec, int event) argument 1458 wm8753_set_dai_mode(struct snd_soc_codec *codec, unsigned int mode) argument 1494 struct snd_soc_codec *codec = local 1502 struct snd_soc_codec *codec = socdev->codec; local 1515 struct snd_soc_codec *codec = socdev->codec; local 1552 struct snd_soc_codec *codec = socdev->codec; local 1648 struct snd_soc_codec *codec = socdev->codec; local 1688 struct snd_soc_codec *codec = i2c_get_clientdata(client); local 1722 struct snd_soc_codec *codec; local 1784 struct snd_soc_codec *codec = socdev->codec; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/soc/pxa/ |
H A D | spitz.c | 56 static void spitz_ext_control(struct snd_soc_codec *codec) argument 59 snd_soc_dapm_set_endpoint(codec, "Ext Spk", 1); 61 snd_soc_dapm_set_endpoint(codec, "Ext Spk", 0); 67 snd_soc_dapm_set_endpoint(codec, "Headset Jack", 0); 68 snd_soc_dapm_set_endpoint(codec, "Mic Jack", 0); 69 snd_soc_dapm_set_endpoint(codec, "Line Jack", 0); 70 snd_soc_dapm_set_endpoint(codec, "Headphone Jack", 1); 76 snd_soc_dapm_set_endpoint(codec, "Headphone Jack", 0); 77 snd_soc_dapm_set_endpoint(codec, "Headset Jack", 0); 78 snd_soc_dapm_set_endpoint(codec, "Lin 118 struct snd_soc_codec *codec = rtd->socdev->codec; local 190 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local 210 struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol); local 295 spitz_wm8750_init(struct snd_soc_codec *codec) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/ali5451/ |
H A D | ali5451.c | 169 #define ALI_REG(codec, x) ((codec)->port + x) 208 struct snd_ali *codec; member in struct:snd_ali_voice 294 static inline unsigned int snd_ali_5451_peek(struct snd_ali *codec, argument 297 return (unsigned int)inl(ALI_REG(codec, port)); 300 static inline void snd_ali_5451_poke(struct snd_ali *codec, argument 304 outl((unsigned int)val, ALI_REG(codec, port)); 307 static int snd_ali_codec_ready(struct snd_ali *codec, argument 315 res = snd_ali_5451_peek(codec,port); 320 snd_ali_5451_poke(codec, por 325 snd_ali_stimer_ready(struct snd_ali *codec) argument 344 snd_ali_codec_poke(struct snd_ali *codec,int secondary, unsigned short reg, unsigned short val) argument 375 snd_ali_codec_peek(struct snd_ali *codec, int secondary, unsigned short reg) argument 413 struct snd_ali *codec = ac97->private_data; local 429 struct snd_ali *codec = ac97->private_data; local 439 snd_ali_reset_5451(struct snd_ali *codec) argument 478 snd_ali_reset_codec(struct snd_ali *codec) argument 519 snd_ali_enable_special_channel(struct snd_ali *codec, unsigned int channel) argument 529 snd_ali_disable_special_channel(struct snd_ali *codec, unsigned int channel) argument 539 snd_ali_enable_address_interrupt(struct snd_ali *codec) argument 549 snd_ali_disable_address_interrupt(struct snd_ali *codec) argument 560 snd_ali_disable_voice_irq(struct snd_ali *codec, unsigned int channel) argument 574 snd_ali_alloc_pcm_channel(struct snd_ali *codec, int channel) argument 593 snd_ali_find_free_channel(struct snd_ali * codec, int rec) argument 641 snd_ali_free_channel_pcm(struct snd_ali *codec, int channel) argument 661 snd_ali_stop_voice(struct snd_ali *codec, unsigned int channel) argument 673 snd_ali_delay(struct snd_ali *codec,int interval) argument 688 snd_ali_detect_spdif_rate(struct snd_ali *codec) argument 745 snd_ali_get_spdif_in_rate(struct snd_ali *codec) argument 770 snd_ali_enable_spdif_in(struct snd_ali *codec) argument 785 snd_ali_disable_spdif_in(struct snd_ali *codec) argument 797 snd_ali_set_spdif_out_rate(struct snd_ali *codec, unsigned int rate) argument 820 snd_ali_enable_spdif_out(struct snd_ali *codec) argument 853 snd_ali_enable_spdif_chnout(struct snd_ali *codec) argument 871 snd_ali_disable_spdif_chnout(struct snd_ali *codec) argument 882 snd_ali_disable_spdif_out(struct snd_ali *codec) argument 892 snd_ali_update_ptr(struct snd_ali *codec, int channel) argument 950 struct snd_ali *codec = dev_id; local 976 snd_ali_alloc_voice(struct snd_ali * codec, int type, int rec, int channel) argument 1006 snd_ali_free_voice(struct snd_ali * codec, struct snd_ali_voice *pvoice) argument 1031 snd_ali_clear_voices(struct snd_ali *codec, unsigned int v_min, unsigned int v_max) argument 1043 snd_ali_write_voice_regs(struct snd_ali *codec, unsigned int Channel, unsigned int LBA, unsigned int CSO, unsigned int ESO, unsigned int DELTA, unsigned int ALPHA_FMS, unsigned int GVSEL, unsigned int PAN, unsigned int VOL, unsigned int CTRL, unsigned int EC) argument 1138 struct snd_ali *codec = snd_pcm_substream_chip(substream); local 1204 struct snd_ali *codec = snd_pcm_substream_chip(substream); local 1240 struct snd_ali *codec = snd_pcm_substream_chip(substream); local 1267 struct snd_ali *codec = snd_pcm_substream_chip(substream); local 1359 struct snd_ali *codec = snd_pcm_substream_chip(substream); local 1447 struct snd_ali *codec = snd_pcm_substream_chip(substream); local 1468 struct snd_ali *codec = snd_pcm_substream_chip(substream); local 1536 struct snd_ali *codec; local 1547 struct snd_ali *codec = snd_pcm_substream_chip(substream); local 1584 struct snd_ali *codec = snd_pcm_substream_chip(substream); local 1713 struct snd_ali *codec = pcm->private_data; local 1718 snd_ali_pcm(struct snd_ali * codec, int device, struct ali_pcm_description *desc) argument 1767 snd_ali_build_pcms(struct snd_ali *codec) argument 1797 struct snd_ali *codec = kcontrol->private_data; local 1825 struct snd_ali *codec = kcontrol->private_data; local 1889 snd_ali_mixer(struct snd_ali * codec) argument 2031 snd_ali_free(struct snd_ali * codec) argument 2051 snd_ali_chip_init(struct snd_ali *codec) argument 2115 struct snd_ali *codec = entry->private_data; local 2121 snd_ali_proc_init(struct snd_ali *codec) argument 2128 snd_ali_resources(struct snd_ali *codec) argument 2149 struct snd_ali *codec = device->device_data; local 2160 struct snd_ali *codec; local 2292 struct snd_ali *codec; local [all...] |