codec 268 include/linux/ac97_codec.h u16 (*codec_read) (struct ac97_codec *codec, u8 reg);
codec 269 include/linux/ac97_codec.h void (*codec_write) (struct ac97_codec *codec, u8 reg, u16 val);
codec 272 include/linux/ac97_codec.h void (*codec_wait) (struct ac97_codec *codec);
codec 275 include/linux/ac97_codec.h void (*codec_unregister) (struct ac97_codec *codec);
codec 294 include/linux/ac97_codec.h int (*read_mixer) (struct ac97_codec *codec, int oss_channel);
codec 295 include/linux/ac97_codec.h void (*write_mixer)(struct ac97_codec *codec, int oss_channel,
codec 297 include/linux/ac97_codec.h int (*recmask_io) (struct ac97_codec *codec, int rw, int mask);
codec 298 include/linux/ac97_codec.h int (*mixer_ioctl)(struct ac97_codec *codec, unsigned int cmd, unsigned long arg);
codec 304 include/linux/ac97_codec.h int (*modem_ioctl)(struct ac97_codec *codec, unsigned int cmd, unsigned long arg);
codec 316 include/linux/ac97_codec.h int (*amplifier)(struct ac97_codec *codec, int on);
codec 318 include/linux/ac97_codec.h int (*digital)(struct ac97_codec *codec, int slots, int rate, int mode);
codec 339 include/linux/ac97_codec.h int (*probe) (struct ac97_codec *codec, struct ac97_driver *driver);
codec 340 include/linux/ac97_codec.h void (*remove) (struct ac97_codec *codec, struct ac97_driver *driver);
codec 582 include/linux/mfd/wm8350/core.h struct wm8350_codec codec;
codec 267 include/linux/wm97xx.h struct wm97xx_codec_drv *codec; /* attached codec driver*/
codec 453 include/sound/ac97_codec.h struct snd_ac97 *codec[4];
codec 627 include/sound/ac97_codec.h struct snd_ac97 *codec[4]; /* allocated codecs */
codec 58 include/sound/es1688.h #define ES1688P(codec, x) ((codec)->port + e_s_s_ESS1688##x)
codec 303 include/sound/soc-dapm.h struct snd_soc_codec *codec;
codec 252 include/sound/soc.h #define snd_soc_read(codec, reg) codec->read(codec, reg)
codec 253 include/sound/soc.h #define snd_soc_write(codec, reg, value) codec->write(codec, reg, value)
codec 389 include/sound/soc.h struct snd_soc_codec *codec;
codec 480 include/sound/soc.h int (*init)(struct snd_soc_codec *codec);
codec 514 include/sound/soc.h struct snd_soc_codec *codec;
codec 105 include/sound/vx_core.h void (*write_codec)(struct vx_core *chip, int codec, unsigned int data);
codec 28 sound/aoa/aoa.h int (*init)(struct aoa_codec *codec);
codec 32 sound/aoa/aoa.h void (*exit)(struct aoa_codec *codec);
codec 77 sound/aoa/aoa.h int (*found_codec)(struct aoa_codec *codec);
codec 84 sound/aoa/aoa.h void (*remove_codec)(struct aoa_codec *codec);
codec 87 sound/aoa/aoa.h void (*attached_codec)(struct aoa_codec *codec);
codec 51 sound/aoa/codecs/snd-aoa-codec-onyx.c struct aoa_codec codec;
codec 64 sound/aoa/codecs/snd-aoa-codec-onyx.c #define codec_to_onyx(c) container_of(c, struct onyx, codec)
codec 784 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.gpio->methods->all_amps_off(onyx->codec.gpio);
codec 787 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.gpio->methods->all_amps_restore(onyx->codec.gpio);
codec 826 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0);
codec 828 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1);
codec 830 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0);
codec 868 sound/aoa/codecs/snd-aoa-codec-onyx.c struct onyx *onyx = codec_to_onyx(codec);
codec 874 sound/aoa/codecs/snd-aoa-codec-onyx.c if (!onyx->codec.gpio || !onyx->codec.gpio->methods) {
codec 879 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0);
codec 881 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1);
codec 883 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0);
codec 897 sound/aoa/codecs/snd-aoa-codec-onyx.c if ((onyx->codec.connected & 0xF) == 0)
codec 901 sound/aoa/codecs/snd-aoa-codec-onyx.c if ((onyx->codec.connected & 0xC) == 0) {
codec 912 sound/aoa/codecs/snd-aoa-codec-onyx.c if ((onyx->codec.connected & 3) == 0) {
codec 924 sound/aoa/codecs/snd-aoa-codec-onyx.c if (onyx->codec.soundbus_dev->attach_codec(onyx->codec.soundbus_dev,
codec 935 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.soundbus_dev->pcm->device; \
codec 942 sound/aoa/codecs/snd-aoa-codec-onyx.c if (onyx->codec.soundbus_dev->pcm) {
codec 945 sound/aoa/codecs/snd-aoa-codec-onyx.c if ((onyx->codec.connected & 0xC) == 0xC)
codec 947 sound/aoa/codecs/snd-aoa-codec-onyx.c else if (onyx->codec.connected & 4)
codec 951 sound/aoa/codecs/snd-aoa-codec-onyx.c if (onyx->codec.connected & 0xC)
codec 956 sound/aoa/codecs/snd-aoa-codec-onyx.c if (onyx->codec.connected & 1) {
codec 965 sound/aoa/codecs/snd-aoa-codec-onyx.c if (onyx->codec.connected & 2) {
codec 969 sound/aoa/codecs/snd-aoa-codec-onyx.c if ((onyx->codec.connected & 3) == 3)
codec 972 sound/aoa/codecs/snd-aoa-codec-onyx.c if ((onyx->codec.connected & 3) == 2) {
codec 983 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.soundbus_dev->detach_codec(onyx->codec.soundbus_dev, onyx);
codec 990 sound/aoa/codecs/snd-aoa-codec-onyx.c struct onyx *onyx = codec_to_onyx(codec);
codec 992 sound/aoa/codecs/snd-aoa-codec-onyx.c if (!onyx->codec.soundbus_dev) {
codec 996 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.soundbus_dev->detach_codec(onyx->codec.soundbus_dev, onyx);
codec 1032 sound/aoa/codecs/snd-aoa-codec-onyx.c strlcpy(onyx->codec.name, "onyx", MAX_CODEC_NAME_LEN);
codec 1033 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.owner = THIS_MODULE;
codec 1034 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.init = onyx_init_codec;
codec 1035 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.exit = onyx_exit_codec;
codec 1036 sound/aoa/codecs/snd-aoa-codec-onyx.c onyx->codec.node = of_node_get(node);
codec 1038 sound/aoa/codecs/snd-aoa-codec-onyx.c if (aoa_codec_register(&onyx->codec)) {
codec 1090 sound/aoa/codecs/snd-aoa-codec-onyx.c aoa_codec_unregister(&onyx->codec);
codec 1091 sound/aoa/codecs/snd-aoa-codec-onyx.c of_node_put(onyx->codec.node);
codec 84 sound/aoa/codecs/snd-aoa-codec-tas.c struct aoa_codec codec;
codec 105 sound/aoa/codecs/snd-aoa-codec-tas.c return container_of(codec, struct tas, codec);
codec 681 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.gpio->methods->all_amps_off(tas->codec.gpio);
codec 683 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0);
codec 685 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 1);
codec 687 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0);
codec 689 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio);
codec 727 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.gpio->methods->all_amps_off(tas->codec.gpio);
codec 737 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio);
codec 804 sound/aoa/codecs/snd-aoa-codec-tas.c struct tas *tas = codec_to_tas(codec);
codec 807 sound/aoa/codecs/snd-aoa-codec-tas.c if (!tas->codec.gpio || !tas->codec.gpio->methods) {
codec 821 sound/aoa/codecs/snd-aoa-codec-tas.c if (tas->codec.soundbus_dev->attach_codec(tas->codec.soundbus_dev,
codec 870 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.soundbus_dev->detach_codec(tas->codec.soundbus_dev, tas);
codec 877 sound/aoa/codecs/snd-aoa-codec-tas.c struct tas *tas = codec_to_tas(codec);
codec 879 sound/aoa/codecs/snd-aoa-codec-tas.c if (!tas->codec.soundbus_dev)
codec 881 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.soundbus_dev->detach_codec(tas->codec.soundbus_dev, tas);
codec 911 sound/aoa/codecs/snd-aoa-codec-tas.c strlcpy(tas->codec.name, "tas", MAX_CODEC_NAME_LEN);
codec 912 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.owner = THIS_MODULE;
codec 913 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.init = tas_init_codec;
codec 914 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.exit = tas_exit_codec;
codec 915 sound/aoa/codecs/snd-aoa-codec-tas.c tas->codec.node = of_node_get(node);
codec 917 sound/aoa/codecs/snd-aoa-codec-tas.c if (aoa_codec_register(&tas->codec)) {
codec 981 sound/aoa/codecs/snd-aoa-codec-tas.c aoa_codec_unregister(&tas->codec);
codec 982 sound/aoa/codecs/snd-aoa-codec-tas.c of_node_put(tas->codec.node);
codec 25 sound/aoa/codecs/snd-aoa-codec-toonie.c struct aoa_codec codec;
codec 27 sound/aoa/codecs/snd-aoa-codec-toonie.c #define codec_to_toonie(c) container_of(c, struct toonie, codec)
codec 88 sound/aoa/codecs/snd-aoa-codec-toonie.c struct toonie *toonie = codec_to_toonie(codec);
codec 91 sound/aoa/codecs/snd-aoa-codec-toonie.c if (toonie->codec.connected != 1)
codec 99 sound/aoa/codecs/snd-aoa-codec-toonie.c if (toonie->codec.soundbus_dev->attach_codec(toonie->codec.soundbus_dev,
codec 112 sound/aoa/codecs/snd-aoa-codec-toonie.c struct toonie *toonie = codec_to_toonie(codec);
codec 114 sound/aoa/codecs/snd-aoa-codec-toonie.c if (!toonie->codec.soundbus_dev) {
codec 118 sound/aoa/codecs/snd-aoa-codec-toonie.c toonie->codec.soundbus_dev->detach_codec(toonie->codec.soundbus_dev, toonie);
codec 130 sound/aoa/codecs/snd-aoa-codec-toonie.c strlcpy(toonie->codec.name, "toonie", sizeof(toonie->codec.name));
codec 131 sound/aoa/codecs/snd-aoa-codec-toonie.c toonie->codec.owner = THIS_MODULE;
codec 132 sound/aoa/codecs/snd-aoa-codec-toonie.c toonie->codec.init = toonie_init_codec;
codec 133 sound/aoa/codecs/snd-aoa-codec-toonie.c toonie->codec.exit = toonie_exit_codec;
codec 135 sound/aoa/codecs/snd-aoa-codec-toonie.c if (aoa_codec_register(&toonie->codec)) {
codec 145 sound/aoa/codecs/snd-aoa-codec-toonie.c aoa_codec_unregister(&toonie->codec);
codec 66 sound/aoa/core/snd-aoa-core.c err = attach_codec_to_fabric(codec);
codec 68 sound/aoa/core/snd-aoa-core.c list_add(&codec->list, &codec_list);
codec 75 sound/aoa/core/snd-aoa-core.c list_del(&codec->list);
codec 76 sound/aoa/core/snd-aoa-core.c if (codec->fabric && codec->exit)
codec 77 sound/aoa/core/snd-aoa-core.c codec->exit(codec);
codec 79 sound/aoa/core/snd-aoa-core.c fabric->remove_codec(codec);
codec 80 sound/aoa/core/snd-aoa-core.c codec->fabric = NULL;
codec 81 sound/aoa/core/snd-aoa-core.c module_put(codec->owner);
codec 136 sound/aoa/core/snd-aoa-core.c if (!codec->fabric) {
codec 142 sound/aoa/core/snd-aoa-core.c if (codec->exit)
codec 143 sound/aoa/core/snd-aoa-core.c codec->exit(codec);
codec 144 sound/aoa/core/snd-aoa-core.c if (codec->fabric->remove_codec)
codec 145 sound/aoa/core/snd-aoa-core.c codec->fabric->remove_codec(codec);
codec 146 sound/aoa/core/snd-aoa-core.c codec->fabric = NULL;
codec 147 sound/aoa/core/snd-aoa-core.c module_put(codec->owner);
codec 724 sound/aoa/fabrics/snd-aoa-fabric-layout.c if (codec->node && (strcmp(codec->node->name, "codec") == 0)) {
codec 726 sound/aoa/fabrics/snd-aoa-fabric-layout.c "platform-%s-codec-ref", codec->name);
codec 733 sound/aoa/fabrics/snd-aoa-fabric-layout.c if (*ref != codec->node->linux_phandle) {
codec 745 sound/aoa/fabrics/snd-aoa-fabric-layout.c codec->soundbus_dev = ldev->sdev;
codec 746 sound/aoa/fabrics/snd-aoa-fabric-layout.c codec->gpio = &ldev->gpio;
codec 754 sound/aoa/fabrics/snd-aoa-fabric-layout.c codec->connected = 0;
codec 755 sound/aoa/fabrics/snd-aoa-fabric-layout.c codec->fabric_data = cc;
codec 758 sound/aoa/fabrics/snd-aoa-fabric-layout.c codec->connected |= 1<<cc->codec_bit;
codec 774 sound/aoa/fabrics/snd-aoa-fabric-layout.c if (strcmp(ldev->layout->codecs[i].name, codec->name) == 0) {
codec 775 sound/aoa/fabrics/snd-aoa-fabric-layout.c if (check_codec(codec,
codec 791 sound/aoa/fabrics/snd-aoa-fabric-layout.c codec->soundbus_dev = NULL;
codec 792 sound/aoa/fabrics/snd-aoa-fabric-layout.c codec->gpio = NULL;
codec 851 sound/aoa/fabrics/snd-aoa-fabric-layout.c cc = codec->fabric_data;
codec 853 sound/aoa/fabrics/snd-aoa-fabric-layout.c headphones = codec->gpio->methods->get_detect(codec->gpio,
codec 855 sound/aoa/fabrics/snd-aoa-fabric-layout.c lineout = codec->gpio->methods->get_detect(codec->gpio,
codec 861 sound/aoa/fabrics/snd-aoa-fabric-layout.c ldev->gpio.methods->set_speakers(codec->gpio, 1);
codec 862 sound/aoa/fabrics/snd-aoa-fabric-layout.c ctl = snd_ctl_new1(&speakers_ctl, codec->gpio);
codec 868 sound/aoa/fabrics/snd-aoa-fabric-layout.c ldev->gpio.methods->set_headphone(codec->gpio, 1);
codec 869 sound/aoa/fabrics/snd-aoa-fabric-layout.c ctl = snd_ctl_new1(&headphone_ctl, codec->gpio);
codec 890 sound/aoa/fabrics/snd-aoa-fabric-layout.c ldev->gpio.methods->set_lineout(codec->gpio, 1);
codec 891 sound/aoa/fabrics/snd-aoa-fabric-layout.c ctl = snd_ctl_new1(&lineout_ctl, codec->gpio);
codec 383 sound/aoa/soundbus/i2sbus/i2sbus-core.c if (cii->codec->suspend)
codec 384 sound/aoa/soundbus/i2sbus/i2sbus-core.c err = cii->codec->suspend(cii, state);
codec 410 sound/aoa/soundbus/i2sbus/i2sbus-core.c if (cii->codec->resume)
codec 411 sound/aoa/soundbus/i2sbus/i2sbus-core.c err = cii->codec->resume(cii);
codec 100 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c struct transfer_info *ti = cii->codec->transfers;
codec 101 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c bus_factor = cii->codec->bus_factor;
codec 102 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c sysclock_factor = cii->codec->sysclock_factor;
codec 106 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c && cii->codec->usable(cii, ti, &v)) {
codec 201 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (cii->codec->open) {
codec 202 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = cii->codec->open(cii, pi->substream);
codec 209 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (found_this && rev->codec->close) {
codec 210 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c rev->codec->close(rev,
codec 239 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (cii->codec->close) {
codec 240 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c tmp = cii->codec->close(cii, pi->substream);
codec 419 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c bi.bus_factor = cii->codec->bus_factor;
codec 441 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c bi.sysclock_factor = cii->codec->sysclock_factor;
codec 465 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (cii->codec->prepare)
codec 466 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c err = cii->codec->prepare(cii, &bi, pi->substream);
codec 491 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (cii->codec->switch_clock)
codec 492 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c cii->codec->switch_clock(cii, CLOCK_SWITCH_PREPARE_SLAVE);
codec 521 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (cii->codec->switch_clock)
codec 522 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c cii->codec->switch_clock(cii, CLOCK_SWITCH_SLAVE);
codec 556 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (cii->codec->start)
codec 557 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c cii->codec->start(cii, pi->substream);
codec 605 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (cii->codec->stop)
codec 606 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c cii->codec->stop(cii, pi->substream);
codec 871 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c module_put(p->codec->owner);
codec 910 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (cii->codec->sysclock_factor != ci->sysclock_factor) {
codec 915 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c if (cii->codec->bus_factor != ci->bus_factor) {
codec 939 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c cii->codec = ci;
codec 1054 sound/aoa/soundbus/i2sbus/i2sbus-pcm.c module_put(cii->codec->owner);
codec 47 sound/aoa/soundbus/soundbus.h struct codec_info *codec;
codec 361 sound/arm/aaci.c return aaci->ac97_bus->codec[s->codec_idx]->rates[s->rate_idx];
codec 44 sound/drivers/vx/vx_mixer.c chip->ops->write_codec(chip, codec, data);
codec 96 sound/drivers/vx/vx_mixer.c vx_write_codec_reg(chip, codec, data.l);
codec 116 sound/drivers/vx/vx_mixer.c vx_set_codec_reg(chip, codec, XX_CODEC_LEVEL_LEFT_REGISTER, left);
codec 117 sound/drivers/vx/vx_mixer.c vx_set_codec_reg(chip, codec, XX_CODEC_LEVEL_RIGHT_REGISTER, right);
codec 430 sound/drivers/vx/vx_mixer.c int codec = kcontrol->id.index;
codec 432 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[0] = chip->output_level[codec][0];
codec 433 sound/drivers/vx/vx_mixer.c ucontrol->value.integer.value[1] = chip->output_level[codec][1];
codec 441 sound/drivers/vx/vx_mixer.c int codec = kcontrol->id.index;
codec 450 sound/drivers/vx/vx_mixer.c if (val[0] != chip->output_level[codec][0] ||
codec 451 sound/drivers/vx/vx_mixer.c val[1] != chip->output_level[codec][1]) {
codec 452 sound/drivers/vx/vx_mixer.c vx_set_analog_output_level(chip, codec, val[0], val[1]);
codec 453 sound/drivers/vx/vx_mixer.c chip->output_level[codec][0] = val[0];
codec 454 sound/drivers/vx/vx_mixer.c chip->output_level[codec][1] = val[1];
codec 1225 sound/isa/opti9xx/miro.c struct snd_wss *codec;
codec 1322 sound/isa/opti9xx/miro.c WSS_HW_AD1845, 0, &codec);
codec 1328 sound/isa/opti9xx/miro.c error = snd_wss_pcm(codec, 0, &pcm);
codec 1333 sound/isa/opti9xx/miro.c error = snd_wss_mixer(codec);
codec 1338 sound/isa/opti9xx/miro.c error = snd_wss_timer(codec, 0, &timer);
codec 138 sound/isa/opti9xx/opti92x-ad1848.c struct snd_wss *codec;
codec 557 sound/isa/opti9xx/opti92x-ad1848.c struct snd_wss *codec = dev_id;
codec 558 sound/isa/opti9xx/opti92x-ad1848.c struct snd_opti9xx *chip = codec->card->private_data;
codec 562 sound/isa/opti9xx/opti92x-ad1848.c if ((status & OPTi93X_IRQ_PLAYBACK) && codec->playback_substream)
codec 563 sound/isa/opti9xx/opti92x-ad1848.c snd_pcm_period_elapsed(codec->playback_substream);
codec 564 sound/isa/opti9xx/opti92x-ad1848.c if ((status & OPTi93X_IRQ_CAPTURE) && codec->capture_substream) {
codec 565 sound/isa/opti9xx/opti92x-ad1848.c snd_wss_overrange(codec);
codec 566 sound/isa/opti9xx/opti92x-ad1848.c snd_pcm_period_elapsed(codec->capture_substream);
codec 568 sound/isa/opti9xx/opti92x-ad1848.c outb(0x00, OPTi93X_PORT(codec, STATUS));
codec 686 sound/isa/opti9xx/opti92x-ad1848.c struct snd_wss *codec = chip->codec;
codec 687 sound/isa/opti9xx/opti92x-ad1848.c if (codec && codec->irq > 0) {
codec 688 sound/isa/opti9xx/opti92x-ad1848.c disable_irq(codec->irq);
codec 689 sound/isa/opti9xx/opti92x-ad1848.c free_irq(codec->irq, codec);
codec 701 sound/isa/opti9xx/opti92x-ad1848.c struct snd_wss *codec;
codec 744 sound/isa/opti9xx/opti92x-ad1848.c &codec);
codec 748 sound/isa/opti9xx/opti92x-ad1848.c chip->codec = codec;
codec 750 sound/isa/opti9xx/opti92x-ad1848.c error = snd_wss_pcm(codec, 0, &pcm);
codec 753 sound/isa/opti9xx/opti92x-ad1848.c error = snd_wss_mixer(codec);
codec 757 sound/isa/opti9xx/opti92x-ad1848.c error = snd_wss_timer(codec, 0, &timer);
codec 763 sound/isa/opti9xx/opti92x-ad1848.c IRQF_DISABLED, DEV_NAME" - WSS", codec);
codec 823 sound/isa/sscape.c int codec = s->wss_base;
codec 865 sound/isa/sscape.c codec += 4;
codec 868 sound/isa/sscape.c if ((inb(codec) & 0x80) == 0)
codec 327 sound/mips/hal2.c codec->master = 44100;
codec 330 sound/mips/hal2.c codec->master = 48000;
codec 333 sound/mips/hal2.c codec->inc = 4;
codec 334 sound/mips/hal2.c codec->mod = mod;
codec 335 sound/mips/hal2.c rate = 4 * codec->master / mod;
codec 458 sound/mips/hal2.c codec->buffer = dma_alloc_noncoherent(NULL, H2_BUF_SIZE,
codec 460 sound/mips/hal2.c if (!codec->buffer)
codec 466 sound/mips/hal2.c codec->buffer, buffer_dma);
codec 469 sound/mips/hal2.c codec->buffer_dma = buffer_dma;
codec 470 sound/mips/hal2.c codec->desc_dma = desc_dma;
codec 471 sound/mips/hal2.c codec->desc = desc;
codec 479 sound/mips/hal2.c dma_cache_sync(NULL, codec->desc, count * sizeof(struct hal2_desc),
codec 481 sound/mips/hal2.c codec->desc_count = count;
codec 487 sound/mips/hal2.c dma_free_noncoherent(NULL, codec->desc_count * sizeof(struct hal2_desc),
codec 488 sound/mips/hal2.c codec->desc, codec->desc_dma);
codec 489 sound/mips/hal2.c dma_free_noncoherent(NULL, H2_BUF_SIZE, codec->buffer,
codec 490 sound/mips/hal2.c codec->buffer_dma);
codec 775 sound/mips/hal2.c codec->pbus.pbusnr = index;
codec 776 sound/mips/hal2.c codec->pbus.pbus = &hpc3->pbdma[index];
codec 282 sound/oss/ac97_codec.c val = codec->codec_read(codec , mh->offset);
codec 299 sound/oss/ac97_codec.c scale = (1 << codec->bit_resolution);
codec 312 sound/oss/ac97_codec.c scale = (1 << codec->bit_resolution);
codec 327 sound/oss/ac97_codec.c oss_channel, codec->id ? "Secondary" : "Primary",
codec 346 sound/oss/ac97_codec.c oss_channel, codec->id ? "Secondary" : "Primary",
codec 366 sound/oss/ac97_codec.c scale = (1 << codec->bit_resolution);
codec 380 sound/oss/ac97_codec.c val = codec->codec_read(codec , mh->offset) & ~0x0f00;
codec 386 sound/oss/ac97_codec.c val = codec->codec_read(codec , mh->offset) & ~0x000f;
codec 404 sound/oss/ac97_codec.c scale = (1 << codec->bit_resolution);
codec 410 sound/oss/ac97_codec.c val = codec->codec_read(codec , mh->offset) & ~0x801f;
codec 422 sound/oss/ac97_codec.c codec->codec_write(codec, mh->offset, val);
codec 425 sound/oss/ac97_codec.c val = codec->codec_read(codec, mh->offset);
codec 442 sound/oss/ac97_codec.c codec->mixer_state[oss_mixer] = (right << 8) | left;
codec 443 sound/oss/ac97_codec.c codec->write_mixer(codec, oss_mixer, left, right);
codec 456 sound/oss/ac97_codec.c val = codec->codec_read(codec, AC97_RECORD_SELECT);
codec 466 sound/oss/ac97_codec.c val = (1 << ac97_rm2oss[codec->codec_read(codec, AC97_RECORD_SELECT) & 0x07]);
codec 478 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_RECORD_SELECT, val);
codec 490 sound/oss/ac97_codec.c strlcpy(info.id, codec->name, sizeof(info.id));
codec 491 sound/oss/ac97_codec.c strlcpy(info.name, codec->name, sizeof(info.name));
codec 492 sound/oss/ac97_codec.c info.modify_counter = codec->modcnt;
codec 500 sound/oss/ac97_codec.c strlcpy(info.id, codec->name, sizeof(info.id));
codec 501 sound/oss/ac97_codec.c strlcpy(info.name, codec->name, sizeof(info.name));
codec 516 sound/oss/ac97_codec.c if (!codec->recmask_io) {
codec 519 sound/oss/ac97_codec.c val = codec->recmask_io(codec, 1, 0);
codec 524 sound/oss/ac97_codec.c val = codec->supported_mixers;
codec 528 sound/oss/ac97_codec.c val = codec->record_sources;
codec 532 sound/oss/ac97_codec.c val = codec->stereo_mixers;
codec 542 sound/oss/ac97_codec.c if (!supported_mixer(codec, i))
codec 547 sound/oss/ac97_codec.c val = codec->mixer_state[i];
codec 554 sound/oss/ac97_codec.c codec->modcnt++;
codec 560 sound/oss/ac97_codec.c if (!codec->recmask_io) return -EINVAL;
codec 562 sound/oss/ac97_codec.c if (!(val &= codec->record_sources)) return -EINVAL;
codec 564 sound/oss/ac97_codec.c codec->recmask_io(codec, 0, val);
codec 570 sound/oss/ac97_codec.c if (!supported_mixer(codec, i))
codec 573 sound/oss/ac97_codec.c ac97_set_mixer(codec, i, val);
codec 614 sound/oss/ac97_codec.c if(codec->codec_read(codec, AC97_RESET) & 2)
codec 617 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_EXTENDED_MODEM_ID, 0L);
codec 618 sound/oss/ac97_codec.c if(codec->codec_read(codec, AC97_EXTENDED_MODEM_ID) & 1)
codec 634 sound/oss/ac97_codec.c struct ac97_codec *codec = kzalloc(sizeof(struct ac97_codec), GFP_KERNEL);
codec 635 sound/oss/ac97_codec.c if(!codec)
codec 638 sound/oss/ac97_codec.c spin_lock_init(&codec->lock);
codec 639 sound/oss/ac97_codec.c INIT_LIST_HEAD(&codec->list);
codec 640 sound/oss/ac97_codec.c return codec;
codec 659 sound/oss/ac97_codec.c list_del(&codec->list);
codec 665 sound/oss/ac97_codec.c if(codec->driver)
codec 666 sound/oss/ac97_codec.c codec->driver->remove(codec, codec->driver);
codec 667 sound/oss/ac97_codec.c kfree(codec);
codec 709 sound/oss/ac97_codec.c if (codec->codec_wait)
codec 710 sound/oss/ac97_codec.c codec->codec_wait(codec);
codec 715 sound/oss/ac97_codec.c id1 = codec->codec_read(codec, AC97_VENDOR_ID1);
codec 716 sound/oss/ac97_codec.c id2 = codec->codec_read(codec, AC97_VENDOR_ID2);
codec 717 sound/oss/ac97_codec.c codec->name = NULL;
codec 718 sound/oss/ac97_codec.c codec->codec_ops = &null_ops;
codec 721 sound/oss/ac97_codec.c codec->type = ac97_codec_ids[i].id;
codec 722 sound/oss/ac97_codec.c codec->name = ac97_codec_ids[i].name;
codec 723 sound/oss/ac97_codec.c codec->codec_ops = ac97_codec_ids[i].ops;
codec 724 sound/oss/ac97_codec.c codec->flags = ac97_codec_ids[i].flags;
codec 729 sound/oss/ac97_codec.c codec->model = (id1 << 16) | id2;
codec 730 sound/oss/ac97_codec.c if ((codec->flags & AC97_DEFAULT_POWER_OFF) == 0) {
codec 732 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_RESET, 0L);
codec 733 sound/oss/ac97_codec.c if (codec->codec_wait)
codec 734 sound/oss/ac97_codec.c codec->codec_wait(codec);
codec 745 sound/oss/ac97_codec.c if ((audio = codec->codec_read(codec, AC97_RESET)) & 0x8000) {
codec 747 sound/oss/ac97_codec.c (codec->id & 0x2) ? (codec->id&1 ? "4th" : "Tertiary")
codec 748 sound/oss/ac97_codec.c : (codec->id&1 ? "Secondary": "Primary"));
codec 753 sound/oss/ac97_codec.c codec->modem = ac97_check_modem(codec);
codec 756 sound/oss/ac97_codec.c f = codec->codec_read(codec, AC97_EXTENDED_STATUS);
codec 757 sound/oss/ac97_codec.c if((codec->codec_ops == &null_ops) && (f & 4))
codec 758 sound/oss/ac97_codec.c codec->codec_ops = &default_digital_ops;
codec 761 sound/oss/ac97_codec.c if(codec->flags & AC97_DELUDED_MODEM)
codec 762 sound/oss/ac97_codec.c codec->modem = 0;
codec 764 sound/oss/ac97_codec.c if (codec->name == NULL)
codec 765 sound/oss/ac97_codec.c codec->name = "Unknown";
codec 767 sound/oss/ac97_codec.c codec->modem ? "Modem" : (audio ? "Audio" : ""),
codec 768 sound/oss/ac97_codec.c codec_id(id1, id2, cidbuf), codec->name);
codec 770 sound/oss/ac97_codec.c if(!ac97_init_mixer(codec))
codec 779 sound/oss/ac97_codec.c list_add(&codec->list, &codecs);
codec 783 sound/oss/ac97_codec.c if ((codec->model ^ d->codec_id) & d->codec_mask)
codec 785 sound/oss/ac97_codec.c if(d->probe(codec, d) == 0)
codec 787 sound/oss/ac97_codec.c codec->driver = d;
codec 801 sound/oss/ac97_codec.c cap = codec->codec_read(codec, AC97_RESET);
codec 804 sound/oss/ac97_codec.c codec->supported_mixers = AC97_SUPPORTED_MASK;
codec 805 sound/oss/ac97_codec.c codec->stereo_mixers = AC97_STEREO_MASK;
codec 806 sound/oss/ac97_codec.c codec->record_sources = AC97_RECORD_MASK;
codec 808 sound/oss/ac97_codec.c codec->supported_mixers &= ~(SOUND_MASK_BASS|SOUND_MASK_TREBLE);
codec 810 sound/oss/ac97_codec.c codec->supported_mixers &= ~SOUND_MASK_ALTPCM;
codec 814 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_MASTER_VOL_STEREO, 0x2020);
codec 815 sound/oss/ac97_codec.c if(codec->codec_read(codec, AC97_MASTER_VOL_STEREO) == 0x2020)
codec 816 sound/oss/ac97_codec.c codec->bit_resolution = 6;
codec 818 sound/oss/ac97_codec.c codec->bit_resolution = 5;
codec 821 sound/oss/ac97_codec.c codec->read_mixer = ac97_read_mixer;
codec 822 sound/oss/ac97_codec.c codec->write_mixer = ac97_write_mixer;
codec 823 sound/oss/ac97_codec.c codec->recmask_io = ac97_recmask_io;
codec 824 sound/oss/ac97_codec.c codec->mixer_ioctl = ac97_mixer_ioctl;
codec 831 sound/oss/ac97_codec.c if (!supported_mixer(codec, md->mixer))
codec 833 sound/oss/ac97_codec.c ac97_set_mixer(codec, md->mixer, md->value);
codec 837 sound/oss/ac97_codec.c if (codec->codec_ops->init != NULL) {
codec 838 sound/oss/ac97_codec.c codec->codec_ops->init(codec);
codec 845 sound/oss/ac97_codec.c if(codec->flags & AC97_NO_PCM_VOLUME)
codec 847 sound/oss/ac97_codec.c codec->supported_mixers &= ~SOUND_MASK_PCM;
codec 866 sound/oss/ac97_codec.c codec72 = codec->codec_read(codec, AC97_SIGMATEL_BIAS2) & 0x8000;
codec 867 sound/oss/ac97_codec.c codec6c = codec->codec_read(codec, AC97_SIGMATEL_ANALOG);
codec 870 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_CIC1, 0xabba);
codec 871 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_CIC2, 0x1000);
codec 872 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_BIAS1, 0xabba);
codec 873 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_BIAS2, 0x0007);
codec 875 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_CIC1, 0xabba);
codec 876 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_CIC2, 0x1001);
codec 877 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_DAC2INVERT, 0x0008);
codec 881 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_MULTICHN, 0x0000);
codec 889 sound/oss/ac97_codec.c if (codec->id == 0)
codec 892 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SURROUND_MASTER, 0L);
codec 896 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_MULTICHN, 0x00);
codec 901 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_CIC1, 0xabba);
codec 902 sound/oss/ac97_codec.c codec->codec_read(codec, AC97_SIGMATEL_CIC1);
codec 905 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_CIC2, 0x3802);
codec 914 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_CIC1, 0xabba);
codec 915 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_CIC2, 0x0000); // is this correct? --jk
codec 916 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_BIAS1, 0xabba);
codec 917 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_BIAS2, 0x0002);
codec 918 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SIGMATEL_MULTICHN, 0x0000);
codec 936 sound/oss/ac97_codec.c codec->codec_write(codec, 0x64, 0x3000);
codec 937 sound/oss/ac97_codec.c v = codec->codec_read(codec, 0x64);
codec 939 sound/oss/ac97_codec.c codec->codec_write(codec, 0x64, v);
codec 940 sound/oss/ac97_codec.c codec->codec_write(codec, 0x70, 0x0100);
codec 941 sound/oss/ac97_codec.c codec->codec_write(codec, 0x72, 0x0020);
codec 954 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_WM97XX_FMIXER_VOL, 0x0808);
codec 955 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_GENERAL_PURPOSE, 0x8000);
codec 961 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_WM97XX_FMIXER_VOL, 0x0808);
codec 962 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_WM97XX_RMIXER_VOL, 0x0808);
codec 965 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_WM97XX_TEST, 0x0200);
codec 968 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_WM9704_RPCM_VOL,
codec 969 sound/oss/ac97_codec.c codec->codec_read(codec, AC97_PCMOUT_VOL));
codec 972 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SURROUND_MASTER, 0x0000);
codec 980 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_WM97XX_FMIXER_VOL, 0x0808);
codec 988 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_WM97XX_TEST,
codec 989 sound/oss/ac97_codec.c codec->codec_read(codec, AC97_WM97XX_TEST) & 0xffbf);
codec 992 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_WM9711_OUT3VOL, 0x0808);
codec 999 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_RECORD_GAIN, 0x00a0);
codec 1000 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_POWER_CONTROL, 0x0000);
codec 1001 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_EXTENDED_MODEM_ID, 0xDA00);
codec 1002 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_EXTEND_MODEM_STAT, 0x3810);
codec 1003 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_PHONE_VOL, 0x0808);
codec 1004 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_PCBEEP_VOL, 0x0808);
codec 1011 sound/oss/ac97_codec.c codec->codec_write(codec, 0x26, 0x0300);
codec 1012 sound/oss/ac97_codec.c codec->codec_write(codec, 0x26, 0x0000);
codec 1013 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SURROUND_MASTER, 0x0000);
codec 1014 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_RESERVED_3A, 0x0000);
codec 1023 sound/oss/ac97_codec.c codec->codec_write(codec, 0x2A, 0x0001);
codec 1024 sound/oss/ac97_codec.c codec->codec_write(codec, 0x2C, 0x0000);
codec 1025 sound/oss/ac97_codec.c codec->codec_write(codec, 0x2C, 0XFFFF);
codec 1043 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_AD1886_JACK_SENSE, 0x0010);
codec 1060 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_POWER_CONTROL,
codec 1061 sound/oss/ac97_codec.c codec->codec_read(codec, AC97_POWER_CONTROL)|0x8000);
codec 1063 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_POWER_CONTROL,
codec 1064 sound/oss/ac97_codec.c codec->codec_read(codec, AC97_POWER_CONTROL)&~0x8000);
codec 1072 sound/oss/ac97_codec.c reg = codec->codec_read(codec, AC97_SPDIF_CONTROL);
codec 1079 sound/oss/ac97_codec.c reg = codec->codec_read(codec, AC97_EXTENDED_STATUS);
codec 1080 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_EXTENDED_STATUS, (reg & ~AC97_EA_SPDIF));
codec 1105 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_SPDIF_CONTROL, reg);
codec 1107 sound/oss/ac97_codec.c reg = codec->codec_read(codec, AC97_EXTENDED_STATUS);
codec 1110 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_EXTENDED_STATUS, reg);
codec 1112 sound/oss/ac97_codec.c reg = codec->codec_read(codec, AC97_EXTENDED_STATUS);
codec 1115 sound/oss/ac97_codec.c codec->codec_write(codec, AC97_EXTENDED_STATUS, reg & ~ AC97_EA_SPDIF);
codec 1141 sound/oss/ac97_codec.c codec->codec_write(codec, 0x68, cv);
codec 1164 sound/oss/ac97_codec.c codec->codec_write(codec, 0x2A, 0x05c4);
codec 1165 sound/oss/ac97_codec.c codec->codec_write(codec, 0x6C, cv);
codec 1168 sound/oss/ac97_codec.c cv = codec->codec_read(codec, 0x64);
codec 1172 sound/oss/ac97_codec.c codec->codec_write(codec, 0x64, cv);
codec 1184 sound/oss/ac97_codec.c codec->codec_write(codec, 0x2A, 0x0001);
codec 1185 sound/oss/ac97_codec.c codec->codec_write(codec, 0x2C, 0x0000);
codec 1186 sound/oss/ac97_codec.c codec->codec_write(codec, 0x2C, 0xFFFF);
codec 1187 sound/oss/ac97_codec.c codec->codec_write(codec, 0x10, 0x9F1F);
codec 1188 sound/oss/ac97_codec.c codec->codec_write(codec, 0x12, 0x0808);
codec 1189 sound/oss/ac97_codec.c codec->codec_write(codec, 0x14, 0x9F1F);
codec 1190 sound/oss/ac97_codec.c codec->codec_write(codec, 0x16, 0x9F1F);
codec 1191 sound/oss/ac97_codec.c codec->codec_write(codec, 0x18, 0x0404);
codec 1192 sound/oss/ac97_codec.c codec->codec_write(codec, 0x1A, 0x0000);
codec 1193 sound/oss/ac97_codec.c codec->codec_write(codec, 0x1C, 0x0000);
codec 1194 sound/oss/ac97_codec.c codec->codec_write(codec, 0x02, 0x0404);
codec 1195 sound/oss/ac97_codec.c codec->codec_write(codec, 0x04, 0x0808);
codec 1196 sound/oss/ac97_codec.c codec->codec_write(codec, 0x0C, 0x801F);
codec 1197 sound/oss/ac97_codec.c codec->codec_write(codec, 0x0E, 0x801F);
codec 88 sound/oss/au1550_ac97.c struct ac97_codec *codec;
codec 183 sound/oss/au1550_ac97.c struct au1550_state *s = (struct au1550_state *)codec->private_data;
codec 251 sound/oss/au1550_ac97.c struct au1550_state *s = (struct au1550_state *)codec->private_data;
codec 325 sound/oss/au1550_ac97.c temp = rdcodec(codec, AC97_POWER_CONTROL);
codec 332 sound/oss/au1550_ac97.c wrcodec(codec, AC97_POWER_CONTROL, 0);
codec 337 sound/oss/au1550_ac97.c temp = rdcodec(codec, AC97_POWER_CONTROL);
codec 365 sound/oss/au1550_ac97.c ac97_extstat = rdcodec(s->codec, AC97_EXTENDED_STATUS);
codec 371 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_EXTENDED_STATUS,
codec 376 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_PCM_LR_ADC_RATE, (u16) rate);
codec 380 sound/oss/au1550_ac97.c adc_rate = rdcodec(s->codec, AC97_PCM_LR_ADC_RATE);
codec 387 sound/oss/au1550_ac97.c dac_rate = rdcodec(s->codec, AC97_PCM_FRONT_DAC_RATE);
codec 389 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_PCM_SURR_DAC_RATE, dac_rate);
codec 391 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_PCM_LFE_DAC_RATE, dac_rate);
codec 416 sound/oss/au1550_ac97.c ac97_extstat = rdcodec(s->codec, AC97_EXTENDED_STATUS);
codec 422 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_EXTENDED_STATUS,
codec 427 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_PCM_FRONT_DAC_RATE, (u16) rate);
codec 433 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_PCM_SURR_DAC_RATE, (u16) rate);
codec 435 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_PCM_LFE_DAC_RATE, (u16) rate);
codec 438 sound/oss/au1550_ac97.c dac_rate = rdcodec(s->codec, AC97_PCM_FRONT_DAC_RATE);
codec 445 sound/oss/au1550_ac97.c adc_rate = rdcodec(s->codec, AC97_PCM_LR_ADC_RATE);
codec 821 sound/oss/au1550_ac97.c return codec->mixer_ioctl(codec, cmd, arg);
codec 829 sound/oss/au1550_ac97.c struct ac97_codec *codec = s->codec;
codec 831 sound/oss/au1550_ac97.c return mixdev_ioctl(codec, cmd, arg);
codec 1438 sound/oss/au1550_ac97.c u16 ext_stat = rdcodec(s->codec,
codec 1440 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_EXTENDED_STATUS,
codec 1491 sound/oss/au1550_ac97.c rdcodec(s->codec,
codec 1493 sound/oss/au1550_ac97.c wrcodec(s->codec,
codec 1503 sound/oss/au1550_ac97.c rdcodec(s->codec,
codec 1510 sound/oss/au1550_ac97.c wrcodec(s->codec,
codec 1774 sound/oss/au1550_ac97.c return mixdev_ioctl(s->codec, cmd, arg);
codec 1912 sound/oss/au1550_ac97.c s->codec = ac97_alloc_codec();
codec 1913 sound/oss/au1550_ac97.c if(s->codec == NULL) {
codec 1917 sound/oss/au1550_ac97.c s->codec->private_data = s;
codec 1918 sound/oss/au1550_ac97.c s->codec->id = 0;
codec 1919 sound/oss/au1550_ac97.c s->codec->codec_read = rdcodec;
codec 1920 sound/oss/au1550_ac97.c s->codec->codec_write = wrcodec;
codec 1921 sound/oss/au1550_ac97.c s->codec->codec_wait = waitcodec;
codec 1960 sound/oss/au1550_ac97.c if ((s->codec->dev_mixer =
codec 2030 sound/oss/au1550_ac97.c if (!ac97_probe_codec(s->codec))
codec 2033 sound/oss/au1550_ac97.c s->codec_base_caps = rdcodec(s->codec, AC97_RESET);
codec 2034 sound/oss/au1550_ac97.c s->codec_ext_caps = rdcodec(s->codec, AC97_EXTENDED_ID);
codec 2045 sound/oss/au1550_ac97.c u16 ac97_extstat = rdcodec(s->codec, AC97_EXTENDED_STATUS);
codec 2046 sound/oss/au1550_ac97.c wrcodec(s->codec, AC97_EXTENDED_STATUS,
codec 2055 sound/oss/au1550_ac97.c mixdev_ioctl(s->codec, SOUND_MIXER_WRITE_RECSRC,
codec 2061 sound/oss/au1550_ac97.c unregister_sound_mixer(s->codec->dev_mixer);
codec 2071 sound/oss/au1550_ac97.c ac97_release_codec(s->codec);
codec 2087 sound/oss/au1550_ac97.c unregister_sound_mixer(s->codec->dev_mixer);
codec 2088 sound/oss/au1550_ac97.c ac97_release_codec(s->codec);
codec 113 sound/oss/sscape.c int codec, codec_irq; /* required to setup pnp cards*/
codec 196 sound/oss/sscape.c outb( reg, devc -> codec);
codec 197 sound/oss/sscape.c res = inb (devc -> codec + 1);
codec 208 sound/oss/sscape.c outb( reg, devc -> codec);
codec 209 sound/oss/sscape.c outb( data, devc -> codec + 1);
codec 664 sound/oss/sscape.c release_region(devc->codec, 2);
codec 1086 sound/oss/sscape.c outb(0, devc -> codec);
codec 1112 sound/oss/sscape.c if (!request_region(devc->codec, 2, "sscape codec")) {
codec 1113 sound/oss/sscape.c printk(KERN_ERR "detect_sscape_pnp: port %x is not free\n", devc->codec);
codec 1148 sound/oss/sscape.c if (devc->codec != devc->base + 8) {
codec 1163 sound/oss/sscape.c if ( !(inb(devc -> codec) & 0x80) ) break;
codec 1165 sound/oss/sscape.c d = inb(devc -> codec);
codec 1168 sound/oss/sscape.c if ( inb(devc -> codec + 2) == 0xFF)
codec 1173 sound/oss/sscape.c d = inb(devc -> codec) & 0x80;
codec 1186 sound/oss/sscape.c if ( !(inb(devc -> codec) & 0x80))
codec 1210 sound/oss/sscape.c release_region(devc->codec, 2);
codec 1374 sound/oss/sscape.c release_region(devc->codec, 2);
codec 1419 sound/oss/sscape.c devc->codec = cfg.io_base;
codec 410 sound/pci/ac97/ac97_codec.c old = ac97->spec.ad18xx.pcmreg[codec];
codec 416 sound/pci/ac97/ac97_codec.c ac97->spec.ad18xx.pcmreg[codec] = new;
codec 420 sound/pci/ac97/ac97_codec.c ac97->spec.ad18xx.unchained[codec] | ac97->spec.ad18xx.chained[codec]);
codec 870 sound/pci/ac97/ac97_codec.c .private_value = (codec) | ((lshift) << 8) | ((rshift) << 12) | ((mask) << 16) }
codec 892 sound/pci/ac97/ac97_codec.c int codec = kcontrol->private_value & 3;
codec 897 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[0] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> lshift) & mask);
codec 899 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[1] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> rshift) & mask);
codec 906 sound/pci/ac97/ac97_codec.c int codec = kcontrol->private_value & 3;
codec 918 sound/pci/ac97/ac97_codec.c return snd_ac97_ad18xx_update_pcm_bits(ac97, codec, valmask, val);
codec 924 sound/pci/ac97/ac97_codec.c .private_value = codec }
codec 938 sound/pci/ac97/ac97_codec.c int codec = kcontrol->private_value & 3;
codec 941 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[0] = 31 - ((ac97->spec.ad18xx.pcmreg[codec] >> 0) & 31);
codec 942 sound/pci/ac97/ac97_codec.c ucontrol->value.integer.value[1] = 31 - ((ac97->spec.ad18xx.pcmreg[codec] >> 8) & 31);
codec 950 sound/pci/ac97/ac97_codec.c int codec = kcontrol->private_value & 3;
codec 955 sound/pci/ac97/ac97_codec.c return snd_ac97_ad18xx_update_pcm_bits(ac97, codec, 0x1f1f, (val1 << 8) | val2);
codec 1011 sound/pci/ac97/ac97_codec.c ac97->bus->codec[ac97->num] = NULL;
codec 2001 sound/pci/ac97/ac97_codec.c if (bus->codec[template->num])
codec 2016 sound/pci/ac97/ac97_codec.c bus->codec[ac97->num] = ac97;
codec 1427 sound/pci/ac97/ac97_patch.c int i, codec;
codec 1442 sound/pci/ac97/ac97_patch.c for (codec = 0; codec < 3; codec++) {
codec 1443 sound/pci/ac97/ac97_patch.c if (! ac97->spec.ad18xx.id[codec])
codec 1447 sound/pci/ac97/ac97_patch.c ac97->spec.ad18xx.unchained[codec] | ac97->spec.ad18xx.chained[codec]);
codec 1448 sound/pci/ac97/ac97_patch.c ac97->bus->ops->write(ac97, AC97_AD_CODEC_CFG, ac97->spec.ad18xx.codec_cfg[codec]);
codec 1460 sound/pci/ac97/ac97_patch.c for (codec = 0; codec < 3; codec++) {
codec 1461 sound/pci/ac97/ac97_patch.c if (! ac97->spec.ad18xx.id[codec])
codec 1465 sound/pci/ac97/ac97_patch.c ac97->spec.ad18xx.unchained[codec] | ac97->spec.ad18xx.chained[codec]);
codec 1467 sound/pci/ac97/ac97_patch.c ac97->bus->ops->write(ac97, AC97_PCM, ac97->spec.ad18xx.pcmreg[codec]);
codec 425 sound/pci/ac97/ac97_pcm.c rates &= pcm->r[dbl].codec[cidx]->rates[idx];
codec 455 sound/pci/ac97/ac97_pcm.c struct snd_ac97 *codec;
codec 464 sound/pci/ac97/ac97_pcm.c codec = bus->codec[i];
codec 465 sound/pci/ac97/ac97_pcm.c if (!codec)
codec 467 sound/pci/ac97/ac97_pcm.c avail_slots[0][i] = get_pslots(codec, &rate_table[0][i], &spdif_slots[i]);
codec 468 sound/pci/ac97/ac97_pcm.c avail_slots[1][i] = get_cslots(codec);
codec 469 sound/pci/ac97/ac97_pcm.c if (!(codec->scaps & AC97_SCAP_INDEP_SDIN)) {
codec 471 sound/pci/ac97/ac97_pcm.c if (bus->codec[j])
codec 493 sound/pci/ac97/ac97_pcm.c if (!bus->codec[j])
codec 513 sound/pci/ac97/ac97_pcm.c rpcm->r[0].codec[j] = bus->codec[j];
codec 528 sound/pci/ac97/ac97_pcm.c bus->codec[0] && (bus->codec[0]->flags & AC97_DOUBLE_RATE) &&
codec 536 sound/pci/ac97/ac97_pcm.c rpcm->r[1].codec[0] = bus->codec[0];
codec 578 sound/pci/ac97/ac97_pcm.c if (bus->codec[cidx] && (bus->codec[cidx]->ext_id & AC97_EI_SPDIF)) {
codec 579 sound/pci/ac97/ac97_pcm.c err = set_spdif_rate(bus->codec[cidx], rate);
codec 622 sound/pci/ac97/ac97_pcm.c err = snd_ac97_set_rate(pcm->r[r].codec[cidx], reg, rate);
codec 661 sound/pci/ac97/ac97_pcm.c snd_ac97_update_power(pcm->r[r].codec[cidx],
codec 168 sound/pci/ali5451/ali5451.c #define ALI_REG(codec, x) ((codec)->port + x)
codec 207 sound/pci/ali5451/ali5451.c struct snd_ali *codec;
codec 296 sound/pci/ali5451/ali5451.c return (unsigned int)inl(ALI_REG(codec, port));
codec 303 sound/pci/ali5451/ali5451.c outl((unsigned int)val, ALI_REG(codec, port));
codec 314 sound/pci/ali5451/ali5451.c res = snd_ali_5451_peek(codec,port);
codec 319 sound/pci/ali5451/ali5451.c snd_ali_5451_poke(codec, port, res & ~0x8000);
codec 329 sound/pci/ali5451/ali5451.c dwChk1 = snd_ali_5451_peek(codec, ALI_STIMER);
codec 330 sound/pci/ali5451/ali5451.c dwChk2 = snd_ali_5451_peek(codec, ALI_STIMER);
codec 334 sound/pci/ali5451/ali5451.c dwChk2 = snd_ali_5451_peek(codec, ALI_STIMER);
codec 355 sound/pci/ali5451/ali5451.c port = codec->chregs.regs.ac97write;
codec 357 sound/pci/ali5451/ali5451.c if (snd_ali_codec_ready(codec, port) < 0)
codec 359 sound/pci/ali5451/ali5451.c if (snd_ali_stimer_ready(codec) < 0)
codec 366 sound/pci/ali5451/ali5451.c if (codec->revision == ALI_5451_V02)
codec 369 sound/pci/ali5451/ali5451.c snd_ali_5451_poke(codec, port, dwVal);
codec 386 sound/pci/ali5451/ali5451.c port = codec->chregs.regs.ac97read;
codec 388 sound/pci/ali5451/ali5451.c if (snd_ali_codec_ready(codec, port) < 0)
codec 390 sound/pci/ali5451/ali5451.c if (snd_ali_stimer_ready(codec) < 0)
codec 398 sound/pci/ali5451/ali5451.c snd_ali_5451_poke(codec, port, dwVal);
codec 400 sound/pci/ali5451/ali5451.c if (snd_ali_stimer_ready(codec) < 0)
codec 402 sound/pci/ali5451/ali5451.c if (snd_ali_codec_ready(codec, port) < 0)
codec 405 sound/pci/ali5451/ali5451.c return (snd_ali_5451_peek(codec, port) & 0xffff0000) >> 16;
codec 412 sound/pci/ali5451/ali5451.c struct snd_ali *codec = ac97->private_data;
codec 417 sound/pci/ali5451/ali5451.c ALI_REG(codec, ALI_AC97_GPIO));
codec 420 sound/pci/ali5451/ali5451.c snd_ali_codec_poke(codec, ac97->num, reg, val);
codec 428 sound/pci/ali5451/ali5451.c struct snd_ali *codec = ac97->private_data;
codec 431 sound/pci/ali5451/ali5451.c return snd_ali_codec_peek(codec, ac97->num, reg);
codec 444 sound/pci/ali5451/ali5451.c pci_dev = codec->pci_m1533;
codec 454 sound/pci/ali5451/ali5451.c pci_dev = codec->pci;
codec 464 sound/pci/ali5451/ali5451.c wReg = snd_ali_codec_peek(codec, 0, AC97_POWERDOWN);
codec 484 sound/pci/ali5451/ali5451.c pci_dev = codec->pci_m1533;
codec 493 sound/pci/ali5451/ali5451.c bVal = inb(ALI_REG(codec,ALI_SCTRL));
codec 495 sound/pci/ali5451/ali5451.c outb(ALI_REG(codec,ALI_SCTRL),bVal);
codec 497 sound/pci/ali5451/ali5451.c bVal = inb(ALI_REG(codec,ALI_SCTRL));
codec 499 sound/pci/ali5451/ali5451.c outb(ALI_REG(codec,ALI_SCTRL),bVal);
codec 504 sound/pci/ali5451/ali5451.c wReg = snd_ali_codec_read(codec->ac97, AC97_POWERDOWN);
codec 523 sound/pci/ali5451/ali5451.c dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 525 sound/pci/ali5451/ali5451.c outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 533 sound/pci/ali5451/ali5451.c dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 535 sound/pci/ali5451/ali5451.c outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 542 sound/pci/ali5451/ali5451.c gc = inl(ALI_REG(codec, ALI_GC_CIR));
codec 545 sound/pci/ali5451/ali5451.c outl( gc, ALI_REG(codec, ALI_GC_CIR));
codec 552 sound/pci/ali5451/ali5451.c gc = inl(ALI_REG(codec, ALI_GC_CIR));
codec 555 sound/pci/ali5451/ali5451.c outl(gc, ALI_REG(codec, ALI_GC_CIR));
codec 563 sound/pci/ali5451/ali5451.c struct snd_ali_channel_control *pchregs = &(codec->chregs);
codec 568 sound/pci/ali5451/ali5451.c pchregs->data.ainten = inl(ALI_REG(codec, pchregs->regs.ainten));
codec 570 sound/pci/ali5451/ali5451.c outl(pchregs->data.ainten, ALI_REG(codec, pchregs->regs.ainten));
codec 578 sound/pci/ali5451/ali5451.c struct snd_ali_channel_control *pchregs = &(codec->chregs);
codec 583 sound/pci/ali5451/ali5451.c pchregs->data.ainten = inl(ALI_REG(codec, pchregs->regs.ainten));
codec 585 sound/pci/ali5451/ali5451.c outl(pchregs->data.ainten, ALI_REG(codec, pchregs->regs.ainten));
codec 592 sound/pci/ali5451/ali5451.c if (codec->synth.chcnt >= ALI_CHANNELS){
codec 598 sound/pci/ali5451/ali5451.c if (!(codec->synth.chmap & (1 << idx))) {
codec 599 sound/pci/ali5451/ali5451.c codec->synth.chmap |= 1 << idx;
codec 600 sound/pci/ali5451/ali5451.c codec->synth.chcnt++;
codec 616 sound/pci/ali5451/ali5451.c if (codec->spdif_support &&
codec 617 sound/pci/ali5451/ali5451.c (inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)) &
codec 623 sound/pci/ali5451/ali5451.c result = snd_ali_alloc_pcm_channel(codec, idx);
codec 634 sound/pci/ali5451/ali5451.c if (codec->spdif_support &&
codec 635 sound/pci/ali5451/ali5451.c (inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)) &
codec 638 sound/pci/ali5451/ali5451.c result = snd_ali_alloc_pcm_channel(codec, idx);
codec 647 sound/pci/ali5451/ali5451.c result = snd_ali_alloc_pcm_channel(codec, idx);
codec 664 sound/pci/ali5451/ali5451.c if (!(codec->synth.chmap & (1 << idx))) {
codec 669 sound/pci/ali5451/ali5451.c codec->synth.chmap &= ~(1 << idx);
codec 670 sound/pci/ali5451/ali5451.c codec->synth.chcnt--;
codec 680 sound/pci/ali5451/ali5451.c outl(mask, ALI_REG(codec,codec->chregs.regs.start));
codec 689 sound/pci/ali5451/ali5451.c outl(mask, ALI_REG(codec, codec->chregs.regs.stop));
codec 700 sound/pci/ali5451/ali5451.c begintimer = inl(ALI_REG(codec, ALI_STIMER));
codec 701 sound/pci/ali5451/ali5451.c currenttimer = inl(ALI_REG(codec, ALI_STIMER));
codec 704 sound/pci/ali5451/ali5451.c if (snd_ali_stimer_ready(codec) < 0)
codec 706 sound/pci/ali5451/ali5451.c currenttimer = inl(ALI_REG(codec, ALI_STIMER));
codec 717 sound/pci/ali5451/ali5451.c bval = inb(ALI_REG(codec, ALI_SPDIF_CTRL + 1));
codec 719 sound/pci/ali5451/ali5451.c outb(bval, ALI_REG(codec, ALI_SPDIF_CTRL + 1));
codec 723 sound/pci/ali5451/ali5451.c snd_ali_delay(codec, 6);
codec 724 sound/pci/ali5451/ali5451.c bval = inb(ALI_REG(codec, ALI_SPDIF_CTRL + 1));
codec 734 sound/pci/ali5451/ali5451.c snd_ali_delay(codec, 6);
codec 735 sound/pci/ali5451/ali5451.c bval = inb(ALI_REG(codec,ALI_SPDIF_CTRL + 1));
codec 749 sound/pci/ali5451/ali5451.c wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2));
codec 752 sound/pci/ali5451/ali5451.c outw(wval, ALI_REG(codec, ALI_SPDIF_CTRL + 2));
codec 754 sound/pci/ali5451/ali5451.c bval = inb(ALI_REG(codec, ALI_SPDIF_CS + 3)) & 0xf0;
codec 755 sound/pci/ali5451/ali5451.c outb(bval | 0x02, ALI_REG(codec, ALI_SPDIF_CS + 3));
codec 757 sound/pci/ali5451/ali5451.c wval = inw(ALI_REG(codec, ALI_SPDIF_CTRL + 2));
codec 760 sound/pci/ali5451/ali5451.c outw(wval, ALI_REG(codec, ALI_SPDIF_CTRL + 2));
codec 762 sound/pci/ali5451/ali5451.c bval = inb(ALI_REG(codec,ALI_SPDIF_CS + 3)) & 0xf0;
codec 763 sound/pci/ali5451/ali5451.c outb(bval | 0x03, ALI_REG(codec, ALI_SPDIF_CS + 3));
codec 772 sound/pci/ali5451/ali5451.c bval = inb(ALI_REG(codec, ALI_SPDIF_CTRL));
codec 775 sound/pci/ali5451/ali5451.c outb(bval, ALI_REG(codec, ALI_SPDIF_CTRL));
codec 777 sound/pci/ali5451/ali5451.c snd_ali_detect_spdif_rate(codec);
codec 779 sound/pci/ali5451/ali5451.c bval = inb(ALI_REG(codec, ALI_SPDIF_CS + 3));
codec 796 sound/pci/ali5451/ali5451.c dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 798 sound/pci/ali5451/ali5451.c outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 800 sound/pci/ali5451/ali5451.c dwVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL));
codec 802 sound/pci/ali5451/ali5451.c outb(dwVal, ALI_REG(codec, ALI_SPDIF_CTRL));
codec 804 sound/pci/ali5451/ali5451.c snd_ali_enable_special_channel(codec, ALI_SPDIF_IN_CHANNEL);
codec 811 sound/pci/ali5451/ali5451.c dwVal = inl(ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 813 sound/pci/ali5451/ali5451.c outl(dwVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 815 sound/pci/ali5451/ali5451.c snd_ali_disable_special_channel(codec, ALI_SPDIF_IN_CHANNEL);
codec 830 sound/pci/ali5451/ali5451.c bVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL));
codec 834 sound/pci/ali5451/ali5451.c outb(bVal, ALI_REG(codec, ALI_SPDIF_CTRL));
codec 835 sound/pci/ali5451/ali5451.c outb(dwRate | 0x20, ALI_REG(codec, ALI_SPDIF_CS + 2));
codec 838 sound/pci/ali5451/ali5451.c outb(bVal, ALI_REG(codec, ALI_SPDIF_CTRL));
codec 839 sound/pci/ali5451/ali5451.c outw(rate | 0x10, ALI_REG(codec, ALI_SPDIF_CS + 2));
codec 848 sound/pci/ali5451/ali5451.c pci_dev = codec->pci_m1533;
codec 863 sound/pci/ali5451/ali5451.c bVal = inb(ALI_REG(codec, ALI_SCTRL));
codec 864 sound/pci/ali5451/ali5451.c outb(bVal | ALI_SPDIF_OUT_ENABLE, ALI_REG(codec, ALI_SCTRL));
codec 866 sound/pci/ali5451/ali5451.c bVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL));
codec 867 sound/pci/ali5451/ali5451.c outb(bVal & ALI_SPDIF_OUT_CH_STATUS, ALI_REG(codec, ALI_SPDIF_CTRL));
codec 869 sound/pci/ali5451/ali5451.c wVal = inw(ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 871 sound/pci/ali5451/ali5451.c outw(wVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 872 sound/pci/ali5451/ali5451.c snd_ali_disable_special_channel(codec, ALI_SPDIF_OUT_CHANNEL);
codec 879 sound/pci/ali5451/ali5451.c wVal = inw(ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 881 sound/pci/ali5451/ali5451.c outw(wVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 890 sound/pci/ali5451/ali5451.c snd_ali_enable_special_channel(codec, ALI_SPDIF_OUT_CHANNEL);
codec 897 sound/pci/ali5451/ali5451.c wVal = inw(ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 899 sound/pci/ali5451/ali5451.c outw(wVal, ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 901 sound/pci/ali5451/ali5451.c snd_ali_enable_special_channel(codec, ALI_SPDIF_OUT_CHANNEL);
codec 908 sound/pci/ali5451/ali5451.c bVal = inb(ALI_REG(codec, ALI_SCTRL));
codec 909 sound/pci/ali5451/ali5451.c outb(bVal & ~ALI_SPDIF_OUT_ENABLE, ALI_REG(codec, ALI_SCTRL));
codec 911 sound/pci/ali5451/ali5451.c snd_ali_disable_spdif_chnout(codec);
codec 924 sound/pci/ali5451/ali5451.c pchregs = &(codec->chregs);
codec 933 sound/pci/ali5451/ali5451.c pvoice = &codec->synth.voices[channel];
codec 937 sound/pci/ali5451/ali5451.c spin_lock(&codec->reg_lock);
codec 942 sound/pci/ali5451/ali5451.c outb((u8)(pvoice->number), ALI_REG(codec, ALI_GC_CIR));
codec 943 sound/pci/ali5451/ali5451.c temp = inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2));
codec 944 sound/pci/ali5451/ali5451.c cspf = (inl(ALI_REG(codec, ALI_CSPF)) & mask) == mask;
codec 949 sound/pci/ali5451/ali5451.c spin_unlock(&codec->reg_lock);
codec 951 sound/pci/ali5451/ali5451.c spin_lock(&codec->reg_lock);
codec 953 sound/pci/ali5451/ali5451.c snd_ali_stop_voice(codec, channel);
codec 954 sound/pci/ali5451/ali5451.c snd_ali_disable_voice_irq(codec, channel);
codec 956 sound/pci/ali5451/ali5451.c } else if (codec->synth.voices[channel].synth) {
codec 958 sound/pci/ali5451/ali5451.c } else if (codec->synth.voices[channel].midi) {
codec 962 sound/pci/ali5451/ali5451.c snd_ali_stop_voice(codec, channel);
codec 963 sound/pci/ali5451/ali5451.c snd_ali_disable_voice_irq(codec, channel);
codec 965 sound/pci/ali5451/ali5451.c spin_unlock(&codec->reg_lock);
codec 966 sound/pci/ali5451/ali5451.c outl(mask,ALI_REG(codec,pchregs->regs.aint));
codec 972 sound/pci/ali5451/ali5451.c struct snd_ali *codec = dev_id;
codec 977 sound/pci/ali5451/ali5451.c if (codec == NULL || !codec->hw_initialized)
codec 980 sound/pci/ali5451/ali5451.c audio_int = inl(ALI_REG(codec, ALI_MISCINT));
codec 984 sound/pci/ali5451/ali5451.c pchregs = &(codec->chregs);
codec 987 sound/pci/ali5451/ali5451.c pchregs->data.aint = inl(ALI_REG(codec, pchregs->regs.aint));
codec 989 sound/pci/ali5451/ali5451.c snd_ali_update_ptr(codec, channel);
codec 992 sound/pci/ali5451/ali5451.c ALI_REG(codec, ALI_MISCINT));
codec 1006 sound/pci/ali5451/ali5451.c spin_lock_irq(&codec->voice_alloc);
codec 1008 sound/pci/ali5451/ali5451.c idx = channel > 0 ? snd_ali_alloc_pcm_channel(codec, channel) :
codec 1009 sound/pci/ali5451/ali5451.c snd_ali_find_free_channel(codec,rec);
codec 1012 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->voice_alloc);
codec 1015 sound/pci/ali5451/ali5451.c pvoice = &(codec->synth.voices[idx]);
codec 1016 sound/pci/ali5451/ali5451.c pvoice->codec = codec;
codec 1020 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->voice_alloc);
codec 1023 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->voice_alloc);
codec 1037 sound/pci/ali5451/ali5451.c snd_ali_clear_voices(codec, pvoice->number, pvoice->number);
codec 1038 sound/pci/ali5451/ali5451.c spin_lock_irq(&codec->voice_alloc);
codec 1044 sound/pci/ali5451/ali5451.c snd_ali_free_channel_pcm(codec, pvoice->number);
codec 1047 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->voice_alloc);
codec 1060 sound/pci/ali5451/ali5451.c snd_ali_stop_voice(codec, i);
codec 1061 sound/pci/ali5451/ali5451.c snd_ali_disable_voice_irq(codec, i);
codec 1080 sound/pci/ali5451/ali5451.c outb((unsigned char)(Channel & 0x001f), ALI_REG(codec, ALI_GC_CIR));
codec 1091 sound/pci/ali5451/ali5451.c outb(Channel, ALI_REG(codec, ALI_GC_CIR));
codec 1093 sound/pci/ali5451/ali5451.c outl(ctlcmds[0], ALI_REG(codec, ALI_CSO_ALPHA_FMS));
codec 1094 sound/pci/ali5451/ali5451.c outl(ctlcmds[1], ALI_REG(codec, ALI_LBA));
codec 1095 sound/pci/ali5451/ali5451.c outl(ctlcmds[2], ALI_REG(codec, ALI_ESO_DELTA));
codec 1096 sound/pci/ali5451/ali5451.c outl(ctlcmds[3], ALI_REG(codec, ALI_GVSEL_PAN_VOC_CTRL_EC));
codec 1098 sound/pci/ali5451/ali5451.c outl(0x30000000, ALI_REG(codec, ALI_EBUF1)); /* Still Mode */
codec 1099 sound/pci/ali5451/ali5451.c outl(0x30000000, ALI_REG(codec, ALI_EBUF2)); /* Still Mode */
codec 1160 sound/pci/ali5451/ali5451.c struct snd_ali *codec = snd_pcm_substream_chip(substream);
codec 1182 sound/pci/ali5451/ali5451.c if ((struct snd_ali *) snd_pcm_substream_chip(s) == codec) {
codec 1206 sound/pci/ali5451/ali5451.c spin_lock(&codec->reg_lock);
codec 1208 sound/pci/ali5451/ali5451.c outl(what, ALI_REG(codec, ALI_STOP));
codec 1209 sound/pci/ali5451/ali5451.c val = inl(ALI_REG(codec, ALI_AINTEN));
codec 1214 sound/pci/ali5451/ali5451.c outl(val, ALI_REG(codec, ALI_AINTEN));
codec 1216 sound/pci/ali5451/ali5451.c outl(what, ALI_REG(codec, ALI_START));
codec 1218 sound/pci/ali5451/ali5451.c spin_unlock(&codec->reg_lock);
codec 1226 sound/pci/ali5451/ali5451.c struct snd_ali *codec = snd_pcm_substream_chip(substream);
codec 1242 sound/pci/ali5451/ali5451.c evoice = snd_ali_alloc_voice(codec,
codec 1252 sound/pci/ali5451/ali5451.c snd_ali_free_voice(codec, evoice);
codec 1262 sound/pci/ali5451/ali5451.c struct snd_ali *codec = snd_pcm_substream_chip(substream);
codec 1269 sound/pci/ali5451/ali5451.c snd_ali_free_voice(codec, evoice);
codec 1289 sound/pci/ali5451/ali5451.c struct snd_ali *codec = snd_pcm_substream_chip(substream);
codec 1305 sound/pci/ali5451/ali5451.c spin_lock_irq(&codec->reg_lock);
codec 1312 sound/pci/ali5451/ali5451.c snd_ali_disable_special_channel(codec, pvoice->number);
codec 1313 sound/pci/ali5451/ali5451.c else if (codec->spdif_support &&
codec 1314 sound/pci/ali5451/ali5451.c (inl(ALI_REG(codec, ALI_GLOBAL_CONTROL)) &
codec 1317 sound/pci/ali5451/ali5451.c snd_ali_set_spdif_out_rate(codec, runtime->rate);
codec 1345 sound/pci/ali5451/ali5451.c snd_ali_write_voice_regs(codec,
codec 1361 sound/pci/ali5451/ali5451.c snd_ali_write_voice_regs(codec,
codec 1374 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->reg_lock);
codec 1381 sound/pci/ali5451/ali5451.c struct snd_ali *codec = snd_pcm_substream_chip(substream);
codec 1394 sound/pci/ali5451/ali5451.c spin_lock_irq(&codec->reg_lock);
codec 1398 sound/pci/ali5451/ali5451.c snd_ali_enable_special_channel(codec,pvoice->number);
codec 1409 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->reg_lock);
codec 1410 sound/pci/ali5451/ali5451.c if (codec->revision != ALI_5451_V02)
codec 1413 sound/pci/ali5451/ali5451.c rate = snd_ali_get_spdif_in_rate(codec);
codec 1419 sound/pci/ali5451/ali5451.c spin_lock_irq(&codec->reg_lock);
codec 1420 sound/pci/ali5451/ali5451.c bValue = inb(ALI_REG(codec,ALI_SPDIF_CTRL));
codec 1422 sound/pci/ali5451/ali5451.c outb(bValue,ALI_REG(codec,ALI_SPDIF_CTRL));
codec 1447 sound/pci/ali5451/ali5451.c snd_ali_write_voice_regs( codec,
codec 1460 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->reg_lock);
codec 1469 sound/pci/ali5451/ali5451.c struct snd_ali *codec = snd_pcm_substream_chip(substream);
codec 1474 sound/pci/ali5451/ali5451.c spin_lock(&codec->reg_lock);
codec 1476 sound/pci/ali5451/ali5451.c spin_unlock(&codec->reg_lock);
codec 1479 sound/pci/ali5451/ali5451.c outb(pvoice->number, ALI_REG(codec, ALI_GC_CIR));
codec 1480 sound/pci/ali5451/ali5451.c cso = inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2));
codec 1481 sound/pci/ali5451/ali5451.c spin_unlock(&codec->reg_lock);
codec 1490 sound/pci/ali5451/ali5451.c struct snd_ali *codec = snd_pcm_substream_chip(substream);
codec 1495 sound/pci/ali5451/ali5451.c spin_lock(&codec->reg_lock);
codec 1497 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->reg_lock);
codec 1500 sound/pci/ali5451/ali5451.c outb(pvoice->number, ALI_REG(codec, ALI_GC_CIR));
codec 1501 sound/pci/ali5451/ali5451.c cso = inw(ALI_REG(codec, ALI_CSO_ALPHA_FMS + 2));
codec 1502 sound/pci/ali5451/ali5451.c spin_unlock(&codec->reg_lock);
codec 1558 sound/pci/ali5451/ali5451.c struct snd_ali *codec;
codec 1561 sound/pci/ali5451/ali5451.c codec = pvoice->codec;
codec 1562 sound/pci/ali5451/ali5451.c snd_ali_free_voice(pvoice->codec, pvoice);
codec 1569 sound/pci/ali5451/ali5451.c struct snd_ali *codec = snd_pcm_substream_chip(substream);
codec 1573 sound/pci/ali5451/ali5451.c pvoice = snd_ali_alloc_voice(codec, SNDRV_ALI_VOICE_TYPE_PCM, rec,
codec 1606 sound/pci/ali5451/ali5451.c struct snd_ali *codec = snd_pcm_substream_chip(substream);
codec 1609 sound/pci/ali5451/ali5451.c snd_ali_disable_special_channel(codec,pvoice->number);
codec 1735 sound/pci/ali5451/ali5451.c struct snd_ali *codec = pcm->private_data;
codec 1736 sound/pci/ali5451/ali5451.c codec->pcm[pcm->device] = NULL;
codec 1746 sound/pci/ali5451/ali5451.c err = snd_pcm_new(codec->card, desc->name, device,
codec 1752 sound/pci/ali5451/ali5451.c pcm->private_data = codec;
codec 1762 sound/pci/ali5451/ali5451.c snd_dma_pci_data(codec->pci),
codec 1769 sound/pci/ali5451/ali5451.c codec->pcm[0] = pcm;
codec 1792 sound/pci/ali5451/ali5451.c for (i = 0; i < codec->num_of_codecs && i < ARRAY_SIZE(ali_pcms); i++) {
codec 1793 sound/pci/ali5451/ali5451.c err = snd_ali_pcm(codec, i, &ali_pcms[i]);
codec 1811 sound/pci/ali5451/ali5451.c struct snd_ali *codec = kcontrol->private_data;
codec 1816 sound/pci/ali5451/ali5451.c spin_lock_irq(&codec->reg_lock);
codec 1819 sound/pci/ali5451/ali5451.c spdif_enable = (codec->spdif_mask & 0x02) ? 1 : 0;
codec 1822 sound/pci/ali5451/ali5451.c spdif_enable = ((codec->spdif_mask & 0x02) &&
codec 1823 sound/pci/ali5451/ali5451.c (codec->spdif_mask & 0x04)) ? 1 : 0;
codec 1826 sound/pci/ali5451/ali5451.c spdif_enable = (codec->spdif_mask & 0x01) ? 1 : 0;
codec 1832 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->reg_lock);
codec 1839 sound/pci/ali5451/ali5451.c struct snd_ali *codec = kcontrol->private_data;
codec 1844 sound/pci/ali5451/ali5451.c spin_lock_irq(&codec->reg_lock);
codec 1847 sound/pci/ali5451/ali5451.c change = (codec->spdif_mask & 0x02) ? 1 : 0;
codec 1851 sound/pci/ali5451/ali5451.c codec->spdif_mask |= 0x02;
codec 1852 sound/pci/ali5451/ali5451.c snd_ali_enable_spdif_out(codec);
codec 1854 sound/pci/ali5451/ali5451.c codec->spdif_mask &= ~(0x02);
codec 1855 sound/pci/ali5451/ali5451.c codec->spdif_mask &= ~(0x04);
codec 1856 sound/pci/ali5451/ali5451.c snd_ali_disable_spdif_out(codec);
codec 1861 sound/pci/ali5451/ali5451.c change = (codec->spdif_mask & 0x04) ? 1 : 0;
codec 1863 sound/pci/ali5451/ali5451.c if (change && (codec->spdif_mask & 0x02)) {
codec 1865 sound/pci/ali5451/ali5451.c codec->spdif_mask |= 0x04;
codec 1866 sound/pci/ali5451/ali5451.c snd_ali_enable_spdif_chnout(codec);
codec 1868 sound/pci/ali5451/ali5451.c codec->spdif_mask &= ~(0x04);
codec 1869 sound/pci/ali5451/ali5451.c snd_ali_disable_spdif_chnout(codec);
codec 1874 sound/pci/ali5451/ali5451.c change = (codec->spdif_mask & 0x01) ? 1 : 0;
codec 1878 sound/pci/ali5451/ali5451.c codec->spdif_mask |= 0x01;
codec 1879 sound/pci/ali5451/ali5451.c snd_ali_enable_spdif_in(codec);
codec 1881 sound/pci/ali5451/ali5451.c codec->spdif_mask &= ~(0x01);
codec 1882 sound/pci/ali5451/ali5451.c snd_ali_disable_spdif_in(codec);
codec 1889 sound/pci/ali5451/ali5451.c spin_unlock_irq(&codec->reg_lock);
codec 1914 sound/pci/ali5451/ali5451.c err = snd_ac97_bus(codec->card, 0, &ops, codec, &codec->ac97_bus);
codec 1919 sound/pci/ali5451/ali5451.c ac97.private_data = codec;
codec 1921 sound/pci/ali5451/ali5451.c for (i = 0; i < codec->num_of_codecs; i++) {
codec 1923 sound/pci/ali5451/ali5451.c err = snd_ac97_mixer(codec->ac97_bus, &ac97, &codec->ac97[i]);
codec 1929 sound/pci/ali5451/ali5451.c codec->num_of_codecs = 1;
codec 1934 sound/pci/ali5451/ali5451.c if (codec->spdif_support) {
codec 1936 sound/pci/ali5451/ali5451.c err = snd_ctl_add(codec->card,
codec 1937 sound/pci/ali5451/ali5451.c snd_ctl_new1(&snd_ali5451_mixer_spdif[idx], codec));
codec 2048 sound/pci/ali5451/ali5451.c if (codec->hw_initialized)
codec 2049 sound/pci/ali5451/ali5451.c snd_ali_disable_address_interrupt(codec);
codec 2050 sound/pci/ali5451/ali5451.c if (codec->irq >= 0)
codec 2051 sound/pci/ali5451/ali5451.c free_irq(codec->irq, codec);
codec 2052 sound/pci/ali5451/ali5451.c if (codec->port)
codec 2053 sound/pci/ali5451/ali5451.c pci_release_regions(codec->pci);
codec 2054 sound/pci/ali5451/ali5451.c pci_disable_device(codec->pci);
codec 2056 sound/pci/ali5451/ali5451.c kfree(codec->image);
codec 2058 sound/pci/ali5451/ali5451.c pci_dev_put(codec->pci_m1533);
codec 2059 sound/pci/ali5451/ali5451.c pci_dev_put(codec->pci_m7101);
codec 2060 sound/pci/ali5451/ali5451.c kfree(codec);
codec 2072 sound/pci/ali5451/ali5451.c if (snd_ali_reset_5451(codec)) {
codec 2077 sound/pci/ali5451/ali5451.c if (codec->revision == ALI_5451_V02) {
codec 2078 sound/pci/ali5451/ali5451.c pci_dev = codec->pci_m1533;
codec 2083 sound/pci/ali5451/ali5451.c pci_dev = codec->pci_m7101;
codec 2089 sound/pci/ali5451/ali5451.c pci_read_config_dword(codec->pci, 0x44, &legacy);
codec 2092 sound/pci/ali5451/ali5451.c pci_write_config_dword(codec->pci, 0x44, legacy);
codec 2094 sound/pci/ali5451/ali5451.c outl(0x80000001, ALI_REG(codec, ALI_GLOBAL_CONTROL));
codec 2095 sound/pci/ali5451/ali5451.c outl(0x00000000, ALI_REG(codec, ALI_AINTEN));
codec 2096 sound/pci/ali5451/ali5451.c outl(0xffffffff, ALI_REG(codec, ALI_AINT));
codec 2097 sound/pci/ali5451/ali5451.c outl(0x00000000, ALI_REG(codec, ALI_VOLUME));
codec 2098 sound/pci/ali5451/ali5451.c outb(0x10, ALI_REG(codec, ALI_MPUR2));
codec 2100 sound/pci/ali5451/ali5451.c codec->ac97_ext_id = snd_ali_codec_peek(codec, 0, AC97_EXTENDED_ID);
codec 2101 sound/pci/ali5451/ali5451.c codec->ac97_ext_status = snd_ali_codec_peek(codec, 0,
codec 2103 sound/pci/ali5451/ali5451.c if (codec->spdif_support) {
codec 2104 sound/pci/ali5451/ali5451.c snd_ali_enable_spdif_out(codec);
codec 2105 sound/pci/ali5451/ali5451.c codec->spdif_mask = 0x00000002;
codec 2108 sound/pci/ali5451/ali5451.c codec->num_of_codecs = 1;
codec 2111 sound/pci/ali5451/ali5451.c if (inl(ALI_REG(codec, ALI_SCTRL)) & ALI_SCTRL_CODEC2_READY) {
codec 2112 sound/pci/ali5451/ali5451.c codec->num_of_codecs++;
codec 2113 sound/pci/ali5451/ali5451.c outl(inl(ALI_REG(codec, ALI_SCTRL)) |
codec 2116 sound/pci/ali5451/ali5451.c ALI_REG(codec, ALI_SCTRL));
codec 2128 sound/pci/ali5451/ali5451.c struct snd_ali *codec = entry->private_data;
codec 2131 sound/pci/ali5451/ali5451.c snd_iprintf(buf, "%02x: %08x\n", i, inl(ALI_REG(codec, i)));
codec 2137 sound/pci/ali5451/ali5451.c if (!snd_card_proc_new(codec->card, "ali5451", &entry))
codec 2138 sound/pci/ali5451/ali5451.c snd_info_set_text_ops(entry, codec, snd_ali_proc_read);
codec 2146 sound/pci/ali5451/ali5451.c err = pci_request_regions(codec->pci, "ALI 5451");
codec 2149 sound/pci/ali5451/ali5451.c codec->port = pci_resource_start(codec->pci, 0);
codec 2151 sound/pci/ali5451/ali5451.c if (request_irq(codec->pci->irq, snd_ali_card_interrupt,
codec 2152 sound/pci/ali5451/ali5451.c IRQF_SHARED, "ALI 5451", codec)) {
codec 2156 sound/pci/ali5451/ali5451.c codec->irq = codec->pci->irq;
codec 2162 sound/pci/ali5451/ali5451.c struct snd_ali *codec = device->device_data;
codec 2163 sound/pci/ali5451/ali5451.c snd_ali_free(codec);
codec 2173 sound/pci/ali5451/ali5451.c struct snd_ali *codec;
codec 2197 sound/pci/ali5451/ali5451.c codec = kzalloc(sizeof(*codec), GFP_KERNEL);
codec 2198 sound/pci/ali5451/ali5451.c if (!codec) {
codec 2203 sound/pci/ali5451/ali5451.c spin_lock_init(&codec->reg_lock);
codec 2204 sound/pci/ali5451/ali5451.c spin_lock_init(&codec->voice_alloc);
codec 2206 sound/pci/ali5451/ali5451.c codec->card = card;
codec 2207 sound/pci/ali5451/ali5451.c codec->pci = pci;
codec 2208 sound/pci/ali5451/ali5451.c codec->irq = -1;
codec 2209 sound/pci/ali5451/ali5451.c codec->revision = pci->revision;
codec 2210 sound/pci/ali5451/ali5451.c codec->spdif_support = spdif_support;
codec 2225 sound/pci/ali5451/ali5451.c if (snd_ali_resources(codec)) {
codec 2226 sound/pci/ali5451/ali5451.c snd_ali_free(codec);
codec 2232 sound/pci/ali5451/ali5451.c codec->synth.chmap = 0;
codec 2233 sound/pci/ali5451/ali5451.c codec->synth.chcnt = 0;
codec 2234 sound/pci/ali5451/ali5451.c codec->spdif_mask = 0;
codec 2235 sound/pci/ali5451/ali5451.c codec->synth.synthcount = 0;
codec 2237 sound/pci/ali5451/ali5451.c if (codec->revision == ALI_5451_V02)
codec 2238 sound/pci/ali5451/ali5451.c codec->chregs.regs.ac97read = ALI_AC97_WRITE;
codec 2240 sound/pci/ali5451/ali5451.c codec->chregs.regs.ac97read = ALI_AC97_READ;
codec 2241 sound/pci/ali5451/ali5451.c codec->chregs.regs.ac97write = ALI_AC97_WRITE;
codec 2243 sound/pci/ali5451/ali5451.c codec->chregs.regs.start = ALI_START;
codec 2244 sound/pci/ali5451/ali5451.c codec->chregs.regs.stop = ALI_STOP;
codec 2245 sound/pci/ali5451/ali5451.c codec->chregs.regs.aint = ALI_AINT;
codec 2246 sound/pci/ali5451/ali5451.c codec->chregs.regs.ainten = ALI_AINTEN;
codec 2248 sound/pci/ali5451/ali5451.c codec->chregs.data.start = 0x00;
codec 2249 sound/pci/ali5451/ali5451.c codec->chregs.data.stop = 0x00;
codec 2250 sound/pci/ali5451/ali5451.c codec->chregs.data.aint = 0x00;
codec 2251 sound/pci/ali5451/ali5451.c codec->chregs.data.ainten = 0x00;
codec 2254 sound/pci/ali5451/ali5451.c codec->pci_m1533 = pci_get_device(0x10b9, 0x1533, NULL);
codec 2255 sound/pci/ali5451/ali5451.c if (!codec->pci_m1533) {
codec 2257 sound/pci/ali5451/ali5451.c snd_ali_free(codec);
codec 2261 sound/pci/ali5451/ali5451.c codec->pci_m7101 = pci_get_device(0x10b9, 0x7101, NULL);
codec 2262 sound/pci/ali5451/ali5451.c if (!codec->pci_m7101 && codec->revision == ALI_5451_V02) {
codec 2264 sound/pci/ali5451/ali5451.c snd_ali_free(codec);
codec 2269 sound/pci/ali5451/ali5451.c err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, codec, &ops);
codec 2271 sound/pci/ali5451/ali5451.c snd_ali_free(codec);
codec 2279 sound/pci/ali5451/ali5451.c codec->synth.voices[i].number = i;
codec 2281 sound/pci/ali5451/ali5451.c err = snd_ali_chip_init(codec);
codec 2288 sound/pci/ali5451/ali5451.c codec->image = kmalloc(sizeof(*codec->image), GFP_KERNEL);
codec 2289 sound/pci/ali5451/ali5451.c if (!codec->image)
codec 2293 sound/pci/ali5451/ali5451.c snd_ali_enable_address_interrupt(codec);
codec 2294 sound/pci/ali5451/ali5451.c codec->hw_initialized = 1;
codec 2296 sound/pci/ali5451/ali5451.c *r_ali = codec;
codec 2305 sound/pci/ali5451/ali5451.c struct snd_ali *codec;
codec 2314 sound/pci/ali5451/ali5451.c err = snd_ali_create(card, pci, pcm_channels, spdif, &codec);
codec 2317 sound/pci/ali5451/ali5451.c card->private_data = codec;
codec 2320 sound/pci/ali5451/ali5451.c err = snd_ali_mixer(codec);
codec 2325 sound/pci/ali5451/ali5451.c err = snd_ali_build_pcms(codec);
codec 2329 sound/pci/ali5451/ali5451.c snd_ali_proc_init(codec);
codec 2335 sound/pci/ali5451/ali5451.c card->shortname, codec->port, codec->irq);
codec 452 sound/pci/atiixp.c codec;
codec 479 sound/pci/atiixp.c ATI_REG_PHYS_OUT_ADDR_EN | codec;
codec 423 sound/pci/atiixp_modem.c codec;
codec 451 sound/pci/atiixp_modem.c ATI_REG_PHYS_OUT_ADDR_EN | codec;
codec 141 sound/pci/au88x0/au88x0.h struct snd_ac97 *codec;
codec 2307 sound/pci/au88x0/au88x0_core.c snd_ac97_write_cache(vortex->codec,
codec 2309 sound/pci/au88x0/au88x0_core.c snd_ac97_read(vortex->codec,
codec 2314 sound/pci/au88x0/au88x0_core.c snd_ac97_write_cache(vortex->codec,
codec 2316 sound/pci/au88x0/au88x0_core.c snd_ac97_read(vortex->codec,
codec 2516 sound/pci/au88x0/au88x0_core.c vortex_t *card = (vortex_t *) codec->private_data;
codec 2532 sound/pci/au88x0/au88x0_core.c (codec->num << VORTEX_CODEC_ID_SHIFT) );
codec 2541 sound/pci/au88x0/au88x0_core.c vortex_t *card = (vortex_t *) codec->private_data;
codec 2555 sound/pci/au88x0/au88x0_core.c (codec->num << VORTEX_CODEC_ID_SHIFT) ;
codec 29 sound/pci/au88x0/au88x0_mixer.c err = snd_ac97_mixer(pbus, &ac97, &vortex->codec);
codec 30 sound/pci/au88x0/au88x0_mixer.c vortex->isquad = ((vortex->codec == NULL) ? 0 : (vortex->codec->ext_id&0x80));
codec 2288 sound/pci/cs46xx/cs46xx_lib.c ac97.num = codec;
codec 2292 sound/pci/cs46xx/cs46xx_lib.c if (codec == CS46XX_SECONDARY_CODEC_INDEX) {
codec 2293 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_codec_write(chip, AC97_RESET, 0, codec);
codec 2295 sound/pci/cs46xx/cs46xx_lib.c if (snd_cs46xx_codec_read(chip, AC97_RESET, codec) & 0x8000) {
codec 2301 sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_codec_write(chip, AC97_MASTER, 0x8000, codec);
codec 2303 sound/pci/cs46xx/cs46xx_lib.c if (snd_cs46xx_codec_read(chip, AC97_MASTER, codec) == 0x8000) {
codec 2304 sound/pci/cs46xx/cs46xx_lib.c err = snd_ac97_mixer(chip->ac97_bus, &ac97, &chip->ac97[codec]);
codec 2309 sound/pci/cs46xx/cs46xx_lib.c snd_printdd("snd_cs46xx: codec %d detection timeout\n", codec);
codec 38 sound/pci/hda/hda_beep.c struct hda_codec *codec = beep->codec;
codec 41 sound/pci/hda/hda_beep.c snd_hda_codec_write_cache(codec, beep->nid, 0,
codec 86 sound/pci/hda/hda_beep.c "card%d/codec#%d/beep0", codec->bus->card->number, codec->addr);
codec 94 sound/pci/hda/hda_beep.c input_dev->id.vendor = codec->vendor_id >> 16;
codec 95 sound/pci/hda/hda_beep.c input_dev->id.product = codec->vendor_id & 0xffff;
codec 101 sound/pci/hda/hda_beep.c input_dev->dev.parent = &codec->bus->pci->dev;
codec 112 sound/pci/hda/hda_beep.c snd_hda_codec_write(codec, nid, 0,
codec 117 sound/pci/hda/hda_beep.c beep->codec = codec;
codec 118 sound/pci/hda/hda_beep.c codec->beep = beep;
codec 126 sound/pci/hda/hda_beep.c struct hda_beep *beep = codec->beep;
codec 30 sound/pci/hda/hda_beep.h struct hda_codec *codec;
codec 127 sound/pci/hda/hda_codec.c snd_hda_power_up(codec);
codec 128 sound/pci/hda/hda_codec.c mutex_lock(&codec->bus->cmd_mutex);
codec 129 sound/pci/hda/hda_codec.c if (!codec->bus->ops.command(codec, nid, direct, verb, parm))
codec 130 sound/pci/hda/hda_codec.c res = codec->bus->ops.get_response(codec);
codec 133 sound/pci/hda/hda_codec.c mutex_unlock(&codec->bus->cmd_mutex);
codec 134 sound/pci/hda/hda_codec.c snd_hda_power_down(codec);
codec 154 sound/pci/hda/hda_codec.c snd_hda_power_up(codec);
codec 155 sound/pci/hda/hda_codec.c mutex_lock(&codec->bus->cmd_mutex);
codec 156 sound/pci/hda/hda_codec.c err = codec->bus->ops.command(codec, nid, direct, verb, parm);
codec 157 sound/pci/hda/hda_codec.c mutex_unlock(&codec->bus->cmd_mutex);
codec 158 sound/pci/hda/hda_codec.c snd_hda_power_down(codec);
codec 173 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, seq->nid, 0, seq->verb, seq->param);
codec 190 sound/pci/hda/hda_codec.c parm = snd_hda_param_read(codec, nid, AC_PAR_NODE_COUNT);
codec 220 sound/pci/hda/hda_codec.c parm = snd_hda_param_read(codec, nid, AC_PAR_CONNLIST_LEN);
codec 238 sound/pci/hda/hda_codec.c parm = snd_hda_codec_read(codec, nid, 0,
codec 252 sound/pci/hda/hda_codec.c parm = snd_hda_codec_read(codec, nid, 0,
codec 327 sound/pci/hda/hda_codec.c struct hda_codec *codec;
codec 338 sound/pci/hda/hda_codec.c codec = bus->caddr_tbl[caddr & 0x0f];
codec 339 sound/pci/hda/hda_codec.c if (codec && codec->patch_ops.unsol_event)
codec 340 sound/pci/hda/hda_codec.c codec->patch_ops.unsol_event(codec, res);
codec 373 sound/pci/hda/hda_codec.c struct hda_codec *codec, *n;
codec 381 sound/pci/hda/hda_codec.c list_for_each_entry_safe(codec, n, &bus->codec_list, list) {
codec 382 sound/pci/hda/hda_codec.c snd_hda_codec_free(codec);
codec 449 sound/pci/hda/hda_codec.c (codec->bus->modelname && !strcmp(codec->bus->modelname, "generic"))
codec 462 sound/pci/hda/hda_codec.c if (is_generic_config(codec))
codec 468 sound/pci/hda/hda_codec.c if (preset->afg && preset->afg != codec->afg)
codec 470 sound/pci/hda/hda_codec.c if (preset->mfg && preset->mfg != codec->mfg)
codec 474 sound/pci/hda/hda_codec.c if (preset->id == (codec->vendor_id & mask) &&
codec 476 sound/pci/hda/hda_codec.c preset->rev == codec->revision_id))
codec 491 sound/pci/hda/hda_codec.c u16 vendor_id = codec->vendor_id >> 16;
codec 504 sound/pci/hda/hda_codec.c if (codec->preset && codec->preset->name)
codec 505 sound/pci/hda/hda_codec.c snprintf(name, namelen, "%s %s", vendor, codec->preset->name);
codec 508 sound/pci/hda/hda_codec.c codec->vendor_id & 0xffff);
codec 519 sound/pci/hda/hda_codec.c total_nodes = snd_hda_get_sub_nodes(codec, AC_NODE_ROOT, &nid);
codec 522 sound/pci/hda/hda_codec.c func = snd_hda_param_read(codec, nid, AC_PAR_FUNCTION_TYPE);
codec 525 sound/pci/hda/hda_codec.c codec->afg = nid;
codec 528 sound/pci/hda/hda_codec.c codec->mfg = nid;
codec 544 sound/pci/hda/hda_codec.c codec->num_nodes = snd_hda_get_sub_nodes(codec, fg_node,
codec 545 sound/pci/hda/hda_codec.c &codec->start_nid);
codec 546 sound/pci/hda/hda_codec.c codec->wcaps = kmalloc(codec->num_nodes * 4, GFP_KERNEL);
codec 547 sound/pci/hda/hda_codec.c if (!codec->wcaps)
codec 549 sound/pci/hda/hda_codec.c nid = codec->start_nid;
codec 550 sound/pci/hda/hda_codec.c for (i = 0; i < codec->num_nodes; i++, nid++)
codec 551 sound/pci/hda/hda_codec.c codec->wcaps[i] = snd_hda_param_read(codec, nid,
codec 566 sound/pci/hda/hda_codec.c if (!codec)
codec 569 sound/pci/hda/hda_codec.c cancel_delayed_work(&codec->power_work);
codec 572 sound/pci/hda/hda_codec.c list_del(&codec->list);
codec 573 sound/pci/hda/hda_codec.c codec->bus->caddr_tbl[codec->addr] = NULL;
codec 574 sound/pci/hda/hda_codec.c if (codec->patch_ops.free)
codec 575 sound/pci/hda/hda_codec.c codec->patch_ops.free(codec);
codec 576 sound/pci/hda/hda_codec.c free_hda_cache(&codec->amp_cache);
codec 577 sound/pci/hda/hda_codec.c free_hda_cache(&codec->cmd_cache);
codec 578 sound/pci/hda/hda_codec.c kfree(codec->wcaps);
codec 579 sound/pci/hda/hda_codec.c kfree(codec);
codec 593 sound/pci/hda/hda_codec.c struct hda_codec *codec;
codec 608 sound/pci/hda/hda_codec.c codec = kzalloc(sizeof(*codec), GFP_KERNEL);
codec 609 sound/pci/hda/hda_codec.c if (codec == NULL) {
codec 614 sound/pci/hda/hda_codec.c codec->bus = bus;
codec 615 sound/pci/hda/hda_codec.c codec->addr = codec_addr;
codec 616 sound/pci/hda/hda_codec.c mutex_init(&codec->spdif_mutex);
codec 617 sound/pci/hda/hda_codec.c init_hda_cache(&codec->amp_cache, sizeof(struct hda_amp_info));
codec 618 sound/pci/hda/hda_codec.c init_hda_cache(&codec->cmd_cache, sizeof(struct hda_cache_head));
codec 621 sound/pci/hda/hda_codec.c INIT_DELAYED_WORK(&codec->power_work, hda_power_work);
codec 626 sound/pci/hda/hda_codec.c hda_keep_power_on(codec);
codec 629 sound/pci/hda/hda_codec.c list_add_tail(&codec->list, &bus->codec_list);
codec 630 sound/pci/hda/hda_codec.c bus->caddr_tbl[codec_addr] = codec;
codec 632 sound/pci/hda/hda_codec.c codec->vendor_id = snd_hda_param_read(codec, AC_NODE_ROOT,
codec 634 sound/pci/hda/hda_codec.c if (codec->vendor_id == -1)
codec 638 sound/pci/hda/hda_codec.c codec->vendor_id = snd_hda_param_read(codec, AC_NODE_ROOT,
codec 640 sound/pci/hda/hda_codec.c codec->subsystem_id = snd_hda_param_read(codec, AC_NODE_ROOT,
codec 642 sound/pci/hda/hda_codec.c codec->revision_id = snd_hda_param_read(codec, AC_NODE_ROOT,
codec 645 sound/pci/hda/hda_codec.c setup_fg_nodes(codec);
codec 646 sound/pci/hda/hda_codec.c if (!codec->afg && !codec->mfg) {
codec 648 sound/pci/hda/hda_codec.c snd_hda_codec_free(codec);
codec 652 sound/pci/hda/hda_codec.c if (read_widget_caps(codec, codec->afg ? codec->afg : codec->mfg) < 0) {
codec 654 sound/pci/hda/hda_codec.c snd_hda_codec_free(codec);
codec 658 sound/pci/hda/hda_codec.c if (!codec->subsystem_id) {
codec 659 sound/pci/hda/hda_codec.c hda_nid_t nid = codec->afg ? codec->afg : codec->mfg;
codec 660 sound/pci/hda/hda_codec.c codec->subsystem_id =
codec 661 sound/pci/hda/hda_codec.c snd_hda_codec_read(codec, nid, 0,
codec 665 sound/pci/hda/hda_codec.c codec->preset = find_codec_preset(codec);
codec 667 sound/pci/hda/hda_codec.c if (codec->afg || !*bus->card->mixername)
codec 668 sound/pci/hda/hda_codec.c snd_hda_get_codec_name(codec, bus->card->mixername,
codec 671 sound/pci/hda/hda_codec.c if (is_generic_config(codec)) {
codec 672 sound/pci/hda/hda_codec.c err = snd_hda_parse_generic_codec(codec);
codec 675 sound/pci/hda/hda_codec.c if (codec->preset && codec->preset->patch) {
codec 676 sound/pci/hda/hda_codec.c err = codec->preset->patch(codec);
codec 681 sound/pci/hda/hda_codec.c err = snd_hda_parse_generic_codec(codec);
codec 687 sound/pci/hda/hda_codec.c snd_hda_codec_free(codec);
codec 691 sound/pci/hda/hda_codec.c if (codec->patch_ops.unsol_event)
codec 694 sound/pci/hda/hda_codec.c snd_hda_codec_proc_new(codec);
codec 696 sound/pci/hda/hda_codec.c snd_hda_create_hwdep(codec);
codec 699 sound/pci/hda/hda_codec.c sprintf(component, "HDA:%08x,%08x,%08x", codec->vendor_id, codec->subsystem_id, codec->revision_id);
codec 700 sound/pci/hda/hda_codec.c snd_component_add(codec->bus->card, component);
codec 703 sound/pci/hda/hda_codec.c *codecp = codec;
codec 725 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_CHANNEL_STREAMID,
codec 728 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_STREAM_FORMAT, format);
codec 737 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_CHANNEL_STREAMID, 0);
codec 740 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_STREAM_FORMAT, 0);
codec 817 sound/pci/hda/hda_codec.c return (struct hda_amp_info *)get_alloc_hash(&codec->amp_cache, key);
codec 827 sound/pci/hda/hda_codec.c info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, direction, 0));
codec 831 sound/pci/hda/hda_codec.c if (!(get_wcaps(codec, nid) & AC_WCAP_AMP_OVRD))
codec 832 sound/pci/hda/hda_codec.c nid = codec->afg;
codec 833 sound/pci/hda/hda_codec.c info->amp_caps = snd_hda_param_read(codec, nid,
codec 848 sound/pci/hda/hda_codec.c info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, dir, 0));
codec 872 sound/pci/hda/hda_codec.c val = snd_hda_codec_read(codec, nid, 0,
codec 892 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE, parm);
codec 903 sound/pci/hda/hda_codec.c info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, direction, index));
codec 906 sound/pci/hda/hda_codec.c return get_vol_mute(codec, info, nid, ch, direction, index);
codec 917 sound/pci/hda/hda_codec.c info = get_alloc_amp_hash(codec, HDA_HASH_KEY(nid, direction, idx));
codec 921 sound/pci/hda/hda_codec.c val |= get_vol_mute(codec, info, nid, ch, direction, idx) & ~mask;
codec 924 sound/pci/hda/hda_codec.c put_vol_mute(codec, info, nid, ch, direction, idx, val);
codec 936 sound/pci/hda/hda_codec.c ret |= snd_hda_codec_amp_update(codec, nid, ch, direction,
codec 945 sound/pci/hda/hda_codec.c struct hda_amp_info *buffer = codec->amp_cache.buffer;
codec 948 sound/pci/hda/hda_codec.c for (i = 0; i < codec->amp_cache.size; i++, buffer++) {
codec 960 sound/pci/hda/hda_codec.c put_vol_mute(codec, buffer, nid, ch, dir, idx,
codec 971 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 977 sound/pci/hda/hda_codec.c caps = query_amp_caps(codec, nid, dir);
codec 996 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1004 sound/pci/hda/hda_codec.c *valp++ = snd_hda_codec_amp_read(codec, nid, 0, dir, idx)
codec 1007 sound/pci/hda/hda_codec.c *valp = snd_hda_codec_amp_read(codec, nid, 1, dir, idx)
codec 1015 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1023 sound/pci/hda/hda_codec.c snd_hda_power_up(codec);
codec 1025 sound/pci/hda/hda_codec.c change = snd_hda_codec_amp_update(codec, nid, 0, dir, idx,
codec 1030 sound/pci/hda/hda_codec.c change |= snd_hda_codec_amp_update(codec, nid, 1, dir, idx,
codec 1032 sound/pci/hda/hda_codec.c snd_hda_power_down(codec);
codec 1039 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1046 sound/pci/hda/hda_codec.c caps = query_amp_caps(codec, nid, dir);
codec 1071 sound/pci/hda/hda_codec.c caps = query_amp_caps(codec, nid, dir);
codec 1091 sound/pci/hda/hda_codec.c return snd_ctl_find_id(codec->bus->card, &id);
codec 1097 sound/pci/hda/hda_codec.c return _snd_hda_find_mixer_ctl(codec, name, 0);
codec 1108 sound/pci/hda/hda_codec.c for (s = slaves; *s && !snd_hda_find_mixer_ctl(codec, *s); s++)
codec 1117 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl);
codec 1124 sound/pci/hda/hda_codec.c sctl = snd_hda_find_mixer_ctl(codec, *s);
codec 1152 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1160 sound/pci/hda/hda_codec.c *valp++ = (snd_hda_codec_amp_read(codec, nid, 0, dir, idx) &
codec 1163 sound/pci/hda/hda_codec.c *valp = (snd_hda_codec_amp_read(codec, nid, 1, dir, idx) &
codec 1171 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1179 sound/pci/hda/hda_codec.c snd_hda_power_up(codec);
codec 1181 sound/pci/hda/hda_codec.c change = snd_hda_codec_amp_update(codec, nid, 0, dir, idx,
codec 1187 sound/pci/hda/hda_codec.c change |= snd_hda_codec_amp_update(codec, nid, 1, dir, idx,
codec 1191 sound/pci/hda/hda_codec.c if (codec->patch_ops.check_power_status)
codec 1192 sound/pci/hda/hda_codec.c codec->patch_ops.check_power_status(codec, nid);
codec 1194 sound/pci/hda/hda_codec.c snd_hda_power_down(codec);
codec 1210 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1214 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex); /* reuse spdif_mutex */
codec 1219 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 1226 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1230 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex); /* reuse spdif_mutex */
codec 1242 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 1252 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1256 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex); /* reuse spdif_mutex */
codec 1261 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 1268 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1272 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex); /* reuse spdif_mutex */
codec 1277 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 1284 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1289 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex); /* reuse spdif_mutex */
codec 1299 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 1306 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1310 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex); /* reuse spdif_mutex */
codec 1315 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 1369 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1371 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[0] = codec->spdif_status & 0xff;
codec 1372 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[1] = (codec->spdif_status >> 8) & 0xff;
codec 1373 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[2] = (codec->spdif_status >> 16) & 0xff;
codec 1374 sound/pci/hda/hda_codec.c ucontrol->value.iec958.status[3] = (codec->spdif_status >> 24) & 0xff;
codec 1438 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, nid, 0, verb, val);
codec 1439 sound/pci/hda/hda_codec.c d = codec->slave_dig_outs;
codec 1443 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, *d, 0, verb, val);
codec 1450 sound/pci/hda/hda_codec.c set_dig_out(codec, nid, AC_VERB_SET_DIGI_CONVERT_1, dig1);
codec 1452 sound/pci/hda/hda_codec.c set_dig_out(codec, nid, AC_VERB_SET_DIGI_CONVERT_2, dig2);
codec 1458 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1463 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex);
codec 1464 sound/pci/hda/hda_codec.c codec->spdif_status = ucontrol->value.iec958.status[0] |
codec 1468 sound/pci/hda/hda_codec.c val = convert_from_spdif_status(codec->spdif_status);
codec 1469 sound/pci/hda/hda_codec.c val |= codec->spdif_ctls & 1;
codec 1470 sound/pci/hda/hda_codec.c change = codec->spdif_ctls != val;
codec 1471 sound/pci/hda/hda_codec.c codec->spdif_ctls = val;
codec 1474 sound/pci/hda/hda_codec.c set_dig_out_convert(codec, nid, val & 0xff, (val >> 8) & 0xff);
codec 1476 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 1485 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1487 sound/pci/hda/hda_codec.c ucontrol->value.integer.value[0] = codec->spdif_ctls & AC_DIG1_ENABLE;
codec 1494 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1499 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex);
codec 1500 sound/pci/hda/hda_codec.c val = codec->spdif_ctls & ~AC_DIG1_ENABLE;
codec 1503 sound/pci/hda/hda_codec.c change = codec->spdif_ctls != val;
codec 1505 sound/pci/hda/hda_codec.c codec->spdif_ctls = val;
codec 1506 sound/pci/hda/hda_codec.c set_dig_out_convert(codec, nid, val & 0xff, -1);
codec 1508 sound/pci/hda/hda_codec.c if ((get_wcaps(codec, nid) & AC_WCAP_OUT_AMP) &&
codec 1510 sound/pci/hda/hda_codec.c snd_hda_codec_amp_stereo(codec, nid, HDA_OUTPUT, 0,
codec 1513 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 1569 sound/pci/hda/hda_codec.c if (!_snd_hda_find_mixer_ctl(codec, "IEC958 Playback Switch",
codec 1578 sound/pci/hda/hda_codec.c kctl = snd_ctl_new1(dig_mix, codec);
codec 1581 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl);
codec 1585 sound/pci/hda/hda_codec.c codec->spdif_ctls =
codec 1586 sound/pci/hda/hda_codec.c snd_hda_codec_read(codec, nid, 0,
codec 1588 sound/pci/hda/hda_codec.c codec->spdif_status = convert_to_spdif_status(codec->spdif_ctls);
codec 1625 sound/pci/hda/hda_codec.c return snd_ctl_add(codec->bus->card,
codec 1638 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1640 sound/pci/hda/hda_codec.c ucontrol->value.integer.value[0] = codec->spdif_in_enable;
codec 1647 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1652 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex);
codec 1653 sound/pci/hda/hda_codec.c change = codec->spdif_in_enable != val;
codec 1655 sound/pci/hda/hda_codec.c codec->spdif_in_enable = val;
codec 1656 sound/pci/hda/hda_codec.c snd_hda_codec_write_cache(codec, nid, 0,
codec 1659 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 1666 sound/pci/hda/hda_codec.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1671 sound/pci/hda/hda_codec.c val = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_DIGI_CONVERT_1, 0);
codec 1716 sound/pci/hda/hda_codec.c if (!_snd_hda_find_mixer_ctl(codec, "IEC958 Capture Switch",
codec 1725 sound/pci/hda/hda_codec.c kctl = snd_ctl_new1(dig_mix, codec);
codec 1727 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl);
codec 1731 sound/pci/hda/hda_codec.c codec->spdif_in_enable =
codec 1732 sound/pci/hda/hda_codec.c snd_hda_codec_read(codec, nid, 0,
codec 1764 sound/pci/hda/hda_codec.c snd_hda_power_up(codec);
codec 1765 sound/pci/hda/hda_codec.c mutex_lock(&codec->bus->cmd_mutex);
codec 1766 sound/pci/hda/hda_codec.c err = codec->bus->ops.command(codec, nid, direct, verb, parm);
codec 1770 sound/pci/hda/hda_codec.c c = get_alloc_hash(&codec->cmd_cache, key);
codec 1774 sound/pci/hda/hda_codec.c mutex_unlock(&codec->bus->cmd_mutex);
codec 1775 sound/pci/hda/hda_codec.c snd_hda_power_down(codec);
codec 1782 sound/pci/hda/hda_codec.c struct hda_cache_head *buffer = codec->cmd_cache.buffer;
codec 1785 sound/pci/hda/hda_codec.c for (i = 0; i < codec->cmd_cache.size; i++, buffer++) {
codec 1789 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, get_cmd_cache_nid(key), 0,
codec 1807 sound/pci/hda/hda_codec.c snd_hda_codec_write_cache(codec, seq->nid, 0, seq->verb,
codec 1821 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, fg, 0, AC_VERB_SET_POWER_STATE,
codec 1825 sound/pci/hda/hda_codec.c nid = codec->start_nid;
codec 1826 sound/pci/hda/hda_codec.c for (i = 0; i < codec->num_nodes; i++, nid++) {
codec 1827 sound/pci/hda/hda_codec.c unsigned int wcaps = get_wcaps(codec, nid);
codec 1837 sound/pci/hda/hda_codec.c pincap = snd_hda_param_read(codec, nid,
codec 1840 sound/pci/hda/hda_codec.c int eapd = snd_hda_codec_read(codec,
codec 1848 sound/pci/hda/hda_codec.c snd_hda_codec_write(codec, nid, 0,
codec 1861 sound/pci/hda/hda_codec.c state = snd_hda_codec_read(codec, fg, 0,
codec 1876 sound/pci/hda/hda_codec.c if (codec->patch_ops.suspend)
codec 1877 sound/pci/hda/hda_codec.c codec->patch_ops.suspend(codec, PMSG_SUSPEND);
codec 1878 sound/pci/hda/hda_codec.c hda_set_power_state(codec,
codec 1879 sound/pci/hda/hda_codec.c codec->afg ? codec->afg : codec->mfg,
codec 1882 sound/pci/hda/hda_codec.c cancel_delayed_work(&codec->power_work);
codec 1883 sound/pci/hda/hda_codec.c codec->power_on = 0;
codec 1884 sound/pci/hda/hda_codec.c codec->power_transition = 0;
codec 1893 sound/pci/hda/hda_codec.c hda_set_power_state(codec,
codec 1894 sound/pci/hda/hda_codec.c codec->afg ? codec->afg : codec->mfg,
codec 1896 sound/pci/hda/hda_codec.c if (codec->patch_ops.resume)
codec 1897 sound/pci/hda/hda_codec.c codec->patch_ops.resume(codec);
codec 1899 sound/pci/hda/hda_codec.c if (codec->patch_ops.init)
codec 1900 sound/pci/hda/hda_codec.c codec->patch_ops.init(codec);
codec 1901 sound/pci/hda/hda_codec.c snd_hda_codec_resume_amp(codec);
codec 1902 sound/pci/hda/hda_codec.c snd_hda_codec_resume_cache(codec);
codec 1918 sound/pci/hda/hda_codec.c struct hda_codec *codec;
codec 1920 sound/pci/hda/hda_codec.c list_for_each_entry(codec, &bus->codec_list, list) {
codec 1923 sound/pci/hda/hda_codec.c hda_keep_power_on(codec);
codec 1925 sound/pci/hda/hda_codec.c hda_set_power_state(codec,
codec 1926 sound/pci/hda/hda_codec.c codec->afg ? codec->afg : codec->mfg,
codec 1929 sound/pci/hda/hda_codec.c if (codec->patch_ops.init)
codec 1930 sound/pci/hda/hda_codec.c err = codec->patch_ops.init(codec);
codec 1931 sound/pci/hda/hda_codec.c if (!err && codec->patch_ops.build_controls)
codec 1932 sound/pci/hda/hda_codec.c err = codec->patch_ops.build_controls(codec);
codec 1933 sound/pci/hda/hda_codec.c snd_hda_power_down(codec);
codec 2051 sound/pci/hda/hda_codec.c if (nid != codec->afg &&
codec 2052 sound/pci/hda/hda_codec.c (get_wcaps(codec, nid) & AC_WCAP_FORMAT_OVRD)) {
codec 2053 sound/pci/hda/hda_codec.c val = snd_hda_param_read(codec, nid, AC_PAR_PCM);
codec 2058 sound/pci/hda/hda_codec.c val = snd_hda_param_read(codec, codec->afg, AC_PAR_PCM);
codec 2074 sound/pci/hda/hda_codec.c wcaps = get_wcaps(codec, nid);
codec 2075 sound/pci/hda/hda_codec.c streams = snd_hda_param_read(codec, nid, AC_PAR_STREAM);
codec 2079 sound/pci/hda/hda_codec.c streams = snd_hda_param_read(codec, codec->afg,
codec 2148 sound/pci/hda/hda_codec.c if (nid != codec->afg &&
codec 2149 sound/pci/hda/hda_codec.c (get_wcaps(codec, nid) & AC_WCAP_FORMAT_OVRD)) {
codec 2150 sound/pci/hda/hda_codec.c val = snd_hda_param_read(codec, nid, AC_PAR_PCM);
codec 2155 sound/pci/hda/hda_codec.c val = snd_hda_param_read(codec, codec->afg, AC_PAR_PCM);
codec 2170 sound/pci/hda/hda_codec.c stream = snd_hda_param_read(codec, nid, AC_PAR_STREAM);
codec 2173 sound/pci/hda/hda_codec.c if (!stream && nid != codec->afg)
codec 2174 sound/pci/hda/hda_codec.c stream = snd_hda_param_read(codec, codec->afg, AC_PAR_STREAM);
codec 2226 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format);
codec 2234 sound/pci/hda/hda_codec.c snd_hda_codec_cleanup_stream(codec, hinfo->nid);
codec 2243 sound/pci/hda/hda_codec.c snd_hda_query_supported_pcm(codec, info->nid,
codec 2293 sound/pci/hda/hda_codec.c struct hda_codec *codec;
codec 2295 sound/pci/hda/hda_codec.c list_for_each_entry(codec, &bus->codec_list, list) {
codec 2298 sound/pci/hda/hda_codec.c if (!codec->patch_ops.build_pcms)
codec 2300 sound/pci/hda/hda_codec.c err = codec->patch_ops.build_pcms(codec);
codec 2303 sound/pci/hda/hda_codec.c for (pcm = 0; pcm < codec->num_pcms; pcm++) {
codec 2306 sound/pci/hda/hda_codec.c info = &codec->pcm_info[pcm].stream[s];
codec 2309 sound/pci/hda/hda_codec.c err = set_pcm_default_values(codec, info);
codec 2335 sound/pci/hda/hda_codec.c if (codec->bus->modelname && models) {
codec 2339 sound/pci/hda/hda_codec.c !strcmp(codec->bus->modelname, models[i])) {
codec 2347 sound/pci/hda/hda_codec.c if (!codec->bus->pci || !tbl)
codec 2350 sound/pci/hda/hda_codec.c tbl = snd_pci_quirk_lookup(codec->bus->pci, tbl);
codec 2389 sound/pci/hda/hda_codec.c kctl = snd_ctl_new1(knew, codec);
codec 2392 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl);
codec 2394 sound/pci/hda/hda_codec.c if (!codec->addr)
codec 2396 sound/pci/hda/hda_codec.c kctl = snd_ctl_new1(knew, codec);
codec 2399 sound/pci/hda/hda_codec.c kctl->id.device = codec->addr;
codec 2400 sound/pci/hda/hda_codec.c err = snd_ctl_add(codec->bus->card, kctl);
codec 2414 sound/pci/hda/hda_codec.c struct hda_codec *codec =
codec 2417 sound/pci/hda/hda_codec.c if (!codec->power_on || codec->power_count) {
codec 2418 sound/pci/hda/hda_codec.c codec->power_transition = 0;
codec 2422 sound/pci/hda/hda_codec.c hda_call_codec_suspend(codec);
codec 2423 sound/pci/hda/hda_codec.c if (codec->bus->ops.pm_notify)
codec 2424 sound/pci/hda/hda_codec.c codec->bus->ops.pm_notify(codec);
codec 2429 sound/pci/hda/hda_codec.c codec->power_count++;
codec 2430 sound/pci/hda/hda_codec.c codec->power_on = 1;
codec 2435 sound/pci/hda/hda_codec.c codec->power_count++;
codec 2436 sound/pci/hda/hda_codec.c if (codec->power_on || codec->power_transition)
codec 2439 sound/pci/hda/hda_codec.c codec->power_on = 1;
codec 2440 sound/pci/hda/hda_codec.c if (codec->bus->ops.pm_notify)
codec 2441 sound/pci/hda/hda_codec.c codec->bus->ops.pm_notify(codec);
codec 2442 sound/pci/hda/hda_codec.c hda_call_codec_resume(codec);
codec 2443 sound/pci/hda/hda_codec.c cancel_delayed_work(&codec->power_work);
codec 2444 sound/pci/hda/hda_codec.c codec->power_transition = 0;
codec 2449 sound/pci/hda/hda_codec.c --codec->power_count;
codec 2450 sound/pci/hda/hda_codec.c if (!codec->power_on || codec->power_count || codec->power_transition)
codec 2453 sound/pci/hda/hda_codec.c codec->power_transition = 1; /* avoid reentrance */
codec 2454 sound/pci/hda/hda_codec.c schedule_delayed_work(&codec->power_work,
codec 2477 sound/pci/hda/hda_codec.c v = snd_hda_codec_amp_read(codec, p->nid, ch, p->dir,
codec 2482 sound/pci/hda/hda_codec.c snd_hda_power_up(codec);
codec 2490 sound/pci/hda/hda_codec.c snd_hda_power_down(codec);
codec 2547 sound/pci/hda/hda_codec.c snd_hda_sequence_write_cache(codec, chmode[mode].sequence);
codec 2586 sound/pci/hda/hda_codec.c snd_hda_codec_write_cache(codec, nid, 0, AC_VERB_SET_CONNECT_SEL,
codec 2602 sound/pci/hda/hda_codec.c if (codec->spdif_status_reset && (codec->spdif_ctls & AC_DIG1_ENABLE))
codec 2603 sound/pci/hda/hda_codec.c set_dig_out_convert(codec, nid,
codec 2604 sound/pci/hda/hda_codec.c codec->spdif_ctls & ~AC_DIG1_ENABLE & 0xff,
codec 2606 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec, nid, stream_tag, 0, format);
codec 2607 sound/pci/hda/hda_codec.c if (codec->slave_dig_outs) {
codec 2609 sound/pci/hda/hda_codec.c for (d = codec->slave_dig_outs; *d; d++)
codec 2610 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec, *d, stream_tag, 0,
codec 2614 sound/pci/hda/hda_codec.c if (codec->spdif_status_reset && (codec->spdif_ctls & AC_DIG1_ENABLE))
codec 2615 sound/pci/hda/hda_codec.c set_dig_out_convert(codec, nid,
codec 2616 sound/pci/hda/hda_codec.c codec->spdif_ctls & 0xff, -1);
codec 2621 sound/pci/hda/hda_codec.c snd_hda_codec_cleanup_stream(codec, nid);
codec 2622 sound/pci/hda/hda_codec.c if (codec->slave_dig_outs) {
codec 2624 sound/pci/hda/hda_codec.c for (d = codec->slave_dig_outs; *d; d++)
codec 2625 sound/pci/hda/hda_codec.c snd_hda_codec_cleanup_stream(codec, *d);
codec 2635 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex);
codec 2638 sound/pci/hda/hda_codec.c cleanup_dig_out_stream(codec, mout->dig_out_nid);
codec 2640 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 2650 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex);
codec 2651 sound/pci/hda/hda_codec.c setup_dig_out_stream(codec, mout->dig_out_nid, stream_tag, format);
codec 2652 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 2662 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex);
codec 2664 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 2689 sound/pci/hda/hda_codec.c snd_hda_query_supported_pcm(codec, mout->dig_out_nid,
codec 2694 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex);
codec 2701 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 2721 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex);
codec 2725 sound/pci/hda/hda_codec.c snd_hda_is_supported_format(codec, mout->dig_out_nid,
codec 2727 sound/pci/hda/hda_codec.c !(codec->spdif_status & IEC958_AES0_NONAUDIO)) {
codec 2729 sound/pci/hda/hda_codec.c setup_dig_out_stream(codec, mout->dig_out_nid,
codec 2733 sound/pci/hda/hda_codec.c cleanup_dig_out_stream(codec, mout->dig_out_nid);
codec 2736 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 2739 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec, nids[HDA_FRONT], stream_tag,
codec 2744 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec, mout->hp_nid, stream_tag,
codec 2749 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec,
codec 2756 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec, nids[i], stream_tag,
codec 2759 sound/pci/hda/hda_codec.c snd_hda_codec_setup_stream(codec, nids[i], stream_tag,
codec 2775 sound/pci/hda/hda_codec.c snd_hda_codec_cleanup_stream(codec, nids[i]);
codec 2777 sound/pci/hda/hda_codec.c snd_hda_codec_cleanup_stream(codec, mout->hp_nid);
codec 2780 sound/pci/hda/hda_codec.c snd_hda_codec_cleanup_stream(codec,
codec 2782 sound/pci/hda/hda_codec.c mutex_lock(&codec->spdif_mutex);
codec 2784 sound/pci/hda/hda_codec.c cleanup_dig_out_stream(codec, mout->dig_out_nid);
codec 2787 sound/pci/hda/hda_codec.c mutex_unlock(&codec->spdif_mutex);
codec 2863 sound/pci/hda/hda_codec.c end_nid = codec->start_nid + codec->num_nodes;
codec 2864 sound/pci/hda/hda_codec.c for (nid = codec->start_nid; nid < end_nid; nid++) {
codec 2865 sound/pci/hda/hda_codec.c unsigned int wid_caps = get_wcaps(codec, nid);
codec 2878 sound/pci/hda/hda_codec.c def_conf = snd_hda_codec_read(codec, nid, 0,
codec 3096 sound/pci/hda/hda_codec.c struct hda_codec *codec;
codec 3098 sound/pci/hda/hda_codec.c list_for_each_entry(codec, &bus->codec_list, list) {
codec 3100 sound/pci/hda/hda_codec.c if (!codec->power_on)
codec 3103 sound/pci/hda/hda_codec.c hda_call_codec_suspend(codec);
codec 3120 sound/pci/hda/hda_codec.c struct hda_codec *codec;
codec 3122 sound/pci/hda/hda_codec.c list_for_each_entry(codec, &bus->codec_list, list) {
codec 3123 sound/pci/hda/hda_codec.c if (snd_hda_codec_needs_resume(codec))
codec 3124 sound/pci/hda/hda_codec.c hda_call_codec_resume(codec);
codec 3131 sound/pci/hda/hda_codec.c struct hda_codec *codec;
codec 3133 sound/pci/hda/hda_codec.c list_for_each_entry(codec, &bus->codec_list, list) {
codec 3134 sound/pci/hda/hda_codec.c if (snd_hda_codec_needs_resume(codec))
codec 539 sound/pci/hda/hda_codec.h int (*command)(struct hda_codec *codec, hda_nid_t nid, int direct,
codec 542 sound/pci/hda/hda_codec.h unsigned int (*get_response)(struct hda_codec *codec);
codec 547 sound/pci/hda/hda_codec.h void (*pm_notify)(struct hda_codec *codec);
codec 604 sound/pci/hda/hda_codec.h int (*patch)(struct hda_codec *codec);
codec 609 sound/pci/hda/hda_codec.h int (*build_controls)(struct hda_codec *codec);
codec 610 sound/pci/hda/hda_codec.h int (*build_pcms)(struct hda_codec *codec);
codec 611 sound/pci/hda/hda_codec.h int (*init)(struct hda_codec *codec);
codec 612 sound/pci/hda/hda_codec.h void (*free)(struct hda_codec *codec);
codec 613 sound/pci/hda/hda_codec.h void (*unsol_event)(struct hda_codec *codec, unsigned int res);
codec 615 sound/pci/hda/hda_codec.h int (*suspend)(struct hda_codec *codec, pm_message_t state);
codec 616 sound/pci/hda/hda_codec.h int (*resume)(struct hda_codec *codec);
codec 619 sound/pci/hda/hda_codec.h int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid);
codec 646 sound/pci/hda/hda_codec.h int (*open)(struct hda_pcm_stream *info, struct hda_codec *codec,
codec 648 sound/pci/hda/hda_codec.h int (*close)(struct hda_pcm_stream *info, struct hda_codec *codec,
codec 650 sound/pci/hda/hda_codec.h int (*prepare)(struct hda_pcm_stream *info, struct hda_codec *codec,
codec 653 sound/pci/hda/hda_codec.h int (*cleanup)(struct hda_pcm_stream *info, struct hda_codec *codec,
codec 768 sound/pci/hda/hda_codec.h snd_hda_codec_read(codec, nid, 0, AC_VERB_PARAMETERS, param)
codec 839 sound/pci/hda/hda_codec.h #define snd_hda_codec_needs_resume(codec) codec->power_count
codec 96 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 124 sound/pci/hda/hda_generic.c nconns = snd_hda_get_connections(codec, nid, conn_list,
codec 143 sound/pci/hda/hda_generic.c node->wid_caps = get_wcaps(codec, nid);
codec 147 sound/pci/hda/hda_generic.c node->pin_caps = snd_hda_param_read(codec, node->nid, AC_PAR_PIN_CAP);
codec 148 sound/pci/hda/hda_generic.c node->pin_ctl = snd_hda_codec_read(codec, node->nid, 0, AC_VERB_GET_PIN_WIDGET_CONTROL, 0);
codec 149 sound/pci/hda/hda_generic.c node->def_cfg = snd_hda_codec_read(codec, node->nid, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
codec 154 sound/pci/hda/hda_generic.c node->amp_out_caps = snd_hda_param_read(codec, node->nid, AC_PAR_AMP_OUT_CAP);
codec 160 sound/pci/hda/hda_generic.c node->amp_in_caps = snd_hda_param_read(codec, node->nid, AC_PAR_AMP_IN_CAP);
codec 173 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 180 sound/pci/hda/hda_generic.c spec->def_amp_out_caps = snd_hda_param_read(codec, codec->afg, AC_PAR_AMP_OUT_CAP);
codec 181 sound/pci/hda/hda_generic.c spec->def_amp_in_caps = snd_hda_param_read(codec, codec->afg, AC_PAR_AMP_IN_CAP);
codec 183 sound/pci/hda/hda_generic.c nodes = snd_hda_get_sub_nodes(codec, codec->afg, &nid);
codec 191 sound/pci/hda/hda_generic.c if ((err = add_new_node(codec, spec, nid)) < 0)
codec 225 sound/pci/hda/hda_generic.c snd_hda_codec_amp_stereo(codec, node->nid, HDA_OUTPUT, 0, 0xff, val);
codec 240 sound/pci/hda/hda_generic.c snd_hda_codec_amp_stereo(codec, node->nid, HDA_INPUT, index, 0xff, val);
codec 251 sound/pci/hda/hda_generic.c return snd_hda_codec_write_cache(codec, node->nid, 0,
codec 306 sound/pci/hda/hda_generic.c err = parse_output_path(codec, spec, child, dac_idx);
codec 314 sound/pci/hda/hda_generic.c select_input_connection(codec, node, i);
codec 315 sound/pci/hda/hda_generic.c unmute_input(codec, node, i);
codec 316 sound/pci/hda/hda_generic.c unmute_output(codec, node);
codec 367 sound/pci/hda/hda_generic.c err = parse_output_path(codec, spec, node, 0);
codec 371 sound/pci/hda/hda_generic.c err = parse_output_path(codec, spec, node, 1);
codec 377 sound/pci/hda/hda_generic.c unmute_output(codec, node);
codec 379 sound/pci/hda/hda_generic.c snd_hda_codec_write_cache(codec, node->nid, 0,
codec 396 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 403 sound/pci/hda/hda_generic.c node = parse_output_jack(codec, spec, AC_JACK_LINE_OUT);
codec 408 sound/pci/hda/hda_generic.c node = parse_output_jack(codec, spec, AC_JACK_SPEAKER);
codec 413 sound/pci/hda/hda_generic.c node = parse_output_jack(codec, spec, AC_JACK_HP_OUT);
codec 425 sound/pci/hda/hda_generic.c spec->out_pin_node[0] = parse_output_jack(codec, spec, -1);
codec 440 sound/pci/hda/hda_generic.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 441 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 447 sound/pci/hda/hda_generic.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 448 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 456 sound/pci/hda/hda_generic.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 457 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 458 sound/pci/hda/hda_generic.c return snd_hda_input_mux_put(codec, &spec->input_mux, ucontrol,
codec 522 sound/pci/hda/hda_generic.c err = parse_adc_sub_nodes(codec, spec, child);
codec 530 sound/pci/hda/hda_generic.c select_input_connection(codec, node, i);
codec 531 sound/pci/hda/hda_generic.c unmute_input(codec, node, i);
codec 532 sound/pci/hda/hda_generic.c unmute_output(codec, node);
codec 568 sound/pci/hda/hda_generic.c unmute_input(codec, node, 0); /* index = 0? */
codec 570 sound/pci/hda/hda_generic.c snd_hda_codec_write_cache(codec, node->nid, 0,
codec 604 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 612 sound/pci/hda/hda_generic.c unmute_input(codec, adc_node, 0);
codec 623 sound/pci/hda/hda_generic.c err = parse_adc_sub_nodes(codec, spec, node);
codec 634 sound/pci/hda/hda_generic.c err = parse_adc_sub_nodes(codec, spec, node);
codec 659 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 672 sound/pci/hda/hda_generic.c err = parse_input_path(codec, node);
codec 687 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 724 sound/pci/hda/hda_generic.c add_input_loopback(codec, node->nid, HDA_INPUT, index);
codec 726 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, snd_ctl_new1(&knew, codec))) < 0)
codec 733 sound/pci/hda/hda_generic.c add_input_loopback(codec, node->nid, HDA_OUTPUT, 0);
codec 735 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, snd_ctl_new1(&knew, codec))) < 0)
codec 748 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, snd_ctl_new1(&knew, codec))) < 0)
codec 755 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card, snd_ctl_new1(&knew, codec))) < 0)
codec 772 sound/pci/hda/hda_generic.c if (snd_ctl_find_id(codec->bus->card, &id))
codec 776 sound/pci/hda/hda_generic.c if (snd_ctl_find_id(codec->bus->card, &id))
codec 786 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 790 sound/pci/hda/hda_generic.c err = create_mixer(codec, spec->pcm_vol[i].node,
codec 801 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 807 sound/pci/hda/hda_generic.c return create_mixer(codec, spec->pcm_vol[0].node,
codec 812 sound/pci/hda/hda_generic.c return create_output_mixers(codec, types_speaker);
codec 814 sound/pci/hda/hda_generic.c return create_output_mixers(codec, types_line);
codec 822 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 837 sound/pci/hda/hda_generic.c select_input_connection(codec, adc_node,
codec 843 sound/pci/hda/hda_generic.c err = create_mixer(codec, adc_node,
codec 852 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card,
codec 853 sound/pci/hda/hda_generic.c snd_ctl_new1(&cap_sel, codec))) < 0)
codec 870 sound/pci/hda/hda_generic.c if ((err = snd_ctl_add(codec->bus->card,
codec 871 sound/pci/hda/hda_generic.c snd_ctl_new1(&knew, codec))) < 0)
codec 906 sound/pci/hda/hda_generic.c err = parse_loopback_path(codec, spec, child, dest_node, type);
codec 911 sound/pci/hda/hda_generic.c err = create_mixer(codec, node, i, type,
codec 922 sound/pci/hda/hda_generic.c select_input_connection(codec, node, i);
codec 923 sound/pci/hda/hda_generic.c unmute_input(codec, node, i);
codec 924 sound/pci/hda/hda_generic.c unmute_output(codec, node);
codec 936 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 952 sound/pci/hda/hda_generic.c if (check_existing_control(codec, type, "Playback"))
codec 955 sound/pci/hda/hda_generic.c err = parse_loopback_path(codec, spec,
codec 974 sound/pci/hda/hda_generic.c if ((err = build_input_controls(codec)) < 0 ||
codec 975 sound/pci/hda/hda_generic.c (err = build_output_controls(codec)) < 0 ||
codec 976 sound/pci/hda/hda_generic.c (err = build_loopback_controls(codec)) < 0)
codec 997 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 999 sound/pci/hda/hda_generic.c snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format);
codec 1000 sound/pci/hda/hda_generic.c snd_hda_codec_setup_stream(codec, spec->dac_node[1]->nid,
codec 1009 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 1011 sound/pci/hda/hda_generic.c snd_hda_codec_cleanup_stream(codec, hinfo->nid);
codec 1012 sound/pci/hda/hda_generic.c snd_hda_codec_cleanup_stream(codec, spec->dac_node[1]->nid);
codec 1018 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 1026 sound/pci/hda/hda_generic.c codec->num_pcms = 1;
codec 1027 sound/pci/hda/hda_generic.c codec->pcm_info = info;
codec 1049 sound/pci/hda/hda_generic.c struct hda_gspec *spec = codec->spec;
codec 1050 sound/pci/hda/hda_generic.c return snd_hda_check_amp_list_power(codec, &spec->loopback, nid);
codec 1074 sound/pci/hda/hda_generic.c if(!codec->afg)
codec 1082 sound/pci/hda/hda_generic.c codec->spec = spec;
codec 1085 sound/pci/hda/hda_generic.c if ((err = build_afg_tree(codec)) < 0)
codec 1088 sound/pci/hda/hda_generic.c if ((err = parse_input(codec)) < 0 ||
codec 1089 sound/pci/hda/hda_generic.c (err = parse_output(codec)) < 0)
codec 1092 sound/pci/hda/hda_generic.c codec->patch_ops = generic_patch_ops;
codec 1097 sound/pci/hda/hda_generic.c snd_hda_generic_free(codec);
codec 41 sound/pci/hda/hda_hwdep.c res = snd_hda_codec_read(codec, verb >> 24, 0,
codec 55 sound/pci/hda/hda_hwdep.c res = get_wcaps(codec, verb >> 24);
codec 67 sound/pci/hda/hda_hwdep.c struct hda_codec *codec = hw->private_data;
codec 74 sound/pci/hda/hda_hwdep.c return verb_write_ioctl(codec, argp);
codec 76 sound/pci/hda/hda_hwdep.c return get_wcap_ioctl(codec, argp);
codec 104 sound/pci/hda/hda_hwdep.c sprintf(hwname, "HDA Codec %d", codec->addr);
codec 105 sound/pci/hda/hda_hwdep.c err = snd_hwdep_new(codec->bus->card, hwname, codec->addr, &hwdep);
codec 108 sound/pci/hda/hda_hwdep.c codec->hwdep = hwdep;
codec 109 sound/pci/hda/hda_hwdep.c sprintf(hwdep->name, "HDA Codec %d", codec->addr);
codec 111 sound/pci/hda/hda_hwdep.c hwdep->private_data = codec;
codec 528 sound/pci/hda/hda_intel.c struct azx *chip = codec->bus->private_data;
codec 578 sound/pci/hda/hda_intel.c struct azx *chip = codec->bus->private_data;
codec 595 sound/pci/hda/hda_intel.c if (codec->bus->needs_damn_long_delay)
codec 647 sound/pci/hda/hda_intel.c struct azx *chip = codec->bus->private_data;
codec 672 sound/pci/hda/hda_intel.c struct azx *chip = codec->bus->private_data;
codec 699 sound/pci/hda/hda_intel.c struct azx *chip = codec->bus->private_data;
codec 702 sound/pci/hda/hda_intel.c val = (u32)(codec->addr & 0x0f) << 28;
codec 710 sound/pci/hda/hda_intel.c return azx_single_send_cmd(codec, val);
codec 712 sound/pci/hda/hda_intel.c return azx_corb_send_cmd(codec, val);
codec 718 sound/pci/hda/hda_intel.c struct azx *chip = codec->bus->private_data;
codec 720 sound/pci/hda/hda_intel.c return azx_single_get_response(codec);
codec 722 sound/pci/hda/hda_intel.c return azx_rirb_get_response(codec);
codec 1235 sound/pci/hda/hda_intel.c struct hda_codec *codec;
codec 1236 sound/pci/hda/hda_intel.c err = snd_hda_codec_new(chip->bus, c, &codec);
codec 1240 sound/pci/hda/hda_intel.c if (codec->afg)
codec 1318 sound/pci/hda/hda_intel.c struct hda_codec *codec;
codec 1349 sound/pci/hda/hda_intel.c snd_hda_power_up(apcm->codec);
codec 1350 sound/pci/hda/hda_intel.c err = hinfo->ops.open(hinfo, apcm->codec, substream);
codec 1353 sound/pci/hda/hda_intel.c snd_hda_power_down(apcm->codec);
codec 1382 sound/pci/hda/hda_intel.c hinfo->ops.close(hinfo, apcm->codec, substream);
codec 1383 sound/pci/hda/hda_intel.c snd_hda_power_down(apcm->codec);
codec 1406 sound/pci/hda/hda_intel.c hinfo->ops.cleanup(hinfo, apcm->codec, substream);
codec 1441 sound/pci/hda/hda_intel.c return hinfo->ops.prepare(hinfo, apcm->codec, azx_dev->stream_tag,
codec 1751 sound/pci/hda/hda_intel.c apcm->codec = codec;
codec 1781 sound/pci/hda/hda_intel.c struct hda_codec *codec;
codec 1791 sound/pci/hda/hda_intel.c list_for_each_entry(codec, &chip->bus->codec_list, list) {
codec 1792 sound/pci/hda/hda_intel.c for (c = 0; c < codec->num_pcms; c++) {
codec 1793 sound/pci/hda/hda_intel.c struct hda_pcm *cpcm = &codec->pcm_info[c];
codec 1821 sound/pci/hda/hda_intel.c err = create_codec_pcm(chip, codec, cpcm);
codec 1904 sound/pci/hda/hda_intel.c struct azx *chip = codec->bus->private_data;
codec 1908 sound/pci/hda/hda_intel.c list_for_each_entry(c, &codec->bus->codec_list, list) {
codec 2284 sound/pci/hda/hda_intel.c struct hda_codec *codec;
codec 2285 sound/pci/hda/hda_intel.c list_for_each_entry(codec, &chip->bus->codec_list, list) {
codec 2286 sound/pci/hda/hda_intel.c snd_hda_power_down(codec);
codec 386 sound/pci/hda/hda_local.h if (nid < codec->start_nid ||
codec 387 sound/pci/hda/hda_local.h nid >= codec->start_nid + codec->num_nodes)
codec 389 sound/pci/hda/hda_local.h return codec->wcaps[nid - codec->start_nid];
codec 53 sound/pci/hda/hda_proc.c caps = snd_hda_param_read(codec, nid,
codec 79 sound/pci/hda/hda_proc.c val = snd_hda_codec_read(codec, nid, 0,
codec 84 sound/pci/hda/hda_proc.c val = snd_hda_codec_read(codec, nid, 0,
codec 137 sound/pci/hda/hda_proc.c unsigned int pcm = snd_hda_param_read(codec, nid, AC_PAR_PCM);
codec 138 sound/pci/hda/hda_proc.c unsigned int stream = snd_hda_param_read(codec, nid, AC_PAR_STREAM);
codec 218 sound/pci/hda/hda_proc.c caps = snd_hda_param_read(codec, nid, AC_PAR_PIN_CAP);
codec 234 sound/pci/hda/hda_proc.c if ((codec->vendor_id >> 16) == 0x10ec)
codec 263 sound/pci/hda/hda_proc.c val = snd_hda_codec_read(codec, nid, 0,
codec 274 sound/pci/hda/hda_proc.c caps = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
codec 306 sound/pci/hda/hda_proc.c pinctls = snd_hda_codec_read(codec, nid, 0,
codec 341 sound/pci/hda/hda_proc.c unsigned int cap = snd_hda_param_read(codec, nid,
codec 345 sound/pci/hda/hda_proc.c cap = snd_hda_codec_read(codec, nid, 0,
codec 355 sound/pci/hda/hda_proc.c int conv = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONV, 0);
codec 362 sound/pci/hda/hda_proc.c int sdi = snd_hda_codec_read(codec, nid, 0,
codec 372 sound/pci/hda/hda_proc.c unsigned int digi1 = snd_hda_codec_read(codec, nid, 0,
codec 409 sound/pci/hda/hda_proc.c int pwr = snd_hda_codec_read(codec, nid, 0,
codec 420 sound/pci/hda/hda_proc.c int unsol = snd_hda_codec_read(codec, nid, 0,
codec 431 sound/pci/hda/hda_proc.c unsigned int proc_caps = snd_hda_param_read(codec, nid,
codec 446 sound/pci/hda/hda_proc.c curr = snd_hda_codec_read(codec, nid, 0,
codec 463 sound/pci/hda/hda_proc.c int coeff = snd_hda_codec_read(codec, nid, 0,
codec 466 sound/pci/hda/hda_proc.c coeff = snd_hda_codec_read(codec, nid, 0,
codec 475 sound/pci/hda/hda_proc.c snd_hda_param_read(codec, codec->afg, AC_PAR_GPIO_CAP);
codec 486 sound/pci/hda/hda_proc.c enable = snd_hda_codec_read(codec, nid, 0,
codec 488 sound/pci/hda/hda_proc.c direction = snd_hda_codec_read(codec, nid, 0,
codec 490 sound/pci/hda/hda_proc.c wake = snd_hda_codec_read(codec, nid, 0,
codec 492 sound/pci/hda/hda_proc.c unsol = snd_hda_codec_read(codec, nid, 0,
codec 494 sound/pci/hda/hda_proc.c sticky = snd_hda_codec_read(codec, nid, 0,
codec 496 sound/pci/hda/hda_proc.c data = snd_hda_codec_read(codec, nid, 0,
codec 513 sound/pci/hda/hda_proc.c struct hda_codec *codec = entry->private_data;
codec 518 sound/pci/hda/hda_proc.c snd_hda_get_codec_name(codec, buf, sizeof(buf));
codec 520 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Address: %d\n", codec->addr);
codec 521 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Vendor Id: 0x%x\n", codec->vendor_id);
codec 522 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Subsystem Id: 0x%x\n", codec->subsystem_id);
codec 523 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Revision Id: 0x%x\n", codec->revision_id);
codec 525 sound/pci/hda/hda_proc.c if (codec->mfg)
codec 526 sound/pci/hda/hda_proc.c snd_iprintf(buffer, "Modem Function Group: 0x%x\n", codec->mfg);
codec 530 sound/pci/hda/hda_proc.c if (! codec->afg)
codec 532 sound/pci/hda/hda_proc.c snd_hda_power_up(codec);
codec 534 sound/pci/hda/hda_proc.c print_pcm_caps(buffer, codec, codec->afg);
codec 536 sound/pci/hda/hda_proc.c print_amp_caps(buffer, codec, codec->afg, HDA_INPUT);
codec 538 sound/pci/hda/hda_proc.c print_amp_caps(buffer, codec, codec->afg, HDA_OUTPUT);
codec 540 sound/pci/hda/hda_proc.c nodes = snd_hda_get_sub_nodes(codec, codec->afg, &nid);
codec 543 sound/pci/hda/hda_proc.c snd_hda_power_down(codec);
codec 547 sound/pci/hda/hda_proc.c print_gpio(buffer, codec, codec->afg);
codec 551 sound/pci/hda/hda_proc.c snd_hda_param_read(codec, nid,
codec 591 sound/pci/hda/hda_proc.c conn_len = snd_hda_get_connections(codec, nid, conn,
codec 596 sound/pci/hda/hda_proc.c print_amp_caps(buffer, codec, nid, HDA_INPUT);
codec 598 sound/pci/hda/hda_proc.c print_amp_vals(buffer, codec, nid, HDA_INPUT,
codec 604 sound/pci/hda/hda_proc.c print_amp_caps(buffer, codec, nid, HDA_OUTPUT);
codec 606 sound/pci/hda/hda_proc.c print_amp_vals(buffer, codec, nid, HDA_OUTPUT,
codec 613 sound/pci/hda/hda_proc.c print_pin_caps(buffer, codec, nid, &supports_vref);
codec 614 sound/pci/hda/hda_proc.c print_pin_ctls(buffer, codec, nid, supports_vref);
codec 618 sound/pci/hda/hda_proc.c print_vol_knob(buffer, codec, nid);
codec 622 sound/pci/hda/hda_proc.c print_audio_io(buffer, codec, nid, wid_type);
codec 624 sound/pci/hda/hda_proc.c print_digital_conv(buffer, codec, nid);
codec 627 sound/pci/hda/hda_proc.c print_pcm_caps(buffer, codec, nid);
codec 633 sound/pci/hda/hda_proc.c print_unsol_cap(buffer, codec, nid);
codec 636 sound/pci/hda/hda_proc.c print_power_state(buffer, codec, nid);
codec 644 sound/pci/hda/hda_proc.c print_conn_list(buffer, codec, nid, wid_type,
codec 648 sound/pci/hda/hda_proc.c print_proc_caps(buffer, codec, nid);
codec 651 sound/pci/hda/hda_proc.c if (codec->vendor_id == 0x10ec && nid == 0x20)
codec 652 sound/pci/hda/hda_proc.c print_realtek_coef(buffer, codec, nid);
codec 654 sound/pci/hda/hda_proc.c snd_hda_power_down(codec);
codec 666 sound/pci/hda/hda_proc.c snprintf(name, sizeof(name), "codec#%d", codec->addr);
codec 667 sound/pci/hda/hda_proc.c err = snd_card_proc_new(codec->bus->card, name, &entry);
codec 671 sound/pci/hda/hda_proc.c snd_info_set_text_ops(entry, codec, print_codec_info);
codec 91 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 92 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 99 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 100 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 109 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 110 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 113 sound/pci/hda/patch_analog.c return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol,
codec 123 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 127 sound/pci/hda/patch_analog.c snd_hda_sequence_write(codec, spec->init_verbs[i]);
codec 159 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 164 sound/pci/hda/patch_analog.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]);
codec 169 sound/pci/hda/patch_analog.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid);
codec 172 sound/pci/hda/patch_analog.c err = snd_hda_create_spdif_share_sw(codec,
codec 179 sound/pci/hda/patch_analog.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid);
codec 185 sound/pci/hda/patch_analog.c if (!snd_hda_find_mixer_ctl(codec, "Master Playback Volume")) {
codec 187 sound/pci/hda/patch_analog.c snd_hda_set_vmaster_tlv(codec, spec->vmaster_nid,
codec 189 sound/pci/hda/patch_analog.c err = snd_hda_add_vmaster(codec, "Master Playback Volume",
codec 196 sound/pci/hda/patch_analog.c if (!snd_hda_find_mixer_ctl(codec, "Master Playback Switch")) {
codec 197 sound/pci/hda/patch_analog.c err = snd_hda_add_vmaster(codec, "Master Playback Switch",
codec 211 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 212 sound/pci/hda/patch_analog.c return snd_hda_check_amp_list_power(codec, &spec->loopback, nid);
codec 223 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 224 sound/pci/hda/patch_analog.c return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream,
codec 234 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 235 sound/pci/hda/patch_analog.c return snd_hda_multi_out_analog_prepare(codec, &spec->multiout, stream_tag,
codec 243 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 244 sound/pci/hda/patch_analog.c return snd_hda_multi_out_analog_cleanup(codec, &spec->multiout);
codec 254 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 255 sound/pci/hda/patch_analog.c return snd_hda_multi_out_dig_open(codec, &spec->multiout);
codec 262 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 263 sound/pci/hda/patch_analog.c return snd_hda_multi_out_dig_close(codec, &spec->multiout);
codec 272 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 273 sound/pci/hda/patch_analog.c return snd_hda_multi_out_dig_prepare(codec, &spec->multiout, stream_tag,
codec 286 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 287 sound/pci/hda/patch_analog.c snd_hda_codec_setup_stream(codec, spec->adc_nids[substream->number],
codec 296 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 297 sound/pci/hda/patch_analog.c snd_hda_codec_cleanup_stream(codec, spec->adc_nids[substream->number]);
codec 348 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 351 sound/pci/hda/patch_analog.c codec->num_pcms = 1;
codec 352 sound/pci/hda/patch_analog.c codec->pcm_info = info;
codec 364 sound/pci/hda/patch_analog.c codec->num_pcms++;
codec 380 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 388 sound/pci/hda/patch_analog.c kfree(codec->spec);
codec 411 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 412 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 424 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 425 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 435 sound/pci/hda/patch_analog.c snd_hda_codec_write_cache(codec, nid,
codec 659 sound/pci/hda/patch_analog.c present = snd_hda_codec_read(codec, 0x1f, 0, AC_VERB_GET_PIN_SENSE, 0);
codec 661 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x0f, 0, AC_VERB_SET_CONNECT_SEL,
codec 672 sound/pci/hda/patch_analog.c ad1986a_automic(codec);
codec 677 sound/pci/hda/patch_analog.c ad198x_init(codec);
codec 678 sound/pci/hda/patch_analog.c ad1986a_automic(codec);
codec 686 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 693 sound/pci/hda/patch_analog.c mute = snd_hda_codec_amp_read(codec, 0x1a, 0, HDA_OUTPUT, 0);
codec 694 sound/pci/hda/patch_analog.c snd_hda_codec_amp_stereo(codec, 0x1b, HDA_OUTPUT, 0,
codec 700 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 703 sound/pci/hda/patch_analog.c present = snd_hda_codec_read(codec, 0x1a, 0, AC_VERB_GET_PIN_SENSE, 0);
codec 706 sound/pci/hda/patch_analog.c ad1986a_update_hp(codec);
codec 715 sound/pci/hda/patch_analog.c ad1986a_hp_automute(codec);
codec 720 sound/pci/hda/patch_analog.c ad198x_init(codec);
codec 721 sound/pci/hda/patch_analog.c ad1986a_hp_automute(codec);
codec 729 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 733 sound/pci/hda/patch_analog.c change = snd_hda_codec_amp_update(codec, 0x1a, 0, HDA_OUTPUT, 0,
codec 736 sound/pci/hda/patch_analog.c change |= snd_hda_codec_amp_update(codec, 0x1a, 1, HDA_OUTPUT, 0,
codec 740 sound/pci/hda/patch_analog.c ad1986a_update_hp(codec);
codec 977 sound/pci/hda/patch_analog.c unsigned int conf = snd_hda_codec_read(codec, nid, 0,
codec 991 sound/pci/hda/patch_analog.c codec->spec = spec;
codec 1010 sound/pci/hda/patch_analog.c codec->patch_ops = ad198x_patch_ops;
codec 1013 sound/pci/hda/patch_analog.c board_config = snd_hda_check_board_config(codec, AD1986A_MODELS,
codec 1042 sound/pci/hda/patch_analog.c if (!is_jack_available(codec, 0x25))
codec 1045 sound/pci/hda/patch_analog.c codec->patch_ops.unsol_event = ad1986a_automic_unsol_event;
codec 1046 sound/pci/hda/patch_analog.c codec->patch_ops.init = ad1986a_automic_init;
codec 1056 sound/pci/hda/patch_analog.c if (!is_jack_available(codec, 0x25))
codec 1059 sound/pci/hda/patch_analog.c codec->patch_ops.unsol_event = ad1986a_hp_unsol_event;
codec 1060 sound/pci/hda/patch_analog.c codec->patch_ops.init = ad1986a_hp_init;
codec 1124 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1125 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 1133 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1134 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 1140 sound/pci/hda/patch_analog.c snd_hda_codec_write_cache(codec, spec->multiout.dig_out_nid, 0,
codec 1238 sound/pci/hda/patch_analog.c codec->spec = spec;
codec 1258 sound/pci/hda/patch_analog.c codec->patch_ops = ad198x_patch_ops;
codec 1413 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1414 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 1419 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x05, 0,
codec 1423 sound/pci/hda/patch_analog.c snd_hda_codec_amp_stereo(codec, 0x06, HDA_OUTPUT, 0,
codec 1444 sound/pci/hda/patch_analog.c present = snd_hda_codec_read(codec, 0x06, 0,
codec 1446 sound/pci/hda/patch_analog.c snd_hda_codec_amp_stereo(codec, 0x05, HDA_OUTPUT, 0,
codec 1465 sound/pci/hda/patch_analog.c present = snd_hda_codec_read(codec, 0x08, 0,
codec 1468 sound/pci/hda/patch_analog.c snd_hda_sequence_write(codec, mic_jack_on);
codec 1470 sound/pci/hda/patch_analog.c snd_hda_sequence_write(codec, mic_jack_off);
codec 1480 sound/pci/hda/patch_analog.c ad1981_hp_automute(codec);
codec 1483 sound/pci/hda/patch_analog.c ad1981_hp_automic(codec);
codec 1540 sound/pci/hda/patch_analog.c ad198x_init(codec);
codec 1541 sound/pci/hda/patch_analog.c ad1981_hp_automute(codec);
codec 1542 sound/pci/hda/patch_analog.c ad1981_hp_automic(codec);
codec 1639 sound/pci/hda/patch_analog.c codec->spec = spec;
codec 1659 sound/pci/hda/patch_analog.c codec->patch_ops = ad198x_patch_ops;
codec 1662 sound/pci/hda/patch_analog.c board_config = snd_hda_check_board_config(codec, AD1981_MODELS,
codec 1673 sound/pci/hda/patch_analog.c codec->patch_ops.init = ad1981_hp_init;
codec 1674 sound/pci/hda/patch_analog.c codec->patch_ops.unsol_event = ad1981_hp_unsol_event;
codec 1687 sound/pci/hda/patch_analog.c codec->patch_ops.init = ad1981_hp_init;
codec 1688 sound/pci/hda/patch_analog.c codec->patch_ops.unsol_event = ad1981_hp_unsol_event;
codec 1797 sound/pci/hda/patch_analog.c ((codec)->vendor_id == 0x11d41988 && \
codec 1798 sound/pci/hda/patch_analog.c (codec)->revision_id == AD1988A_REV2)
codec 1862 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1863 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 1864 sound/pci/hda/patch_analog.c return snd_hda_ch_mode_info(codec, uinfo, spec->channel_mode,
codec 1871 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1872 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 1873 sound/pci/hda/patch_analog.c return snd_hda_ch_mode_get(codec, ucontrol, spec->channel_mode,
codec 1880 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1881 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 1882 sound/pci/hda/patch_analog.c int err = snd_hda_ch_mode_put(codec, ucontrol, spec->channel_mode,
codec 2066 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2069 sound/pci/hda/patch_analog.c sel = snd_hda_codec_read(codec, 0x1d, 0, AC_VERB_GET_AMP_GAIN_MUTE,
codec 2074 sound/pci/hda/patch_analog.c sel = snd_hda_codec_read(codec, 0x0b, 0,
codec 2088 sound/pci/hda/patch_analog.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2096 sound/pci/hda/patch_analog.c sel = snd_hda_codec_read(codec, 0x1d, 0,
codec 2101 sound/pci/hda/patch_analog.c snd_hda_codec_write_cache(codec, 0x1d, 0,
codec 2104 sound/pci/hda/patch_analog.c snd_hda_codec_write_cache(codec, 0x1d, 0,
codec 2109 sound/pci/hda/patch_analog.c sel = snd_hda_codec_read(codec, 0x1d, 0,
codec 2114 sound/pci/hda/patch_analog.c snd_hda_codec_write_cache(codec, 0x1d, 0,
codec 2117 sound/pci/hda/patch_analog.c snd_hda_codec_write_cache(codec, 0x1d, 0,
codec 2121 sound/pci/hda/patch_analog.c sel = snd_hda_codec_read(codec, 0x0b, 0,
codec 2125 sound/pci/hda/patch_analog.c snd_hda_codec_write_cache(codec, 0x0b, 0,
codec 2435 sound/pci/hda/patch_analog.c if (snd_hda_codec_read(codec, 0x11, 0, AC_VERB_GET_PIN_SENSE, 0) & (1 << 31))
codec 2436 sound/pci/hda/patch_analog.c snd_hda_sequence_write(codec, ad1988_laptop_hp_on);
codec 2438 sound/pci/hda/patch_analog.c snd_hda_sequence_write(codec, ad1988_laptop_hp_off);
codec 2517 sound/pci/hda/patch_analog.c if (is_rev2(codec))
codec 2569 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 2577 sound/pci/hda/patch_analog.c spec->multiout.dac_nids[i] = ad1988_idx_to_dac(codec, idx);
codec 2639 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 2648 sound/pci/hda/patch_analog.c nid = ad1988_idx_to_dac(codec, idx);
codec 2652 sound/pci/hda/patch_analog.c hda_nid_t dac = ad1988_idx_to_dac(codec, ad1988_pin_idx(pin));
codec 2745 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, pin_type);
codec 2746 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE);
codec 2749 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x37, 0, AC_VERB_SET_CONNECT_SEL, 0x01);
codec 2752 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x30, 0, AC_VERB_SET_CONNECT_SEL, 0x02);
codec 2755 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x31, 0, AC_VERB_SET_CONNECT_SEL, 0x00);
codec 2758 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x32, 0, AC_VERB_SET_CONNECT_SEL, 0x01);
codec 2761 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x36, 0, AC_VERB_SET_CONNECT_SEL, 0x01);
codec 2768 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 2773 sound/pci/hda/patch_analog.c ad1988_auto_set_output_and_unmute(codec, nid, PIN_OUT, i);
codec 2779 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 2784 sound/pci/hda/patch_analog.c ad1988_auto_set_output_and_unmute(codec, pin, PIN_OUT, 0);
codec 2787 sound/pci/hda/patch_analog.c ad1988_auto_set_output_and_unmute(codec, pin, PIN_HP, 0);
codec 2792 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 2801 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x33, 0, AC_VERB_SET_CONNECT_SEL, 0x0);
codec 2804 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x34, 0, AC_VERB_SET_CONNECT_SEL, 0x0);
codec 2807 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 2810 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 2814 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, ad1988_boost_nids[idx], 0,
codec 2824 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 2827 sound/pci/hda/patch_analog.c if ((err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL)) < 0)
codec 2829 sound/pci/hda/patch_analog.c if ((err = ad1988_auto_fill_dac_nids(codec, &spec->autocfg)) < 0)
codec 2834 sound/pci/hda/patch_analog.c (err = ad1988_auto_create_extra_out(codec,
codec 2837 sound/pci/hda/patch_analog.c (err = ad1988_auto_create_extra_out(codec, spec->autocfg.hp_pins[0],
codec 2862 sound/pci/hda/patch_analog.c ad198x_init(codec);
codec 2863 sound/pci/hda/patch_analog.c ad1988_auto_init_multi_out(codec);
codec 2864 sound/pci/hda/patch_analog.c ad1988_auto_init_extra_out(codec);
codec 2865 sound/pci/hda/patch_analog.c ad1988_auto_init_analog_input(codec);
codec 2900 sound/pci/hda/patch_analog.c codec->spec = spec;
codec 2902 sound/pci/hda/patch_analog.c if (is_rev2(codec))
codec 2905 sound/pci/hda/patch_analog.c board_config = snd_hda_check_board_config(codec, AD1988_MODEL_LAST,
codec 2914 sound/pci/hda/patch_analog.c int err = ad1988_parse_auto_config(codec);
codec 2916 sound/pci/hda/patch_analog.c ad198x_free(codec);
codec 2929 sound/pci/hda/patch_analog.c if (is_rev2(codec))
codec 2935 sound/pci/hda/patch_analog.c if (is_rev2(codec))
codec 2951 sound/pci/hda/patch_analog.c if (is_rev2(codec))
codec 2959 sound/pci/hda/patch_analog.c if (is_rev2(codec))
codec 2990 sound/pci/hda/patch_analog.c if (codec->vendor_id >= 0x11d4989a) {
codec 2995 sound/pci/hda/patch_analog.c codec->slave_dig_outs = ad1989b_slave_dig_outs;
codec 3003 sound/pci/hda/patch_analog.c if (spec->dig_in_nid && codec->vendor_id < 0x11d4989a)
codec 3006 sound/pci/hda/patch_analog.c codec->patch_ops = ad198x_patch_ops;
codec 3009 sound/pci/hda/patch_analog.c codec->patch_ops.init = ad1988_auto_init;
codec 3013 sound/pci/hda/patch_analog.c codec->patch_ops.unsol_event = ad1988_laptop_unsol_event;
codec 3207 sound/pci/hda/patch_analog.c codec->spec = spec;
codec 3229 sound/pci/hda/patch_analog.c codec->patch_ops = ad198x_patch_ops;
codec 3365 sound/pci/hda/patch_analog.c snd_hda_codec_setup_stream(codec, 0x05 + substream->number,
codec 3374 sound/pci/hda/patch_analog.c snd_hda_codec_cleanup_stream(codec, 0x05 + substream->number);
codec 3391 sound/pci/hda/patch_analog.c struct ad198x_spec *spec = codec->spec;
codec 3395 sound/pci/hda/patch_analog.c err = ad198x_build_pcms(codec);
codec 3399 sound/pci/hda/patch_analog.c info = spec->pcm_rec + codec->num_pcms;
codec 3400 sound/pci/hda/patch_analog.c codec->num_pcms++;
codec 3432 sound/pci/hda/patch_analog.c err = patch_ad1884(codec);
codec 3435 sound/pci/hda/patch_analog.c spec = codec->spec;
codec 3436 sound/pci/hda/patch_analog.c board_config = snd_hda_check_board_config(codec, AD1984_MODELS,
codec 3442 sound/pci/hda/patch_analog.c codec->patch_ops.build_pcms = ad1984_build_pcms;
codec 3692 sound/pci/hda/patch_analog.c present = snd_hda_codec_read(codec, 0x11, 0,
codec 3694 sound/pci/hda/patch_analog.c snd_hda_codec_amp_stereo(codec, 0x16, HDA_OUTPUT, 0,
codec 3696 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x16, 0, AC_VERB_SET_EAPD_BTLENABLE,
codec 3705 sound/pci/hda/patch_analog.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 3707 sound/pci/hda/patch_analog.c snd_hda_codec_write(codec, 0x0c, 0, AC_VERB_SET_CONNECT_SEL,
codec 3719 sound/pci/hda/patch_analog.c ad1884a_hp_automute(codec);
codec 3722 sound/pci/hda/patch_analog.c ad1884a_hp_automic(codec);
codec 3730 sound/pci/hda/patch_analog.c ad198x_init(codec);
codec 3731 sound/pci/hda/patch_analog.c ad1884a_hp_automute(codec);
codec 3732 sound/pci/hda/patch_analog.c ad1884a_hp_automic(codec);
codec 3820 sound/pci/hda/patch_analog.c present = snd_hda_codec_read(codec, 0x11, 0, AC_VERB_GET_PIN_SENSE, 0)
codec 3822 sound/pci/hda/patch_analog.c snd_hda_codec_amp_stereo(codec, 0x12, HDA_OUTPUT, 0,
codec 3832 sound/pci/hda/patch_analog.c ad1984a_thinkpad_automute(codec);
codec 3838 sound/pci/hda/patch_analog.c ad198x_init(codec);
codec 3839 sound/pci/hda/patch_analog.c ad1984a_thinkpad_automute(codec);
codec 3876 sound/pci/hda/patch_analog.c codec->spec = spec;
codec 3894 sound/pci/hda/patch_analog.c codec->patch_ops = ad198x_patch_ops;
codec 3897 sound/pci/hda/patch_analog.c board_config = snd_hda_check_board_config(codec, AD1884A_MODELS,
codec 3906 sound/pci/hda/patch_analog.c codec->patch_ops.unsol_event = ad1884a_hp_unsol_event;
codec 3907 sound/pci/hda/patch_analog.c codec->patch_ops.init = ad1884a_hp_init;
codec 3913 sound/pci/hda/patch_analog.c codec->patch_ops.unsol_event = ad1884a_hp_unsol_event;
codec 3914 sound/pci/hda/patch_analog.c codec->patch_ops.init = ad1884a_hp_init;
codec 3922 sound/pci/hda/patch_analog.c codec->patch_ops.unsol_event = ad1984a_thinkpad_unsol_event;
codec 3923 sound/pci/hda/patch_analog.c codec->patch_ops.init = ad1984a_thinkpad_init;
codec 4212 sound/pci/hda/patch_analog.c codec->spec = spec;
codec 4221 sound/pci/hda/patch_analog.c if (codec->vendor_id == 0x11d1882)
codec 4227 sound/pci/hda/patch_analog.c if (codec->vendor_id == 0x11d1882)
codec 4239 sound/pci/hda/patch_analog.c codec->patch_ops = ad198x_patch_ops;
codec 4242 sound/pci/hda/patch_analog.c board_config = snd_hda_check_board_config(codec, AD1882_MODELS,
codec 52 sound/pci/hda/patch_atihdmi.c struct atihdmi_spec *spec = codec->spec;
codec 55 sound/pci/hda/patch_atihdmi.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid);
codec 64 sound/pci/hda/patch_atihdmi.c snd_hda_sequence_write(codec, atihdmi_basic_init);
codec 66 sound/pci/hda/patch_atihdmi.c if (get_wcaps(codec, PIN_NID) & AC_WCAP_OUT_AMP)
codec 67 sound/pci/hda/patch_atihdmi.c snd_hda_codec_write(codec, PIN_NID, 0,
codec 80 sound/pci/hda/patch_atihdmi.c struct atihdmi_spec *spec = codec->spec;
codec 81 sound/pci/hda/patch_atihdmi.c return snd_hda_multi_out_dig_open(codec, &spec->multiout);
codec 88 sound/pci/hda/patch_atihdmi.c struct atihdmi_spec *spec = codec->spec;
codec 89 sound/pci/hda/patch_atihdmi.c return snd_hda_multi_out_dig_close(codec, &spec->multiout);
codec 98 sound/pci/hda/patch_atihdmi.c struct atihdmi_spec *spec = codec->spec;
codec 102 sound/pci/hda/patch_atihdmi.c err = snd_hda_multi_out_dig_prepare(codec, &spec->multiout, stream_tag,
codec 106 sound/pci/hda/patch_atihdmi.c snd_hda_codec_write(codec, CVT_NID, 0, AC_VERB_SET_CVT_CHAN_COUNT,
codec 110 sound/pci/hda/patch_atihdmi.c snd_hda_codec_write(codec, CVT_NID, 0,
codec 131 sound/pci/hda/patch_atihdmi.c struct atihdmi_spec *spec = codec->spec;
codec 135 sound/pci/hda/patch_atihdmi.c codec->num_pcms = 1;
codec 136 sound/pci/hda/patch_atihdmi.c codec->pcm_info = info;
codec 144 sound/pci/hda/patch_atihdmi.c chans = get_wcaps(codec, CVT_NID);
codec 154 sound/pci/hda/patch_atihdmi.c kfree(codec->spec);
codec 172 sound/pci/hda/patch_atihdmi.c codec->spec = spec;
codec 182 sound/pci/hda/patch_atihdmi.c codec->patch_ops = atihdmi_patch_ops;
codec 84 sound/pci/hda/patch_cmedia.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 85 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 91 sound/pci/hda/patch_cmedia.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 92 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 101 sound/pci/hda/patch_cmedia.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 102 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 105 sound/pci/hda/patch_cmedia.c return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol,
codec 154 sound/pci/hda/patch_cmedia.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 155 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 156 sound/pci/hda/patch_cmedia.c return snd_hda_ch_mode_info(codec, uinfo, spec->channel_modes,
codec 162 sound/pci/hda/patch_cmedia.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 163 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 164 sound/pci/hda/patch_cmedia.c return snd_hda_ch_mode_get(codec, ucontrol, spec->channel_modes,
codec 170 sound/pci/hda/patch_cmedia.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 171 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 172 sound/pci/hda/patch_cmedia.c return snd_hda_ch_mode_put(codec, ucontrol, spec->channel_modes,
codec 318 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 321 sound/pci/hda/patch_cmedia.c err = snd_hda_add_new_ctls(codec, cmi9880_basic_mixer);
codec 325 sound/pci/hda/patch_cmedia.c err = snd_hda_add_new_ctls(codec, cmi9880_ch_mode_mixer);
codec 330 sound/pci/hda/patch_cmedia.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid);
codec 333 sound/pci/hda/patch_cmedia.c err = snd_hda_create_spdif_share_sw(codec,
codec 340 sound/pci/hda/patch_cmedia.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid);
codec 351 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 389 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 409 sound/pci/hda/patch_cmedia.c len = snd_hda_get_connections(codec, nid, conn, 4);
codec 423 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 425 sound/pci/hda/patch_cmedia.c snd_hda_sequence_write(codec, cmi9880_allout_init);
codec 427 sound/pci/hda/patch_cmedia.c snd_hda_sequence_write(codec, cmi9880_basic_init);
codec 429 sound/pci/hda/patch_cmedia.c snd_hda_sequence_write(codec, spec->multi_init);
codec 440 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 441 sound/pci/hda/patch_cmedia.c return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream,
codec 451 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 452 sound/pci/hda/patch_cmedia.c return snd_hda_multi_out_analog_prepare(codec, &spec->multiout, stream_tag,
codec 460 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 461 sound/pci/hda/patch_cmedia.c return snd_hda_multi_out_analog_cleanup(codec, &spec->multiout);
codec 471 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 472 sound/pci/hda/patch_cmedia.c return snd_hda_multi_out_dig_open(codec, &spec->multiout);
codec 479 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 480 sound/pci/hda/patch_cmedia.c return snd_hda_multi_out_dig_close(codec, &spec->multiout);
codec 489 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 490 sound/pci/hda/patch_cmedia.c return snd_hda_multi_out_dig_prepare(codec, &spec->multiout, stream_tag,
codec 503 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 505 sound/pci/hda/patch_cmedia.c snd_hda_codec_setup_stream(codec, spec->adc_nids[substream->number],
codec 514 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 516 sound/pci/hda/patch_cmedia.c snd_hda_codec_cleanup_stream(codec, spec->adc_nids[substream->number]);
codec 567 sound/pci/hda/patch_cmedia.c struct cmi_spec *spec = codec->spec;
codec 570 sound/pci/hda/patch_cmedia.c codec->num_pcms = 1;
codec 571 sound/pci/hda/patch_cmedia.c codec->pcm_info = info;
codec 578 sound/pci/hda/patch_cmedia.c codec->num_pcms++;
codec 597 sound/pci/hda/patch_cmedia.c kfree(codec->spec);
codec 634 sound/pci/hda/patch_cmedia.c codec->spec = spec;
codec 635 sound/pci/hda/patch_cmedia.c spec->board_config = snd_hda_check_board_config(codec, CMI_MODELS,
codec 684 sound/pci/hda/patch_cmedia.c port_e = snd_hda_codec_read(codec, 0x0f, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
codec 685 sound/pci/hda/patch_cmedia.c port_f = snd_hda_codec_read(codec, 0x10, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
codec 689 sound/pci/hda/patch_cmedia.c port_g = snd_hda_codec_read(codec, 0x1f, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
codec 690 sound/pci/hda/patch_cmedia.c port_h = snd_hda_codec_read(codec, 0x20, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
codec 707 sound/pci/hda/patch_cmedia.c port_spdifi = snd_hda_codec_read(codec, 0x13, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
codec 708 sound/pci/hda/patch_cmedia.c port_spdifo = snd_hda_codec_read(codec, 0x12, 0, AC_VERB_GET_CONFIG_DEFAULT, 0);
codec 715 sound/pci/hda/patch_cmedia.c snd_hda_parse_pin_def_config(codec, &cfg, NULL);
codec 718 sound/pci/hda/patch_cmedia.c cmi9880_fill_multi_dac_nids(codec, &cfg);
codec 719 sound/pci/hda/patch_cmedia.c cmi9880_fill_multi_init(codec, &cfg);
codec 731 sound/pci/hda/patch_cmedia.c codec->patch_ops = cmi9880_patch_ops;
codec 100 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 101 sound/pci/hda/patch_conexant.c return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream,
codec 111 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 112 sound/pci/hda/patch_conexant.c return snd_hda_multi_out_analog_prepare(codec, &spec->multiout,
codec 121 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 122 sound/pci/hda/patch_conexant.c return snd_hda_multi_out_analog_cleanup(codec, &spec->multiout);
codec 132 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 133 sound/pci/hda/patch_conexant.c return snd_hda_multi_out_dig_open(codec, &spec->multiout);
codec 140 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 141 sound/pci/hda/patch_conexant.c return snd_hda_multi_out_dig_close(codec, &spec->multiout);
codec 150 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 151 sound/pci/hda/patch_conexant.c return snd_hda_multi_out_dig_prepare(codec, &spec->multiout,
codec 165 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 166 sound/pci/hda/patch_conexant.c snd_hda_codec_setup_stream(codec, spec->adc_nids[substream->number],
codec 175 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 176 sound/pci/hda/patch_conexant.c snd_hda_codec_cleanup_stream(codec, spec->adc_nids[substream->number]);
codec 231 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 235 sound/pci/hda/patch_conexant.c snd_hda_codec_setup_stream(codec, spec->cur_adc, stream_tag, 0, format);
codec 243 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 244 sound/pci/hda/patch_conexant.c snd_hda_codec_cleanup_stream(codec, spec->cur_adc);
codec 262 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 265 sound/pci/hda/patch_conexant.c codec->num_pcms = 1;
codec 266 sound/pci/hda/patch_conexant.c codec->pcm_info = info;
codec 274 sound/pci/hda/patch_conexant.c if (codec->vendor_id == 0x14f15051)
codec 285 sound/pci/hda/patch_conexant.c codec->num_pcms++;
codec 306 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 307 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 315 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 316 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 326 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 327 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 330 sound/pci/hda/patch_conexant.c return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol,
codec 337 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 341 sound/pci/hda/patch_conexant.c snd_hda_sequence_write(codec, spec->init_verbs[i]);
codec 347 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 356 sound/pci/hda/patch_conexant.c kfree(codec->spec);
codec 361 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 366 sound/pci/hda/patch_conexant.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]);
codec 371 sound/pci/hda/patch_conexant.c err = snd_hda_create_spdif_out_ctls(codec,
codec 375 sound/pci/hda/patch_conexant.c err = snd_hda_create_spdif_share_sw(codec,
codec 382 sound/pci/hda/patch_conexant.c err = snd_hda_create_spdif_in_ctls(codec,spec->dig_in_nid);
codec 406 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 407 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 420 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 421 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 433 sound/pci/hda/patch_conexant.c snd_hda_codec_write_cache(codec, nid,
codec 454 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 455 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 456 sound/pci/hda/patch_conexant.c return snd_hda_ch_mode_info(codec, uinfo, spec->channel_mode,
codec 463 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 464 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 465 sound/pci/hda/patch_conexant.c return snd_hda_ch_mode_get(codec, ucontrol, spec->channel_mode,
codec 473 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 474 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 475 sound/pci/hda/patch_conexant.c int err = snd_hda_ch_mode_put(codec, ucontrol, spec->channel_mode,
codec 532 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 533 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 543 sound/pci/hda/patch_conexant.c snd_hda_codec_amp_stereo(codec, 0x10, HDA_OUTPUT, 0,
codec 547 sound/pci/hda/patch_conexant.c snd_hda_codec_amp_stereo(codec, 0x11, HDA_OUTPUT, 0,
codec 577 sound/pci/hda/patch_conexant.c present = snd_hda_codec_read(codec, 0x12, 0,
codec 580 sound/pci/hda/patch_conexant.c snd_hda_sequence_write(codec, mic_jack_on);
codec 582 sound/pci/hda/patch_conexant.c snd_hda_sequence_write(codec, mic_jack_off);
codec 589 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 592 sound/pci/hda/patch_conexant.c spec->hp_present = snd_hda_codec_read(codec, 0x11, 0,
codec 596 sound/pci/hda/patch_conexant.c snd_hda_codec_amp_stereo(codec, 0x10, HDA_OUTPUT, 0,
codec 607 sound/pci/hda/patch_conexant.c cxt5045_hp_automute(codec);
codec 610 sound/pci/hda/patch_conexant.c cxt5045_hp_automic(codec);
codec 870 sound/pci/hda/patch_conexant.c conexant_init(codec);
codec 871 sound/pci/hda/patch_conexant.c cxt5045_hp_automute(codec);
codec 932 sound/pci/hda/patch_conexant.c codec->spec = spec;
codec 951 sound/pci/hda/patch_conexant.c codec->patch_ops = conexant_patch_ops;
codec 953 sound/pci/hda/patch_conexant.c board_config = snd_hda_check_board_config(codec, CXT5045_MODELS,
codec 958 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5045_hp_unsol_event;
codec 963 sound/pci/hda/patch_conexant.c codec->patch_ops.init = cxt5045_init;
codec 966 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5045_hp_unsol_event;
codec 971 sound/pci/hda/patch_conexant.c codec->patch_ops.init = cxt5045_init;
codec 975 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5045_hp_unsol_event;
codec 981 sound/pci/hda/patch_conexant.c codec->patch_ops.init = cxt5045_init;
codec 984 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5045_hp_unsol_event;
codec 991 sound/pci/hda/patch_conexant.c codec->patch_ops.init = cxt5045_init;
codec 994 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5045_hp_unsol_event;
codec 999 sound/pci/hda/patch_conexant.c codec->patch_ops.init = cxt5045_init;
codec 1011 sound/pci/hda/patch_conexant.c switch (codec->subsystem_id >> 16) {
codec 1017 sound/pci/hda/patch_conexant.c snd_hda_override_amp_caps(codec, 0x17, HDA_INPUT,
codec 1066 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1067 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 1077 sound/pci/hda/patch_conexant.c snd_hda_codec_amp_stereo(codec, 0x1d, HDA_OUTPUT, 0,
codec 1080 sound/pci/hda/patch_conexant.c snd_hda_codec_amp_stereo(codec, 0x13, HDA_OUTPUT, 0,
codec 1098 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 1101 sound/pci/hda/patch_conexant.c spec->hp_present = snd_hda_codec_read(codec, 0x13, 0,
codec 1105 sound/pci/hda/patch_conexant.c snd_hda_codec_amp_stereo(codec, 0x1d, HDA_OUTPUT, 0,
codec 1108 sound/pci/hda/patch_conexant.c snd_hda_codec_amp_stereo(codec, 0x1c, HDA_OUTPUT, 0,
codec 1115 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 1118 sound/pci/hda/patch_conexant.c spec->hp_present = snd_hda_codec_read(codec, 0x13, 0,
codec 1122 sound/pci/hda/patch_conexant.c snd_hda_codec_amp_stereo(codec, 0x1d, HDA_OUTPUT, 0,
codec 1125 sound/pci/hda/patch_conexant.c snd_hda_codec_amp_stereo(codec, 0x1c, HDA_OUTPUT, 0,
codec 1144 sound/pci/hda/patch_conexant.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 1147 sound/pci/hda/patch_conexant.c snd_hda_sequence_write(codec, mic_jack_on);
codec 1149 sound/pci/hda/patch_conexant.c snd_hda_sequence_write(codec, mic_jack_off);
codec 1158 sound/pci/hda/patch_conexant.c cxt5047_hp_automute(codec);
codec 1161 sound/pci/hda/patch_conexant.c cxt5047_hp_automic(codec);
codec 1173 sound/pci/hda/patch_conexant.c cxt5047_hp2_automute(codec);
codec 1176 sound/pci/hda/patch_conexant.c cxt5047_hp_automic(codec);
codec 1443 sound/pci/hda/patch_conexant.c conexant_init(codec);
codec 1444 sound/pci/hda/patch_conexant.c cxt5047_hp_automute(codec);
codec 1485 sound/pci/hda/patch_conexant.c codec->spec = spec;
codec 1503 sound/pci/hda/patch_conexant.c codec->patch_ops = conexant_patch_ops;
codec 1505 sound/pci/hda/patch_conexant.c board_config = snd_hda_check_board_config(codec, CXT5047_MODELS,
codec 1510 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5047_hp2_unsol_event;
codec 1517 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5047_hp_unsol_event;
codec 1518 sound/pci/hda/patch_conexant.c codec->patch_ops.init = cxt5047_hp_init;
codec 1525 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5047_hp_unsol_event;
codec 1532 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5047_hp_unsol_event;
codec 1551 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 1554 sound/pci/hda/patch_conexant.c snd_hda_codec_write(codec, 0x1a, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 1562 sound/pci/hda/patch_conexant.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1566 sound/pci/hda/patch_conexant.c cxt5051_update_speaker(codec);
codec 1575 sound/pci/hda/patch_conexant.c present = snd_hda_codec_read(codec, 0x17, 0,
codec 1578 sound/pci/hda/patch_conexant.c snd_hda_codec_write(codec, 0x14, 0,
codec 1586 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 1590 sound/pci/hda/patch_conexant.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 1600 sound/pci/hda/patch_conexant.c snd_hda_codec_cleanup_stream(codec, spec->cur_adc);
codec 1602 sound/pci/hda/patch_conexant.c snd_hda_codec_setup_stream(codec, new_adc,
codec 1611 sound/pci/hda/patch_conexant.c struct conexant_spec *spec = codec->spec;
codec 1613 sound/pci/hda/patch_conexant.c spec->hp_present = snd_hda_codec_read(codec, 0x16, 0,
codec 1616 sound/pci/hda/patch_conexant.c cxt5051_update_speaker(codec);
codec 1625 sound/pci/hda/patch_conexant.c cxt5051_hp_automute(codec);
codec 1628 sound/pci/hda/patch_conexant.c cxt5051_portb_automic(codec);
codec 1631 sound/pci/hda/patch_conexant.c cxt5051_portc_automic(codec);
codec 1707 sound/pci/hda/patch_conexant.c conexant_init(codec);
codec 1708 sound/pci/hda/patch_conexant.c if (codec->patch_ops.unsol_event) {
codec 1709 sound/pci/hda/patch_conexant.c cxt5051_hp_automute(codec);
codec 1710 sound/pci/hda/patch_conexant.c cxt5051_portb_automic(codec);
codec 1711 sound/pci/hda/patch_conexant.c cxt5051_portc_automic(codec);
codec 1743 sound/pci/hda/patch_conexant.c codec->spec = spec;
codec 1745 sound/pci/hda/patch_conexant.c codec->patch_ops = conexant_patch_ops;
codec 1746 sound/pci/hda/patch_conexant.c codec->patch_ops.init = cxt5051_init;
codec 1764 sound/pci/hda/patch_conexant.c board_config = snd_hda_check_board_config(codec, CXT5051_MODELS,
codec 1769 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5051_hp_unsol_event;
codec 1774 sound/pci/hda/patch_conexant.c codec->patch_ops.unsol_event = cxt5051_hp_unsol_event;
codec 49 sound/pci/hda/patch_nvhdmi.c struct nvhdmi_spec *spec = codec->spec;
codec 52 sound/pci/hda/patch_nvhdmi.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid);
codec 61 sound/pci/hda/patch_nvhdmi.c snd_hda_sequence_write(codec, nvhdmi_basic_init);
codec 72 sound/pci/hda/patch_nvhdmi.c struct nvhdmi_spec *spec = codec->spec;
codec 73 sound/pci/hda/patch_nvhdmi.c return snd_hda_multi_out_dig_open(codec, &spec->multiout);
codec 80 sound/pci/hda/patch_nvhdmi.c struct nvhdmi_spec *spec = codec->spec;
codec 81 sound/pci/hda/patch_nvhdmi.c return snd_hda_multi_out_dig_close(codec, &spec->multiout);
codec 90 sound/pci/hda/patch_nvhdmi.c struct nvhdmi_spec *spec = codec->spec;
codec 91 sound/pci/hda/patch_nvhdmi.c return snd_hda_multi_out_dig_prepare(codec, &spec->multiout, stream_tag,
codec 112 sound/pci/hda/patch_nvhdmi.c struct nvhdmi_spec *spec = codec->spec;
codec 115 sound/pci/hda/patch_nvhdmi.c codec->num_pcms = 1;
codec 116 sound/pci/hda/patch_nvhdmi.c codec->pcm_info = info;
codec 126 sound/pci/hda/patch_nvhdmi.c kfree(codec->spec);
codec 144 sound/pci/hda/patch_nvhdmi.c codec->spec = spec;
codec 152 sound/pci/hda/patch_nvhdmi.c codec->patch_ops = nvhdmi_patch_ops;
codec 293 sound/pci/hda/patch_realtek.c void (*init_hook)(struct hda_codec *codec);
codec 294 sound/pci/hda/patch_realtek.c void (*unsol_event)(struct hda_codec *codec, unsigned int res);
codec 347 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 348 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 358 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 359 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 369 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 370 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 375 sound/pci/hda/patch_realtek.c return snd_hda_input_mux_put(codec, &spec->input_mux[mux_idx], ucontrol,
codec 386 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 387 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 388 sound/pci/hda/patch_realtek.c return snd_hda_ch_mode_info(codec, uinfo, spec->channel_mode,
codec 395 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 396 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 397 sound/pci/hda/patch_realtek.c return snd_hda_ch_mode_get(codec, ucontrol, spec->channel_mode,
codec 405 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 406 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 407 sound/pci/hda/patch_realtek.c int err = snd_hda_ch_mode_put(codec, ucontrol, spec->channel_mode,
codec 483 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 487 sound/pci/hda/patch_realtek.c unsigned int pinctl = snd_hda_codec_read(codec, nid, 0,
codec 503 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 507 sound/pci/hda/patch_realtek.c unsigned int pinctl = snd_hda_codec_read(codec, nid, 0,
codec 517 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, nid, 0,
codec 532 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, nid, HDA_OUTPUT, 0,
codec 534 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, nid, HDA_INPUT, 0,
codec 537 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, nid, HDA_INPUT, 0,
codec 539 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, nid, HDA_OUTPUT, 0,
codec 564 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 568 sound/pci/hda/patch_realtek.c unsigned int val = snd_hda_codec_read(codec, nid, 0,
codec 578 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 582 sound/pci/hda/patch_realtek.c unsigned int gpio_data = snd_hda_codec_read(codec, nid, 0,
codec 592 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, nid, 0,
codec 618 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 622 sound/pci/hda/patch_realtek.c unsigned int val = snd_hda_codec_read(codec, nid, 0,
codec 632 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 636 sound/pci/hda/patch_realtek.c unsigned int ctrl_data = snd_hda_codec_read(codec, nid, 0,
codec 646 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, nid, 0, AC_VERB_SET_DIGI_CONVERT_1,
codec 669 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 673 sound/pci/hda/patch_realtek.c unsigned int val = snd_hda_codec_read(codec, nid, 0,
codec 684 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 688 sound/pci/hda/patch_realtek.c unsigned int ctrl_data = snd_hda_codec_read(codec, nid, 0,
codec 698 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, nid, 0, AC_VERB_SET_EAPD_BTLENABLE,
codec 784 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 789 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, spec->pll_nid, 0, AC_VERB_SET_COEF_INDEX,
codec 791 sound/pci/hda/patch_realtek.c val = snd_hda_codec_read(codec, spec->pll_nid, 0,
codec 793 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, spec->pll_nid, 0, AC_VERB_SET_COEF_INDEX,
codec 795 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, spec->pll_nid, 0, AC_VERB_SET_PROC_COEF,
codec 802 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 806 sound/pci/hda/patch_realtek.c alc_fix_pll(codec);
codec 811 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 817 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, hp_nid, 0, AC_VERB_SET_PIN_SENSE, 0);
codec 818 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, hp_nid, 0,
codec 821 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, sp_nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 828 sound/pci/hda/patch_realtek.c if (codec->vendor_id == 0x10ec0880)
codec 835 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 843 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 0);
codec 844 sound/pci/hda/patch_realtek.c tmp = snd_hda_codec_read(codec, 0x20, 0, AC_VERB_GET_PROC_COEF, 0);
codec 845 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0, AC_VERB_SET_COEF_INDEX, 7);
codec 848 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x20, 0,
codec 852 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x20, 0,
codec 868 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 870 sound/pci/hda/patch_realtek.c ass = codec->subsystem_id & 0xffff;
codec 871 sound/pci/hda/patch_realtek.c if ((ass != codec->bus->pci->subsystem_device) && (ass & 1))
codec 883 sound/pci/hda/patch_realtek.c if (codec->vendor_id == 0x10ec0260)
codec 885 sound/pci/hda/patch_realtek.c ass = snd_hda_codec_read(codec, nid, 0,
codec 911 sound/pci/hda/patch_realtek.c snd_hda_sequence_write(codec, alc_gpio1_init_verbs);
codec 914 sound/pci/hda/patch_realtek.c snd_hda_sequence_write(codec, alc_gpio2_init_verbs);
codec 917 sound/pci/hda/patch_realtek.c snd_hda_sequence_write(codec, alc_gpio3_init_verbs);
codec 920 sound/pci/hda/patch_realtek.c switch (codec->vendor_id) {
codec 922 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x0f, 0,
codec 924 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x10, 0,
codec 936 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x14, 0,
codec 938 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x15, 0,
codec 942 sound/pci/hda/patch_realtek.c switch (codec->vendor_id) {
codec 944 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x1a, 0,
codec 946 sound/pci/hda/patch_realtek.c tmp = snd_hda_codec_read(codec, 0x1a, 0,
codec 948 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x1a, 0,
codec 950 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x1a, 0,
codec 960 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 962 sound/pci/hda/patch_realtek.c tmp = snd_hda_codec_read(codec, 0x20, 0,
codec 964 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 966 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 975 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 977 sound/pci/hda/patch_realtek.c tmp = snd_hda_codec_read(codec, 0x20, 0,
codec 979 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 981 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 1022 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, spec->autocfg.hp_pins[0], 0,
codec 1044 sound/pci/hda/patch_realtek.c quirk = snd_pci_quirk_lookup(codec->bus->pci, quirk);
codec 1053 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, cfg->nid, 0,
codec 1595 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 1600 sound/pci/hda/patch_realtek.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]);
codec 1606 sound/pci/hda/patch_realtek.c err = snd_hda_create_spdif_out_ctls(codec,
codec 1610 sound/pci/hda/patch_realtek.c err = snd_hda_create_spdif_share_sw(codec,
codec 1617 sound/pci/hda/patch_realtek.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid);
codec 1623 sound/pci/hda/patch_realtek.c if (!snd_hda_find_mixer_ctl(codec, "Master Playback Volume")) {
codec 1625 sound/pci/hda/patch_realtek.c snd_hda_set_vmaster_tlv(codec, spec->vmaster_nid,
codec 1627 sound/pci/hda/patch_realtek.c err = snd_hda_add_vmaster(codec, "Master Playback Volume",
codec 1632 sound/pci/hda/patch_realtek.c if (!snd_hda_find_mixer_ctl(codec, "Master Playback Switch")) {
codec 1633 sound/pci/hda/patch_realtek.c err = snd_hda_add_vmaster(codec, "Master Playback Switch",
codec 1931 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 1934 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 1936 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x16, HDA_OUTPUT, 0,
codec 1946 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 1949 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0b, HDA_INPUT, 1, HDA_AMP_MUTE, bits);
codec 1954 sound/pci/hda/patch_realtek.c alc880_uniwill_hp_automute(codec);
codec 1955 sound/pci/hda/patch_realtek.c alc880_uniwill_mic_automute(codec);
codec 1966 sound/pci/hda/patch_realtek.c alc880_uniwill_hp_automute(codec);
codec 1969 sound/pci/hda/patch_realtek.c alc880_uniwill_mic_automute(codec);
codec 1979 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 1982 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0, HDA_AMP_MUTE, bits);
codec 1989 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x21, 0,
codec 1992 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_OUTPUT, 0,
codec 1994 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0d, HDA_OUTPUT, 0,
codec 2005 sound/pci/hda/patch_realtek.c alc880_uniwill_p53_hp_automute(codec);
codec 2007 sound/pci/hda/patch_realtek.c alc880_uniwill_p53_dcvol_automute(codec);
codec 2249 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 2252 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x17, HDA_OUTPUT, 0,
codec 2262 sound/pci/hda/patch_realtek.c alc880_lg_automute(codec);
codec 2346 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 2349 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 2359 sound/pci/hda/patch_realtek.c alc880_lg_lw_automute(codec);
codec 2409 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 2413 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x1b, HDA_OUTPUT, 0,
codec 2416 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, 0);
codec 2418 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA, 2);
codec 2428 sound/pci/hda/patch_realtek.c alc880_medion_rim_automute(codec);
codec 2455 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2458 sound/pci/hda/patch_realtek.c alc_fix_pll(codec);
codec 2459 sound/pci/hda/patch_realtek.c if (codec->vendor_id == 0x10ec0888)
codec 2460 sound/pci/hda/patch_realtek.c alc888_coef_init(codec);
codec 2463 sound/pci/hda/patch_realtek.c snd_hda_sequence_write(codec, spec->init_verbs[i]);
codec 2466 sound/pci/hda/patch_realtek.c spec->init_hook(codec);
codec 2473 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2476 sound/pci/hda/patch_realtek.c spec->unsol_event(codec, res);
codec 2482 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2483 sound/pci/hda/patch_realtek.c return snd_hda_check_amp_list_power(codec, &spec->loopback, nid);
codec 2494 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2495 sound/pci/hda/patch_realtek.c return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream,
codec 2505 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2506 sound/pci/hda/patch_realtek.c return snd_hda_multi_out_analog_prepare(codec, &spec->multiout,
codec 2514 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2515 sound/pci/hda/patch_realtek.c return snd_hda_multi_out_analog_cleanup(codec, &spec->multiout);
codec 2525 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2526 sound/pci/hda/patch_realtek.c return snd_hda_multi_out_dig_open(codec, &spec->multiout);
codec 2535 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2536 sound/pci/hda/patch_realtek.c return snd_hda_multi_out_dig_prepare(codec, &spec->multiout,
codec 2544 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2545 sound/pci/hda/patch_realtek.c return snd_hda_multi_out_dig_close(codec, &spec->multiout);
codec 2557 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2559 sound/pci/hda/patch_realtek.c snd_hda_codec_setup_stream(codec, spec->adc_nids[substream->number + 1],
codec 2568 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2570 sound/pci/hda/patch_realtek.c snd_hda_codec_cleanup_stream(codec,
codec 2643 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2647 sound/pci/hda/patch_realtek.c codec->num_pcms = 1;
codec 2648 sound/pci/hda/patch_realtek.c codec->pcm_info = info;
codec 2675 sound/pci/hda/patch_realtek.c codec->num_pcms = 2;
codec 2690 sound/pci/hda/patch_realtek.c codec->spdif_status_reset = 1;
codec 2699 sound/pci/hda/patch_realtek.c codec->num_pcms = 3;
codec 2731 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 2743 sound/pci/hda/patch_realtek.c codec->spec = NULL; /* to be sure */
codec 2810 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2814 sound/pci/hda/patch_realtek.c pin_ctl = snd_hda_codec_read(codec, nid, 0,
codec 2837 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2849 sound/pci/hda/patch_realtek.c old_ctl = snd_hda_codec_read(codec, nid, 0,
codec 2854 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, nid, 0,
codec 2859 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, nid, HDA_OUTPUT, 0,
codec 2884 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2888 sound/pci/hda/patch_realtek.c sel = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONNECT_SEL, 0);
codec 2896 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2900 sound/pci/hda/patch_realtek.c sel = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_CONNECT_SEL, 0) & 3;
codec 2903 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, nid, 0,
codec 3673 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 3676 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 3684 sound/pci/hda/patch_realtek.c alc_set_pin_output(codec, nid, pin_type);
codec 3687 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 3689 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, alc880_idx_to_selector(idx), 0,
codec 3705 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 3708 sound/pci/hda/patch_realtek.c alc_subsystem_id(codec, 0x15, 0x1b, 0x14);
codec 3712 sound/pci/hda/patch_realtek.c alc880_auto_set_output_and_unmute(codec, nid, pin_type, i);
codec 3718 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 3723 sound/pci/hda/patch_realtek.c alc880_auto_set_output_and_unmute(codec, pin, PIN_OUT, 0);
codec 3726 sound/pci/hda/patch_realtek.c alc880_auto_set_output_and_unmute(codec, pin, PIN_HP, 0);
codec 3731 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 3737 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 3742 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 3755 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 3759 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 3806 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 3807 sound/pci/hda/patch_realtek.c alc880_auto_init_multi_out(codec);
codec 3808 sound/pci/hda/patch_realtek.c alc880_auto_init_extra_out(codec);
codec 3809 sound/pci/hda/patch_realtek.c alc880_auto_init_analog_input(codec);
codec 3811 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 3828 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 3830 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC880_MODEL_LAST,
codec 3841 sound/pci/hda/patch_realtek.c err = alc880_parse_auto_config(codec);
codec 3843 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 3867 sound/pci/hda/patch_realtek.c unsigned int wcap = get_wcaps(codec, alc880_adc_nids[0]);
codec 3886 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 4047 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 4050 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x0f, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 4052 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x10, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 4056 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x11, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 4063 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 4064 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 4072 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 4073 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 4083 sound/pci/hda/patch_realtek.c alc260_hp_master_update(codec, hp, line, mono);
codec 4113 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 4116 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x10, 0,
codec 4119 sound/pci/hda/patch_realtek.c alc260_hp_master_update(codec, 0x0f, 0x10, 0x11);
codec 4125 sound/pci/hda/patch_realtek.c alc260_hp_automute(codec);
codec 4182 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 4185 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 4188 sound/pci/hda/patch_realtek.c alc260_hp_master_update(codec, 0x10, 0x15, 0x11);
codec 4195 sound/pci/hda/patch_realtek.c alc260_hp_3013_automute(codec);
codec 4202 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x10, 0,
codec 4206 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x0f, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 4208 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x11, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 4210 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x15, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 4218 sound/pci/hda/patch_realtek.c alc260_hp_3012_automute(codec);
codec 4725 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x0f, 0,
codec 4728 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x01, 0,
codec 4730 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x0f, 0,
codec 4734 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x01, 0,
codec 4736 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x0f, 0,
codec 4746 sound/pci/hda/patch_realtek.c alc260_replacer_672v_automute(codec);
codec 5071 sound/pci/hda/patch_realtek.c alc_set_pin_output(codec, nid, pin_type);
codec 5075 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, idx + 0x0b, 0,
codec 5082 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 5085 sound/pci/hda/patch_realtek.c alc_subsystem_id(codec, 0x10, 0x15, 0x0f);
codec 5089 sound/pci/hda/patch_realtek.c alc260_auto_set_output_and_unmute(codec, nid, pin_type, 0);
codec 5094 sound/pci/hda/patch_realtek.c alc260_auto_set_output_and_unmute(codec, nid, PIN_OUT, 0);
codec 5098 sound/pci/hda/patch_realtek.c alc260_auto_set_output_and_unmute(codec, nid, PIN_HP, 0);
codec 5104 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 5110 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 5115 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 5168 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 5173 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 5199 sound/pci/hda/patch_realtek.c wcap = get_wcaps(codec, 0x04);
codec 5218 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 5219 sound/pci/hda/patch_realtek.c alc260_auto_init_multi_out(codec);
codec 5220 sound/pci/hda/patch_realtek.c alc260_auto_init_analog_input(codec);
codec 5222 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 5419 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 5421 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC260_MODEL_LAST,
codec 5432 sound/pci/hda/patch_realtek.c err = alc260_parse_auto_config(codec);
codec 5434 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 5457 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 5517 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 5518 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 5533 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, nid, HDA_INPUT,
codec 5994 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 5996 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x18, HDA_OUTPUT, 0,
codec 5998 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x1a, HDA_OUTPUT, 0,
codec 6008 sound/pci/hda/patch_realtek.c alc885_imac24_automute(codec);
codec 6015 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 6017 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 6019 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 6028 sound/pci/hda/patch_realtek.c alc885_mbp3_automute(codec);
codec 6055 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 6057 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x1b, HDA_OUTPUT, 0,
codec 6059 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 1, 0, AC_VERB_SET_GPIO_DATA,
codec 6069 sound/pci/hda/patch_realtek.c alc882_targa_automute(codec);
codec 6113 sound/pci/hda/patch_realtek.c gpiostate = snd_hda_codec_read(codec, codec->afg, 0,
codec 6121 sound/pci/hda/patch_realtek.c gpiomask = snd_hda_codec_read(codec, codec->afg, 0,
codec 6125 sound/pci/hda/patch_realtek.c gpiodir = snd_hda_codec_read(codec, codec->afg, 0,
codec 6130 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, codec->afg, 0,
codec 6132 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, codec->afg, 0,
codec 6137 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, codec->afg, 0,
codec 6144 sound/pci/hda/patch_realtek.c alc882_gpio_mute(codec, 0, 0);
codec 6145 sound/pci/hda/patch_realtek.c alc882_gpio_mute(codec, 1, 0);
codec 6151 sound/pci/hda/patch_realtek.c alc885_macpro_init_hook(codec);
codec 6152 sound/pci/hda/patch_realtek.c alc885_imac24_automute(codec);
codec 6472 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 6475 sound/pci/hda/patch_realtek.c alc_set_pin_output(codec, nid, pin_type);
codec 6480 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_CONNECT_SEL, idx);
codec 6486 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 6489 sound/pci/hda/patch_realtek.c alc_subsystem_id(codec, 0x15, 0x1b, 0x14);
codec 6494 sound/pci/hda/patch_realtek.c alc882_auto_set_output_and_unmute(codec, nid, pin_type,
codec 6501 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 6507 sound/pci/hda/patch_realtek.c alc882_auto_set_output_and_unmute(codec, pin, PIN_HP, 0);
codec 6510 sound/pci/hda/patch_realtek.c alc882_auto_set_output_and_unmute(codec, pin, PIN_OUT, 0);
codec 6518 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 6529 sound/pci/hda/patch_realtek.c pincap = snd_hda_param_read(codec, nid, AC_PAR_PIN_CAP);
codec 6534 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 6536 sound/pci/hda/patch_realtek.c if (get_wcaps(codec, nid) & AC_WCAP_OUT_AMP)
codec 6537 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 6545 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 6554 sound/pci/hda/patch_realtek.c conns = snd_hda_get_connections(codec, nid, conn_list,
codec 6570 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 6579 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 6584 sound/pci/hda/patch_realtek.c if (nid && (get_wcaps(codec, nid) & AC_WCAP_IN_AMP)) {
codec 6592 sound/pci/hda/patch_realtek.c if (nid && (get_wcaps(codec, nid) & AC_WCAP_IN_AMP)) {
codec 6605 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 6606 sound/pci/hda/patch_realtek.c int err = alc880_parse_auto_config(codec);
codec 6613 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec);
codec 6626 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 6627 sound/pci/hda/patch_realtek.c alc882_auto_init_multi_out(codec);
codec 6628 sound/pci/hda/patch_realtek.c alc882_auto_init_hp_out(codec);
codec 6629 sound/pci/hda/patch_realtek.c alc882_auto_init_analog_input(codec);
codec 6630 sound/pci/hda/patch_realtek.c alc882_auto_init_input_src(codec);
codec 6632 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 6646 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 6648 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC882_MODEL_LAST,
codec 6654 sound/pci/hda/patch_realtek.c switch (codec->subsystem_id) {
codec 6670 sound/pci/hda/patch_realtek.c if (codec->revision_id == 0x100101 ||
codec 6671 sound/pci/hda/patch_realtek.c codec->revision_id == 0x100103) {
codec 6672 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 6673 sound/pci/hda/patch_realtek.c return patch_alc883(codec);
codec 6681 sound/pci/hda/patch_realtek.c alc_fix_pincfg(codec, alc882_pinfix_tbl, alc882_pin_fixes);
codec 6685 sound/pci/hda/patch_realtek.c err = alc882_parse_auto_config(codec);
codec 6687 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 6700 sound/pci/hda/patch_realtek.c if (codec->vendor_id == 0x10ec0885) {
codec 6719 sound/pci/hda/patch_realtek.c unsigned int wcap = get_wcaps(codec, 0x07);
codec 6740 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 7581 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 7583 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 7585 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x17, HDA_OUTPUT, 0,
codec 7605 sound/pci/hda/patch_realtek.c alc883_mitac_hp_automute(codec);
codec 7614 sound/pci/hda/patch_realtek.c alc883_mitac_hp_automute(codec);
codec 7772 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 7774 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 7776 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 7785 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 7787 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 7795 sound/pci/hda/patch_realtek.c alc888_lenovo_ms7195_front_automute(codec);
codec 7797 sound/pci/hda/patch_realtek.c alc888_lenovo_ms7195_rca_automute(codec);
codec 7815 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 7817 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 7825 sound/pci/hda/patch_realtek.c alc883_medion_md2_automute(codec);
codec 7834 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 7837 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x1b, HDA_OUTPUT, 0,
codec 7839 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 1, 0, AC_VERB_SET_GPIO_DATA,
codec 7846 sound/pci/hda/patch_realtek.c alc883_tagra_automute(codec);
codec 7855 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0, AC_VERB_GET_PIN_SENSE, 0)
codec 7858 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 7866 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 7868 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0b, HDA_INPUT, 1,
codec 7874 sound/pci/hda/patch_realtek.c alc883_clevo_m720_hp_automute(codec);
codec 7875 sound/pci/hda/patch_realtek.c alc883_clevo_m720_mic_automute(codec);
codec 7883 sound/pci/hda/patch_realtek.c alc883_clevo_m720_hp_automute(codec);
codec 7886 sound/pci/hda/patch_realtek.c alc883_clevo_m720_mic_automute(codec);
codec 7897 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0, AC_VERB_GET_PIN_SENSE, 0)
codec 7900 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 7908 sound/pci/hda/patch_realtek.c alc883_2ch_fujitsu_pi2515_automute(codec);
codec 7916 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 7919 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 7927 sound/pci/hda/patch_realtek.c alc883_haier_w66_automute(codec);
codec 7935 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 7938 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 7947 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 7950 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 7952 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 7960 sound/pci/hda/patch_realtek.c alc883_lenovo_101e_all_automute(codec);
codec 7962 sound/pci/hda/patch_realtek.c alc883_lenovo_101e_ispeaker_automute(codec);
codec 7970 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 7972 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 7974 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x16, HDA_OUTPUT, 0,
codec 7982 sound/pci/hda/patch_realtek.c alc883_acer_aspire_automute(codec);
codec 8007 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 8009 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 8011 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 8013 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x16, HDA_OUTPUT, 0,
codec 8015 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x17, HDA_OUTPUT, 0,
codec 8025 sound/pci/hda/patch_realtek.c alc888_6st_dell_front_automute(codec);
codec 8035 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x1b, 0, AC_VERB_SET_PIN_SENSE, 0);
codec 8036 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 8041 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 8043 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 8045 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x16, HDA_OUTPUT, 0,
codec 8047 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x17, HDA_OUTPUT, 0,
codec 8049 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x1a, HDA_OUTPUT, 0,
codec 8053 sound/pci/hda/patch_realtek.c mute = snd_hda_codec_amp_read(codec, 0x1b, 0, HDA_OUTPUT, 0);
codec 8054 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 8056 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 8058 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x16, HDA_OUTPUT, 0,
codec 8060 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x17, HDA_OUTPUT, 0,
codec 8062 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x1a, HDA_OUTPUT, 0,
codec 8071 sound/pci/hda/patch_realtek.c alc888_lenovo_sky_front_automute(codec);
codec 8172 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 8174 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x23, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 8176 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x23, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 8185 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 8189 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x14, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 8191 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x15, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 8193 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x16, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 8202 sound/pci/hda/patch_realtek.c alc883_M90V_speaker_automute(codec);
codec 8205 sound/pci/hda/patch_realtek.c alc883_nb_mic_automute(codec);
codec 8212 sound/pci/hda/patch_realtek.c alc883_M90V_speaker_automute(codec);
codec 8213 sound/pci/hda/patch_realtek.c alc883_nb_mic_automute(codec);
codec 8234 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 8238 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x1b, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 8247 sound/pci/hda/patch_realtek.c alc883_eee1601_speaker_automute(codec);
codec 8254 sound/pci/hda/patch_realtek.c alc883_eee1601_speaker_automute(codec);
codec 8663 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8666 sound/pci/hda/patch_realtek.c alc_set_pin_output(codec, nid, pin_type);
codec 8671 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_CONNECT_SEL, idx);
codec 8677 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8680 sound/pci/hda/patch_realtek.c alc_subsystem_id(codec, 0x15, 0x1b, 0x14);
codec 8685 sound/pci/hda/patch_realtek.c alc883_auto_set_output_and_unmute(codec, nid, pin_type,
codec 8692 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8698 sound/pci/hda/patch_realtek.c alc883_auto_set_output_and_unmute(codec, pin, PIN_HP, 0);
codec 8701 sound/pci/hda/patch_realtek.c alc883_auto_set_output_and_unmute(codec, pin, PIN_OUT, 0);
codec 8709 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8715 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 8720 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 8732 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8733 sound/pci/hda/patch_realtek.c int err = alc880_parse_auto_config(codec);
codec 8740 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec);
codec 8755 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8756 sound/pci/hda/patch_realtek.c alc883_auto_init_multi_out(codec);
codec 8757 sound/pci/hda/patch_realtek.c alc883_auto_init_hp_out(codec);
codec 8758 sound/pci/hda/patch_realtek.c alc883_auto_init_analog_input(codec);
codec 8759 sound/pci/hda/patch_realtek.c alc883_auto_init_input_src(codec);
codec 8761 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 8773 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 8775 sound/pci/hda/patch_realtek.c alc_fix_pll_init(codec, 0x20, 0x0a, 10);
codec 8777 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC883_MODEL_LAST,
codec 8788 sound/pci/hda/patch_realtek.c err = alc883_parse_auto_config(codec);
codec 8790 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 8803 sound/pci/hda/patch_realtek.c switch (codec->vendor_id) {
codec 8831 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 8911 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8915 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x1b, 0,
codec 8918 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x15, 0,
codec 8923 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x16, 0,
codec 8930 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8932 sound/pci/hda/patch_realtek.c presence = snd_hda_codec_read(codec, 0x1b, 0,
codec 8935 sound/pci/hda/patch_realtek.c alc262_hp_master_update(codec);
codec 8942 sound/pci/hda/patch_realtek.c alc262_hp_bpc_automute(codec);
codec 8947 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8949 sound/pci/hda/patch_realtek.c presence = snd_hda_codec_read(codec, 0x15, 0,
codec 8952 sound/pci/hda/patch_realtek.c alc262_hp_master_update(codec);
codec 8960 sound/pci/hda/patch_realtek.c alc262_hp_wildwest_automute(codec);
codec 8966 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 8967 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8975 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 8976 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 8982 sound/pci/hda/patch_realtek.c alc262_hp_master_update(codec);
codec 9056 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 9060 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 9065 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_OUTPUT, 0, HDA_AMP_MUTE,
codec 9074 sound/pci/hda/patch_realtek.c alc262_hp_t5735_automute(codec, 1);
codec 9079 sound/pci/hda/patch_realtek.c alc262_hp_t5735_automute(codec, 1);
codec 9136 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 9141 sound/pci/hda/patch_realtek.c change = snd_hda_codec_amp_update(codec, 0x15, 0, HDA_OUTPUT, 0,
codec 9144 sound/pci/hda/patch_realtek.c change |= snd_hda_codec_amp_update(codec, 0x15, 1, HDA_OUTPUT, 0,
codec 9149 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 9154 sound/pci/hda/patch_realtek.c mute = snd_hda_codec_amp_read(codec, 0x15, 0,
codec 9156 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 9351 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 9353 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x22, 0,
codec 9363 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 9366 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x14, 0,
codec 9377 sound/pci/hda/patch_realtek.c alc262_toshiba_s06_speaker_automute(codec);
codec 9379 sound/pci/hda/patch_realtek.c alc262_dmic_automute(codec);
codec 9385 sound/pci/hda/patch_realtek.c alc262_toshiba_s06_speaker_automute(codec);
codec 9386 sound/pci/hda/patch_realtek.c alc262_dmic_automute(codec);
codec 9392 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 9397 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x15, 0, AC_VERB_SET_PIN_SENSE, 0);
codec 9398 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 9403 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 9407 sound/pci/hda/patch_realtek.c mute = snd_hda_codec_amp_read(codec, 0x15, 0, HDA_OUTPUT, 0);
codec 9408 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 9419 sound/pci/hda/patch_realtek.c alc262_hippo_automute(codec);
codec 9427 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x1b, 0, AC_VERB_SET_PIN_SENSE, 0);
codec 9428 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 9433 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 9437 sound/pci/hda/patch_realtek.c mute = snd_hda_codec_amp_read(codec, 0x1b, 0, HDA_OUTPUT, 0);
codec 9438 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 9449 sound/pci/hda/patch_realtek.c alc262_hippo1_automute(codec);
codec 9542 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 9548 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x14, 0, AC_VERB_SET_PIN_SENSE, 0);
codec 9550 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 9553 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x1b, 0, AC_VERB_SET_PIN_SENSE, 0);
codec 9555 sound/pci/hda/patch_realtek.c present |= snd_hda_codec_read(codec, 0x1b, 0,
codec 9569 sound/pci/hda/patch_realtek.c mute = snd_hda_codec_amp_read(codec, 0x14, 0, HDA_OUTPUT, 0);
codec 9570 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 9580 sound/pci/hda/patch_realtek.c alc262_fujitsu_automute(codec, 1);
codec 9585 sound/pci/hda/patch_realtek.c alc262_fujitsu_automute(codec, 1);
codec 9601 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 9607 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x1b, 0, AC_VERB_SET_PIN_SENSE, 0);
codec 9608 sound/pci/hda/patch_realtek.c present_int_hp = snd_hda_codec_read(codec, 0x1b, 0,
codec 9615 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 9617 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x16, HDA_OUTPUT, 0,
codec 9621 sound/pci/hda/patch_realtek.c mute = snd_hda_codec_amp_read(codec, 0x1b, 0, HDA_OUTPUT, 0);
codec 9622 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 9624 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x16, HDA_OUTPUT, 0,
codec 9635 sound/pci/hda/patch_realtek.c alc262_lenovo_3000_automute(codec, 1);
codec 9642 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 9646 sound/pci/hda/patch_realtek.c change = snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 9649 sound/pci/hda/patch_realtek.c change |= snd_hda_codec_amp_stereo(codec, 0x1b, HDA_OUTPUT, 0,
codec 9654 sound/pci/hda/patch_realtek.c alc262_fujitsu_automute(codec, 0);
codec 9685 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 9689 sound/pci/hda/patch_realtek.c change = snd_hda_codec_amp_stereo(codec, 0x1b, HDA_OUTPUT, 0,
codec 9694 sound/pci/hda/patch_realtek.c alc262_lenovo_3000_automute(codec, 0);
codec 9801 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 9809 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x15, 0, AC_VERB_SET_PIN_SENSE, 0);
codec 9810 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 9817 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 9820 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 9830 sound/pci/hda/patch_realtek.c alc262_ultra_automute(codec);
codec 9844 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 9845 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 9852 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x15, 0,
codec 9855 sound/pci/hda/patch_realtek.c alc262_ultra_automute(codec); /* mute/unmute HP */
codec 10235 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 10239 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 10266 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec);
codec 10282 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 10283 sound/pci/hda/patch_realtek.c alc262_auto_init_multi_out(codec);
codec 10284 sound/pci/hda/patch_realtek.c alc262_auto_init_hp_out(codec);
codec 10285 sound/pci/hda/patch_realtek.c alc262_auto_init_analog_input(codec);
codec 10286 sound/pci/hda/patch_realtek.c alc262_auto_init_input_src(codec);
codec 10288 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 10577 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 10584 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x1a, 0, AC_VERB_SET_COEF_INDEX, 7);
codec 10585 sound/pci/hda/patch_realtek.c tmp = snd_hda_codec_read(codec, 0x20, 0, AC_VERB_GET_PROC_COEF, 0);
codec 10586 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x1a, 0, AC_VERB_SET_COEF_INDEX, 7);
codec 10587 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x1a, 0, AC_VERB_SET_PROC_COEF, tmp | 0x80);
codec 10591 sound/pci/hda/patch_realtek.c alc_fix_pll_init(codec, 0x20, 0x0a, 10);
codec 10593 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC262_MODEL_LAST,
codec 10605 sound/pci/hda/patch_realtek.c err = alc262_parse_auto_config(codec);
codec 10607 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 10630 sound/pci/hda/patch_realtek.c unsigned int wcap = get_wcaps(codec, 0x07);
codec 10652 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 10750 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 10755 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 10763 sound/pci/hda/patch_realtek.c mute = snd_hda_codec_amp_read(codec, 0x14, 0, HDA_OUTPUT, 0);
codec 10764 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 10773 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 10777 sound/pci/hda/patch_realtek.c change = snd_hda_codec_amp_update(codec, 0x14, 0, HDA_OUTPUT, 0,
codec 10780 sound/pci/hda/patch_realtek.c change |= snd_hda_codec_amp_update(codec, 0x14, 1, HDA_OUTPUT, 0,
codec 10784 sound/pci/hda/patch_realtek.c alc268_acer_automute(codec, 0);
codec 10847 sound/pci/hda/patch_realtek.c alc268_toshiba_automute(codec);
codec 10855 sound/pci/hda/patch_realtek.c alc268_acer_automute(codec, 1);
codec 10860 sound/pci/hda/patch_realtek.c alc268_acer_automute(codec, 1);
codec 10869 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 10872 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0f, HDA_INPUT, 0,
codec 10874 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0f, HDA_INPUT, 1,
codec 10883 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 10885 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x23, 0, AC_VERB_SET_CONNECT_SEL,
codec 10893 sound/pci/hda/patch_realtek.c alc268_aspire_one_speaker_automute(codec);
codec 10895 sound/pci/hda/patch_realtek.c alc268_acer_mic_automute(codec);
codec 10900 sound/pci/hda/patch_realtek.c alc268_aspire_one_speaker_automute(codec);
codec 10901 sound/pci/hda/patch_realtek.c alc268_acer_mic_automute(codec);
codec 10928 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0, AC_VERB_GET_PIN_SENSE, 0);
codec 10932 sound/pci/hda/patch_realtek.c mute = snd_hda_codec_amp_read(codec, 0x15, 0, HDA_OUTPUT, 0);
codec 10933 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 10942 sound/pci/hda/patch_realtek.c alc268_dell_automute(codec);
codec 10969 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0, AC_VERB_GET_PIN_SENSE, 0)
codec 10971 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x14, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 10979 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 10981 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x23, 0,
codec 10988 sound/pci/hda/patch_realtek.c alc267_quanta_il1_hp_automute(codec);
codec 10989 sound/pci/hda/patch_realtek.c alc267_quanta_il1_mic_automute(codec);
codec 10997 sound/pci/hda/patch_realtek.c alc267_quanta_il1_hp_automute(codec);
codec 11000 sound/pci/hda/patch_realtek.c alc267_quanta_il1_mic_automute(codec);
codec 11313 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 11320 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, speaker_nid, 0,
codec 11322 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x0f, 0,
codec 11325 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x10, 0,
codec 11329 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x0f, 0,
codec 11331 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x10, 0,
codec 11349 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x02, 0,
codec 11351 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x03, 0,
codec 11366 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 11370 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 11400 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec);
codec 11414 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 11415 sound/pci/hda/patch_realtek.c alc268_auto_init_multi_out(codec);
codec 11416 sound/pci/hda/patch_realtek.c alc268_auto_init_hp_out(codec);
codec 11417 sound/pci/hda/patch_realtek.c alc268_auto_init_mono_speaker_out(codec);
codec 11418 sound/pci/hda/patch_realtek.c alc268_auto_init_analog_input(codec);
codec 11420 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 11603 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 11605 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC268_MODEL_LAST,
codec 11617 sound/pci/hda/patch_realtek.c err = alc268_parse_auto_config(codec);
codec 11619 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 11632 sound/pci/hda/patch_realtek.c if (codec->vendor_id == 0x10ec0267) {
codec 11646 sound/pci/hda/patch_realtek.c if (!query_amp_caps(codec, 0x1d, HDA_INPUT))
codec 11648 sound/pci/hda/patch_realtek.c snd_hda_override_amp_caps(codec, 0x1d, HDA_INPUT,
codec 11656 sound/pci/hda/patch_realtek.c unsigned int wcap = get_wcaps(codec, 0x07);
codec 11677 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, alc268_capsrc_nids[i],
codec 11684 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 11836 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 11839 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 0,
codec 11841 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 1,
codec 11844 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 11846 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 11849 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 11851 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x20, 0,
codec 11859 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 11861 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x23, 0,
codec 11869 sound/pci/hda/patch_realtek.c alc269_quanta_fl1_speaker_automute(codec);
codec 11871 sound/pci/hda/patch_realtek.c alc269_quanta_fl1_mic_automute(codec);
codec 11876 sound/pci/hda/patch_realtek.c alc269_quanta_fl1_speaker_automute(codec);
codec 11877 sound/pci/hda/patch_realtek.c alc269_quanta_fl1_mic_automute(codec);
codec 11907 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 11910 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 0,
codec 11912 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 1,
codec 11920 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 11922 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x23, 0,
codec 11930 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 11932 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x24, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 11934 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x24, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 11943 sound/pci/hda/patch_realtek.c alc269_speaker_automute(codec);
codec 11946 sound/pci/hda/patch_realtek.c alc269_eeepc_dmic_automute(codec);
codec 11951 sound/pci/hda/patch_realtek.c alc269_speaker_automute(codec);
codec 11952 sound/pci/hda/patch_realtek.c alc269_eeepc_dmic_automute(codec);
codec 11960 sound/pci/hda/patch_realtek.c alc269_speaker_automute(codec);
codec 11963 sound/pci/hda/patch_realtek.c alc269_eeepc_amic_automute(codec);
codec 11968 sound/pci/hda/patch_realtek.c alc269_speaker_automute(codec);
codec 11969 sound/pci/hda/patch_realtek.c alc269_eeepc_amic_automute(codec);
codec 12141 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 12145 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 12176 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, alc269_capsrc_nids[0],
codec 12180 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec);
codec 12198 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 12199 sound/pci/hda/patch_realtek.c alc269_auto_init_multi_out(codec);
codec 12200 sound/pci/hda/patch_realtek.c alc269_auto_init_hp_out(codec);
codec 12201 sound/pci/hda/patch_realtek.c alc269_auto_init_analog_input(codec);
codec 12203 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 12288 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 12290 sound/pci/hda/patch_realtek.c alc_fix_pll_init(codec, 0x20, 0x04, 15);
codec 12292 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC269_MODEL_LAST,
codec 12304 sound/pci/hda/patch_realtek.c err = alc269_parse_auto_config(codec);
codec 12306 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 12331 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 12967 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x0f, 0,
codec 12969 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x16, HDA_INPUT, 0,
codec 12971 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x1a, HDA_INPUT, 3,
codec 12979 sound/pci/hda/patch_realtek.c alc861_toshiba_automute(codec);
codec 13174 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 13176 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, dac_idx, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 13182 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 13185 sound/pci/hda/patch_realtek.c alc_subsystem_id(codec, 0x0e, 0x0f, 0x0b);
codec 13190 sound/pci/hda/patch_realtek.c alc861_auto_set_output_and_unmute(codec, nid, pin_type,
codec 13197 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 13202 sound/pci/hda/patch_realtek.c alc861_auto_set_output_and_unmute(codec, pin, PIN_HP,
codec 13206 sound/pci/hda/patch_realtek.c alc861_auto_set_output_and_unmute(codec, pin, PIN_OUT, 0);
codec 13211 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 13217 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 13231 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 13235 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 13279 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 13280 sound/pci/hda/patch_realtek.c alc861_auto_init_multi_out(codec);
codec 13281 sound/pci/hda/patch_realtek.c alc861_auto_init_hp_out(codec);
codec 13282 sound/pci/hda/patch_realtek.c alc861_auto_init_analog_input(codec);
codec 13284 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 13455 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 13457 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC861_MODEL_LAST,
codec 13469 sound/pci/hda/patch_realtek.c err = alc861_parse_auto_config(codec);
codec 13471 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 13494 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 13910 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 13913 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 13922 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 13925 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0b, HDA_INPUT, 1,
codec 13931 sound/pci/hda/patch_realtek.c alc861vd_lenovo_hp_automute(codec);
codec 13932 sound/pci/hda/patch_realtek.c alc861vd_lenovo_mic_automute(codec);
codec 13940 sound/pci/hda/patch_realtek.c alc861vd_lenovo_hp_automute(codec);
codec 13943 sound/pci/hda/patch_realtek.c alc861vd_lenovo_mic_automute(codec);
codec 13998 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 14000 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 14007 sound/pci/hda/patch_realtek.c alc861vd_dallas_automute(codec);
codec 14155 sound/pci/hda/patch_realtek.c alc_set_pin_output(codec, nid, pin_type);
codec 14160 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 14163 sound/pci/hda/patch_realtek.c alc_subsystem_id(codec, 0x15, 0x1b, 0x14);
codec 14168 sound/pci/hda/patch_realtek.c alc861vd_auto_set_output_and_unmute(codec, nid,
codec 14176 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 14181 sound/pci/hda/patch_realtek.c alc861vd_auto_set_output_and_unmute(codec, pin, PIN_HP, 0);
codec 14184 sound/pci/hda/patch_realtek.c alc861vd_auto_set_output_and_unmute(codec, pin, PIN_OUT, 0);
codec 14192 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 14198 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 14203 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 14335 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 14339 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 14380 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec);
codec 14390 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 14391 sound/pci/hda/patch_realtek.c alc861vd_auto_init_multi_out(codec);
codec 14392 sound/pci/hda/patch_realtek.c alc861vd_auto_init_hp_out(codec);
codec 14393 sound/pci/hda/patch_realtek.c alc861vd_auto_init_analog_input(codec);
codec 14394 sound/pci/hda/patch_realtek.c alc861vd_auto_init_input_src(codec);
codec 14396 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 14408 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 14410 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC861VD_MODEL_LAST,
codec 14422 sound/pci/hda/patch_realtek.c err = alc861vd_parse_auto_config(codec);
codec 14424 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 14437 sound/pci/hda/patch_realtek.c if (codec->vendor_id == 0x10ec0660) {
codec 14462 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 15164 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 15167 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 15176 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 15179 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 15181 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 15189 sound/pci/hda/patch_realtek.c alc662_lenovo_101e_all_automute(codec);
codec 15191 sound/pci/hda/patch_realtek.c alc662_lenovo_101e_ispeaker_automute(codec);
codec 15198 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 15200 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x22, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 15202 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x23, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 15204 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x22, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 15206 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x23, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 15215 sound/pci/hda/patch_realtek.c alc262_hippo1_automute( codec );
codec 15218 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15223 sound/pci/hda/patch_realtek.c alc262_hippo1_automute( codec );
codec 15224 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15232 sound/pci/hda/patch_realtek.c snd_hda_codec_read(codec, 0x14, 0, AC_VERB_SET_PIN_SENSE, 0);
codec 15233 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x14, 0,
codec 15238 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x1b, HDA_OUTPUT, 0,
codec 15242 sound/pci/hda/patch_realtek.c mute = snd_hda_codec_amp_read(codec, 0x14, 0, HDA_OUTPUT, 0);
codec 15243 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x1b, HDA_OUTPUT, 0,
codec 15253 sound/pci/hda/patch_realtek.c alc662_eeepc_ep20_automute(codec);
codec 15258 sound/pci/hda/patch_realtek.c alc662_eeepc_ep20_automute(codec);
codec 15266 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x21, 0,
codec 15270 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 0,
codec 15272 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 1,
codec 15281 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x21, 0,
codec 15285 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 0,
codec 15287 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 1,
codec 15289 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0e, HDA_INPUT, 0,
codec 15291 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0e, HDA_INPUT, 1,
codec 15300 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 15304 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 0,
codec 15306 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 1,
codec 15308 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0e, HDA_INPUT, 0,
codec 15310 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0e, HDA_INPUT, 1,
codec 15319 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x1b, 0,
codec 15323 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, 0x14, 0,
codec 15331 sound/pci/hda/patch_realtek.c present1 = snd_hda_codec_read(codec, 0x21, 0,
codec 15334 sound/pci/hda/patch_realtek.c present2 = snd_hda_codec_read(codec, 0x15, 0,
codec 15339 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x14, 0,
codec 15342 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x14, 0,
codec 15351 sound/pci/hda/patch_realtek.c present1 = snd_hda_codec_read(codec, 0x1b, 0,
codec 15354 sound/pci/hda/patch_realtek.c present2 = snd_hda_codec_read(codec, 0x15, 0,
codec 15359 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 0,
codec 15361 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 1,
codec 15364 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 0,
codec 15366 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x0c, HDA_INPUT, 1,
codec 15375 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x18, 0,
codec 15378 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x22, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 15380 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x23, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 15382 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x22, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 15384 sound/pci/hda/patch_realtek.c snd_hda_codec_write_cache(codec, 0x23, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 15393 sound/pci/hda/patch_realtek.c alc663_m51va_speaker_automute(codec);
codec 15396 sound/pci/hda/patch_realtek.c alc663_m51va_mic_automute(codec);
codec 15403 sound/pci/hda/patch_realtek.c alc663_m51va_speaker_automute(codec);
codec 15404 sound/pci/hda/patch_realtek.c alc663_m51va_mic_automute(codec);
codec 15413 sound/pci/hda/patch_realtek.c alc663_m51va_speaker_automute(codec);
codec 15416 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15423 sound/pci/hda/patch_realtek.c alc663_m51va_speaker_automute(codec);
codec 15424 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15432 sound/pci/hda/patch_realtek.c alc662_f5z_speaker_automute(codec);
codec 15435 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15442 sound/pci/hda/patch_realtek.c alc662_f5z_speaker_automute(codec);
codec 15443 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15451 sound/pci/hda/patch_realtek.c alc663_two_hp_m1_speaker_automute(codec);
codec 15454 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15461 sound/pci/hda/patch_realtek.c alc663_two_hp_m1_speaker_automute(codec);
codec 15462 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15470 sound/pci/hda/patch_realtek.c alc663_21jd_two_speaker_automute(codec);
codec 15473 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15480 sound/pci/hda/patch_realtek.c alc663_21jd_two_speaker_automute(codec);
codec 15481 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15489 sound/pci/hda/patch_realtek.c alc663_15jd_two_speaker_automute(codec);
codec 15492 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15499 sound/pci/hda/patch_realtek.c alc663_15jd_two_speaker_automute(codec);
codec 15500 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15508 sound/pci/hda/patch_realtek.c alc663_two_hp_m2_speaker_automute(codec);
codec 15511 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15518 sound/pci/hda/patch_realtek.c alc663_two_hp_m2_speaker_automute(codec);
codec 15519 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15527 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x21, 0,
codec 15531 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x15, HDA_OUTPUT, 0,
codec 15533 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 15542 sound/pci/hda/patch_realtek.c present = snd_hda_codec_read(codec, 0x15, 0,
codec 15546 sound/pci/hda/patch_realtek.c snd_hda_codec_amp_stereo(codec, 0x14, HDA_OUTPUT, 0,
codec 15555 sound/pci/hda/patch_realtek.c alc663_g71v_hp_automute(codec);
codec 15558 sound/pci/hda/patch_realtek.c alc663_g71v_front_automute(codec);
codec 15561 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15568 sound/pci/hda/patch_realtek.c alc663_g71v_front_automute(codec);
codec 15569 sound/pci/hda/patch_realtek.c alc663_g71v_hp_automute(codec);
codec 15570 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15578 sound/pci/hda/patch_realtek.c alc663_m51va_speaker_automute(codec);
codec 15581 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15588 sound/pci/hda/patch_realtek.c alc663_m51va_speaker_automute(codec);
codec 15589 sound/pci/hda/patch_realtek.c alc662_eeepc_mic_automute(codec);
codec 15596 sound/pci/hda/patch_realtek.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 15600 sound/pci/hda/patch_realtek.c change = snd_hda_codec_amp_update(codec, 0x1b, 0, HDA_OUTPUT, 0,
codec 15603 sound/pci/hda/patch_realtek.c change |= snd_hda_codec_amp_update(codec, 0x1b, 1, HDA_OUTPUT, 0,
codec 15607 sound/pci/hda/patch_realtek.c alc262_hippo1_automute(codec);
codec 16095 sound/pci/hda/patch_realtek.c alc_set_pin_output(codec, nid, pin_type);
codec 16098 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 16100 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, alc880_idx_to_selector(idx), 0,
codec 16108 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 16111 sound/pci/hda/patch_realtek.c alc_subsystem_id(codec, 0x15, 0x1b, 0x14);
codec 16116 sound/pci/hda/patch_realtek.c alc662_auto_set_output_and_unmute(codec, nid, pin_type,
codec 16123 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 16129 sound/pci/hda/patch_realtek.c alc662_auto_set_output_and_unmute(codec, pin, PIN_HP, 0);
codec 16132 sound/pci/hda/patch_realtek.c alc662_auto_set_output_and_unmute(codec, pin, PIN_OUT, 0);
codec 16140 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 16146 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 16151 sound/pci/hda/patch_realtek.c snd_hda_codec_write(codec, nid, 0,
codec 16162 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 16166 sound/pci/hda/patch_realtek.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 16204 sound/pci/hda/patch_realtek.c if (codec->vendor_id == 0x10ec0663)
codec 16208 sound/pci/hda/patch_realtek.c err = alc_auto_add_mic_boost(codec);
codec 16220 sound/pci/hda/patch_realtek.c struct alc_spec *spec = codec->spec;
codec 16221 sound/pci/hda/patch_realtek.c alc662_auto_init_multi_out(codec);
codec 16222 sound/pci/hda/patch_realtek.c alc662_auto_init_hp_out(codec);
codec 16223 sound/pci/hda/patch_realtek.c alc662_auto_init_analog_input(codec);
codec 16224 sound/pci/hda/patch_realtek.c alc662_auto_init_input_src(codec);
codec 16226 sound/pci/hda/patch_realtek.c alc_sku_automute(codec);
codec 16238 sound/pci/hda/patch_realtek.c codec->spec = spec;
codec 16240 sound/pci/hda/patch_realtek.c alc_fix_pll_init(codec, 0x20, 0x04, 15);
codec 16242 sound/pci/hda/patch_realtek.c board_config = snd_hda_check_board_config(codec, ALC662_MODEL_LAST,
codec 16253 sound/pci/hda/patch_realtek.c err = alc662_parse_auto_config(codec);
codec 16255 sound/pci/hda/patch_realtek.c alc_free(codec);
codec 16268 sound/pci/hda/patch_realtek.c if (codec->vendor_id == 0x10ec0663) {
codec 16288 sound/pci/hda/patch_realtek.c codec->patch_ops = alc_patch_ops;
codec 78 sound/pci/hda/patch_si3054.c #define GET_REG(codec,reg) (snd_hda_codec_read(codec,reg,0,SI3054_VERB_READ_NODE,0))
codec 79 sound/pci/hda/patch_si3054.c #define SET_REG(codec,reg,val) (snd_hda_codec_write(codec,reg,0,SI3054_VERB_WRITE_NODE,val))
codec 81 sound/pci/hda/patch_si3054.c snd_hda_codec_write_cache(codec,reg,0,SI3054_VERB_WRITE_NODE,val)
codec 103 sound/pci/hda/patch_si3054.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 106 sound/pci/hda/patch_si3054.c uvalue->value.integer.value[0] = (GET_REG(codec, reg)) & mask ? 1 : 0 ;
codec 113 sound/pci/hda/patch_si3054.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 117 sound/pci/hda/patch_si3054.c SET_REG_CACHE(codec, reg, (GET_REG(codec, reg)) | mask);
codec 119 sound/pci/hda/patch_si3054.c SET_REG_CACHE(codec, reg, (GET_REG(codec, reg)) & ~mask);
codec 141 sound/pci/hda/patch_si3054.c return snd_hda_add_new_ctls(codec, si3054_modem_mixer);
codec 157 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_LINE_RATE, substream->runtime->rate);
codec 158 sound/pci/hda/patch_si3054.c val = GET_REG(codec, SI3054_LINE_LEVEL);
codec 161 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_LINE_LEVEL, val);
codec 163 sound/pci/hda/patch_si3054.c snd_hda_codec_setup_stream(codec, hinfo->nid,
codec 201 sound/pci/hda/patch_si3054.c struct si3054_spec *spec = codec->spec;
codec 203 sound/pci/hda/patch_si3054.c si3054_pcm.nid = codec->mfg;
codec 204 sound/pci/hda/patch_si3054.c codec->num_pcms = 1;
codec 205 sound/pci/hda/patch_si3054.c codec->pcm_info = info;
codec 220 sound/pci/hda/patch_si3054.c struct si3054_spec *spec = codec->spec;
codec 224 sound/pci/hda/patch_si3054.c snd_hda_codec_write(codec, AC_NODE_ROOT, 0, AC_VERB_SET_CODEC_RESET, 0);
codec 225 sound/pci/hda/patch_si3054.c snd_hda_codec_write(codec, codec->mfg, 0, AC_VERB_SET_STREAM_FORMAT, 0);
codec 226 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_LINE_RATE, 9600);
codec 227 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_LINE_LEVEL, SI3054_DTAG_MASK|SI3054_ATAG_MASK);
codec 228 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_EXTENDED_MID, 0);
codec 233 sound/pci/hda/patch_si3054.c val = GET_REG(codec, SI3054_EXTENDED_MID);
codec 242 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_GPIO_POLARITY, 0xffff);
codec 243 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_GPIO_CFG, 0x0);
codec 244 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_MISC_AFE, 0);
codec 245 sound/pci/hda/patch_si3054.c SET_REG(codec, SI3054_LINE_CFG1,0x200);
codec 247 sound/pci/hda/patch_si3054.c if((GET_REG(codec,SI3054_LINE_STATUS) & (1<<6)) == 0) {
codec 249 sound/pci/hda/patch_si3054.c GET_REG(codec,SI3054_LINE_STATUS));
codec 252 sound/pci/hda/patch_si3054.c spec->international = GET_REG(codec, SI3054_CHIPID) & SI3054_CHIPID_INTERNATIONAL;
codec 259 sound/pci/hda/patch_si3054.c kfree(codec->spec);
codec 278 sound/pci/hda/patch_si3054.c codec->spec = spec;
codec 279 sound/pci/hda/patch_si3054.c codec->patch_ops = si3054_patch_ops;
codec 475 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 476 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 488 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 489 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 501 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 502 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 509 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 510 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 520 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 521 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 524 sound/pci/hda/patch_sigmatel.c return snd_hda_input_mux_put(codec, spec->dinput_mux, ucontrol,
codec 531 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 532 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 539 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 540 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 550 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 551 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 557 sound/pci/hda/patch_sigmatel.c err = snd_hda_input_mux_put(codec, spec->sinput_mux, ucontrol,
codec 566 sound/pci/hda/patch_sigmatel.c nid = codec->slave_dig_outs[smux_idx - 1];
codec 572 sound/pci/hda/patch_sigmatel.c nid = codec->slave_dig_outs[smux_idx - 1];
codec 574 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, nid, 0,
codec 582 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 583 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 589 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 590 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 599 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 600 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 603 sound/pci/hda/patch_sigmatel.c return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol,
codec 610 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 611 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 618 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 619 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 628 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 629 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 631 sound/pci/hda/patch_sigmatel.c return snd_hda_input_mux_put(codec, spec->mono_mux, ucontrol,
codec 638 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 639 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 646 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 647 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 656 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 657 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 659 sound/pci/hda/patch_sigmatel.c snd_hda_find_mixer_ctl(codec, "Amp Capture Volume");
codec 663 sound/pci/hda/patch_sigmatel.c snd_ctl_notify(codec->bus->card, SNDRV_CTL_EVENT_MASK_VALUE |
codec 666 sound/pci/hda/patch_sigmatel.c return snd_hda_input_mux_put(codec, spec->amp_mux, ucontrol,
codec 675 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 677 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 687 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 688 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 706 sound/pci/hda/patch_sigmatel.c dac_mode = snd_hda_codec_read(codec, codec->afg, 0,
codec 711 sound/pci/hda/patch_sigmatel.c snd_hda_power_up(codec);
codec 714 sound/pci/hda/patch_sigmatel.c snd_hda_power_down(codec);
codec 718 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, codec->afg, 0,
codec 1238 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 1242 sound/pci/hda/patch_sigmatel.c err = snd_hda_add_new_ctls(codec, spec->mixer);
codec 1247 sound/pci/hda/patch_sigmatel.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]);
codec 1253 sound/pci/hda/patch_sigmatel.c err = snd_ctl_add(codec->bus->card,
codec 1254 sound/pci/hda/patch_sigmatel.c snd_ctl_new1(&stac_dmux_mixer, codec));
codec 1259 sound/pci/hda/patch_sigmatel.c int wcaps = get_wcaps(codec, spec->multiout.dig_out_nid);
codec 1269 sound/pci/hda/patch_sigmatel.c err = snd_ctl_add(codec->bus->card,
codec 1270 sound/pci/hda/patch_sigmatel.c snd_ctl_new1(&stac_smux_mixer, codec));
codec 1276 sound/pci/hda/patch_sigmatel.c err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid);
codec 1279 sound/pci/hda/patch_sigmatel.c err = snd_hda_create_spdif_share_sw(codec,
codec 1286 sound/pci/hda/patch_sigmatel.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid);
codec 1292 sound/pci/hda/patch_sigmatel.c if (!snd_hda_find_mixer_ctl(codec, "Master Playback Volume")) {
codec 1294 sound/pci/hda/patch_sigmatel.c snd_hda_set_vmaster_tlv(codec, spec->multiout.dac_nids[0],
codec 1296 sound/pci/hda/patch_sigmatel.c err = snd_hda_add_vmaster(codec, "Master Playback Volume",
codec 1301 sound/pci/hda/patch_sigmatel.c if (!snd_hda_find_mixer_ctl(codec, "Master Playback Switch")) {
codec 1302 sound/pci/hda/patch_sigmatel.c err = snd_hda_add_vmaster(codec, "Master Playback Switch",
codec 2167 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2180 sound/pci/hda/patch_sigmatel.c pin_cfg = snd_hda_codec_read(codec, nid, 0,
codec 2194 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, pin_nid, 0,
codec 2197 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, pin_nid, 0,
codec 2200 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, pin_nid, 0,
codec 2203 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, pin_nid, 0,
codec 2206 sound/pci/hda/patch_sigmatel.c i = snd_hda_codec_read(codec, pin_nid, 0,
codec 2216 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2222 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, spec->pin_nids[i],
codec 2233 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2236 sound/pci/hda/patch_sigmatel.c return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream,
codec 2246 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2247 sound/pci/hda/patch_sigmatel.c return snd_hda_multi_out_analog_prepare(codec, &spec->multiout, stream_tag, format, substream);
codec 2254 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2255 sound/pci/hda/patch_sigmatel.c return snd_hda_multi_out_analog_cleanup(codec, &spec->multiout);
codec 2265 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2266 sound/pci/hda/patch_sigmatel.c return snd_hda_multi_out_dig_open(codec, &spec->multiout);
codec 2273 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2274 sound/pci/hda/patch_sigmatel.c return snd_hda_multi_out_dig_close(codec, &spec->multiout);
codec 2283 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2284 sound/pci/hda/patch_sigmatel.c return snd_hda_multi_out_dig_prepare(codec, &spec->multiout,
codec 2298 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2303 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, nid, 0,
codec 2306 sound/pci/hda/patch_sigmatel.c snd_hda_codec_setup_stream(codec, nid, stream_tag, 0, format);
codec 2314 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2317 sound/pci/hda/patch_sigmatel.c snd_hda_codec_cleanup_stream(codec, nid);
codec 2319 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, nid, 0,
codec 2379 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2382 sound/pci/hda/patch_sigmatel.c codec->num_pcms = 1;
codec 2383 sound/pci/hda/patch_sigmatel.c codec->pcm_info = info;
codec 2392 sound/pci/hda/patch_sigmatel.c codec->num_pcms++;
codec 2399 sound/pci/hda/patch_sigmatel.c codec->num_pcms++;
codec 2418 sound/pci/hda/patch_sigmatel.c unsigned int pincap = snd_hda_param_read(codec, nid,
codec 2435 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, nid, 0,
codec 2444 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2445 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2454 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2455 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2462 sound/pci/hda/patch_sigmatel.c codec->patch_ops.unsol_event(codec, STAC_HP_EVENT << 26);
codec 2471 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2472 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2481 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2482 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2490 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, nid, AC_PINCTL_OUT_EN);
codec 2494 sound/pci/hda/patch_sigmatel.c pinctl |= stac92xx_get_vref(codec, nid);
codec 2495 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, nid, pinctl);
codec 2502 sound/pci/hda/patch_sigmatel.c codec->patch_ops.unsol_event(codec, STAC_HP_EVENT << 26);
codec 2512 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2513 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2522 sound/pci/hda/patch_sigmatel.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 2523 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2532 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, nid, 0, AC_VERB_SET_EAPD_BTLENABLE,
codec 2631 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2636 sound/pci/hda/patch_sigmatel.c for (i = 0; i < codec->num_nodes; i++) {
codec 2637 sound/pci/hda/patch_sigmatel.c wcaps = codec->wcaps[i];
codec 2714 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2721 sound/pci/hda/patch_sigmatel.c conn_len = snd_hda_get_connections(codec, nid, conn,
codec 2724 sound/pci/hda/patch_sigmatel.c wcaps = snd_hda_param_read(codec, conn[j],
codec 2754 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, nid, 0,
codec 2822 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2841 sound/pci/hda/patch_sigmatel.c wid_caps = get_wcaps(codec, nid);
codec 2873 sound/pci/hda/patch_sigmatel.c pincap = snd_hda_param_read(codec, nid,
codec 2889 sound/pci/hda/patch_sigmatel.c def_conf = snd_hda_codec_read(codec, nid, 0,
codec 2894 sound/pci/hda/patch_sigmatel.c pincap = snd_hda_param_read(codec, nid,
codec 2900 sound/pci/hda/patch_sigmatel.c nid = snd_hda_codec_read(codec, nid, 0,
codec 2920 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2926 sound/pci/hda/patch_sigmatel.c unsigned int wid_caps = get_wcaps(codec, cfg->hp_pins[i]);
codec 2929 sound/pci/hda/patch_sigmatel.c nid = snd_hda_codec_read(codec, cfg->hp_pins[i], 0,
codec 2938 sound/pci/hda/patch_sigmatel.c nid = snd_hda_codec_read(codec, cfg->speaker_pins[i], 0,
codec 2947 sound/pci/hda/patch_sigmatel.c nid = snd_hda_codec_read(codec, cfg->line_out_pins[i], 0,
codec 2982 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 2987 sound/pci/hda/patch_sigmatel.c num_cons = snd_hda_get_connections(codec,
codec 3013 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3040 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3041 sound/pci/hda/patch_sigmatel.c u32 caps = query_amp_caps(codec, nid, HDA_OUTPUT);
codec 3066 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3071 sound/pci/hda/patch_sigmatel.c wcaps = get_wcaps(codec, nid);
codec 3090 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3096 sound/pci/hda/patch_sigmatel.c num_cons = snd_hda_get_connections(codec,
codec 3125 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3142 sound/pci/hda/patch_sigmatel.c def_conf = snd_hda_codec_read(codec,
codec 3151 sound/pci/hda/patch_sigmatel.c num_cons = snd_hda_get_connections(codec,
codec 3162 sound/pci/hda/patch_sigmatel.c wcaps = get_wcaps(codec, nid) &
codec 3191 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3204 sound/pci/hda/patch_sigmatel.c num_cons = snd_hda_get_connections(codec,
codec 3228 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, spec->mux_nids[i], 0,
codec 3239 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3244 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, nid, AC_PINCTL_OUT_EN);
codec 3250 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3257 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, pin, AC_PINCTL_OUT_EN | AC_PINCTL_HP_EN);
codec 3263 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, pin, AC_PINCTL_OUT_EN);
codec 3269 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3273 sound/pci/hda/patch_sigmatel.c if ((err = snd_hda_parse_pin_def_config(codec,
codec 3298 sound/pci/hda/patch_sigmatel.c int dir = get_wcaps(codec, spec->autocfg.mono_out_pin) &
codec 3300 sound/pci/hda/patch_sigmatel.c u32 caps = query_amp_caps(codec,
codec 3305 sound/pci/hda/patch_sigmatel.c if (snd_hda_get_connections(codec,
codec 3307 sound/pci/hda/patch_sigmatel.c snd_hda_get_connections(codec, conn_list[0],
codec 3310 sound/pci/hda/patch_sigmatel.c int wcaps = get_wcaps(codec, conn_list[0]);
codec 3343 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, spec->autocfg.mono_out_pin,
codec 3347 sound/pci/hda/patch_sigmatel.c if ((err = stac92xx_add_dyn_out_pins(codec, &spec->autocfg)) < 0)
codec 3350 sound/pci/hda/patch_sigmatel.c if ((err = stac92xx_auto_fill_dac_nids(codec, &spec->autocfg)) < 0)
codec 3353 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_multi_out_ctls(codec, &spec->autocfg);
codec 3360 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_beep_ctls(codec,
codec 3371 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_beep_ctls(codec, nid);
codec 3374 sound/pci/hda/patch_sigmatel.c err = snd_hda_attach_beep_device(codec, nid);
codec 3393 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_hp_ctls(codec, &spec->autocfg);
codec 3398 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_analog_input_ctls(codec, &spec->autocfg);
codec 3404 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_mono_output_ctls(codec);
codec 3409 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_amp_output_ctls(codec);
codec 3414 sound/pci/hda/patch_sigmatel.c if ((err = stac92xx_auto_create_dmic_input_ctls(codec,
codec 3418 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_mux_input_ctls(codec);
codec 3423 sound/pci/hda/patch_sigmatel.c err = stac92xx_auto_create_spdif_mux_ctls(codec);
codec 3452 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3459 sound/pci/hda/patch_sigmatel.c wid_caps = get_wcaps(codec, pin);
codec 3470 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3482 sound/pci/hda/patch_sigmatel.c unsigned int wcaps = get_wcaps(codec, pin);
codec 3494 sound/pci/hda/patch_sigmatel.c defcfg = snd_hda_codec_read(codec, pin, 0,
codec 3498 sound/pci/hda/patch_sigmatel.c unsigned int wcaps = get_wcaps(codec, pin);
codec 3519 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3522 sound/pci/hda/patch_sigmatel.c if ((err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL)) < 0)
codec 3525 sound/pci/hda/patch_sigmatel.c if ((err = stac92xx_auto_create_analog_input_ctls(codec, &spec->autocfg)) < 0)
codec 3528 sound/pci/hda/patch_sigmatel.c if ((err = stac9200_auto_create_hp_ctls(codec, &spec->autocfg)) < 0)
codec 3531 sound/pci/hda/patch_sigmatel.c if ((err = stac9200_auto_create_lfe_ctls(codec, &spec->autocfg)) < 0)
codec 3558 sound/pci/hda/patch_sigmatel.c gpiostate = snd_hda_codec_read(codec, codec->afg, 0,
codec 3562 sound/pci/hda/patch_sigmatel.c gpiomask = snd_hda_codec_read(codec, codec->afg, 0,
codec 3566 sound/pci/hda/patch_sigmatel.c gpiodir = snd_hda_codec_read(codec, codec->afg, 0,
codec 3571 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, codec->afg, 0, 0x7e7, 0);
codec 3573 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, codec->afg, 0,
codec 3575 sound/pci/hda/patch_sigmatel.c snd_hda_codec_read(codec, codec->afg, 0,
codec 3580 sound/pci/hda/patch_sigmatel.c snd_hda_codec_read(codec, codec->afg, 0,
codec 3587 sound/pci/hda/patch_sigmatel.c if (get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP)
codec 3588 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, nid, 0,
codec 3605 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3612 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, *dac, 0,
codec 3618 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3622 sound/pci/hda/patch_sigmatel.c snd_hda_sequence_write(codec, spec->init);
codec 3627 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec,
codec 3634 sound/pci/hda/patch_sigmatel.c enable_pin_detect(codec, cfg->hp_pins[i],
codec 3639 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, spec->autocfg.line_out_pins[0],
codec 3641 sound/pci/hda/patch_sigmatel.c stac92xx_auto_init_hp_out(codec);
codec 3643 sound/pci/hda/patch_sigmatel.c codec->patch_ops.unsol_event(codec, STAC_HP_EVENT << 26);
codec 3645 sound/pci/hda/patch_sigmatel.c stac92xx_auto_init_multi_out(codec);
codec 3646 sound/pci/hda/patch_sigmatel.c stac92xx_auto_init_hp_out(codec);
codec 3651 sound/pci/hda/patch_sigmatel.c unsigned int pinctl = snd_hda_codec_read(codec, nid,
codec 3658 sound/pci/hda/patch_sigmatel.c pinctl |= stac92xx_get_vref(codec, nid);
codec 3659 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, nid, pinctl);
codec 3663 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, spec->dmic_nids[i],
codec 3668 sound/pci/hda/patch_sigmatel.c int pinctl = snd_hda_codec_read(codec, spec->pwr_nids[i],
codec 3670 sound/pci/hda/patch_sigmatel.c int def_conf = snd_hda_codec_read(codec, spec->pwr_nids[i],
codec 3683 sound/pci/hda/patch_sigmatel.c enable_pin_detect(codec, spec->pwr_nids[i], event | i);
codec 3684 sound/pci/hda/patch_sigmatel.c codec->patch_ops.unsol_event(codec, (event | i) << 26);
codec 3687 sound/pci/hda/patch_sigmatel.c stac92xx_power_down(codec);
codec 3689 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, cfg->dig_out_pin,
codec 3692 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, cfg->dig_in_pin,
codec 3695 sound/pci/hda/patch_sigmatel.c stac_gpio_set(codec, spec->gpio_mask,
codec 3703 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3719 sound/pci/hda/patch_sigmatel.c snd_hda_detach_beep_device(codec);
codec 3725 sound/pci/hda/patch_sigmatel.c unsigned int pin_ctl = snd_hda_codec_read(codec, nid,
codec 3734 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3748 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, nid, 0,
codec 3756 sound/pci/hda/patch_sigmatel.c unsigned int pin_ctl = snd_hda_codec_read(codec, nid,
codec 3758 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, nid, 0,
codec 3767 sound/pci/hda/patch_sigmatel.c if (snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_PIN_SENSE, 0x00)
codec 3770 sound/pci/hda/patch_sigmatel.c pinctl = snd_hda_codec_read(codec, nid, 0,
codec 3782 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3789 sound/pci/hda/patch_sigmatel.c presence = !(snd_hda_codec_read(codec, codec->afg, 0,
codec 3797 sound/pci/hda/patch_sigmatel.c presence = get_hp_pin_presence(codec, cfg->hp_pins[i]);
codec 3803 sound/pci/hda/patch_sigmatel.c stac92xx_reset_pinctl(codec, nid, AC_PINCTL_OUT_EN);
codec 3805 sound/pci/hda/patch_sigmatel.c stac92xx_reset_pinctl(codec, cfg->line_out_pins[i],
codec 3808 sound/pci/hda/patch_sigmatel.c stac92xx_reset_pinctl(codec, cfg->speaker_pins[i],
codec 3811 sound/pci/hda/patch_sigmatel.c stac_gpio_set(codec, spec->gpio_mask,
codec 3817 sound/pci/hda/patch_sigmatel.c stac92xx_set_pinctl(codec, nid, AC_PINCTL_OUT_EN);
codec 3819 sound/pci/hda/patch_sigmatel.c stac92xx_set_pinctl(codec, cfg->line_out_pins[i],
codec 3822 sound/pci/hda/patch_sigmatel.c stac92xx_set_pinctl(codec, cfg->speaker_pins[i],
codec 3825 sound/pci/hda/patch_sigmatel.c stac_gpio_set(codec, spec->gpio_mask,
codec 3830 sound/pci/hda/patch_sigmatel.c stac92xx_set_pinctl(codec, nid, AC_PINCTL_OUT_EN);
codec 3835 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3838 sound/pci/hda/patch_sigmatel.c val = snd_hda_codec_read(codec, codec->afg, 0, 0x0fec, 0x0)
codec 3840 sound/pci/hda/patch_sigmatel.c presence = get_hp_pin_presence(codec, nid);
codec 3854 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, codec->afg, 0, 0x7ec, val);
codec 3859 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3864 sound/pci/hda/patch_sigmatel.c stac92xx_hp_detect(codec, res);
codec 3868 sound/pci/hda/patch_sigmatel.c stac92xx_pin_sense(codec, idx);
codec 3871 sound/pci/hda/patch_sigmatel.c int data = snd_hda_codec_read(codec, codec->afg, 0,
codec 3874 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, codec->afg, 0, 0x7e0,
codec 3884 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 3886 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_regs(codec);
codec 3887 sound/pci/hda/patch_sigmatel.c snd_hda_sequence_write(codec, spec->init);
codec 3888 sound/pci/hda/patch_sigmatel.c stac_gpio_set(codec, spec->gpio_mask,
codec 3890 sound/pci/hda/patch_sigmatel.c snd_hda_codec_resume_amp(codec);
codec 3891 sound/pci/hda/patch_sigmatel.c snd_hda_codec_resume_cache(codec);
codec 3894 sound/pci/hda/patch_sigmatel.c stac92xx_power_down(codec);
codec 3897 sound/pci/hda/patch_sigmatel.c codec->patch_ops.unsol_event(codec, STAC_HP_EVENT << 26);
codec 3922 sound/pci/hda/patch_sigmatel.c codec->spec = spec;
codec 3925 sound/pci/hda/patch_sigmatel.c spec->board_config = snd_hda_check_board_config(codec, STAC_9200_MODELS,
codec 3930 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec);
codec 3932 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 3938 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_regs(codec);
codec 3963 sound/pci/hda/patch_sigmatel.c err = stac9200_parse_auto_config(codec);
codec 3965 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 3969 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92xx_patch_ops;
codec 3983 sound/pci/hda/patch_sigmatel.c codec->spec = spec;
codec 3986 sound/pci/hda/patch_sigmatel.c spec->board_config = snd_hda_check_board_config(codec, STAC_925x_MODELS,
codec 3993 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec);
codec 3995 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4001 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_regs(codec);
codec 4012 sound/pci/hda/patch_sigmatel.c switch (codec->vendor_id) {
codec 4030 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x8, 0x7);
codec 4041 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4045 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92xx_patch_ops;
codec 4070 sound/pci/hda/patch_sigmatel.c codec->spec = spec;
codec 4071 sound/pci/hda/patch_sigmatel.c codec->slave_dig_outs = stac92hd73xx_slave_dig_outs;
codec 4074 sound/pci/hda/patch_sigmatel.c spec->board_config = snd_hda_check_board_config(codec,
codec 4082 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec);
codec 4084 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4090 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_regs(codec);
codec 4093 sound/pci/hda/patch_sigmatel.c spec->multiout.num_dacs = snd_hda_get_connections(codec, 0x0a,
codec 4142 sound/pci/hda/patch_sigmatel.c switch (codec->subsystem_id) {
codec 4145 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x0b, 0x90A70170);
codec 4155 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x13, 0x90A60160);
codec 4161 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x0b, 0x90A70170);
codec 4162 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x13, 0x90A60160);
codec 4182 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x25, 0x27);
codec 4195 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4199 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92xx_patch_ops;
codec 4222 sound/pci/hda/patch_sigmatel.c codec->spec = spec;
codec 4223 sound/pci/hda/patch_sigmatel.c codec->slave_dig_outs = stac92hd83xxx_slave_dig_outs;
codec 4235 sound/pci/hda/patch_sigmatel.c switch (codec->vendor_id) {
codec 4252 sound/pci/hda/patch_sigmatel.c spec->board_config = snd_hda_check_board_config(codec,
codec 4260 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec);
codec 4262 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4268 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_regs(codec);
codec 4271 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x1d, 0);
codec 4283 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4287 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92xx_patch_ops;
codec 4295 sound/pci/hda/patch_sigmatel.c struct sigmatel_spec *spec = codec->spec;
codec 4297 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, codec->afg, 0,
codec 4302 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec,
codec 4310 sound/pci/hda/patch_sigmatel.c stac92hd71xx_set_power_state(codec, AC_PWRST_D0);
codec 4311 sound/pci/hda/patch_sigmatel.c return stac92xx_resume(codec);
codec 4316 sound/pci/hda/patch_sigmatel.c stac92hd71xx_set_power_state(codec, AC_PWRST_D3);
codec 4353 sound/pci/hda/patch_sigmatel.c codec->spec = spec;
codec 4354 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92xx_patch_ops;
codec 4360 sound/pci/hda/patch_sigmatel.c spec->board_config = snd_hda_check_board_config(codec,
codec 4368 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec);
codec 4370 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4376 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_regs(codec);
codec 4379 sound/pci/hda/patch_sigmatel.c switch (codec->vendor_id) {
codec 4386 sound/pci/hda/patch_sigmatel.c codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs;
codec 4389 sound/pci/hda/patch_sigmatel.c switch (codec->subsystem_id) {
codec 4392 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, codec->afg, 0,
codec 4394 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, codec->afg, 0,
codec 4400 sound/pci/hda/patch_sigmatel.c if ((codec->revision_id & 0xf) == 0 ||
codec 4401 sound/pci/hda/patch_sigmatel.c (codec->revision_id & 0xf) == 1) {
codec 4403 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92hd71bxx_patch_ops;
codec 4415 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0xf, 0x40f000f0);
codec 4418 sound/pci/hda/patch_sigmatel.c if ((codec->revision_id & 0xf) == 1) {
codec 4420 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92hd71bxx_patch_ops;
codec 4432 sound/pci/hda/patch_sigmatel.c codec->slave_dig_outs = stac92hd71bxx_slave_dig_outs;
codec 4464 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x0e, 0x01813040);
codec 4465 sound/pci/hda/patch_sigmatel.c stac92xx_auto_set_pinctl(codec, 0x0e,
codec 4482 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x21, 0x23);
codec 4494 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4510 sound/pci/hda/patch_sigmatel.c codec->spec = spec;
codec 4513 sound/pci/hda/patch_sigmatel.c spec->board_config = snd_hda_check_board_config(codec, STAC_922X_MODELS,
codec 4522 sound/pci/hda/patch_sigmatel.c printk(KERN_INFO "hda_codec: STAC922x, Apple subsys_id=%x\n", codec->subsystem_id);
codec 4523 sound/pci/hda/patch_sigmatel.c switch (codec->subsystem_id) {
codec 4558 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec);
codec 4560 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4566 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_regs(codec);
codec 4581 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x08, 0x09);
codec 4592 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4596 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92xx_patch_ops;
codec 4599 sound/pci/hda/patch_sigmatel.c snd_hda_override_amp_caps(codec, 0x12, HDA_OUTPUT,
codec 4617 sound/pci/hda/patch_sigmatel.c codec->spec = spec;
codec 4620 sound/pci/hda/patch_sigmatel.c spec->board_config = snd_hda_check_board_config(codec, STAC_927X_MODELS,
codec 4628 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec);
codec 4630 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4636 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_regs(codec);
codec 4662 sound/pci/hda/patch_sigmatel.c switch (codec->subsystem_id) {
codec 4666 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x21, 0x01442070);
codec 4670 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x0c, 0x90a79130);
codec 4672 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x0f, 0x0227011f);
codec 4674 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x0e, 0x02a79130);
codec 4704 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x1e, 0x20);
codec 4715 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4719 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92xx_patch_ops;
codec 4731 sound/pci/hda/patch_sigmatel.c codec->bus->needs_damn_long_delay = 1;
codec 4745 sound/pci/hda/patch_sigmatel.c codec->spec = spec;
codec 4748 sound/pci/hda/patch_sigmatel.c spec->board_config = snd_hda_check_board_config(codec, STAC_9205_MODELS,
codec 4754 sound/pci/hda/patch_sigmatel.c err = stac92xx_save_bios_config_regs(codec);
codec 4756 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4762 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_regs(codec);
codec 4788 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x1f, 0x01441030);
codec 4789 sound/pci/hda/patch_sigmatel.c stac92xx_set_config_reg(codec, 0x20, 0x1c410030);
codec 4792 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write(codec, codec->afg, 0,
codec 4794 sound/pci/hda/patch_sigmatel.c snd_hda_codec_write_cache(codec, codec->afg, 0,
codec 4817 sound/pci/hda/patch_sigmatel.c err = stac92xx_parse_auto_config(codec, 0x1f, 0x20);
codec 4828 sound/pci/hda/patch_sigmatel.c stac92xx_free(codec);
codec 4832 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac92xx_patch_ops;
codec 4960 sound/pci/hda/patch_sigmatel.c err = stac92xx_init(codec);
codec 4963 sound/pci/hda/patch_sigmatel.c if (codec->patch_ops.unsol_event)
codec 4964 sound/pci/hda/patch_sigmatel.c codec->patch_ops.unsol_event(codec, STAC_HP_EVENT << 26);
codec 4970 sound/pci/hda/patch_sigmatel.c if (get_hp_pin_presence(codec, 0x0a)) {
codec 4971 sound/pci/hda/patch_sigmatel.c stac92xx_reset_pinctl(codec, 0x0f, AC_PINCTL_OUT_EN);
codec 4972 sound/pci/hda/patch_sigmatel.c stac92xx_set_pinctl(codec, 0x0a, AC_PINCTL_OUT_EN);
codec 4974 sound/pci/hda/patch_sigmatel.c stac92xx_reset_pinctl(codec, 0x0a, AC_PINCTL_OUT_EN);
codec 4975 sound/pci/hda/patch_sigmatel.c stac92xx_set_pinctl(codec, 0x0f, AC_PINCTL_OUT_EN);
codec 4983 sound/pci/hda/patch_sigmatel.c stac9872_vaio_hp_detect(codec, res);
codec 5028 sound/pci/hda/patch_sigmatel.c board_config = snd_hda_check_board_config(codec, STAC_9872_MODELS,
codec 5033 sound/pci/hda/patch_sigmatel.c return snd_hda_parse_generic_codec(codec);
codec 5039 sound/pci/hda/patch_sigmatel.c codec->spec = spec;
codec 5055 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac9872_vaio_patch_ops;
codec 5070 sound/pci/hda/patch_sigmatel.c codec->patch_ops = stac9872_patch_ops;
codec 155 sound/pci/hda/patch_via.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 158 sound/pci/hda/patch_via.c if (get_codec_type(codec->vendor_id) == VT1708S
codec 177 sound/pci/hda/patch_via.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 180 sound/pci/hda/patch_via.c if (get_codec_type(codec->vendor_id) == VT1708S
codec 327 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL,
codec 329 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_AMP_GAIN_MUTE,
codec 336 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 342 sound/pci/hda/patch_via.c via_auto_set_output_and_unmute(codec, nid, PIN_OUT, i);
codec 348 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 353 sound/pci/hda/patch_via.c via_auto_set_output_and_unmute(codec, pin, PIN_HP, 0);
codec 358 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 364 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, nid, 0,
codec 377 sound/pci/hda/patch_via.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 378 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 385 sound/pci/hda/patch_via.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 386 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 396 sound/pci/hda/patch_via.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 397 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 399 sound/pci/hda/patch_via.c unsigned int vendor_id = codec->vendor_id;
codec 403 sound/pci/hda/patch_via.c return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol,
codec 407 sound/pci/hda/patch_via.c return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol,
codec 411 sound/pci/hda/patch_via.c return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol,
codec 414 sound/pci/hda/patch_via.c return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol,
codec 417 sound/pci/hda/patch_via.c return snd_hda_input_mux_put(codec, spec->input_mux, ucontrol,
codec 425 sound/pci/hda/patch_via.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 426 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 433 sound/pci/hda/patch_via.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 434 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 436 sound/pci/hda/patch_via.c unsigned int pinsel = snd_hda_codec_read(codec, nid, 0,
codec 448 sound/pci/hda/patch_via.c struct hda_codec *codec = snd_kcontrol_chip(kcontrol);
codec 449 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 452 sound/pci/hda/patch_via.c unsigned int con_nid = snd_hda_codec_read(codec, nid, 0,
codec 484 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_CONNECT_SEL,
codec 489 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec,
codec 568 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 569 sound/pci/hda/patch_via.c return snd_hda_multi_out_analog_open(codec, &spec->multiout, substream,
codec 579 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 580 sound/pci/hda/patch_via.c return snd_hda_multi_out_analog_prepare(codec, &spec->multiout,
codec 588 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 589 sound/pci/hda/patch_via.c return snd_hda_multi_out_analog_cleanup(codec, &spec->multiout);
codec 598 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 604 sound/pci/hda/patch_via.c mutex_lock(&codec->spdif_mutex);
codec 607 sound/pci/hda/patch_via.c snd_hda_is_supported_format(codec, mout->dig_out_nid,
codec 609 sound/pci/hda/patch_via.c !(codec->spdif_status & IEC958_AES0_NONAUDIO)) {
codec 613 sound/pci/hda/patch_via.c if (codec->spdif_ctls & AC_DIG1_ENABLE)
codec 614 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, mout->dig_out_nid, 0,
codec 616 sound/pci/hda/patch_via.c codec->spdif_ctls &
codec 618 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, mout->dig_out_nid,
codec 621 sound/pci/hda/patch_via.c if (codec->spdif_ctls & AC_DIG1_ENABLE)
codec 622 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, mout->dig_out_nid, 0,
codec 624 sound/pci/hda/patch_via.c codec->spdif_ctls & 0xff);
codec 627 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, mout->dig_out_nid,
codec 631 sound/pci/hda/patch_via.c mutex_unlock(&codec->spdif_mutex);
codec 634 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, nids[HDA_FRONT], stream_tag,
codec 640 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, mout->hp_nid, stream_tag,
codec 646 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec,
codec 653 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, nids[i], stream_tag,
codec 656 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, nids[i], stream_tag,
codec 667 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 672 sound/pci/hda/patch_via.c playback_multi_pcm_prep_0(codec, stream_tag, format,
codec 677 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, mout->hp_nid,
codec 688 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 695 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, nids[i], 0, 0, 0);
codec 698 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, mout->hp_nid,
codec 703 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec,
codec 706 sound/pci/hda/patch_via.c mutex_lock(&codec->spdif_mutex);
codec 709 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, mout->dig_out_nid,
codec 713 sound/pci/hda/patch_via.c mutex_unlock(&codec->spdif_mutex);
codec 717 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, mout->hp_nid,
codec 731 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 732 sound/pci/hda/patch_via.c return snd_hda_multi_out_dig_open(codec, &spec->multiout);
codec 739 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 740 sound/pci/hda/patch_via.c return snd_hda_multi_out_dig_close(codec, &spec->multiout);
codec 748 sound/pci/hda/patch_via.c if (codec->spdif_ctls & AC_DIG1_ENABLE)
codec 749 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_DIGI_CONVERT_1,
codec 750 sound/pci/hda/patch_via.c codec->spdif_ctls & ~AC_DIG1_ENABLE & 0xff);
codec 751 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, nid, stream_tag, 0, format);
codec 753 sound/pci/hda/patch_via.c if (codec->spdif_ctls & AC_DIG1_ENABLE)
codec 754 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_DIGI_CONVERT_1,
codec 755 sound/pci/hda/patch_via.c codec->spdif_ctls & 0xff);
codec 764 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 775 sound/pci/hda/patch_via.c mutex_lock(&codec->spdif_mutex);
codec 776 sound/pci/hda/patch_via.c setup_dig_playback_stream(codec, nid, stream_tag, format);
codec 777 sound/pci/hda/patch_via.c mutex_unlock(&codec->spdif_mutex);
codec 790 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 792 sound/pci/hda/patch_via.c snd_hda_codec_setup_stream(codec, spec->adc_nids[substream->number],
codec 801 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 802 sound/pci/hda/patch_via.c snd_hda_codec_cleanup_stream(codec, spec->adc_nids[substream->number]);
codec 866 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 871 sound/pci/hda/patch_via.c err = snd_hda_add_new_ctls(codec, spec->mixers[i]);
codec 877 sound/pci/hda/patch_via.c err = snd_hda_create_spdif_out_ctls(codec,
codec 881 sound/pci/hda/patch_via.c err = snd_hda_create_spdif_share_sw(codec,
codec 888 sound/pci/hda/patch_via.c err = snd_hda_create_spdif_out_ctls(codec,
codec 895 sound/pci/hda/patch_via.c err = snd_hda_create_spdif_in_ctls(codec, spec->dig_in_nid);
codec 904 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 907 sound/pci/hda/patch_via.c codec->num_pcms = 1;
codec 908 sound/pci/hda/patch_via.c codec->pcm_info = info;
codec 920 sound/pci/hda/patch_via.c codec->num_pcms++;
codec 943 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 955 sound/pci/hda/patch_via.c kfree(codec->spec);
codec 962 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 964 sound/pci/hda/patch_via.c present = snd_hda_codec_read(codec, spec->autocfg.hp_pins[0], 0,
codec 966 sound/pci/hda/patch_via.c snd_hda_codec_amp_stereo(codec, spec->autocfg.line_out_pins[0],
codec 978 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 980 sound/pci/hda/patch_via.c gpio_data = snd_hda_codec_read(codec, codec->afg, 0,
codec 983 sound/pci/hda/patch_via.c vol_counter = (snd_hda_codec_read(codec, codec->afg, 0,
codec 987 sound/pci/hda/patch_via.c master_vol = snd_hda_codec_read(codec, 0x1A, 0,
codec 993 sound/pci/hda/patch_via.c snd_hda_codec_amp_stereo(codec, spec->autocfg.line_out_pins[0],
codec 1000 sound/pci/hda/patch_via.c snd_hda_codec_amp_stereo(codec, 0x1A, HDA_INPUT,
codec 1005 sound/pci/hda/patch_via.c snd_hda_codec_amp_stereo(codec, 0x1A, HDA_INPUT, 0,
codec 1012 sound/pci/hda/patch_via.c snd_hda_codec_amp_stereo(codec,
codec 1025 sound/pci/hda/patch_via.c via_hp_automute(codec);
codec 1027 sound/pci/hda/patch_via.c via_gpio_control(codec);
codec 1036 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 1039 sound/pci/hda/patch_via.c snd_hda_sequence_write(codec, spec->init_verbs[i]);
codec 1043 sound/pci/hda/patch_via.c if (IS_VT1708_VENDORID(codec->vendor_id)) {
codec 1044 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0,
codec 1047 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0,
codec 1049 sound/pci/hda/patch_via.c } else if (IS_VT1709_10CH_VENDORID(codec->vendor_id) ||
codec 1050 sound/pci/hda/patch_via.c IS_VT1709_6CH_VENDORID(codec->vendor_id)) {
codec 1051 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0,
codec 1054 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0,
codec 1056 sound/pci/hda/patch_via.c } else if (IS_VT1708B_8CH_VENDORID(codec->vendor_id) ||
codec 1057 sound/pci/hda/patch_via.c IS_VT1708B_4CH_VENDORID(codec->vendor_id)) {
codec 1058 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0,
codec 1061 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0,
codec 1065 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, spec->autocfg.dig_in_pin, 0,
codec 1069 sound/pci/hda/patch_via.c codec->slave_dig_outs = slave_dig_outs;
codec 1077 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 1078 sound/pci/hda/patch_via.c return snd_hda_check_amp_list_power(codec, &spec->loopback, nid);
codec 1325 sound/pci/hda/patch_via.c def_conf = snd_hda_codec_read(codec, nid, 0,
codec 1332 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, nid, 0,
codec 1343 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 1347 sound/pci/hda/patch_via.c vt1708_set_pinconfig_connect(codec, VT1708_HP_PIN_NID);
codec 1348 sound/pci/hda/patch_via.c vt1708_set_pinconfig_connect(codec, VT1708_CD_PIN_NID);
codec 1350 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL);
codec 1392 sound/pci/hda/patch_via.c via_init(codec);
codec 1393 sound/pci/hda/patch_via.c via_auto_init_multi_out(codec);
codec 1394 sound/pci/hda/patch_via.c via_auto_init_hp_out(codec);
codec 1395 sound/pci/hda/patch_via.c via_auto_init_analog_input(codec);
codec 1409 sound/pci/hda/patch_via.c codec->spec = spec;
codec 1412 sound/pci/hda/patch_via.c err = vt1708_parse_auto_config(codec);
codec 1414 sound/pci/hda/patch_via.c via_free(codec);
codec 1425 sound/pci/hda/patch_via.c if (codec->vendor_id == 0x11061708)
codec 1441 sound/pci/hda/patch_via.c codec->patch_ops = via_patch_ops;
codec 1443 sound/pci/hda/patch_via.c codec->patch_ops.init = via_auto_init;
codec 1820 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 1823 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL);
codec 1880 sound/pci/hda/patch_via.c codec->spec = spec;
codec 1882 sound/pci/hda/patch_via.c err = vt1709_parse_auto_config(codec);
codec 1884 sound/pci/hda/patch_via.c via_free(codec);
codec 1910 sound/pci/hda/patch_via.c codec->patch_ops = via_patch_ops;
codec 1912 sound/pci/hda/patch_via.c codec->patch_ops.init = via_auto_init;
codec 1913 sound/pci/hda/patch_via.c codec->patch_ops.unsol_event = via_unsol_event;
codec 1973 sound/pci/hda/patch_via.c codec->spec = spec;
codec 1975 sound/pci/hda/patch_via.c err = vt1709_parse_auto_config(codec);
codec 1977 sound/pci/hda/patch_via.c via_free(codec);
codec 2003 sound/pci/hda/patch_via.c codec->patch_ops = via_patch_ops;
codec 2005 sound/pci/hda/patch_via.c codec->patch_ops.init = via_auto_init;
codec 2006 sound/pci/hda/patch_via.c codec->patch_ops.unsol_event = via_unsol_event;
codec 2364 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 2367 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL);
codec 2424 sound/pci/hda/patch_via.c codec->spec = spec;
codec 2427 sound/pci/hda/patch_via.c err = vt1708B_parse_auto_config(codec);
codec 2429 sound/pci/hda/patch_via.c via_free(codec);
codec 2454 sound/pci/hda/patch_via.c codec->patch_ops = via_patch_ops;
codec 2456 sound/pci/hda/patch_via.c codec->patch_ops.init = via_auto_init;
codec 2457 sound/pci/hda/patch_via.c codec->patch_ops.unsol_event = via_unsol_event;
codec 2475 sound/pci/hda/patch_via.c codec->spec = spec;
codec 2478 sound/pci/hda/patch_via.c err = vt1708B_parse_auto_config(codec);
codec 2480 sound/pci/hda/patch_via.c via_free(codec);
codec 2505 sound/pci/hda/patch_via.c codec->patch_ops = via_patch_ops;
codec 2507 sound/pci/hda/patch_via.c codec->patch_ops.init = via_auto_init;
codec 2508 sound/pci/hda/patch_via.c codec->patch_ops.unsol_event = via_unsol_event;
codec 2827 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 2831 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 2889 sound/pci/hda/patch_via.c codec->spec = spec;
codec 2892 sound/pci/hda/patch_via.c err = vt1708S_parse_auto_config(codec);
codec 2894 sound/pci/hda/patch_via.c via_free(codec);
codec 2918 sound/pci/hda/patch_via.c codec->patch_ops = via_patch_ops;
codec 2920 sound/pci/hda/patch_via.c codec->patch_ops.init = via_auto_init;
codec 2921 sound/pci/hda/patch_via.c codec->patch_ops.unsol_event = via_unsol_event;
codec 3146 sound/pci/hda/patch_via.c struct via_spec *spec = codec->spec;
codec 3150 sound/pci/hda/patch_via.c err = snd_hda_parse_pin_def_config(codec, &spec->autocfg,
codec 3210 sound/pci/hda/patch_via.c codec->spec = spec;
codec 3213 sound/pci/hda/patch_via.c err = vt1702_parse_auto_config(codec);
codec 3215 sound/pci/hda/patch_via.c via_free(codec);
codec 3239 sound/pci/hda/patch_via.c codec->patch_ops = via_patch_ops;
codec 3241 sound/pci/hda/patch_via.c codec->patch_ops.init = via_auto_init;
codec 3242 sound/pci/hda/patch_via.c codec->patch_ops.unsol_event = via_unsol_event;
codec 3248 sound/pci/hda/patch_via.c response = snd_hda_codec_read(codec, codec->afg, 0, 0xF8C, 0);
codec 3251 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, codec->afg, 0, 0xF88, control);
codec 3255 sound/pci/hda/patch_via.c response = snd_hda_codec_read(codec, codec->afg, 0, 0xF84, 0);
codec 3257 sound/pci/hda/patch_via.c snd_hda_codec_write(codec, codec->afg, 0, 0xF82, control);
codec 511 sound/pci/intel8x0.c if (codec > 2)
codec 516 sound/pci/intel8x0.c codec = chip->codec_isr_bits;
codec 518 sound/pci/intel8x0.c codec = chip->codec_bit[chip->ac97_sdin[codec]];
codec 522 sound/pci/intel8x0.c if ((igetdword(chip, ICHREG(GLOB_STA)) & codec) == 0)
codec 589 sound/pci/intel8x0.c if (snd_intel8x0_codec_semaphore(chip, codec) >= 0) {
codec 590 sound/pci/intel8x0.c iagetword(chip, codec * 0x80);
codec 953 sound/pci/intel8x0.c snd_ac97_set_rate(ichdev->pcm->r[0].codec[0], AC97_SPDIF,
codec 2225 sound/pci/intel8x0.c if (pcm->r[0].codec[i]) {
codec 2226 sound/pci/intel8x0.c tmp |= chip->ac97_sdin[pcm->r[0].codec[1]->num] << ICH_DI2L_SHIFT;
codec 309 sound/pci/intel8x0m.c if (snd_BUG_ON(codec >= 3))
codec 311 sound/pci/intel8x0m.c return codec_bit[codec];
codec 318 sound/pci/intel8x0m.c if (codec > 1)
codec 320 sound/pci/intel8x0m.c codec = get_ich_codec_bit(chip, codec);
codec 323 sound/pci/intel8x0m.c if ((igetdword(chip, ICHREG(GLOB_STA)) & codec) == 0)
codec 102 sound/pci/oxygen/oxygen.c (codec_spi_map[codec] << OXYGEN_SPI_CODEC_SHIFT) |
codec 222 sound/pci/oxygen/oxygen.h oxygen_write_ac97_masked(chip, codec, index, value, value);
codec 229 sound/pci/oxygen/oxygen.h oxygen_write_ac97_masked(chip, codec, index, 0, value);
codec 137 sound/pci/oxygen/oxygen_io.c reg |= codec << OXYGEN_AC97_REG_CODEC_SHIFT;
codec 145 sound/pci/oxygen/oxygen_io.c chip->saved_ac97_registers[codec][index / 2] = data;
codec 162 sound/pci/oxygen/oxygen_io.c reg |= codec << OXYGEN_AC97_REG_CODEC_SHIFT;
codec 181 sound/pci/oxygen/oxygen_io.c snd_printk(KERN_ERR "AC'97 read timeout on codec %u\n", codec);
codec 189 sound/pci/oxygen/oxygen_io.c u16 value = oxygen_read_ac97(chip, codec, index);
codec 192 sound/pci/oxygen/oxygen_io.c oxygen_write_ac97(chip, codec, index, value);
codec 633 sound/pci/oxygen/oxygen_lib.c oxygen_write_ac97(chip, codec, AC97_RESET, 0);
codec 636 sound/pci/oxygen/oxygen_lib.c if (is_bit_set(ac97_registers_to_restore[codec], i))
codec 637 sound/pci/oxygen/oxygen_lib.c oxygen_write_ac97(chip, codec, i * 2,
codec 638 sound/pci/oxygen/oxygen_lib.c chip->saved_ac97_registers[codec][i]);
codec 497 sound/pci/oxygen/oxygen_mixer.c unsigned int codec = (ctl->private_value >> 24) & 1;
codec 504 sound/pci/oxygen/oxygen_mixer.c reg = oxygen_read_ac97(chip, codec, index);
codec 535 sound/pci/oxygen/oxygen_mixer.c unsigned int codec = (ctl->private_value >> 24) & 1;
codec 543 sound/pci/oxygen/oxygen_mixer.c oldreg = oxygen_read_ac97(chip, codec, index);
codec 551 sound/pci/oxygen/oxygen_mixer.c oxygen_write_ac97(chip, codec, index, newreg);
codec 552 sound/pci/oxygen/oxygen_mixer.c if (codec == 0 && chip->model.ac97_switch)
codec 589 sound/pci/oxygen/oxygen_mixer.c unsigned int codec = (ctl->private_value >> 24) & 1;
codec 594 sound/pci/oxygen/oxygen_mixer.c reg = oxygen_read_ac97(chip, codec, index);
codec 605 sound/pci/oxygen/oxygen_mixer.c unsigned int codec = (ctl->private_value >> 24) & 1;
codec 611 sound/pci/oxygen/oxygen_mixer.c oldreg = oxygen_read_ac97(chip, codec, index);
codec 619 sound/pci/oxygen/oxygen_mixer.c oxygen_write_ac97(chip, codec, index, newreg);
codec 673 sound/pci/oxygen/oxygen_mixer.c .private_value = ((codec) << 24) | ((invert) << 16) | \
codec 685 sound/pci/oxygen/oxygen_mixer.c .private_value = ((codec) << 24) | (index), \
codec 217 sound/pci/oxygen/virtuoso.c (codec_map[codec] << OXYGEN_SPI_CODEC_SHIFT) |
codec 225 sound/pci/oxygen/virtuoso.c oxygen_write_i2c(chip, I2C_DEVICE_PCM1796(codec), reg, value);
codec 233 sound/pci/oxygen/virtuoso.c pcm1796_write_spi(chip, codec, reg, value);
codec 235 sound/pci/oxygen/virtuoso.c pcm1796_write_i2c(chip, codec, reg, value);
codec 535 sound/pci/pcxhr/pcxhr_mixer.c unsigned int codec;
codec 539 sound/pci/pcxhr/pcxhr_mixer.c case 0 : mask = PCXHR_SOURCE_AUDIO01_UER; codec = CS8420_01_CS; break;
codec 540 sound/pci/pcxhr/pcxhr_mixer.c case 1 : mask = PCXHR_SOURCE_AUDIO23_UER; codec = CS8420_23_CS; break;
codec 541 sound/pci/pcxhr/pcxhr_mixer.c case 2 : mask = PCXHR_SOURCE_AUDIO45_UER; codec = CS8420_45_CS; break;
codec 542 sound/pci/pcxhr/pcxhr_mixer.c case 3 : mask = PCXHR_SOURCE_AUDIO67_UER; codec = CS8420_67_CS; break;
codec 566 sound/pci/pcxhr/pcxhr_mixer.c rmh.cmd[1] = codec;
codec 929 sound/pci/sis7019.c rdy = codec_ready[codec];
codec 978 sound/pci/sis7019.c codec, cmd);
codec 450 sound/pcmcia/vx/vxp_ops.c if (! codec)
codec 330 sound/soc/at32/playpaq_wm8510.c snd_soc_dapm_new_control(codec, &playpaq_dapm_widgets[i]);
codec 338 sound/soc/at32/playpaq_wm8510.c snd_soc_dapm_connect_input(codec,
codec 345 sound/soc/at32/playpaq_wm8510.c snd_soc_dapm_enable_pin(codec, "Int Mic");
codec 346 sound/soc/at32/playpaq_wm8510.c snd_soc_dapm_enable_pin(codec, "Ext Spk");
codec 347 sound/soc/at32/playpaq_wm8510.c snd_soc_dapm_sync(codec);
codec 352 sound/soc/at32/playpaq_wm8510.c snd_soc_dai_set_clkdiv(codec->dai, WM8510_OPCLKDIV,
codec 32 sound/soc/au1x/sample-ac97.c snd_soc_dapm_sync(codec);
codec 32 sound/soc/codecs/ac97.c struct snd_soc_codec *codec = socdev->codec;
codec 36 sound/soc/codecs/ac97.c return snd_ac97_set_rate(codec->ac97, reg, runtime->rate);
codec 66 sound/soc/codecs/ac97.c return soc_ac97_ops.read(codec->ac97, reg);
codec 72 sound/soc/codecs/ac97.c soc_ac97_ops.write(codec->ac97, reg, val);
codec 79 sound/soc/codecs/ac97.c struct snd_soc_codec *codec;
codec 86 sound/soc/codecs/ac97.c socdev->codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 87 sound/soc/codecs/ac97.c if (!socdev->codec)
codec 89 sound/soc/codecs/ac97.c codec = socdev->codec;
codec 90 sound/soc/codecs/ac97.c mutex_init(&codec->mutex);
codec 92 sound/soc/codecs/ac97.c codec->name = "AC97";
codec 93 sound/soc/codecs/ac97.c codec->owner = THIS_MODULE;
codec 94 sound/soc/codecs/ac97.c codec->dai = &ac97_dai;
codec 95 sound/soc/codecs/ac97.c codec->num_dai = 1;
codec 96 sound/soc/codecs/ac97.c codec->write = ac97_write;
codec 97 sound/soc/codecs/ac97.c codec->read = ac97_read;
codec 98 sound/soc/codecs/ac97.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 99 sound/soc/codecs/ac97.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 107 sound/soc/codecs/ac97.c ret = snd_ac97_bus(codec->card, 0, &soc_ac97_ops, NULL, &ac97_bus);
codec 112 sound/soc/codecs/ac97.c ret = snd_ac97_mixer(ac97_bus, &ac97_template, &codec->ac97);
codec 125 sound/soc/codecs/ac97.c kfree(socdev->codec->reg_cache);
codec 126 sound/soc/codecs/ac97.c kfree(socdev->codec);
codec 127 sound/soc/codecs/ac97.c socdev->codec = NULL;
codec 134 sound/soc/codecs/ac97.c struct snd_soc_codec *codec = socdev->codec;
codec 136 sound/soc/codecs/ac97.c if (!codec)
codec 140 sound/soc/codecs/ac97.c kfree(socdev->codec->reg_cache);
codec 141 sound/soc/codecs/ac97.c kfree(socdev->codec);
codec 151 sound/soc/codecs/ac97.c snd_ac97_suspend(socdev->codec->ac97);
codec 160 sound/soc/codecs/ac97.c snd_ac97_resume(socdev->codec->ac97);
codec 99 sound/soc/codecs/ad1980.c err = snd_ctl_add(codec->card, snd_soc_cnew(
codec 100 sound/soc/codecs/ad1980.c &ad1980_snd_ac97_controls[i], codec, NULL));
codec 110 sound/soc/codecs/ad1980.c u16 *cache = codec->reg_cache;
codec 119 sound/soc/codecs/ad1980.c return soc_ac97_ops.read(codec->ac97, reg);
codec 133 sound/soc/codecs/ad1980.c u16 *cache = codec->reg_cache;
codec 135 sound/soc/codecs/ad1980.c soc_ac97_ops.write(codec->ac97, reg, val);
codec 166 sound/soc/codecs/ad1980.c soc_ac97_ops.warm_reset(codec->ac97);
codec 167 sound/soc/codecs/ad1980.c if (ac97_read(codec, AC97_RESET) == 0x0090)
codec 171 sound/soc/codecs/ad1980.c soc_ac97_ops.reset(codec->ac97);
codec 175 sound/soc/codecs/ad1980.c ac97_write(codec, AC97_AD_SERIAL_CFG, 0x9900);
codec 177 sound/soc/codecs/ad1980.c if (ac97_read(codec, AC97_RESET) != 0x0090)
codec 192 sound/soc/codecs/ad1980.c struct snd_soc_codec *codec;
codec 198 sound/soc/codecs/ad1980.c socdev->codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 199 sound/soc/codecs/ad1980.c if (socdev->codec == NULL)
codec 201 sound/soc/codecs/ad1980.c codec = socdev->codec;
codec 202 sound/soc/codecs/ad1980.c mutex_init(&codec->mutex);
codec 204 sound/soc/codecs/ad1980.c codec->reg_cache =
codec 206 sound/soc/codecs/ad1980.c if (codec->reg_cache == NULL) {
codec 210 sound/soc/codecs/ad1980.c memcpy(codec->reg_cache, ad1980_reg, sizeof(u16) * \
codec 212 sound/soc/codecs/ad1980.c codec->reg_cache_size = sizeof(u16) * ARRAY_SIZE(ad1980_reg);
codec 213 sound/soc/codecs/ad1980.c codec->reg_cache_step = 2;
codec 214 sound/soc/codecs/ad1980.c codec->name = "AD1980";
codec 215 sound/soc/codecs/ad1980.c codec->owner = THIS_MODULE;
codec 216 sound/soc/codecs/ad1980.c codec->dai = &ad1980_dai;
codec 217 sound/soc/codecs/ad1980.c codec->num_dai = 1;
codec 218 sound/soc/codecs/ad1980.c codec->write = ac97_write;
codec 219 sound/soc/codecs/ad1980.c codec->read = ac97_read;
codec 220 sound/soc/codecs/ad1980.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 221 sound/soc/codecs/ad1980.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 223 sound/soc/codecs/ad1980.c ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
codec 235 sound/soc/codecs/ad1980.c ret = ad1980_reset(codec, 0);
codec 242 sound/soc/codecs/ad1980.c if (ac97_read(codec, AC97_VENDOR_ID1) != 0x4144)
codec 245 sound/soc/codecs/ad1980.c vendor_id2 = ac97_read(codec, AC97_VENDOR_ID2);
codec 256 sound/soc/codecs/ad1980.c ac97_write(codec, AC97_MASTER, 0x0000); /* unmute line out volume */
codec 257 sound/soc/codecs/ad1980.c ac97_write(codec, AC97_PCM, 0x0000); /* unmute PCM out volume */
codec 258 sound/soc/codecs/ad1980.c ac97_write(codec, AC97_REC_GAIN, 0x0000);/* unmute record volume */
codec 260 sound/soc/codecs/ad1980.c ad1980_add_controls(codec);
codec 273 sound/soc/codecs/ad1980.c snd_soc_free_ac97_codec(codec);
codec 276 sound/soc/codecs/ad1980.c kfree(codec->reg_cache);
codec 279 sound/soc/codecs/ad1980.c kfree(socdev->codec);
codec 280 sound/soc/codecs/ad1980.c socdev->codec = NULL;
codec 287 sound/soc/codecs/ad1980.c struct snd_soc_codec *codec = socdev->codec;
codec 289 sound/soc/codecs/ad1980.c if (codec == NULL)
codec 294 sound/soc/codecs/ad1980.c snd_soc_free_ac97_codec(codec);
codec 295 sound/soc/codecs/ad1980.c kfree(codec->reg_cache);
codec 296 sound/soc/codecs/ad1980.c kfree(codec);
codec 49 sound/soc/codecs/ad73311.c struct snd_soc_codec *codec;
codec 52 sound/soc/codecs/ad73311.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 53 sound/soc/codecs/ad73311.c if (codec == NULL)
codec 55 sound/soc/codecs/ad73311.c mutex_init(&codec->mutex);
codec 56 sound/soc/codecs/ad73311.c codec->name = "AD73311";
codec 57 sound/soc/codecs/ad73311.c codec->owner = THIS_MODULE;
codec 58 sound/soc/codecs/ad73311.c codec->dai = &ad73311_dai;
codec 59 sound/soc/codecs/ad73311.c codec->num_dai = 1;
codec 60 sound/soc/codecs/ad73311.c socdev->codec = codec;
codec 61 sound/soc/codecs/ad73311.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 62 sound/soc/codecs/ad73311.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 82 sound/soc/codecs/ad73311.c kfree(socdev->codec);
codec 83 sound/soc/codecs/ad73311.c socdev->codec = NULL;
codec 90 sound/soc/codecs/ad73311.c struct snd_soc_codec *codec = socdev->codec;
codec 92 sound/soc/codecs/ad73311.c if (codec == NULL)
codec 95 sound/soc/codecs/ad73311.c kfree(codec);
codec 56 sound/soc/codecs/ak4535.c u16 *cache = codec->reg_cache;
codec 68 sound/soc/codecs/ak4535.c if (codec->hw_write(codec->control_data, &data, 1) != 1)
codec 71 sound/soc/codecs/ak4535.c if (codec->hw_read(codec->control_data, &data, 1) != 1)
codec 83 sound/soc/codecs/ak4535.c u16 *cache = codec->reg_cache;
codec 104 sound/soc/codecs/ak4535.c ak4535_write_reg_cache(codec, reg, value);
codec 105 sound/soc/codecs/ak4535.c if (codec->hw_write(codec->control_data, data, 2) == 2)
codec 113 sound/soc/codecs/ak4535.c u16 *cache = codec->reg_cache;
codec 117 sound/soc/codecs/ak4535.c r |= ak4535_write(codec, i, cache[i]);
codec 164 sound/soc/codecs/ak4535.c err = snd_ctl_add(codec->card,
codec 165 sound/soc/codecs/ak4535.c snd_soc_cnew(&ak4535_snd_controls[i], codec, NULL));
codec 322 sound/soc/codecs/ak4535.c snd_soc_dapm_new_controls(codec, ak4535_dapm_widgets,
codec 325 sound/soc/codecs/ak4535.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 327 sound/soc/codecs/ak4535.c snd_soc_dapm_new_widgets(codec);
codec 334 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = codec_dai->codec;
codec 335 sound/soc/codecs/ak4535.c struct ak4535_priv *ak4535 = codec->private_data;
codec 346 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = socdev->codec;
codec 347 sound/soc/codecs/ak4535.c struct ak4535_priv *ak4535 = codec->private_data;
codec 348 sound/soc/codecs/ak4535.c u8 mode2 = ak4535_read_reg_cache(codec, AK4535_MODE2) & ~(0x3 << 5);
codec 367 sound/soc/codecs/ak4535.c ak4535_write(codec, AK4535_MODE2, mode2);
codec 374 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = codec_dai->codec;
codec 392 sound/soc/codecs/ak4535.c ak4535_write(codec, AK4535_MODE1, mode1);
codec 398 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = dai->codec;
codec 399 sound/soc/codecs/ak4535.c u16 mute_reg = ak4535_read_reg_cache(codec, AK4535_DAC) & 0xffdf;
codec 401 sound/soc/codecs/ak4535.c ak4535_write(codec, AK4535_DAC, mute_reg);
codec 403 sound/soc/codecs/ak4535.c ak4535_write(codec, AK4535_DAC, mute_reg | 0x20);
codec 414 sound/soc/codecs/ak4535.c ak4535_mute(codec->dai, 0);
codec 417 sound/soc/codecs/ak4535.c ak4535_mute(codec->dai, 1);
codec 420 sound/soc/codecs/ak4535.c i = ak4535_read_reg_cache(codec, AK4535_PM1);
codec 421 sound/soc/codecs/ak4535.c ak4535_write(codec, AK4535_PM1, i | 0x80);
codec 422 sound/soc/codecs/ak4535.c i = ak4535_read_reg_cache(codec, AK4535_PM2);
codec 423 sound/soc/codecs/ak4535.c ak4535_write(codec, AK4535_PM2, i & (~0x80));
codec 426 sound/soc/codecs/ak4535.c i = ak4535_read_reg_cache(codec, AK4535_PM1);
codec 427 sound/soc/codecs/ak4535.c ak4535_write(codec, AK4535_PM1, i & (~0x80));
codec 430 sound/soc/codecs/ak4535.c codec->bias_level = level;
codec 466 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = socdev->codec;
codec 468 sound/soc/codecs/ak4535.c ak4535_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 475 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = socdev->codec;
codec 476 sound/soc/codecs/ak4535.c ak4535_sync(codec);
codec 477 sound/soc/codecs/ak4535.c ak4535_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 478 sound/soc/codecs/ak4535.c ak4535_set_bias_level(codec, codec->suspend_bias_level);
codec 488 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = socdev->codec;
codec 491 sound/soc/codecs/ak4535.c codec->name = "AK4535";
codec 492 sound/soc/codecs/ak4535.c codec->owner = THIS_MODULE;
codec 493 sound/soc/codecs/ak4535.c codec->read = ak4535_read_reg_cache;
codec 494 sound/soc/codecs/ak4535.c codec->write = ak4535_write;
codec 495 sound/soc/codecs/ak4535.c codec->set_bias_level = ak4535_set_bias_level;
codec 496 sound/soc/codecs/ak4535.c codec->dai = &ak4535_dai;
codec 497 sound/soc/codecs/ak4535.c codec->num_dai = 1;
codec 498 sound/soc/codecs/ak4535.c codec->reg_cache_size = ARRAY_SIZE(ak4535_reg);
codec 499 sound/soc/codecs/ak4535.c codec->reg_cache = kmemdup(ak4535_reg, sizeof(ak4535_reg), GFP_KERNEL);
codec 501 sound/soc/codecs/ak4535.c if (codec->reg_cache == NULL)
codec 512 sound/soc/codecs/ak4535.c ak4535_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 514 sound/soc/codecs/ak4535.c ak4535_add_controls(codec);
codec 515 sound/soc/codecs/ak4535.c ak4535_add_widgets(codec);
codec 528 sound/soc/codecs/ak4535.c kfree(codec->reg_cache);
codec 541 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = socdev->codec;
codec 544 sound/soc/codecs/ak4535.c i2c_set_clientdata(i2c, codec);
codec 545 sound/soc/codecs/ak4535.c codec->control_data = i2c;
codec 556 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 557 sound/soc/codecs/ak4535.c kfree(codec->reg_cache);
codec 622 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec;
codec 629 sound/soc/codecs/ak4535.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 630 sound/soc/codecs/ak4535.c if (codec == NULL)
codec 635 sound/soc/codecs/ak4535.c kfree(codec);
codec 639 sound/soc/codecs/ak4535.c codec->private_data = ak4535;
codec 640 sound/soc/codecs/ak4535.c socdev->codec = codec;
codec 641 sound/soc/codecs/ak4535.c mutex_init(&codec->mutex);
codec 642 sound/soc/codecs/ak4535.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 643 sound/soc/codecs/ak4535.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 650 sound/soc/codecs/ak4535.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 651 sound/soc/codecs/ak4535.c codec->hw_read = (hw_read_t)i2c_master_recv;
codec 657 sound/soc/codecs/ak4535.c kfree(codec->private_data);
codec 658 sound/soc/codecs/ak4535.c kfree(codec);
codec 667 sound/soc/codecs/ak4535.c struct snd_soc_codec *codec = socdev->codec;
codec 669 sound/soc/codecs/ak4535.c if (codec->control_data)
codec 670 sound/soc/codecs/ak4535.c ak4535_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 675 sound/soc/codecs/ak4535.c i2c_unregister_device(codec->control_data);
codec 678 sound/soc/codecs/ak4535.c kfree(codec->private_data);
codec 679 sound/soc/codecs/ak4535.c kfree(codec);
codec 207 sound/soc/codecs/cs4270.c struct snd_soc_codec *codec = codec_dai->codec;
codec 208 sound/soc/codecs/cs4270.c struct cs4270_private *cs4270 = codec->private_data;
codec 257 sound/soc/codecs/cs4270.c struct snd_soc_codec *codec = codec_dai->codec;
codec 258 sound/soc/codecs/cs4270.c struct cs4270_private *cs4270 = codec->private_data;
codec 293 sound/soc/codecs/cs4270.c u8 *cache = codec->reg_cache;
codec 294 sound/soc/codecs/cs4270.c struct i2c_client *i2c_client = codec->control_data;
codec 319 sound/soc/codecs/cs4270.c u8 *cache = codec->reg_cache;
codec 340 sound/soc/codecs/cs4270.c u8 *cache = codec->reg_cache;
codec 347 sound/soc/codecs/cs4270.c struct i2c_client *client = codec->control_data;
codec 373 sound/soc/codecs/cs4270.c struct snd_soc_codec *codec = socdev->codec;
codec 374 sound/soc/codecs/cs4270.c struct cs4270_private *cs4270 = codec->private_data;
codec 399 sound/soc/codecs/cs4270.c ret = snd_soc_write(codec, CS4270_PWRCTL, CS4270_PWRCTL_FREEZE |
codec 409 sound/soc/codecs/cs4270.c reg = snd_soc_read(codec, CS4270_MODE);
codec 413 sound/soc/codecs/cs4270.c ret = snd_soc_write(codec, CS4270_MODE, reg);
codec 421 sound/soc/codecs/cs4270.c reg = snd_soc_read(codec, CS4270_FORMAT);
codec 436 sound/soc/codecs/cs4270.c ret = snd_soc_write(codec, CS4270_FORMAT, reg);
codec 445 sound/soc/codecs/cs4270.c reg = snd_soc_read(codec, CS4270_MUTE);
codec 447 sound/soc/codecs/cs4270.c ret = snd_soc_write(codec, CS4270_MUTE, reg);
codec 455 sound/soc/codecs/cs4270.c ret = snd_soc_write(codec, CS4270_PWRCTL, 0);
codec 476 sound/soc/codecs/cs4270.c struct snd_soc_codec *codec = dai->codec;
codec 479 sound/soc/codecs/cs4270.c reg6 = snd_soc_read(codec, CS4270_MUTE);
codec 488 sound/soc/codecs/cs4270.c return snd_soc_write(codec, CS4270_MUTE, reg6);
codec 546 sound/soc/codecs/cs4270.c struct snd_soc_codec *codec = socdev->codec;
codec 554 sound/soc/codecs/cs4270.c if (codec->control_data)
codec 559 sound/soc/codecs/cs4270.c codec->reg_cache = kzalloc(CS4270_NUMREGS, GFP_KERNEL);
codec 560 sound/soc/codecs/cs4270.c if (!codec->reg_cache) {
codec 584 sound/soc/codecs/cs4270.c codec->control_data = i2c_client;
codec 585 sound/soc/codecs/cs4270.c codec->read = cs4270_read_reg_cache;
codec 586 sound/soc/codecs/cs4270.c codec->write = cs4270_i2c_write;
codec 587 sound/soc/codecs/cs4270.c codec->reg_cache_size = CS4270_NUMREGS;
codec 591 sound/soc/codecs/cs4270.c ret = cs4270_fill_cache(codec);
codec 601 sound/soc/codecs/cs4270.c snd_soc_cnew(&cs4270_snd_controls[i], codec, NULL);
codec 603 sound/soc/codecs/cs4270.c ret = snd_ctl_add(codec->card, kctrl);
codec 608 sound/soc/codecs/cs4270.c i2c_set_clientdata(i2c_client, codec);
codec 613 sound/soc/codecs/cs4270.c codec->control_data = NULL;
codec 615 sound/soc/codecs/cs4270.c kfree(codec->reg_cache);
codec 616 sound/soc/codecs/cs4270.c codec->reg_cache = NULL;
codec 617 sound/soc/codecs/cs4270.c codec->reg_cache_size = 0;
codec 652 sound/soc/codecs/cs4270.c struct snd_soc_codec *codec;
codec 659 sound/soc/codecs/cs4270.c codec = kzalloc(ALIGN(sizeof(struct snd_soc_codec), 4) +
codec 661 sound/soc/codecs/cs4270.c if (!codec) {
codec 666 sound/soc/codecs/cs4270.c mutex_init(&codec->mutex);
codec 667 sound/soc/codecs/cs4270.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 668 sound/soc/codecs/cs4270.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 670 sound/soc/codecs/cs4270.c codec->name = "CS4270";
codec 671 sound/soc/codecs/cs4270.c codec->owner = THIS_MODULE;
codec 672 sound/soc/codecs/cs4270.c codec->dai = &cs4270_dai;
codec 673 sound/soc/codecs/cs4270.c codec->num_dai = 1;
codec 674 sound/soc/codecs/cs4270.c codec->private_data = (void *) codec +
codec 677 sound/soc/codecs/cs4270.c socdev->codec = codec;
codec 697 sound/soc/codecs/cs4270.c if (codec->control_data) {
codec 729 sound/soc/codecs/cs4270.c kfree(socdev->codec);
codec 730 sound/soc/codecs/cs4270.c socdev->codec = NULL;
codec 745 sound/soc/codecs/cs4270.c kfree(socdev->codec);
codec 746 sound/soc/codecs/cs4270.c socdev->codec = NULL;
codec 74 sound/soc/codecs/ssm2602.c u16 *cache = codec->reg_cache;
codec 88 sound/soc/codecs/ssm2602.c u16 *cache = codec->reg_cache;
codec 109 sound/soc/codecs/ssm2602.c ssm2602_write_reg_cache(codec, reg, value);
codec 110 sound/soc/codecs/ssm2602.c if (codec->hw_write(codec->control_data, data, 2) == 2)
codec 160 sound/soc/codecs/ssm2602.c err = snd_ctl_add(codec->card,
codec 161 sound/soc/codecs/ssm2602.c snd_soc_cnew(&ssm2602_snd_controls[i], codec, NULL));
codec 223 sound/soc/codecs/ssm2602.c snd_soc_dapm_new_controls(codec, ssm2602_dapm_widgets,
codec 226 sound/soc/codecs/ssm2602.c snd_soc_dapm_add_routes(codec, audio_conn, ARRAY_SIZE(audio_conn));
codec 228 sound/soc/codecs/ssm2602.c snd_soc_dapm_new_widgets(codec);
codec 293 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = socdev->codec;
codec 294 sound/soc/codecs/ssm2602.c struct ssm2602_priv *ssm2602 = codec->private_data;
codec 295 sound/soc/codecs/ssm2602.c u16 iface = ssm2602_read_reg_cache(codec, SSM2602_IFACE) & 0xfff3;
codec 305 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_ACTIVE, 0);
codec 306 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_SRATE, srate);
codec 322 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_IFACE, iface);
codec 323 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_ACTIVE, ACTIVE_ACTIVATE_CODEC);
codec 331 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = socdev->codec;
codec 332 sound/soc/codecs/ssm2602.c struct ssm2602_priv *ssm2602 = codec->private_data;
codec 361 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = socdev->codec;
codec 363 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_ACTIVE, ACTIVE_ACTIVATE_CODEC);
codec 372 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = socdev->codec;
codec 374 sound/soc/codecs/ssm2602.c if (!codec->active)
codec 375 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_ACTIVE, 0);
codec 380 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = dai->codec;
codec 381 sound/soc/codecs/ssm2602.c u16 mute_reg = ssm2602_read_reg_cache(codec, SSM2602_APDIGI) & ~APDIGI_ENABLE_DAC_MUTE;
codec 383 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_APDIGI,
codec 386 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_APDIGI, mute_reg);
codec 393 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = codec_dai->codec;
codec 394 sound/soc/codecs/ssm2602.c struct ssm2602_priv *ssm2602 = codec->private_data;
codec 410 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = codec_dai->codec;
codec 462 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_IFACE, iface);
codec 469 sound/soc/codecs/ssm2602.c u16 reg = ssm2602_read_reg_cache(codec, SSM2602_PWR) & 0xff7f;
codec 474 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_PWR, reg);
codec 480 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_PWR, reg | PWR_CLK_OUT_PDN);
codec 484 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_ACTIVE, 0);
codec 485 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_PWR, 0xffff);
codec 489 sound/soc/codecs/ssm2602.c codec->bias_level = level;
codec 530 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = socdev->codec;
codec 532 sound/soc/codecs/ssm2602.c ssm2602_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 539 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = socdev->codec;
codec 542 sound/soc/codecs/ssm2602.c u16 *cache = codec->reg_cache;
codec 548 sound/soc/codecs/ssm2602.c codec->hw_write(codec->control_data, data, 2);
codec 550 sound/soc/codecs/ssm2602.c ssm2602_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 551 sound/soc/codecs/ssm2602.c ssm2602_set_bias_level(codec, codec->suspend_bias_level);
codec 561 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = socdev->codec;
codec 564 sound/soc/codecs/ssm2602.c codec->name = "SSM2602";
codec 565 sound/soc/codecs/ssm2602.c codec->owner = THIS_MODULE;
codec 566 sound/soc/codecs/ssm2602.c codec->read = ssm2602_read_reg_cache;
codec 567 sound/soc/codecs/ssm2602.c codec->write = ssm2602_write;
codec 568 sound/soc/codecs/ssm2602.c codec->set_bias_level = ssm2602_set_bias_level;
codec 569 sound/soc/codecs/ssm2602.c codec->dai = &ssm2602_dai;
codec 570 sound/soc/codecs/ssm2602.c codec->num_dai = 1;
codec 571 sound/soc/codecs/ssm2602.c codec->reg_cache_size = sizeof(ssm2602_reg);
codec 572 sound/soc/codecs/ssm2602.c codec->reg_cache = kmemdup(ssm2602_reg, sizeof(ssm2602_reg),
codec 574 sound/soc/codecs/ssm2602.c if (codec->reg_cache == NULL)
codec 577 sound/soc/codecs/ssm2602.c ssm2602_reset(codec);
codec 586 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_ACTIVE, 0);
codec 588 sound/soc/codecs/ssm2602.c reg = ssm2602_read_reg_cache(codec, SSM2602_LINVOL);
codec 589 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_LINVOL, reg | LINVOL_LRIN_BOTH);
codec 590 sound/soc/codecs/ssm2602.c reg = ssm2602_read_reg_cache(codec, SSM2602_RINVOL);
codec 591 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_RINVOL, reg | RINVOL_RLIN_BOTH);
codec 592 sound/soc/codecs/ssm2602.c reg = ssm2602_read_reg_cache(codec, SSM2602_LOUT1V);
codec 593 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_LOUT1V, reg | LOUT1V_LRHP_BOTH);
codec 594 sound/soc/codecs/ssm2602.c reg = ssm2602_read_reg_cache(codec, SSM2602_ROUT1V);
codec 595 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_ROUT1V, reg | ROUT1V_RLHP_BOTH);
codec 597 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_APANA,
codec 600 sound/soc/codecs/ssm2602.c ssm2602_write(codec, SSM2602_PWR, 0);
codec 602 sound/soc/codecs/ssm2602.c ssm2602_add_controls(codec);
codec 603 sound/soc/codecs/ssm2602.c ssm2602_add_widgets(codec);
codec 616 sound/soc/codecs/ssm2602.c kfree(codec->reg_cache);
codec 633 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = socdev->codec;
codec 636 sound/soc/codecs/ssm2602.c i2c_set_clientdata(i2c, codec);
codec 637 sound/soc/codecs/ssm2602.c codec->control_data = i2c;
codec 648 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 649 sound/soc/codecs/ssm2602.c kfree(codec->reg_cache);
codec 709 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec;
codec 716 sound/soc/codecs/ssm2602.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 717 sound/soc/codecs/ssm2602.c if (codec == NULL)
codec 722 sound/soc/codecs/ssm2602.c kfree(codec);
codec 726 sound/soc/codecs/ssm2602.c codec->private_data = ssm2602;
codec 727 sound/soc/codecs/ssm2602.c socdev->codec = codec;
codec 728 sound/soc/codecs/ssm2602.c mutex_init(&codec->mutex);
codec 729 sound/soc/codecs/ssm2602.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 730 sound/soc/codecs/ssm2602.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 735 sound/soc/codecs/ssm2602.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 748 sound/soc/codecs/ssm2602.c struct snd_soc_codec *codec = socdev->codec;
codec 750 sound/soc/codecs/ssm2602.c if (codec->control_data)
codec 751 sound/soc/codecs/ssm2602.c ssm2602_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 756 sound/soc/codecs/ssm2602.c i2c_unregister_device(codec->control_data);
codec 759 sound/soc/codecs/ssm2602.c kfree(codec->private_data);
codec 760 sound/soc/codecs/ssm2602.c kfree(codec);
codec 62 sound/soc/codecs/tlv320aic23.c u16 *cache = codec->reg_cache;
codec 74 sound/soc/codecs/tlv320aic23.c u16 *cache = codec->reg_cache;
codec 101 sound/soc/codecs/tlv320aic23.c tlv320aic23_write_reg_cache(codec, reg, value);
codec 103 sound/soc/codecs/tlv320aic23.c if (codec->hw_write(codec->control_data, data,
codec 134 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 148 sound/soc/codecs/tlv320aic23.c reg = tlv320aic23_read_reg_cache(codec, TLV320AIC23_ANLG) & (~0x1C0);
codec 149 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_ANLG, reg | (val << 6));
codec 157 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 160 sound/soc/codecs/tlv320aic23.c val = tlv320aic23_read_reg_cache(codec, TLV320AIC23_ANLG) & (0x1C0);
codec 199 sound/soc/codecs/tlv320aic23.c err = snd_ctl_add(codec->card,
codec 201 sound/soc/codecs/tlv320aic23.c codec, NULL));
codec 280 sound/soc/codecs/tlv320aic23.c snd_soc_dapm_new_controls(codec, tlv320aic23_dapm_widgets,
codec 284 sound/soc/codecs/tlv320aic23.c snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon));
codec 286 sound/soc/codecs/tlv320aic23.c snd_soc_dapm_new_widgets(codec);
codec 295 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = socdev->codec;
codec 300 sound/soc/codecs/tlv320aic23.c tlv320aic23_read_reg_cache(codec,
codec 315 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_SRATE, data);
codec 330 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_DIGT_FMT, iface_reg);
codec 339 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = socdev->codec;
codec 342 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_ACTIVE, 0x0001);
codec 351 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = socdev->codec;
codec 354 sound/soc/codecs/tlv320aic23.c if (!codec->active) {
codec 356 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_ACTIVE, 0x0);
codec 362 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = dai->codec;
codec 365 sound/soc/codecs/tlv320aic23.c reg = tlv320aic23_read_reg_cache(codec, TLV320AIC23_DIGT);
codec 372 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_DIGT, reg);
codec 380 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = codec_dai->codec;
codec 384 sound/soc/codecs/tlv320aic23.c tlv320aic23_read_reg_cache(codec, TLV320AIC23_DIGT_FMT) & (~0x03);
codec 416 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_DIGT_FMT, iface_reg);
codec 424 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = codec_dai->codec;
codec 436 sound/soc/codecs/tlv320aic23.c u16 reg = tlv320aic23_read_reg_cache(codec, TLV320AIC23_PWR) & 0xff7f;
codec 441 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_PWR, reg);
codec 447 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_PWR, reg | 0x0040);
codec 451 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_ACTIVE, 0x0);
codec 452 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_PWR, 0xffff);
codec 455 sound/soc/codecs/tlv320aic23.c codec->bias_level = level;
codec 494 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = socdev->codec;
codec 496 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_ACTIVE, 0x0);
codec 497 sound/soc/codecs/tlv320aic23.c tlv320aic23_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 505 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = socdev->codec;
codec 511 sound/soc/codecs/tlv320aic23.c u16 val = tlv320aic23_read_reg_cache(codec, reg);
codec 512 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, reg, val);
codec 515 sound/soc/codecs/tlv320aic23.c tlv320aic23_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 516 sound/soc/codecs/tlv320aic23.c tlv320aic23_set_bias_level(codec, codec->suspend_bias_level);
codec 527 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = socdev->codec;
codec 531 sound/soc/codecs/tlv320aic23.c codec->name = "tlv320aic23";
codec 532 sound/soc/codecs/tlv320aic23.c codec->owner = THIS_MODULE;
codec 533 sound/soc/codecs/tlv320aic23.c codec->read = tlv320aic23_read_reg_cache;
codec 534 sound/soc/codecs/tlv320aic23.c codec->write = tlv320aic23_write;
codec 535 sound/soc/codecs/tlv320aic23.c codec->set_bias_level = tlv320aic23_set_bias_level;
codec 536 sound/soc/codecs/tlv320aic23.c codec->dai = &tlv320aic23_dai;
codec 537 sound/soc/codecs/tlv320aic23.c codec->num_dai = 1;
codec 538 sound/soc/codecs/tlv320aic23.c codec->reg_cache_size = ARRAY_SIZE(tlv320aic23_reg);
codec 539 sound/soc/codecs/tlv320aic23.c codec->reg_cache =
codec 541 sound/soc/codecs/tlv320aic23.c if (codec->reg_cache == NULL)
codec 545 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_RESET, 0);
codec 555 sound/soc/codecs/tlv320aic23.c tlv320aic23_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 557 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_DIGT, TLV320AIC23_DEEMP_44K);
codec 560 sound/soc/codecs/tlv320aic23.c reg = tlv320aic23_read_reg_cache(codec, TLV320AIC23_LINVOL);
codec 561 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_LINVOL,
codec 565 sound/soc/codecs/tlv320aic23.c reg = tlv320aic23_read_reg_cache(codec, TLV320AIC23_RINVOL);
codec 566 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_RINVOL,
codec 570 sound/soc/codecs/tlv320aic23.c reg = tlv320aic23_read_reg_cache(codec, TLV320AIC23_ANLG);
codec 571 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_ANLG,
codec 576 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_LCHNVOL,
codec 579 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_RCHNVOL,
codec 583 sound/soc/codecs/tlv320aic23.c tlv320aic23_write(codec, TLV320AIC23_ACTIVE, 0x1);
codec 585 sound/soc/codecs/tlv320aic23.c tlv320aic23_add_controls(codec);
codec 586 sound/soc/codecs/tlv320aic23.c tlv320aic23_add_widgets(codec);
codec 599 sound/soc/codecs/tlv320aic23.c kfree(codec->reg_cache);
codec 613 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = socdev->codec;
codec 619 sound/soc/codecs/tlv320aic23.c i2c_set_clientdata(i2c, codec);
codec 620 sound/soc/codecs/tlv320aic23.c codec->control_data = i2c;
codec 630 sound/soc/codecs/tlv320aic23.c kfree(codec);
codec 661 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec;
codec 666 sound/soc/codecs/tlv320aic23.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 667 sound/soc/codecs/tlv320aic23.c if (codec == NULL)
codec 670 sound/soc/codecs/tlv320aic23.c socdev->codec = codec;
codec 671 sound/soc/codecs/tlv320aic23.c mutex_init(&codec->mutex);
codec 672 sound/soc/codecs/tlv320aic23.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 673 sound/soc/codecs/tlv320aic23.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 677 sound/soc/codecs/tlv320aic23.c codec->hw_write = (hw_write_t) i2c_smbus_write_byte_data;
codec 678 sound/soc/codecs/tlv320aic23.c codec->hw_read = NULL;
codec 689 sound/soc/codecs/tlv320aic23.c struct snd_soc_codec *codec = socdev->codec;
codec 691 sound/soc/codecs/tlv320aic23.c if (codec->control_data)
codec 692 sound/soc/codecs/tlv320aic23.c tlv320aic23_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 699 sound/soc/codecs/tlv320aic23.c kfree(codec->reg_cache);
codec 700 sound/soc/codecs/tlv320aic23.c kfree(codec);
codec 33 sound/soc/codecs/tlv320aic26.c struct snd_soc_codec codec;
codec 51 sound/soc/codecs/tlv320aic26.c struct aic26 *aic26 = codec->private_data;
codec 52 sound/soc/codecs/tlv320aic26.c u16 *cache = codec->reg_cache;
codec 82 sound/soc/codecs/tlv320aic26.c u16 *cache = codec->reg_cache;
codec 95 sound/soc/codecs/tlv320aic26.c struct aic26 *aic26 = codec->private_data;
codec 96 sound/soc/codecs/tlv320aic26.c u16 *cache = codec->reg_cache;
codec 132 sound/soc/codecs/tlv320aic26.c struct snd_soc_codec *codec = socdev->codec;
codec 133 sound/soc/codecs/tlv320aic26.c struct aic26 *aic26 = codec->private_data;
codec 172 sound/soc/codecs/tlv320aic26.c aic26_reg_write(codec, AIC26_REG_PLL_PROG1, reg);
codec 174 sound/soc/codecs/tlv320aic26.c aic26_reg_write(codec, AIC26_REG_PLL_PROG2, reg);
codec 177 sound/soc/codecs/tlv320aic26.c reg = aic26_reg_read_cache(codec, AIC26_REG_AUDIO_CTRL3);
codec 183 sound/soc/codecs/tlv320aic26.c aic26_reg_write(codec, AIC26_REG_AUDIO_CTRL3, reg);
codec 186 sound/soc/codecs/tlv320aic26.c reg = aic26_reg_read_cache(codec, AIC26_REG_AUDIO_CTRL1);
codec 189 sound/soc/codecs/tlv320aic26.c aic26_reg_write(codec, AIC26_REG_AUDIO_CTRL1, reg);
codec 199 sound/soc/codecs/tlv320aic26.c struct snd_soc_codec *codec = dai->codec;
codec 200 sound/soc/codecs/tlv320aic26.c struct aic26 *aic26 = codec->private_data;
codec 201 sound/soc/codecs/tlv320aic26.c u16 reg = aic26_reg_read_cache(codec, AIC26_REG_DAC_GAIN);
codec 210 sound/soc/codecs/tlv320aic26.c aic26_reg_write(codec, AIC26_REG_DAC_GAIN, reg);
codec 218 sound/soc/codecs/tlv320aic26.c struct snd_soc_codec *codec = codec_dai->codec;
codec 219 sound/soc/codecs/tlv320aic26.c struct aic26 *aic26 = codec->private_data;
codec 235 sound/soc/codecs/tlv320aic26.c struct snd_soc_codec *codec = codec_dai->codec;
codec 236 sound/soc/codecs/tlv320aic26.c struct aic26 *aic26 = codec->private_data;
codec 325 sound/soc/codecs/tlv320aic26.c struct snd_soc_codec *codec;
codec 341 sound/soc/codecs/tlv320aic26.c codec = &aic26->codec;
codec 342 sound/soc/codecs/tlv320aic26.c socdev->codec = codec;
codec 356 sound/soc/codecs/tlv320aic26.c kcontrol = snd_soc_cnew(&aic26_snd_controls[i], codec, NULL);
codec 357 sound/soc/codecs/tlv320aic26.c err = snd_ctl_add(codec->card, kcontrol);
codec 398 sound/soc/codecs/tlv320aic26.c val = aic26_reg_read_cache(&aic26->codec, AIC26_REG_AUDIO_CTRL2);
codec 414 sound/soc/codecs/tlv320aic26.c val = aic26_reg_read_cache(&aic26->codec, AIC26_REG_AUDIO_CTRL2);
codec 416 sound/soc/codecs/tlv320aic26.c aic26_reg_write(&aic26->codec, AIC26_REG_AUDIO_CTRL2, val);
codec 446 sound/soc/codecs/tlv320aic26.c aic26->codec.private_data = aic26;
codec 447 sound/soc/codecs/tlv320aic26.c aic26->codec.name = "aic26";
codec 448 sound/soc/codecs/tlv320aic26.c aic26->codec.owner = THIS_MODULE;
codec 449 sound/soc/codecs/tlv320aic26.c aic26->codec.dai = &aic26_dai;
codec 450 sound/soc/codecs/tlv320aic26.c aic26->codec.num_dai = 1;
codec 451 sound/soc/codecs/tlv320aic26.c aic26->codec.read = aic26_reg_read;
codec 452 sound/soc/codecs/tlv320aic26.c aic26->codec.write = aic26_reg_write;
codec 454 sound/soc/codecs/tlv320aic26.c mutex_init(&aic26->codec.mutex);
codec 455 sound/soc/codecs/tlv320aic26.c INIT_LIST_HEAD(&aic26->codec.dapm_widgets);
codec 456 sound/soc/codecs/tlv320aic26.c INIT_LIST_HEAD(&aic26->codec.dapm_paths);
codec 457 sound/soc/codecs/tlv320aic26.c aic26->codec.reg_cache_size = AIC26_NUM_REGS;
codec 458 sound/soc/codecs/tlv320aic26.c aic26->codec.reg_cache = aic26->reg_cache;
codec 461 sound/soc/codecs/tlv320aic26.c aic26_reg_write(&aic26->codec, AIC26_REG_RESET, 0xBB00);
codec 464 sound/soc/codecs/tlv320aic26.c aic26_reg_write(&aic26->codec, AIC26_REG_POWER_CTRL, 0);
codec 467 sound/soc/codecs/tlv320aic26.c reg = aic26_reg_read(&aic26->codec, AIC26_REG_AUDIO_CTRL3);
codec 470 sound/soc/codecs/tlv320aic26.c aic26_reg_write(&aic26->codec, AIC26_REG_AUDIO_CTRL3, reg);
codec 474 sound/soc/codecs/tlv320aic26.c aic26_reg_read(&aic26->codec, i);
codec 100 sound/soc/codecs/tlv320aic3x.c u8 *cache = codec->reg_cache;
codec 112 sound/soc/codecs/tlv320aic3x.c u8 *cache = codec->reg_cache;
codec 133 sound/soc/codecs/tlv320aic3x.c aic3x_write_reg_cache(codec, data[0], data[1]);
codec 134 sound/soc/codecs/tlv320aic3x.c if (codec->hw_write(codec->control_data, data, 2) == 2)
codec 147 sound/soc/codecs/tlv320aic3x.c if (codec->hw_read(codec->control_data, value, 1) != 1)
codec 150 sound/soc/codecs/tlv320aic3x.c aic3x_write_reg_cache(codec, reg, *value);
codec 188 sound/soc/codecs/tlv320aic3x.c mutex_lock(&widget->codec->mutex);
codec 190 sound/soc/codecs/tlv320aic3x.c if (snd_soc_test_bits(widget->codec, reg, val_mask, val)) {
codec 192 sound/soc/codecs/tlv320aic3x.c list_for_each_entry(path, &widget->codec->dapm_paths, list) {
codec 208 sound/soc/codecs/tlv320aic3x.c snd_soc_dapm_sync(widget->codec);
codec 211 sound/soc/codecs/tlv320aic3x.c ret = snd_soc_update_bits(widget->codec, reg, val_mask, val);
codec 213 sound/soc/codecs/tlv320aic3x.c mutex_unlock(&widget->codec->mutex);
codec 308 sound/soc/codecs/tlv320aic3x.c err = snd_ctl_add(codec->card,
codec 310 sound/soc/codecs/tlv320aic3x.c codec, NULL));
codec 686 sound/soc/codecs/tlv320aic3x.c snd_soc_dapm_new_controls(codec, aic3x_dapm_widgets,
codec 690 sound/soc/codecs/tlv320aic3x.c snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon));
codec 692 sound/soc/codecs/tlv320aic3x.c snd_soc_dapm_new_widgets(codec);
codec 701 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = socdev->codec;
codec 702 sound/soc/codecs/tlv320aic3x.c struct aic3x_priv *aic3x = codec->private_data;
codec 709 sound/soc/codecs/tlv320aic3x.c aic3x_read_reg_cache(codec, AIC3X_ASD_INTF_CTRLB) & (~(0x3 << 4));
codec 723 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_ASD_INTF_CTRLB, data);
codec 738 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_PLL_PROGA_REG, pll_q << PLLQ_SHIFT);
codec 739 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_GPIOB_REG, CODEC_CLKIN_CLKDIV);
codec 741 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_GPIOB_REG, CODEC_CLKIN_PLLDIV);
codec 749 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_CODEC_DATAPATH_REG, data);
codec 758 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_SAMPLE_RATE_SEL_REG, data);
codec 805 sound/soc/codecs/tlv320aic3x.c data = aic3x_read_reg_cache(codec, AIC3X_PLL_PROGA_REG);
codec 806 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_PLL_PROGA_REG, data | (pll_p << PLLP_SHIFT));
codec 807 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_OVRF_STATUS_AND_PLLR_REG, pll_r << PLLR_SHIFT);
codec 808 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_PLL_PROGB_REG, pll_j << PLLJ_SHIFT);
codec 809 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_PLL_PROGC_REG, (pll_d >> 6) << PLLD_MSB_SHIFT);
codec 810 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_PLL_PROGD_REG,
codec 818 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = dai->codec;
codec 819 sound/soc/codecs/tlv320aic3x.c u8 ldac_reg = aic3x_read_reg_cache(codec, LDAC_VOL) & ~MUTE_ON;
codec 820 sound/soc/codecs/tlv320aic3x.c u8 rdac_reg = aic3x_read_reg_cache(codec, RDAC_VOL) & ~MUTE_ON;
codec 823 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LDAC_VOL, ldac_reg | MUTE_ON);
codec 824 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, RDAC_VOL, rdac_reg | MUTE_ON);
codec 826 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LDAC_VOL, ldac_reg);
codec 827 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, RDAC_VOL, rdac_reg);
codec 836 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = codec_dai->codec;
codec 837 sound/soc/codecs/tlv320aic3x.c struct aic3x_priv *aic3x = codec->private_data;
codec 846 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = codec_dai->codec;
codec 847 sound/soc/codecs/tlv320aic3x.c struct aic3x_priv *aic3x = codec->private_data;
codec 850 sound/soc/codecs/tlv320aic3x.c iface_areg = aic3x_read_reg_cache(codec, AIC3X_ASD_INTF_CTRLA) & 0x3f;
codec 851 sound/soc/codecs/tlv320aic3x.c iface_breg = aic3x_read_reg_cache(codec, AIC3X_ASD_INTF_CTRLB) & 0x3f;
codec 884 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_ASD_INTF_CTRLA, iface_areg);
codec 885 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_ASD_INTF_CTRLB, iface_breg);
codec 893 sound/soc/codecs/tlv320aic3x.c struct aic3x_priv *aic3x = codec->private_data;
codec 901 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, AIC3X_PLL_PROGA_REG);
codec 902 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_PLL_PROGA_REG,
codec 915 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, AIC3X_PLL_PROGA_REG);
codec 916 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_PLL_PROGA_REG,
codec 922 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, LINE1L_2_LADC_CTRL);
codec 923 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE1L_2_LADC_CTRL, reg & ~LADC_PWR_ON);
codec 924 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, LINE1R_2_RADC_CTRL);
codec 925 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE1R_2_RADC_CTRL, reg & ~RADC_PWR_ON);
codec 927 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, DAC_PWR);
codec 928 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, DAC_PWR, reg & ~(LDAC_PWR_ON | RDAC_PWR_ON));
codec 930 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, HPLOUT_CTRL);
codec 931 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, HPLOUT_CTRL, reg & ~HPLOUT_PWR_ON);
codec 932 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, HPROUT_CTRL);
codec 933 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, HPROUT_CTRL, reg & ~HPROUT_PWR_ON);
codec 935 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, HPLCOM_CTRL);
codec 936 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, HPLCOM_CTRL, reg & ~HPLCOM_PWR_ON);
codec 937 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, HPRCOM_CTRL);
codec 938 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, HPRCOM_CTRL, reg & ~HPRCOM_PWR_ON);
codec 940 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, MONOLOPM_CTRL);
codec 941 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, MONOLOPM_CTRL, reg & ~MONOLOPM_PWR_ON);
codec 943 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, LLOPM_CTRL);
codec 944 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LLOPM_CTRL, reg & ~LLOPM_PWR_ON);
codec 945 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, RLOPM_CTRL);
codec 946 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, RLOPM_CTRL, reg & ~RLOPM_PWR_ON);
codec 950 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, AIC3X_PLL_PROGA_REG);
codec 951 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_PLL_PROGA_REG,
codec 956 sound/soc/codecs/tlv320aic3x.c codec->bias_level = level;
codec 965 sound/soc/codecs/tlv320aic3x.c u8 val = aic3x_read_reg_cache(codec, reg) & ~(1 << bit);
codec 966 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, reg, val | (!!state << bit));
codec 975 sound/soc/codecs/tlv320aic3x.c aic3x_read(codec, reg, &val);
codec 983 sound/soc/codecs/tlv320aic3x.c aic3x_read(codec, AIC3X_RT_IRQ_FLAGS_REG, &val);
codec 1020 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = socdev->codec;
codec 1022 sound/soc/codecs/tlv320aic3x.c aic3x_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1030 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = socdev->codec;
codec 1033 sound/soc/codecs/tlv320aic3x.c u8 *cache = codec->reg_cache;
codec 1039 sound/soc/codecs/tlv320aic3x.c codec->hw_write(codec->control_data, data, 2);
codec 1042 sound/soc/codecs/tlv320aic3x.c aic3x_set_bias_level(codec, codec->suspend_bias_level);
codec 1053 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = socdev->codec;
codec 1057 sound/soc/codecs/tlv320aic3x.c codec->name = "tlv320aic3x";
codec 1058 sound/soc/codecs/tlv320aic3x.c codec->owner = THIS_MODULE;
codec 1059 sound/soc/codecs/tlv320aic3x.c codec->read = aic3x_read_reg_cache;
codec 1060 sound/soc/codecs/tlv320aic3x.c codec->write = aic3x_write;
codec 1061 sound/soc/codecs/tlv320aic3x.c codec->set_bias_level = aic3x_set_bias_level;
codec 1062 sound/soc/codecs/tlv320aic3x.c codec->dai = &aic3x_dai;
codec 1063 sound/soc/codecs/tlv320aic3x.c codec->num_dai = 1;
codec 1064 sound/soc/codecs/tlv320aic3x.c codec->reg_cache_size = ARRAY_SIZE(aic3x_reg);
codec 1065 sound/soc/codecs/tlv320aic3x.c codec->reg_cache = kmemdup(aic3x_reg, sizeof(aic3x_reg), GFP_KERNEL);
codec 1066 sound/soc/codecs/tlv320aic3x.c if (codec->reg_cache == NULL)
codec 1069 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_PAGE_SELECT, PAGE0_SELECT);
codec 1070 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_RESET, SOFT_RESET);
codec 1080 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LDAC_VOL, DEFAULT_VOL | MUTE_ON);
codec 1081 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, RDAC_VOL, DEFAULT_VOL | MUTE_ON);
codec 1084 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, DACL1_2_HPLOUT_VOL, DEFAULT_VOL | ROUTE_ON);
codec 1085 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, DACR1_2_HPROUT_VOL, DEFAULT_VOL | ROUTE_ON);
codec 1086 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, DACL1_2_HPLCOM_VOL, DEFAULT_VOL | ROUTE_ON);
codec 1087 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, DACR1_2_HPRCOM_VOL, DEFAULT_VOL | ROUTE_ON);
codec 1089 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, DACL1_2_LLOPM_VOL, DEFAULT_VOL | ROUTE_ON);
codec 1090 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, DACR1_2_RLOPM_VOL, DEFAULT_VOL | ROUTE_ON);
codec 1092 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, DACL1_2_MONOLOPM_VOL, DEFAULT_VOL | ROUTE_ON);
codec 1093 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, DACR1_2_MONOLOPM_VOL, DEFAULT_VOL | ROUTE_ON);
codec 1096 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, LLOPM_CTRL);
codec 1097 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LLOPM_CTRL, reg | UNMUTE);
codec 1098 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, RLOPM_CTRL);
codec 1099 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, RLOPM_CTRL, reg | UNMUTE);
codec 1100 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, MONOLOPM_CTRL);
codec 1101 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, MONOLOPM_CTRL, reg | UNMUTE);
codec 1102 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, HPLOUT_CTRL);
codec 1103 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, HPLOUT_CTRL, reg | UNMUTE);
codec 1104 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, HPROUT_CTRL);
codec 1105 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, HPROUT_CTRL, reg | UNMUTE);
codec 1106 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, HPLCOM_CTRL);
codec 1107 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, HPLCOM_CTRL, reg | UNMUTE);
codec 1108 sound/soc/codecs/tlv320aic3x.c reg = aic3x_read_reg_cache(codec, HPRCOM_CTRL);
codec 1109 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, HPRCOM_CTRL, reg | UNMUTE);
codec 1112 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LADC_VOL, DEFAULT_GAIN);
codec 1113 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, RADC_VOL, DEFAULT_GAIN);
codec 1115 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE1L_2_LADC_CTRL, 0x0);
codec 1116 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE1R_2_RADC_CTRL, 0x0);
codec 1119 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, PGAL_2_HPLOUT_VOL, DEFAULT_VOL);
codec 1120 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, PGAR_2_HPROUT_VOL, DEFAULT_VOL);
codec 1121 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, PGAL_2_HPLCOM_VOL, DEFAULT_VOL);
codec 1122 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, PGAR_2_HPRCOM_VOL, DEFAULT_VOL);
codec 1124 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, PGAL_2_LLOPM_VOL, DEFAULT_VOL);
codec 1125 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, PGAR_2_RLOPM_VOL, DEFAULT_VOL);
codec 1127 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, PGAL_2_MONOLOPM_VOL, DEFAULT_VOL);
codec 1128 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, PGAR_2_MONOLOPM_VOL, DEFAULT_VOL);
codec 1131 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE2L_2_HPLOUT_VOL, DEFAULT_VOL);
codec 1132 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE2R_2_HPROUT_VOL, DEFAULT_VOL);
codec 1133 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE2L_2_HPLCOM_VOL, DEFAULT_VOL);
codec 1134 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE2R_2_HPRCOM_VOL, DEFAULT_VOL);
codec 1136 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE2L_2_LLOPM_VOL, DEFAULT_VOL);
codec 1137 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE2R_2_RLOPM_VOL, DEFAULT_VOL);
codec 1139 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE2L_2_MONOLOPM_VOL, DEFAULT_VOL);
codec 1140 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, LINE2R_2_MONOLOPM_VOL, DEFAULT_VOL);
codec 1143 sound/soc/codecs/tlv320aic3x.c aic3x_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1146 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_GPIO1_REG, (setup->gpio_func[0] & 0xf) << 4);
codec 1147 sound/soc/codecs/tlv320aic3x.c aic3x_write(codec, AIC3X_GPIO2_REG, (setup->gpio_func[1] & 0xf) << 4);
codec 1149 sound/soc/codecs/tlv320aic3x.c aic3x_add_controls(codec);
codec 1150 sound/soc/codecs/tlv320aic3x.c aic3x_add_widgets(codec);
codec 1163 sound/soc/codecs/tlv320aic3x.c kfree(codec->reg_cache);
codec 1183 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = socdev->codec;
codec 1186 sound/soc/codecs/tlv320aic3x.c i2c_set_clientdata(i2c, codec);
codec 1187 sound/soc/codecs/tlv320aic3x.c codec->control_data = i2c;
codec 1197 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 1198 sound/soc/codecs/tlv320aic3x.c kfree(codec->reg_cache);
codec 1270 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec;
codec 1277 sound/soc/codecs/tlv320aic3x.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 1278 sound/soc/codecs/tlv320aic3x.c if (codec == NULL)
codec 1283 sound/soc/codecs/tlv320aic3x.c kfree(codec);
codec 1287 sound/soc/codecs/tlv320aic3x.c codec->private_data = aic3x;
codec 1288 sound/soc/codecs/tlv320aic3x.c socdev->codec = codec;
codec 1289 sound/soc/codecs/tlv320aic3x.c mutex_init(&codec->mutex);
codec 1290 sound/soc/codecs/tlv320aic3x.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 1291 sound/soc/codecs/tlv320aic3x.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 1296 sound/soc/codecs/tlv320aic3x.c codec->hw_write = (hw_write_t) i2c_master_send;
codec 1297 sound/soc/codecs/tlv320aic3x.c codec->hw_read = (hw_read_t) aic3x_i2c_read;
codec 1305 sound/soc/codecs/tlv320aic3x.c kfree(codec->private_data);
codec 1306 sound/soc/codecs/tlv320aic3x.c kfree(codec);
codec 1314 sound/soc/codecs/tlv320aic3x.c struct snd_soc_codec *codec = socdev->codec;
codec 1317 sound/soc/codecs/tlv320aic3x.c if (codec->control_data)
codec 1318 sound/soc/codecs/tlv320aic3x.c aic3x_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1323 sound/soc/codecs/tlv320aic3x.c i2c_unregister_device(codec->control_data);
codec 1326 sound/soc/codecs/tlv320aic3x.c kfree(codec->private_data);
codec 1327 sound/soc/codecs/tlv320aic3x.c kfree(codec);
codec 61 sound/soc/codecs/uda1380.c u16 *cache = codec->reg_cache;
codec 75 sound/soc/codecs/uda1380.c u16 *cache = codec->reg_cache;
codec 98 sound/soc/codecs/uda1380.c uda1380_write_reg_cache(codec, reg, value);
codec 103 sound/soc/codecs/uda1380.c if (!codec->active && (reg >= UDA1380_MVOL))
codec 106 sound/soc/codecs/uda1380.c if (codec->hw_write(codec->control_data, data, 3) == 3) {
codec 108 sound/soc/codecs/uda1380.c i2c_master_send(codec->control_data, data, 1);
codec 109 sound/soc/codecs/uda1380.c i2c_master_recv(codec->control_data, data, 2);
codec 280 sound/soc/codecs/uda1380.c err = snd_ctl_add(codec->card,
codec 281 sound/soc/codecs/uda1380.c snd_soc_cnew(&uda1380_snd_controls[i], codec, NULL));
codec 365 sound/soc/codecs/uda1380.c snd_soc_dapm_new_controls(codec, uda1380_dapm_widgets,
codec 368 sound/soc/codecs/uda1380.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 370 sound/soc/codecs/uda1380.c snd_soc_dapm_new_widgets(codec);
codec 377 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = codec_dai->codec;
codec 381 sound/soc/codecs/uda1380.c iface = uda1380_read_reg_cache(codec, UDA1380_IFACE);
codec 399 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_IFACE, iface);
codec 414 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = socdev->codec;
codec 426 sound/soc/codecs/uda1380.c clk = uda1380_read_reg_cache(codec, UDA1380_CLK);
codec 427 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_CLK, clk & ~R00_DAC_CLK);
codec 431 sound/soc/codecs/uda1380.c uda1380_read_reg_cache(codec, reg));
codec 432 sound/soc/codecs/uda1380.c uda1380_write(codec, reg, uda1380_read_reg_cache(codec, reg));
codec 436 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_CLK, clk | R00_DAC_CLK);
codec 446 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = socdev->codec;
codec 447 sound/soc/codecs/uda1380.c u16 clk = uda1380_read_reg_cache(codec, UDA1380_CLK);
codec 452 sound/soc/codecs/uda1380.c u16 pm = uda1380_read_reg_cache(codec, UDA1380_PM);
codec 468 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_PM, R02_PON_PLL | pm);
codec 476 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_CLK, clk);
codec 484 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = socdev->codec;
codec 485 sound/soc/codecs/uda1380.c u16 clk = uda1380_read_reg_cache(codec, UDA1380_CLK);
codec 489 sound/soc/codecs/uda1380.c u16 pm = uda1380_read_reg_cache(codec, UDA1380_PM);
codec 490 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_PM, ~R02_PON_PLL & pm);
codec 498 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_CLK, clk);
codec 503 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = codec_dai->codec;
codec 504 sound/soc/codecs/uda1380.c u16 mute_reg = uda1380_read_reg_cache(codec, UDA1380_DEEMP) & ~R13_MTM;
codec 509 sound/soc/codecs/uda1380.c u16 clk = uda1380_read_reg_cache(codec, UDA1380_CLK);
codec 510 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_CLK, ~R00_DAC_CLK & clk);
codec 512 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_DEEMP, mute_reg | R13_MTM);
codec 514 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_DEEMP, mute_reg);
codec 515 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_CLK, clk);
codec 522 sound/soc/codecs/uda1380.c int pm = uda1380_read_reg_cache(codec, UDA1380_PM);
codec 527 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_PM, R02_PON_BIAS | pm);
codec 530 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_PM, R02_PON_BIAS);
codec 533 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_PM, 0x0);
codec 536 sound/soc/codecs/uda1380.c codec->bias_level = level;
codec 612 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = socdev->codec;
codec 614 sound/soc/codecs/uda1380.c uda1380_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 621 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = socdev->codec;
codec 624 sound/soc/codecs/uda1380.c u16 *cache = codec->reg_cache;
codec 630 sound/soc/codecs/uda1380.c codec->hw_write(codec->control_data, data, 2);
codec 632 sound/soc/codecs/uda1380.c uda1380_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 633 sound/soc/codecs/uda1380.c uda1380_set_bias_level(codec, codec->suspend_bias_level);
codec 643 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = socdev->codec;
codec 646 sound/soc/codecs/uda1380.c codec->name = "UDA1380";
codec 647 sound/soc/codecs/uda1380.c codec->owner = THIS_MODULE;
codec 648 sound/soc/codecs/uda1380.c codec->read = uda1380_read_reg_cache;
codec 649 sound/soc/codecs/uda1380.c codec->write = uda1380_write;
codec 650 sound/soc/codecs/uda1380.c codec->set_bias_level = uda1380_set_bias_level;
codec 651 sound/soc/codecs/uda1380.c codec->dai = uda1380_dai;
codec 652 sound/soc/codecs/uda1380.c codec->num_dai = ARRAY_SIZE(uda1380_dai);
codec 653 sound/soc/codecs/uda1380.c codec->reg_cache = kmemdup(uda1380_reg, sizeof(uda1380_reg),
codec 655 sound/soc/codecs/uda1380.c if (codec->reg_cache == NULL)
codec 657 sound/soc/codecs/uda1380.c codec->reg_cache_size = ARRAY_SIZE(uda1380_reg);
codec 658 sound/soc/codecs/uda1380.c codec->reg_cache_step = 1;
codec 659 sound/soc/codecs/uda1380.c uda1380_reset(codec);
codec 669 sound/soc/codecs/uda1380.c uda1380_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 673 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_CLK, 0);
codec 676 sound/soc/codecs/uda1380.c uda1380_write(codec, UDA1380_CLK, R00_DAC_CLK);
codec 681 sound/soc/codecs/uda1380.c uda1380_add_controls(codec);
codec 682 sound/soc/codecs/uda1380.c uda1380_add_widgets(codec);
codec 695 sound/soc/codecs/uda1380.c kfree(codec->reg_cache);
codec 708 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = socdev->codec;
codec 711 sound/soc/codecs/uda1380.c i2c_set_clientdata(i2c, codec);
codec 712 sound/soc/codecs/uda1380.c codec->control_data = i2c;
codec 723 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 724 sound/soc/codecs/uda1380.c kfree(codec->reg_cache);
codec 789 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec;
codec 795 sound/soc/codecs/uda1380.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 796 sound/soc/codecs/uda1380.c if (codec == NULL)
codec 799 sound/soc/codecs/uda1380.c socdev->codec = codec;
codec 800 sound/soc/codecs/uda1380.c mutex_init(&codec->mutex);
codec 801 sound/soc/codecs/uda1380.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 802 sound/soc/codecs/uda1380.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 809 sound/soc/codecs/uda1380.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 815 sound/soc/codecs/uda1380.c kfree(codec);
codec 823 sound/soc/codecs/uda1380.c struct snd_soc_codec *codec = socdev->codec;
codec 825 sound/soc/codecs/uda1380.c if (codec->control_data)
codec 826 sound/soc/codecs/uda1380.c uda1380_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 831 sound/soc/codecs/uda1380.c i2c_unregister_device(codec->control_data);
codec 834 sound/soc/codecs/uda1380.c kfree(codec);
codec 67 sound/soc/codecs/wm8510.c u16 *cache = codec->reg_cache;
codec 81 sound/soc/codecs/wm8510.c u16 *cache = codec->reg_cache;
codec 102 sound/soc/codecs/wm8510.c wm8510_write_reg_cache(codec, reg, value);
codec 103 sound/soc/codecs/wm8510.c if (codec->hw_write(codec->control_data, data, 2) == 2)
codec 180 sound/soc/codecs/wm8510.c err = snd_ctl_add(codec->card,
codec 181 sound/soc/codecs/wm8510.c snd_soc_cnew(&wm8510_snd_controls[i], codec,
codec 281 sound/soc/codecs/wm8510.c snd_soc_dapm_new_controls(codec, wm8510_dapm_widgets,
codec 284 sound/soc/codecs/wm8510.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 286 sound/soc/codecs/wm8510.c snd_soc_dapm_new_widgets(codec);
codec 341 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = codec_dai->codec;
codec 346 sound/soc/codecs/wm8510.c reg = wm8510_read_reg_cache(codec, WM8510_CLOCK);
codec 347 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_CLOCK, reg & 0x0ff);
codec 350 sound/soc/codecs/wm8510.c reg = wm8510_read_reg_cache(codec, WM8510_POWER1);
codec 351 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_POWER1, reg & 0x1df);
codec 357 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_PLLN, (pll_div.pre_div << 4) | pll_div.n);
codec 358 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_PLLK1, pll_div.k >> 18);
codec 359 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_PLLK2, (pll_div.k >> 9) & 0x1ff);
codec 360 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_PLLK3, pll_div.k & 0x1ff);
codec 361 sound/soc/codecs/wm8510.c reg = wm8510_read_reg_cache(codec, WM8510_POWER1);
codec 362 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_POWER1, reg | 0x020);
codec 365 sound/soc/codecs/wm8510.c reg = wm8510_read_reg_cache(codec, WM8510_CLOCK);
codec 366 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_CLOCK, reg | 0x100);
codec 377 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = codec_dai->codec;
codec 382 sound/soc/codecs/wm8510.c reg = wm8510_read_reg_cache(codec, WM8510_GPIO) & 0x1cf;
codec 383 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_GPIO, reg | div);
codec 386 sound/soc/codecs/wm8510.c reg = wm8510_read_reg_cache(codec, WM8510_CLOCK) & 0x1f;
codec 387 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_CLOCK, reg | div);
codec 390 sound/soc/codecs/wm8510.c reg = wm8510_read_reg_cache(codec, WM8510_ADC) & 0x1f7;
codec 391 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_ADC, reg | div);
codec 394 sound/soc/codecs/wm8510.c reg = wm8510_read_reg_cache(codec, WM8510_DAC) & 0x1f7;
codec 395 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_DAC, reg | div);
codec 398 sound/soc/codecs/wm8510.c reg = wm8510_read_reg_cache(codec, WM8510_CLOCK) & 0x1e3;
codec 399 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_CLOCK, reg | div);
codec 411 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = codec_dai->codec;
codec 413 sound/soc/codecs/wm8510.c u16 clk = wm8510_read_reg_cache(codec, WM8510_CLOCK) & 0x1fe;
codec 460 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_IFACE, iface);
codec 461 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_CLOCK, clk);
codec 470 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = socdev->codec;
codec 471 sound/soc/codecs/wm8510.c u16 iface = wm8510_read_reg_cache(codec, WM8510_IFACE) & 0x19f;
codec 472 sound/soc/codecs/wm8510.c u16 adn = wm8510_read_reg_cache(codec, WM8510_ADD) & 0x1f1;
codec 511 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_IFACE, iface);
codec 512 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_ADD, adn);
codec 518 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = dai->codec;
codec 519 sound/soc/codecs/wm8510.c u16 mute_reg = wm8510_read_reg_cache(codec, WM8510_DAC) & 0xffbf;
codec 522 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_DAC, mute_reg | 0x40);
codec 524 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_DAC, mute_reg);
codec 532 sound/soc/codecs/wm8510.c u16 power1 = wm8510_read_reg_cache(codec, WM8510_POWER1) & ~0x3;
codec 538 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_POWER1, power1);
codec 544 sound/soc/codecs/wm8510.c if (codec->bias_level == SND_SOC_BIAS_OFF) {
codec 546 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_POWER1, power1 | 0x3);
codec 551 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_POWER1, power1);
codec 555 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_POWER1, 0);
codec 556 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_POWER2, 0);
codec 557 sound/soc/codecs/wm8510.c wm8510_write(codec, WM8510_POWER3, 0);
codec 561 sound/soc/codecs/wm8510.c codec->bias_level = level;
codec 601 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = socdev->codec;
codec 603 sound/soc/codecs/wm8510.c wm8510_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 610 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = socdev->codec;
codec 613 sound/soc/codecs/wm8510.c u16 *cache = codec->reg_cache;
codec 619 sound/soc/codecs/wm8510.c codec->hw_write(codec->control_data, data, 2);
codec 621 sound/soc/codecs/wm8510.c wm8510_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 622 sound/soc/codecs/wm8510.c wm8510_set_bias_level(codec, codec->suspend_bias_level);
codec 632 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = socdev->codec;
codec 635 sound/soc/codecs/wm8510.c codec->name = "WM8510";
codec 636 sound/soc/codecs/wm8510.c codec->owner = THIS_MODULE;
codec 637 sound/soc/codecs/wm8510.c codec->read = wm8510_read_reg_cache;
codec 638 sound/soc/codecs/wm8510.c codec->write = wm8510_write;
codec 639 sound/soc/codecs/wm8510.c codec->set_bias_level = wm8510_set_bias_level;
codec 640 sound/soc/codecs/wm8510.c codec->dai = &wm8510_dai;
codec 641 sound/soc/codecs/wm8510.c codec->num_dai = 1;
codec 642 sound/soc/codecs/wm8510.c codec->reg_cache_size = ARRAY_SIZE(wm8510_reg);
codec 643 sound/soc/codecs/wm8510.c codec->reg_cache = kmemdup(wm8510_reg, sizeof(wm8510_reg), GFP_KERNEL);
codec 645 sound/soc/codecs/wm8510.c if (codec->reg_cache == NULL)
codec 648 sound/soc/codecs/wm8510.c wm8510_reset(codec);
codec 658 sound/soc/codecs/wm8510.c codec->bias_level = SND_SOC_BIAS_OFF;
codec 659 sound/soc/codecs/wm8510.c wm8510_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 660 sound/soc/codecs/wm8510.c wm8510_add_controls(codec);
codec 661 sound/soc/codecs/wm8510.c wm8510_add_widgets(codec);
codec 673 sound/soc/codecs/wm8510.c kfree(codec->reg_cache);
codec 689 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = socdev->codec;
codec 692 sound/soc/codecs/wm8510.c i2c_set_clientdata(i2c, codec);
codec 693 sound/soc/codecs/wm8510.c codec->control_data = i2c;
codec 704 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 705 sound/soc/codecs/wm8510.c kfree(codec->reg_cache);
codec 770 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = socdev->codec;
codec 773 sound/soc/codecs/wm8510.c codec->control_data = spi;
codec 826 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec;
codec 832 sound/soc/codecs/wm8510.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 833 sound/soc/codecs/wm8510.c if (codec == NULL)
codec 836 sound/soc/codecs/wm8510.c socdev->codec = codec;
codec 837 sound/soc/codecs/wm8510.c mutex_init(&codec->mutex);
codec 838 sound/soc/codecs/wm8510.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 839 sound/soc/codecs/wm8510.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 844 sound/soc/codecs/wm8510.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 850 sound/soc/codecs/wm8510.c codec->hw_write = (hw_write_t)wm8510_spi_write;
codec 858 sound/soc/codecs/wm8510.c kfree(codec);
codec 866 sound/soc/codecs/wm8510.c struct snd_soc_codec *codec = socdev->codec;
codec 868 sound/soc/codecs/wm8510.c if (codec->control_data)
codec 869 sound/soc/codecs/wm8510.c wm8510_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 874 sound/soc/codecs/wm8510.c i2c_unregister_device(codec->control_data);
codec 880 sound/soc/codecs/wm8510.c kfree(codec);
codec 202 sound/soc/codecs/wm8580.c u16 *cache = codec->reg_cache;
codec 213 sound/soc/codecs/wm8580.c u16 *cache = codec->reg_cache;
codec 236 sound/soc/codecs/wm8580.c if (value == wm8580_read_reg_cache(codec, reg))
codec 247 sound/soc/codecs/wm8580.c wm8580_write_reg_cache(codec, reg, value);
codec 248 sound/soc/codecs/wm8580.c if (codec->hw_write(codec->control_data, data, 2) == 2)
codec 259 sound/soc/codecs/wm8580.c return wm8580_read_reg_cache(codec, reg);
codec 268 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 275 sound/soc/codecs/wm8580.c wm8580_write_reg_cache(codec, reg, 0);
codec 276 sound/soc/codecs/wm8580.c wm8580_write_reg_cache(codec, reg2, 0);
codec 283 sound/soc/codecs/wm8580.c val = wm8580_read_reg_cache(codec, reg);
codec 284 sound/soc/codecs/wm8580.c wm8580_write(codec, reg, val | 0x0100);
codec 286 sound/soc/codecs/wm8580.c val = wm8580_read_reg_cache(codec, reg2);
codec 287 sound/soc/codecs/wm8580.c wm8580_write(codec, reg2, val | 0x0100);
codec 339 sound/soc/codecs/wm8580.c err = snd_ctl_add(codec->card,
codec 341 sound/soc/codecs/wm8580.c codec, NULL));
codec 381 sound/soc/codecs/wm8580.c snd_soc_dapm_new_controls(codec, wm8580_dapm_widgets,
codec 384 sound/soc/codecs/wm8580.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 386 sound/soc/codecs/wm8580.c snd_soc_dapm_new_widgets(codec);
codec 482 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = codec_dai->codec;
codec 483 sound/soc/codecs/wm8580.c struct wm8580_priv *wm8580 = codec->private_data;
codec 522 sound/soc/codecs/wm8580.c reg = wm8580_read(codec, WM8580_PWRDN2);
codec 523 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PWRDN2, reg | pwr_mask);
codec 528 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PLLA1 + offset, pll_div.k & 0x1ff);
codec 529 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PLLA2 + offset, (pll_div.k >> 9) & 0xff);
codec 530 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PLLA3 + offset,
codec 533 sound/soc/codecs/wm8580.c reg = wm8580_read(codec, WM8580_PLLA4 + offset);
codec 538 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PLLA4 + offset, reg);
codec 541 sound/soc/codecs/wm8580.c reg = wm8580_read(codec, WM8580_PWRDN2);
codec 542 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PWRDN2, reg & ~pwr_mask);
codec 556 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = socdev->codec;
codec 557 sound/soc/codecs/wm8580.c u16 paifb = wm8580_read(codec, WM8580_PAIF3 + dai->codec_dai->id);
codec 577 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PAIF3 + dai->codec_dai->id, paifb);
codec 584 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = codec_dai->codec;
codec 589 sound/soc/codecs/wm8580.c aifa = wm8580_read(codec, WM8580_PAIF1 + codec_dai->id);
codec 590 sound/soc/codecs/wm8580.c aifb = wm8580_read(codec, WM8580_PAIF3 + codec_dai->id);
codec 656 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PAIF1 + codec_dai->id, aifa);
codec 657 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PAIF3 + codec_dai->id, aifb);
codec 665 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = codec_dai->codec;
codec 670 sound/soc/codecs/wm8580.c reg = wm8580_read(codec, WM8580_PLLB4);
codec 692 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PLLB4, reg);
codec 696 sound/soc/codecs/wm8580.c reg = wm8580_read(codec, WM8580_CLKSEL);
codec 714 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_CLKSEL, reg);
codec 718 sound/soc/codecs/wm8580.c reg = wm8580_read(codec, WM8580_PLLB4);
codec 740 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PLLB4, reg);
codec 752 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = codec_dai->codec;
codec 755 sound/soc/codecs/wm8580.c reg = wm8580_read(codec, WM8580_DAC_CONTROL5);
codec 762 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_DAC_CONTROL5, reg);
codec 777 sound/soc/codecs/wm8580.c reg = wm8580_read(codec, WM8580_PWRDN1);
codec 778 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PWRDN1, reg | WM8580_PWRDN1_PWDN);
codec 781 sound/soc/codecs/wm8580.c codec->bias_level = level;
codec 837 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = socdev->codec;
codec 840 sound/soc/codecs/wm8580.c codec->name = "WM8580";
codec 841 sound/soc/codecs/wm8580.c codec->owner = THIS_MODULE;
codec 842 sound/soc/codecs/wm8580.c codec->read = wm8580_read_reg_cache;
codec 843 sound/soc/codecs/wm8580.c codec->write = wm8580_write;
codec 844 sound/soc/codecs/wm8580.c codec->set_bias_level = wm8580_set_bias_level;
codec 845 sound/soc/codecs/wm8580.c codec->dai = wm8580_dai;
codec 846 sound/soc/codecs/wm8580.c codec->num_dai = ARRAY_SIZE(wm8580_dai);
codec 847 sound/soc/codecs/wm8580.c codec->reg_cache_size = ARRAY_SIZE(wm8580_reg);
codec 848 sound/soc/codecs/wm8580.c codec->reg_cache = kmemdup(wm8580_reg, sizeof(wm8580_reg),
codec 851 sound/soc/codecs/wm8580.c if (codec->reg_cache == NULL)
codec 855 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_RESET, 0);
codec 858 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_PWRDN1, wm8580_read(codec, WM8580_PWRDN1) &
codec 862 sound/soc/codecs/wm8580.c wm8580_write(codec, WM8580_ADC_CONTROL1,
codec 863 sound/soc/codecs/wm8580.c wm8580_read(codec, WM8580_ADC_CONTROL1) & ~0x100);
codec 873 sound/soc/codecs/wm8580.c wm8580_add_controls(codec);
codec 874 sound/soc/codecs/wm8580.c wm8580_add_widgets(codec);
codec 887 sound/soc/codecs/wm8580.c kfree(codec->reg_cache);
codec 915 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = socdev->codec;
codec 927 sound/soc/codecs/wm8580.c kfree(codec);
codec 930 sound/soc/codecs/wm8580.c i2c_set_clientdata(i2c, codec);
codec 931 sound/soc/codecs/wm8580.c codec->control_data = i2c;
codec 948 sound/soc/codecs/wm8580.c kfree(codec);
codec 955 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 957 sound/soc/codecs/wm8580.c kfree(codec->reg_cache);
codec 988 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec;
codec 995 sound/soc/codecs/wm8580.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 996 sound/soc/codecs/wm8580.c if (codec == NULL)
codec 1001 sound/soc/codecs/wm8580.c kfree(codec);
codec 1005 sound/soc/codecs/wm8580.c codec->private_data = wm8580;
codec 1006 sound/soc/codecs/wm8580.c socdev->codec = codec;
codec 1007 sound/soc/codecs/wm8580.c mutex_init(&codec->mutex);
codec 1008 sound/soc/codecs/wm8580.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 1009 sound/soc/codecs/wm8580.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 1015 sound/soc/codecs/wm8580.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 1030 sound/soc/codecs/wm8580.c struct snd_soc_codec *codec = socdev->codec;
codec 1032 sound/soc/codecs/wm8580.c if (codec->control_data)
codec 1033 sound/soc/codecs/wm8580.c wm8580_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1039 sound/soc/codecs/wm8580.c kfree(codec->private_data);
codec 1040 sound/soc/codecs/wm8580.c kfree(codec);
codec 59 sound/soc/codecs/wm8731.c u16 *cache = codec->reg_cache;
codec 73 sound/soc/codecs/wm8731.c u16 *cache = codec->reg_cache;
codec 94 sound/soc/codecs/wm8731.c wm8731_write_reg_cache(codec, reg, value);
codec 95 sound/soc/codecs/wm8731.c if (codec->hw_write(codec->control_data, data, 2) == 2)
codec 138 sound/soc/codecs/wm8731.c err = snd_ctl_add(codec->card,
codec 140 sound/soc/codecs/wm8731.c codec, NULL));
codec 202 sound/soc/codecs/wm8731.c snd_soc_dapm_new_controls(codec, wm8731_dapm_widgets,
codec 205 sound/soc/codecs/wm8731.c snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon));
codec 207 sound/soc/codecs/wm8731.c snd_soc_dapm_new_widgets(codec);
codec 271 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = socdev->codec;
codec 272 sound/soc/codecs/wm8731.c struct wm8731_priv *wm8731 = codec->private_data;
codec 273 sound/soc/codecs/wm8731.c u16 iface = wm8731_read_reg_cache(codec, WM8731_IFACE) & 0xfff3;
codec 278 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_SRATE, srate);
codec 292 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_IFACE, iface);
codec 300 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = socdev->codec;
codec 303 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_ACTIVE, 0x0001);
codec 312 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = socdev->codec;
codec 315 sound/soc/codecs/wm8731.c if (!codec->active) {
codec 317 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_ACTIVE, 0x0);
codec 323 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = dai->codec;
codec 324 sound/soc/codecs/wm8731.c u16 mute_reg = wm8731_read_reg_cache(codec, WM8731_APDIGI) & 0xfff7;
codec 327 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_APDIGI, mute_reg | 0x8);
codec 329 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_APDIGI, mute_reg);
codec 336 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = codec_dai->codec;
codec 337 sound/soc/codecs/wm8731.c struct wm8731_priv *wm8731 = codec->private_data;
codec 355 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = codec_dai->codec;
codec 407 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_IFACE, iface);
codec 414 sound/soc/codecs/wm8731.c u16 reg = wm8731_read_reg_cache(codec, WM8731_PWR) & 0xff7f;
codec 419 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_PWR, reg);
codec 425 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_PWR, reg | 0x0040);
codec 429 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_ACTIVE, 0x0);
codec 430 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_PWR, 0xffff);
codec 433 sound/soc/codecs/wm8731.c codec->bias_level = level;
codec 476 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = socdev->codec;
codec 478 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_ACTIVE, 0x0);
codec 479 sound/soc/codecs/wm8731.c wm8731_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 486 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = socdev->codec;
codec 489 sound/soc/codecs/wm8731.c u16 *cache = codec->reg_cache;
codec 495 sound/soc/codecs/wm8731.c codec->hw_write(codec->control_data, data, 2);
codec 497 sound/soc/codecs/wm8731.c wm8731_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 498 sound/soc/codecs/wm8731.c wm8731_set_bias_level(codec, codec->suspend_bias_level);
codec 508 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = socdev->codec;
codec 511 sound/soc/codecs/wm8731.c codec->name = "WM8731";
codec 512 sound/soc/codecs/wm8731.c codec->owner = THIS_MODULE;
codec 513 sound/soc/codecs/wm8731.c codec->read = wm8731_read_reg_cache;
codec 514 sound/soc/codecs/wm8731.c codec->write = wm8731_write;
codec 515 sound/soc/codecs/wm8731.c codec->set_bias_level = wm8731_set_bias_level;
codec 516 sound/soc/codecs/wm8731.c codec->dai = &wm8731_dai;
codec 517 sound/soc/codecs/wm8731.c codec->num_dai = 1;
codec 518 sound/soc/codecs/wm8731.c codec->reg_cache_size = ARRAY_SIZE(wm8731_reg);
codec 519 sound/soc/codecs/wm8731.c codec->reg_cache = kmemdup(wm8731_reg, sizeof(wm8731_reg), GFP_KERNEL);
codec 520 sound/soc/codecs/wm8731.c if (codec->reg_cache == NULL)
codec 523 sound/soc/codecs/wm8731.c wm8731_reset(codec);
codec 533 sound/soc/codecs/wm8731.c wm8731_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 536 sound/soc/codecs/wm8731.c reg = wm8731_read_reg_cache(codec, WM8731_LOUT1V);
codec 537 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_LOUT1V, reg & ~0x0100);
codec 538 sound/soc/codecs/wm8731.c reg = wm8731_read_reg_cache(codec, WM8731_ROUT1V);
codec 539 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_ROUT1V, reg & ~0x0100);
codec 540 sound/soc/codecs/wm8731.c reg = wm8731_read_reg_cache(codec, WM8731_LINVOL);
codec 541 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_LINVOL, reg & ~0x0100);
codec 542 sound/soc/codecs/wm8731.c reg = wm8731_read_reg_cache(codec, WM8731_RINVOL);
codec 543 sound/soc/codecs/wm8731.c wm8731_write(codec, WM8731_RINVOL, reg & ~0x0100);
codec 545 sound/soc/codecs/wm8731.c wm8731_add_controls(codec);
codec 546 sound/soc/codecs/wm8731.c wm8731_add_widgets(codec);
codec 559 sound/soc/codecs/wm8731.c kfree(codec->reg_cache);
codec 578 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = socdev->codec;
codec 581 sound/soc/codecs/wm8731.c i2c_set_clientdata(i2c, codec);
codec 582 sound/soc/codecs/wm8731.c codec->control_data = i2c;
codec 593 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 594 sound/soc/codecs/wm8731.c kfree(codec->reg_cache);
codec 659 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = socdev->codec;
codec 662 sound/soc/codecs/wm8731.c codec->control_data = spi;
codec 715 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec;
codec 722 sound/soc/codecs/wm8731.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 723 sound/soc/codecs/wm8731.c if (codec == NULL)
codec 728 sound/soc/codecs/wm8731.c kfree(codec);
codec 732 sound/soc/codecs/wm8731.c codec->private_data = wm8731;
codec 733 sound/soc/codecs/wm8731.c socdev->codec = codec;
codec 734 sound/soc/codecs/wm8731.c mutex_init(&codec->mutex);
codec 735 sound/soc/codecs/wm8731.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 736 sound/soc/codecs/wm8731.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 743 sound/soc/codecs/wm8731.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 749 sound/soc/codecs/wm8731.c codec->hw_write = (hw_write_t)wm8731_spi_write;
codec 757 sound/soc/codecs/wm8731.c kfree(codec->private_data);
codec 758 sound/soc/codecs/wm8731.c kfree(codec);
codec 767 sound/soc/codecs/wm8731.c struct snd_soc_codec *codec = socdev->codec;
codec 769 sound/soc/codecs/wm8731.c if (codec->control_data)
codec 770 sound/soc/codecs/wm8731.c wm8731_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 775 sound/soc/codecs/wm8731.c i2c_unregister_device(codec->control_data);
codec 781 sound/soc/codecs/wm8731.c kfree(codec->private_data);
codec 782 sound/soc/codecs/wm8731.c kfree(codec);
codec 64 sound/soc/codecs/wm8750.c u16 *cache = codec->reg_cache;
codec 76 sound/soc/codecs/wm8750.c u16 *cache = codec->reg_cache;
codec 94 sound/soc/codecs/wm8750.c wm8750_write_reg_cache(codec, reg, value);
codec 95 sound/soc/codecs/wm8750.c if (codec->hw_write(codec->control_data, data, 2) == 2)
codec 240 sound/soc/codecs/wm8750.c err = snd_ctl_add(codec->card,
codec 242 sound/soc/codecs/wm8750.c codec, NULL));
codec 459 sound/soc/codecs/wm8750.c snd_soc_dapm_new_controls(codec, wm8750_dapm_widgets,
codec 462 sound/soc/codecs/wm8750.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 464 sound/soc/codecs/wm8750.c snd_soc_dapm_new_widgets(codec);
codec 543 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = codec_dai->codec;
codec 544 sound/soc/codecs/wm8750.c struct wm8750_priv *wm8750 = codec->private_data;
codec 561 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = codec_dai->codec;
codec 612 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_IFACE, iface);
codec 621 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = socdev->codec;
codec 622 sound/soc/codecs/wm8750.c struct wm8750_priv *wm8750 = codec->private_data;
codec 623 sound/soc/codecs/wm8750.c u16 iface = wm8750_read_reg_cache(codec, WM8750_IFACE) & 0x1f3;
codec 624 sound/soc/codecs/wm8750.c u16 srate = wm8750_read_reg_cache(codec, WM8750_SRATE) & 0x1c0;
codec 643 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_IFACE, iface);
codec 645 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_SRATE, srate |
codec 653 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = dai->codec;
codec 654 sound/soc/codecs/wm8750.c u16 mute_reg = wm8750_read_reg_cache(codec, WM8750_ADCDAC) & 0xfff7;
codec 657 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_ADCDAC, mute_reg | 0x8);
codec 659 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_ADCDAC, mute_reg);
codec 666 sound/soc/codecs/wm8750.c u16 pwr_reg = wm8750_read_reg_cache(codec, WM8750_PWR1) & 0xfe3e;
codec 671 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_PWR1, pwr_reg | 0x00c0);
codec 675 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_PWR1, pwr_reg | 0x01c1);
codec 679 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_PWR1, pwr_reg | 0x0141);
codec 682 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_PWR1, 0x0001);
codec 685 sound/soc/codecs/wm8750.c codec->bias_level = level;
codec 723 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec =
codec 725 sound/soc/codecs/wm8750.c wm8750_set_bias_level(codec, codec->bias_level);
codec 731 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = socdev->codec;
codec 733 sound/soc/codecs/wm8750.c wm8750_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 740 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = socdev->codec;
codec 743 sound/soc/codecs/wm8750.c u16 *cache = codec->reg_cache;
codec 751 sound/soc/codecs/wm8750.c codec->hw_write(codec->control_data, data, 2);
codec 754 sound/soc/codecs/wm8750.c wm8750_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 757 sound/soc/codecs/wm8750.c if (codec->suspend_bias_level == SND_SOC_BIAS_ON) {
codec 758 sound/soc/codecs/wm8750.c wm8750_set_bias_level(codec, SND_SOC_BIAS_PREPARE);
codec 759 sound/soc/codecs/wm8750.c codec->bias_level = SND_SOC_BIAS_ON;
codec 760 sound/soc/codecs/wm8750.c schedule_delayed_work(&codec->delayed_work,
codec 773 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = socdev->codec;
codec 776 sound/soc/codecs/wm8750.c codec->name = "WM8750";
codec 777 sound/soc/codecs/wm8750.c codec->owner = THIS_MODULE;
codec 778 sound/soc/codecs/wm8750.c codec->read = wm8750_read_reg_cache;
codec 779 sound/soc/codecs/wm8750.c codec->write = wm8750_write;
codec 780 sound/soc/codecs/wm8750.c codec->set_bias_level = wm8750_set_bias_level;
codec 781 sound/soc/codecs/wm8750.c codec->dai = &wm8750_dai;
codec 782 sound/soc/codecs/wm8750.c codec->num_dai = 1;
codec 783 sound/soc/codecs/wm8750.c codec->reg_cache_size = ARRAY_SIZE(wm8750_reg);
codec 784 sound/soc/codecs/wm8750.c codec->reg_cache = kmemdup(wm8750_reg, sizeof(wm8750_reg), GFP_KERNEL);
codec 785 sound/soc/codecs/wm8750.c if (codec->reg_cache == NULL)
codec 788 sound/soc/codecs/wm8750.c wm8750_reset(codec);
codec 798 sound/soc/codecs/wm8750.c wm8750_set_bias_level(codec, SND_SOC_BIAS_PREPARE);
codec 799 sound/soc/codecs/wm8750.c codec->bias_level = SND_SOC_BIAS_STANDBY;
codec 800 sound/soc/codecs/wm8750.c schedule_delayed_work(&codec->delayed_work, msecs_to_jiffies(1000));
codec 803 sound/soc/codecs/wm8750.c reg = wm8750_read_reg_cache(codec, WM8750_LDAC);
codec 804 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_LDAC, reg | 0x0100);
codec 805 sound/soc/codecs/wm8750.c reg = wm8750_read_reg_cache(codec, WM8750_RDAC);
codec 806 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_RDAC, reg | 0x0100);
codec 807 sound/soc/codecs/wm8750.c reg = wm8750_read_reg_cache(codec, WM8750_LOUT1V);
codec 808 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_LOUT1V, reg | 0x0100);
codec 809 sound/soc/codecs/wm8750.c reg = wm8750_read_reg_cache(codec, WM8750_ROUT1V);
codec 810 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_ROUT1V, reg | 0x0100);
codec 811 sound/soc/codecs/wm8750.c reg = wm8750_read_reg_cache(codec, WM8750_LOUT2V);
codec 812 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_LOUT2V, reg | 0x0100);
codec 813 sound/soc/codecs/wm8750.c reg = wm8750_read_reg_cache(codec, WM8750_ROUT2V);
codec 814 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_ROUT2V, reg | 0x0100);
codec 815 sound/soc/codecs/wm8750.c reg = wm8750_read_reg_cache(codec, WM8750_LINVOL);
codec 816 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_LINVOL, reg | 0x0100);
codec 817 sound/soc/codecs/wm8750.c reg = wm8750_read_reg_cache(codec, WM8750_RINVOL);
codec 818 sound/soc/codecs/wm8750.c wm8750_write(codec, WM8750_RINVOL, reg | 0x0100);
codec 820 sound/soc/codecs/wm8750.c wm8750_add_controls(codec);
codec 821 sound/soc/codecs/wm8750.c wm8750_add_widgets(codec);
codec 833 sound/soc/codecs/wm8750.c kfree(codec->reg_cache);
codec 854 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = socdev->codec;
codec 857 sound/soc/codecs/wm8750.c i2c_set_clientdata(i2c, codec);
codec 858 sound/soc/codecs/wm8750.c codec->control_data = i2c;
codec 869 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 870 sound/soc/codecs/wm8750.c kfree(codec->reg_cache);
codec 935 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = socdev->codec;
codec 938 sound/soc/codecs/wm8750.c codec->control_data = spi;
codec 991 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec;
codec 996 sound/soc/codecs/wm8750.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 997 sound/soc/codecs/wm8750.c if (codec == NULL)
codec 1002 sound/soc/codecs/wm8750.c kfree(codec);
codec 1006 sound/soc/codecs/wm8750.c codec->private_data = wm8750;
codec 1007 sound/soc/codecs/wm8750.c socdev->codec = codec;
codec 1008 sound/soc/codecs/wm8750.c mutex_init(&codec->mutex);
codec 1009 sound/soc/codecs/wm8750.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 1010 sound/soc/codecs/wm8750.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 1012 sound/soc/codecs/wm8750.c INIT_DELAYED_WORK(&codec->delayed_work, wm8750_work);
codec 1018 sound/soc/codecs/wm8750.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 1024 sound/soc/codecs/wm8750.c codec->hw_write = (hw_write_t)wm8750_spi_write;
codec 1032 sound/soc/codecs/wm8750.c kfree(codec->private_data);
codec 1033 sound/soc/codecs/wm8750.c kfree(codec);
codec 1061 sound/soc/codecs/wm8750.c struct snd_soc_codec *codec = socdev->codec;
codec 1063 sound/soc/codecs/wm8750.c if (codec->control_data)
codec 1064 sound/soc/codecs/wm8750.c wm8750_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1065 sound/soc/codecs/wm8750.c run_delayed_work(&codec->delayed_work);
codec 1069 sound/soc/codecs/wm8750.c i2c_unregister_device(codec->control_data);
codec 1075 sound/soc/codecs/wm8750.c kfree(codec->private_data);
codec 1076 sound/soc/codecs/wm8750.c kfree(codec);
codec 99 sound/soc/codecs/wm8753.c u16 *cache = codec->reg_cache;
codec 111 sound/soc/codecs/wm8753.c u16 *cache = codec->reg_cache;
codec 132 sound/soc/codecs/wm8753.c wm8753_write_reg_cache(codec, reg, value);
codec 133 sound/soc/codecs/wm8753.c if (codec->hw_write(codec->control_data, data, 2) == 2)
codec 218 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 219 sound/soc/codecs/wm8753.c int mode = wm8753_read_reg_cache(codec, WM8753_IOCTL);
codec 228 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 229 sound/soc/codecs/wm8753.c int mode = wm8753_read_reg_cache(codec, WM8753_IOCTL);
codec 237 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_IOCTL, mode);
codec 238 sound/soc/codecs/wm8753.c wm8753_set_dai_mode(codec, ucontrol->value.integer.value[0]);
codec 348 sound/soc/codecs/wm8753.c err = snd_ctl_add(codec->card,
codec 350 sound/soc/codecs/wm8753.c codec, NULL));
codec 685 sound/soc/codecs/wm8753.c snd_soc_dapm_new_controls(codec, wm8753_dapm_widgets,
codec 688 sound/soc/codecs/wm8753.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 690 sound/soc/codecs/wm8753.c snd_soc_dapm_new_widgets(codec);
codec 746 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 754 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_CLOCK) & 0xffef;
codec 758 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_CLOCK) & 0xfff7;
codec 763 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PLL1CTL1 + offset, 0x0026);
codec 764 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_CLOCK, reg);
codec 775 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PLL1CTL2 + offset, value);
codec 779 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PLL1CTL3 + offset, value);
codec 783 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PLL1CTL4 + offset, value);
codec 786 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PLL1CTL1 + offset, 0x0027 |
codec 788 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_CLOCK, reg | enable);
codec 867 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 868 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = codec->private_data;
codec 894 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 895 sound/soc/codecs/wm8753.c u16 voice = wm8753_read_reg_cache(codec, WM8753_PCM) & 0x01ec;
codec 917 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PCM, voice);
codec 929 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = socdev->codec;
codec 930 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = codec->private_data;
codec 931 sound/soc/codecs/wm8753.c u16 voice = wm8753_read_reg_cache(codec, WM8753_PCM) & 0x01f3;
codec 932 sound/soc/codecs/wm8753.c u16 srate = wm8753_read_reg_cache(codec, WM8753_SRATE1) & 0x017f;
codec 952 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_SRATE1, srate);
codec 954 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PCM, voice);
codec 964 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 967 sound/soc/codecs/wm8753.c voice = wm8753_read_reg_cache(codec, WM8753_PCM) & 0x011f;
codec 968 sound/soc/codecs/wm8753.c ioctl = wm8753_read_reg_cache(codec, WM8753_IOCTL) & 0x015d;
codec 1022 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PCM, voice);
codec 1023 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_IOCTL, ioctl);
codec 1030 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1035 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_CLOCK) & 0x003f;
codec 1036 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_CLOCK, reg | div);
codec 1039 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_SRATE2) & 0x01c7;
codec 1040 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_SRATE2, reg | div);
codec 1043 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_SRATE2) & 0x003f;
codec 1044 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_SRATE2, reg | div);
codec 1058 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1059 sound/soc/codecs/wm8753.c u16 hifi = wm8753_read_reg_cache(codec, WM8753_HIFI) & 0x01e0;
codec 1081 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_HIFI, hifi);
codec 1091 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1094 sound/soc/codecs/wm8753.c hifi = wm8753_read_reg_cache(codec, WM8753_HIFI) & 0x011f;
codec 1095 sound/soc/codecs/wm8753.c ioctl = wm8753_read_reg_cache(codec, WM8753_IOCTL) & 0x00ae;
codec 1149 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_HIFI, hifi);
codec 1150 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_IOCTL, ioctl);
codec 1162 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = socdev->codec;
codec 1163 sound/soc/codecs/wm8753.c struct wm8753_priv *wm8753 = codec->private_data;
codec 1164 sound/soc/codecs/wm8753.c u16 srate = wm8753_read_reg_cache(codec, WM8753_SRATE1) & 0x01c0;
codec 1165 sound/soc/codecs/wm8753.c u16 hifi = wm8753_read_reg_cache(codec, WM8753_HIFI) & 0x01f3;
codec 1174 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_SRATE1, srate | (coeff_div[coeff].sr << 1) |
codec 1192 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_HIFI, hifi);
codec 1199 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1203 sound/soc/codecs/wm8753.c clock = wm8753_read_reg_cache(codec, WM8753_CLOCK) & 0xfffb;
codec 1204 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_CLOCK, clock);
codec 1222 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1226 sound/soc/codecs/wm8753.c clock = wm8753_read_reg_cache(codec, WM8753_CLOCK) & 0xfffb;
codec 1227 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_CLOCK, clock);
codec 1237 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1241 sound/soc/codecs/wm8753.c clock = wm8753_read_reg_cache(codec, WM8753_CLOCK) & 0xfffb;
codec 1242 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_CLOCK, clock | 0x4);
codec 1253 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = dai->codec;
codec 1254 sound/soc/codecs/wm8753.c u16 mute_reg = wm8753_read_reg_cache(codec, WM8753_DAC) & 0xfff7;
codec 1261 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_DAC, mute_reg | 0x8);
codec 1264 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_DAC, mute_reg | 0x8);
codec 1266 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_DAC, mute_reg);
codec 1275 sound/soc/codecs/wm8753.c u16 pwr_reg = wm8753_read_reg_cache(codec, WM8753_PWR1) & 0xfe3e;
codec 1280 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PWR1, pwr_reg | 0x00c0);
codec 1284 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PWR1, pwr_reg | 0x01c1);
codec 1288 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PWR1, pwr_reg | 0x0141);
codec 1291 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_PWR1, 0x0001);
codec 1294 sound/soc/codecs/wm8753.c codec->bias_level = level;
codec 1490 sound/soc/codecs/wm8753.c wm8753_dai[0].codec = codec;
codec 1491 sound/soc/codecs/wm8753.c wm8753_dai[1].codec = codec;
codec 1496 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec =
codec 1498 sound/soc/codecs/wm8753.c wm8753_set_bias_level(codec, codec->bias_level);
codec 1504 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = socdev->codec;
codec 1507 sound/soc/codecs/wm8753.c if (!codec->card)
codec 1510 sound/soc/codecs/wm8753.c wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1517 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = socdev->codec;
codec 1520 sound/soc/codecs/wm8753.c u16 *cache = codec->reg_cache;
codec 1523 sound/soc/codecs/wm8753.c if (!codec->card)
codec 1532 sound/soc/codecs/wm8753.c codec->hw_write(codec->control_data, data, 2);
codec 1535 sound/soc/codecs/wm8753.c wm8753_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1538 sound/soc/codecs/wm8753.c if (codec->suspend_bias_level == SND_SOC_BIAS_ON) {
codec 1539 sound/soc/codecs/wm8753.c wm8753_set_bias_level(codec, SND_SOC_BIAS_PREPARE);
codec 1540 sound/soc/codecs/wm8753.c codec->bias_level = SND_SOC_BIAS_ON;
codec 1541 sound/soc/codecs/wm8753.c schedule_delayed_work(&codec->delayed_work,
codec 1554 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = socdev->codec;
codec 1557 sound/soc/codecs/wm8753.c codec->name = "WM8753";
codec 1558 sound/soc/codecs/wm8753.c codec->owner = THIS_MODULE;
codec 1559 sound/soc/codecs/wm8753.c codec->read = wm8753_read_reg_cache;
codec 1560 sound/soc/codecs/wm8753.c codec->write = wm8753_write;
codec 1561 sound/soc/codecs/wm8753.c codec->set_bias_level = wm8753_set_bias_level;
codec 1562 sound/soc/codecs/wm8753.c codec->dai = wm8753_dai;
codec 1563 sound/soc/codecs/wm8753.c codec->num_dai = 2;
codec 1564 sound/soc/codecs/wm8753.c codec->reg_cache_size = ARRAY_SIZE(wm8753_reg);
codec 1565 sound/soc/codecs/wm8753.c codec->reg_cache = kmemdup(wm8753_reg, sizeof(wm8753_reg), GFP_KERNEL);
codec 1567 sound/soc/codecs/wm8753.c if (codec->reg_cache == NULL)
codec 1570 sound/soc/codecs/wm8753.c wm8753_set_dai_mode(codec, 0);
codec 1572 sound/soc/codecs/wm8753.c wm8753_reset(codec);
codec 1582 sound/soc/codecs/wm8753.c wm8753_set_bias_level(codec, SND_SOC_BIAS_PREPARE);
codec 1583 sound/soc/codecs/wm8753.c codec->bias_level = SND_SOC_BIAS_STANDBY;
codec 1584 sound/soc/codecs/wm8753.c schedule_delayed_work(&codec->delayed_work,
codec 1588 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_LDAC);
codec 1589 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_LDAC, reg | 0x0100);
codec 1590 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_RDAC);
codec 1591 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_RDAC, reg | 0x0100);
codec 1592 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_LADC);
codec 1593 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_LADC, reg | 0x0100);
codec 1594 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_RADC);
codec 1595 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_RADC, reg | 0x0100);
codec 1596 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_LOUT1V);
codec 1597 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_LOUT1V, reg | 0x0100);
codec 1598 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_ROUT1V);
codec 1599 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_ROUT1V, reg | 0x0100);
codec 1600 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_LOUT2V);
codec 1601 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_LOUT2V, reg | 0x0100);
codec 1602 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_ROUT2V);
codec 1603 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_ROUT2V, reg | 0x0100);
codec 1604 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_LINVOL);
codec 1605 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_LINVOL, reg | 0x0100);
codec 1606 sound/soc/codecs/wm8753.c reg = wm8753_read_reg_cache(codec, WM8753_RINVOL);
codec 1607 sound/soc/codecs/wm8753.c wm8753_write(codec, WM8753_RINVOL, reg | 0x0100);
codec 1609 sound/soc/codecs/wm8753.c wm8753_add_controls(codec);
codec 1610 sound/soc/codecs/wm8753.c wm8753_add_widgets(codec);
codec 1623 sound/soc/codecs/wm8753.c kfree(codec->reg_cache);
codec 1644 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = socdev->codec;
codec 1647 sound/soc/codecs/wm8753.c i2c_set_clientdata(i2c, codec);
codec 1648 sound/soc/codecs/wm8753.c codec->control_data = i2c;
codec 1659 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 1660 sound/soc/codecs/wm8753.c kfree(codec->reg_cache);
codec 1725 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = socdev->codec;
codec 1728 sound/soc/codecs/wm8753.c codec->control_data = spi;
codec 1782 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec;
codec 1789 sound/soc/codecs/wm8753.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 1790 sound/soc/codecs/wm8753.c if (codec == NULL)
codec 1795 sound/soc/codecs/wm8753.c kfree(codec);
codec 1799 sound/soc/codecs/wm8753.c codec->private_data = wm8753;
codec 1800 sound/soc/codecs/wm8753.c socdev->codec = codec;
codec 1801 sound/soc/codecs/wm8753.c mutex_init(&codec->mutex);
codec 1802 sound/soc/codecs/wm8753.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 1803 sound/soc/codecs/wm8753.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 1805 sound/soc/codecs/wm8753.c INIT_DELAYED_WORK(&codec->delayed_work, wm8753_work);
codec 1809 sound/soc/codecs/wm8753.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 1815 sound/soc/codecs/wm8753.c codec->hw_write = (hw_write_t)wm8753_spi_write;
codec 1823 sound/soc/codecs/wm8753.c kfree(codec->private_data);
codec 1824 sound/soc/codecs/wm8753.c kfree(codec);
codec 1852 sound/soc/codecs/wm8753.c struct snd_soc_codec *codec = socdev->codec;
codec 1854 sound/soc/codecs/wm8753.c if (codec->control_data)
codec 1855 sound/soc/codecs/wm8753.c wm8753_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1856 sound/soc/codecs/wm8753.c run_delayed_work(&codec->delayed_work);
codec 1860 sound/soc/codecs/wm8753.c i2c_unregister_device(codec->control_data);
codec 1866 sound/soc/codecs/wm8753.c kfree(codec->private_data);
codec 1867 sound/soc/codecs/wm8753.c kfree(codec);
codec 187 sound/soc/codecs/wm8900.c u16 *cache = codec->reg_cache;
codec 203 sound/soc/codecs/wm8900.c u16 *cache = codec->reg_cache;
codec 218 sound/soc/codecs/wm8900.c if (value == wm8900_read_reg_cache(codec, reg))
codec 229 sound/soc/codecs/wm8900.c wm8900_write_reg_cache(codec, reg, value);
codec 230 sound/soc/codecs/wm8900.c if (codec->hw_write(codec->control_data, data, 3) == 3)
codec 244 sound/soc/codecs/wm8900.c struct i2c_client *client = codec->control_data;
codec 277 sound/soc/codecs/wm8900.c return wm8900_chip_read(codec, reg);
codec 279 sound/soc/codecs/wm8900.c return wm8900_read_reg_cache(codec, reg);
codec 285 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_RESET, 0);
codec 287 sound/soc/codecs/wm8900.c memcpy(codec->reg_cache, wm8900_reg_defaults,
codec 288 sound/soc/codecs/wm8900.c sizeof(codec->reg_cache));
codec 294 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = w->codec;
codec 295 sound/soc/codecs/wm8900.c u16 hpctl1 = wm8900_read(codec, WM8900_REG_HPCTL1);
codec 302 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, hpctl1);
codec 311 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, hpctl1);
codec 318 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, hpctl1);
codec 322 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, hpctl1);
codec 324 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, hpctl1);
codec 330 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, hpctl1);
codec 334 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, hpctl1);
codec 340 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, hpctl1);
codec 345 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, 0);
codec 522 sound/soc/codecs/wm8900.c err = snd_ctl_add(codec->card,
codec 524 sound/soc/codecs/wm8900.c codec, NULL));
codec 719 sound/soc/codecs/wm8900.c snd_soc_dapm_new_controls(codec, wm8900_dapm_widgets,
codec 722 sound/soc/codecs/wm8900.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 724 sound/soc/codecs/wm8900.c snd_soc_dapm_new_widgets(codec);
codec 734 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = socdev->codec;
codec 737 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_AUDIO1) & ~0x60;
codec 755 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_AUDIO1, reg);
codec 840 sound/soc/codecs/wm8900.c struct wm8900_priv *wm8900 = codec->private_data;
codec 848 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_POWER1);
codec 849 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1,
codec 854 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_CLOCKING1);
codec 855 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_CLOCKING1,
codec 858 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_FLLCTL1);
codec 859 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_FLLCTL1,
codec 876 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_FLLCTL1,
codec 879 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_FLLCTL4, fll_div.n >> 5);
codec 880 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_FLLCTL5,
codec 884 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_FLLCTL2,
codec 886 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_FLLCTL3, fll_div.k & 0xff);
codec 888 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_FLLCTL2, 0);
codec 891 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_FLLCTL6,
codec 894 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_FLLCTL6, 0);
codec 896 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_POWER1);
codec 897 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1,
codec 901 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_CLOCKING1);
codec 902 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_CLOCKING1,
codec 911 sound/soc/codecs/wm8900.c return wm8900_set_fll(codec_dai->codec, pll_id, freq_in, freq_out);
codec 917 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = codec_dai->codec;
codec 922 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_CLOCKING1);
codec 923 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_CLOCKING1,
codec 927 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_CLOCKING1);
codec 928 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_CLOCKING1,
codec 932 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_AUDIO4);
codec 933 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_AUDIO4,
codec 937 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_AUDIO3);
codec 938 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_AUDIO3,
codec 942 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_CLOCKING2);
codec 943 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_CLOCKING2,
codec 947 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_CLOCKING2);
codec 948 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_CLOCKING2,
codec 952 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_DACCTRL);
codec 953 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_DACCTRL,
codec 967 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = codec_dai->codec;
codec 970 sound/soc/codecs/wm8900.c clocking1 = wm8900_read(codec, WM8900_REG_CLOCKING1);
codec 971 sound/soc/codecs/wm8900.c aif1 = wm8900_read(codec, WM8900_REG_AUDIO1);
codec 972 sound/soc/codecs/wm8900.c aif3 = wm8900_read(codec, WM8900_REG_AUDIO3);
codec 973 sound/soc/codecs/wm8900.c aif4 = wm8900_read(codec, WM8900_REG_AUDIO4);
codec 1069 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_CLOCKING1, clocking1);
codec 1070 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_AUDIO1, aif1);
codec 1071 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_AUDIO3, aif3);
codec 1072 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_AUDIO4, aif4);
codec 1079 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1082 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_DACCTRL);
codec 1089 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_DACCTRL, reg);
codec 1138 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_GPIO);
codec 1139 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_GPIO,
codec 1141 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_ADDCTL);
codec 1142 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_ADDCTL,
codec 1151 sound/soc/codecs/wm8900.c if (codec->bias_level == SND_SOC_BIAS_OFF) {
codec 1153 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1,
codec 1157 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_ADDCTL,
codec 1162 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1,
codec 1169 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1,
codec 1173 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_ADDCTL, 0);
codec 1175 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1,
codec 1179 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_POWER1);
codec 1180 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1,
codec 1183 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER2,
codec 1185 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER3, 0);
codec 1190 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_POWER1);
codec 1191 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1,
codec 1193 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_ADDCTL,
codec 1198 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1,
codec 1203 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_HPCTL1, 0);
codec 1206 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_ADDCTL, 0);
codec 1207 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER1, 0);
codec 1208 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER2, 0);
codec 1209 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER3, 0);
codec 1215 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_POWER2,
codec 1219 sound/soc/codecs/wm8900.c codec->bias_level = level;
codec 1226 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = socdev->codec;
codec 1227 sound/soc/codecs/wm8900.c struct wm8900_priv *wm8900 = codec->private_data;
codec 1233 sound/soc/codecs/wm8900.c ret = wm8900_set_fll(codec, 0, 0, 0);
codec 1242 sound/soc/codecs/wm8900.c wm8900_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1250 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = socdev->codec;
codec 1251 sound/soc/codecs/wm8900.c struct wm8900_priv *wm8900 = codec->private_data;
codec 1255 sound/soc/codecs/wm8900.c cache = kmemdup(codec->reg_cache, sizeof(wm8900_reg_defaults),
codec 1258 sound/soc/codecs/wm8900.c wm8900_reset(codec);
codec 1259 sound/soc/codecs/wm8900.c wm8900_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1269 sound/soc/codecs/wm8900.c ret = wm8900_set_fll(codec, 0, fll_in, fll_out);
codec 1278 sound/soc/codecs/wm8900.c wm8900_write(codec, i, cache[i]);
codec 1292 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = socdev->codec;
codec 1295 sound/soc/codecs/wm8900.c struct i2c_client *i2c_client = socdev->codec->control_data;
codec 1297 sound/soc/codecs/wm8900.c codec->name = "WM8900";
codec 1298 sound/soc/codecs/wm8900.c codec->owner = THIS_MODULE;
codec 1299 sound/soc/codecs/wm8900.c codec->read = wm8900_read;
codec 1300 sound/soc/codecs/wm8900.c codec->write = wm8900_write;
codec 1301 sound/soc/codecs/wm8900.c codec->dai = &wm8900_dai;
codec 1302 sound/soc/codecs/wm8900.c codec->num_dai = 1;
codec 1303 sound/soc/codecs/wm8900.c codec->reg_cache_size = WM8900_MAXREG;
codec 1304 sound/soc/codecs/wm8900.c codec->reg_cache = kmemdup(wm8900_reg_defaults,
codec 1307 sound/soc/codecs/wm8900.c if (codec->reg_cache == NULL)
codec 1310 sound/soc/codecs/wm8900.c reg = wm8900_read(codec, WM8900_REG_ID);
codec 1317 sound/soc/codecs/wm8900.c codec->private_data = kzalloc(sizeof(struct wm8900_priv), GFP_KERNEL);
codec 1318 sound/soc/codecs/wm8900.c if (codec->private_data == NULL) {
codec 1324 sound/soc/codecs/wm8900.c reg = wm8900_chip_read(codec, WM8900_REG_POWER1);
codec 1328 sound/soc/codecs/wm8900.c wm8900_reset(codec);
codec 1331 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_LINVOL,
codec 1332 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_LINVOL) | 0x100);
codec 1333 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_RINVOL,
codec 1334 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_RINVOL) | 0x100);
codec 1335 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_LOUT1CTL,
codec 1336 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_LOUT1CTL) | 0x100);
codec 1337 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_ROUT1CTL,
codec 1338 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_ROUT1CTL) | 0x100);
codec 1339 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_LOUT2CTL,
codec 1340 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_LOUT2CTL) | 0x100);
codec 1341 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_ROUT2CTL,
codec 1342 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_ROUT2CTL) | 0x100);
codec 1343 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_LDAC_DV,
codec 1344 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_LDAC_DV) | 0x100);
codec 1345 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_RDAC_DV,
codec 1346 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_RDAC_DV) | 0x100);
codec 1347 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_LADC_DV,
codec 1348 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_LADC_DV) | 0x100);
codec 1349 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_RADC_DV,
codec 1350 sound/soc/codecs/wm8900.c wm8900_read(codec, WM8900_REG_RADC_DV) | 0x100);
codec 1353 sound/soc/codecs/wm8900.c wm8900_write(codec, WM8900_REG_OUTBIASCTL, 0x81);
codec 1363 sound/soc/codecs/wm8900.c codec->bias_level = SND_SOC_BIAS_OFF;
codec 1364 sound/soc/codecs/wm8900.c wm8900_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1366 sound/soc/codecs/wm8900.c wm8900_add_controls(codec);
codec 1367 sound/soc/codecs/wm8900.c wm8900_add_widgets(codec);
codec 1380 sound/soc/codecs/wm8900.c kfree(codec->reg_cache);
codec 1382 sound/soc/codecs/wm8900.c kfree(codec->private_data);
codec 1404 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = socdev->codec;
codec 1418 sound/soc/codecs/wm8900.c kfree(codec);
codec 1421 sound/soc/codecs/wm8900.c i2c_set_clientdata(i2c, codec);
codec 1422 sound/soc/codecs/wm8900.c codec->control_data = i2c;
codec 1439 sound/soc/codecs/wm8900.c kfree(codec);
codec 1446 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 1448 sound/soc/codecs/wm8900.c kfree(codec->reg_cache);
codec 1479 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec;
codec 1485 sound/soc/codecs/wm8900.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 1486 sound/soc/codecs/wm8900.c if (codec == NULL)
codec 1489 sound/soc/codecs/wm8900.c mutex_init(&codec->mutex);
codec 1490 sound/soc/codecs/wm8900.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 1491 sound/soc/codecs/wm8900.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 1493 sound/soc/codecs/wm8900.c socdev->codec = codec;
codec 1495 sound/soc/codecs/wm8900.c codec->set_bias_level = wm8900_set_bias_level;
codec 1501 sound/soc/codecs/wm8900.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 1516 sound/soc/codecs/wm8900.c struct snd_soc_codec *codec = socdev->codec;
codec 1518 sound/soc/codecs/wm8900.c if (codec->control_data)
codec 1519 sound/soc/codecs/wm8900.c wm8900_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1526 sound/soc/codecs/wm8900.c kfree(codec);
codec 229 sound/soc/codecs/wm8903.c u16 *cache = codec->reg_cache;
codec 241 sound/soc/codecs/wm8903.c struct i2c_client *client = codec->control_data;
codec 272 sound/soc/codecs/wm8903.c return wm8903_hw_read(codec, reg);
codec 275 sound/soc/codecs/wm8903.c return wm8903_read_reg_cache(codec, reg);
codec 282 sound/soc/codecs/wm8903.c u16 *cache = codec->reg_cache;
codec 302 sound/soc/codecs/wm8903.c wm8903_write_reg_cache(codec, reg, value);
codec 309 sound/soc/codecs/wm8903.c if (codec->hw_write(codec->control_data, data, 3) == 2)
codec 318 sound/soc/codecs/wm8903.c struct i2c_client *i2c = codec->control_data;
codec 323 sound/soc/codecs/wm8903.c reg[0] = wm8903_read(codec, WM8903_WRITE_SEQUENCER_0);
codec 325 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_WRITE_SEQUENCER_0, reg[0]);
codec 329 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_WRITE_SEQUENCER_3,
codec 339 sound/soc/codecs/wm8903.c reg[4] = wm8903_read(codec, WM8903_WRITE_SEQUENCER_4);
codec 345 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_WRITE_SEQUENCER_0,
codec 357 sound/soc/codecs/wm8903.c cache[i] = wm8903_hw_read(codec, i);
codec 362 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_SW_RESET_AND_ID, 0);
codec 378 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = w->codec;
codec 379 sound/soc/codecs/wm8903.c struct wm8903_priv *wm8903 = codec->private_data;
codec 380 sound/soc/codecs/wm8903.c struct i2c_client *i2c = codec->control_data;
codec 384 sound/soc/codecs/wm8903.c u16 cp_reg = wm8903_read(codec, WM8903_CHARGE_PUMP_0);
codec 409 sound/soc/codecs/wm8903.c val = wm8903_read(codec, reg);
codec 413 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val);
codec 422 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CHARGE_PUMP_0,
codec 429 sound/soc/codecs/wm8903.c val = wm8903_read(codec, reg);
codec 432 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val);
codec 435 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val);
codec 439 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val);
codec 443 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val);
codec 447 sound/soc/codecs/wm8903.c val = wm8903_read(codec, reg);
codec 451 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val);
codec 456 sound/soc/codecs/wm8903.c wm8903_write(codec, reg, val);
codec 467 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CHARGE_PUMP_0,
codec 487 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = widget->codec;
codec 488 sound/soc/codecs/wm8903.c struct wm8903_priv *wm8903 = codec->private_data;
codec 489 sound/soc/codecs/wm8903.c struct i2c_client *i2c = codec->control_data;
codec 493 sound/soc/codecs/wm8903.c reg = wm8903_read(codec, WM8903_CLASS_W_0);
codec 499 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CLASS_W_0, reg &
codec 512 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CLASS_W_0, reg |
codec 744 sound/soc/codecs/wm8903.c err = snd_ctl_add(codec->card,
codec 746 sound/soc/codecs/wm8903.c codec, NULL));
codec 965 sound/soc/codecs/wm8903.c snd_soc_dapm_new_controls(codec, wm8903_dapm_widgets,
codec 968 sound/soc/codecs/wm8903.c snd_soc_dapm_add_routes(codec, intercon, ARRAY_SIZE(intercon));
codec 970 sound/soc/codecs/wm8903.c snd_soc_dapm_new_widgets(codec);
codec 978 sound/soc/codecs/wm8903.c struct i2c_client *i2c = codec->control_data;
codec 984 sound/soc/codecs/wm8903.c reg = wm8903_read(codec, WM8903_VMID_CONTROL_0);
codec 987 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_VMID_CONTROL_0, reg);
codec 991 sound/soc/codecs/wm8903.c if (codec->bias_level == SND_SOC_BIAS_OFF) {
codec 992 sound/soc/codecs/wm8903.c wm8903_run_sequence(codec, 0);
codec 993 sound/soc/codecs/wm8903.c wm8903_sync_reg_cache(codec, codec->reg_cache);
codec 996 sound/soc/codecs/wm8903.c reg = wm8903_read(codec,
codec 998 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CONTROL_INTERFACE_TEST_1,
codec 1000 sound/soc/codecs/wm8903.c reg2 = wm8903_read(codec, WM8903_CHARGE_PUMP_TEST_1);
codec 1001 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CHARGE_PUMP_TEST_1,
codec 1003 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CONTROL_INTERFACE_TEST_1,
codec 1010 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CLASS_W_0, reg |
codec 1014 sound/soc/codecs/wm8903.c reg = wm8903_read(codec, WM8903_VMID_CONTROL_0);
codec 1017 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_VMID_CONTROL_0, reg);
codec 1021 sound/soc/codecs/wm8903.c wm8903_run_sequence(codec, 32);
codec 1025 sound/soc/codecs/wm8903.c codec->bias_level = level;
codec 1033 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1034 sound/soc/codecs/wm8903.c struct wm8903_priv *wm8903 = codec->private_data;
codec 1044 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1045 sound/soc/codecs/wm8903.c u16 aif1 = wm8903_read(codec, WM8903_AUDIO_INTERFACE_1);
codec 1123 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_AUDIO_INTERFACE_1, aif1);
codec 1130 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1133 sound/soc/codecs/wm8903.c reg = wm8903_read(codec, WM8903_DAC_DIGITAL_1);
codec 1140 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_DAC_DIGITAL_1, reg);
codec 1264 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = socdev->codec;
codec 1265 sound/soc/codecs/wm8903.c struct wm8903_priv *wm8903 = codec->private_data;
codec 1266 sound/soc/codecs/wm8903.c struct i2c_client *i2c = codec->control_data;
codec 1305 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = socdev->codec;
codec 1306 sound/soc/codecs/wm8903.c struct wm8903_priv *wm8903 = codec->private_data;
codec 1324 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = socdev->codec;
codec 1325 sound/soc/codecs/wm8903.c struct wm8903_priv *wm8903 = codec->private_data;
codec 1326 sound/soc/codecs/wm8903.c struct i2c_client *i2c = codec->control_data;
codec 1337 sound/soc/codecs/wm8903.c u16 aif1 = wm8903_read(codec, WM8903_AUDIO_INTERFACE_1);
codec 1338 sound/soc/codecs/wm8903.c u16 aif2 = wm8903_read(codec, WM8903_AUDIO_INTERFACE_2);
codec 1339 sound/soc/codecs/wm8903.c u16 aif3 = wm8903_read(codec, WM8903_AUDIO_INTERFACE_3);
codec 1340 sound/soc/codecs/wm8903.c u16 clock0 = wm8903_read(codec, WM8903_CLOCK_RATES_0);
codec 1341 sound/soc/codecs/wm8903.c u16 clock1 = wm8903_read(codec, WM8903_CLOCK_RATES_1);
codec 1467 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CLOCK_RATES_0, clock0);
codec 1468 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CLOCK_RATES_1, clock1);
codec 1469 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_AUDIO_INTERFACE_1, aif1);
codec 1470 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_AUDIO_INTERFACE_2, aif2);
codec 1471 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_AUDIO_INTERFACE_3, aif3);
codec 1530 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = socdev->codec;
codec 1532 sound/soc/codecs/wm8903.c wm8903_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1540 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = socdev->codec;
codec 1541 sound/soc/codecs/wm8903.c struct i2c_client *i2c = codec->control_data;
codec 1543 sound/soc/codecs/wm8903.c u16 *reg_cache = codec->reg_cache;
codec 1544 sound/soc/codecs/wm8903.c u16 *tmp_cache = kmemdup(codec->reg_cache, sizeof(wm8903_reg_defaults),
codec 1548 sound/soc/codecs/wm8903.c wm8903_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1549 sound/soc/codecs/wm8903.c wm8903_set_bias_level(codec, codec->suspend_bias_level);
codec 1555 sound/soc/codecs/wm8903.c wm8903_write(codec, i, tmp_cache[i]);
codec 1569 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = socdev->codec;
codec 1570 sound/soc/codecs/wm8903.c struct i2c_client *i2c = codec->control_data;
codec 1574 sound/soc/codecs/wm8903.c val = wm8903_hw_read(codec, WM8903_SW_RESET_AND_ID);
codec 1581 sound/soc/codecs/wm8903.c codec->name = "WM8903";
codec 1582 sound/soc/codecs/wm8903.c codec->owner = THIS_MODULE;
codec 1583 sound/soc/codecs/wm8903.c codec->read = wm8903_read;
codec 1584 sound/soc/codecs/wm8903.c codec->write = wm8903_write;
codec 1585 sound/soc/codecs/wm8903.c codec->bias_level = SND_SOC_BIAS_OFF;
codec 1586 sound/soc/codecs/wm8903.c codec->set_bias_level = wm8903_set_bias_level;
codec 1587 sound/soc/codecs/wm8903.c codec->dai = &wm8903_dai;
codec 1588 sound/soc/codecs/wm8903.c codec->num_dai = 1;
codec 1589 sound/soc/codecs/wm8903.c codec->reg_cache_size = ARRAY_SIZE(wm8903_reg_defaults);
codec 1590 sound/soc/codecs/wm8903.c codec->reg_cache = kmemdup(wm8903_reg_defaults,
codec 1593 sound/soc/codecs/wm8903.c if (codec->reg_cache == NULL) {
codec 1598 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_REVISION_NUMBER);
codec 1602 sound/soc/codecs/wm8903.c wm8903_reset(codec);
codec 1612 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_CLOCK_RATES_2, WM8903_CLK_SYS_ENA);
codec 1615 sound/soc/codecs/wm8903.c wm8903_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1618 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_ADC_DIGITAL_VOLUME_LEFT);
codec 1620 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ADC_DIGITAL_VOLUME_LEFT, val);
codec 1621 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ADC_DIGITAL_VOLUME_RIGHT, val);
codec 1623 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_DAC_DIGITAL_VOLUME_LEFT);
codec 1625 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_DAC_DIGITAL_VOLUME_LEFT, val);
codec 1626 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_DAC_DIGITAL_VOLUME_RIGHT, val);
codec 1628 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_ANALOGUE_OUT1_LEFT);
codec 1630 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT1_LEFT, val);
codec 1631 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT1_RIGHT, val);
codec 1633 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_ANALOGUE_OUT2_LEFT);
codec 1635 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT2_LEFT, val);
codec 1636 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT2_RIGHT, val);
codec 1638 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_ANALOGUE_OUT3_LEFT);
codec 1640 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT3_LEFT, val);
codec 1641 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_ANALOGUE_OUT3_RIGHT, val);
codec 1644 sound/soc/codecs/wm8903.c val = wm8903_read(codec, WM8903_DAC_DIGITAL_1);
codec 1646 sound/soc/codecs/wm8903.c wm8903_write(codec, WM8903_DAC_DIGITAL_1, val);
codec 1648 sound/soc/codecs/wm8903.c wm8903_add_controls(codec);
codec 1649 sound/soc/codecs/wm8903.c wm8903_add_widgets(codec);
codec 1662 sound/soc/codecs/wm8903.c kfree(codec->reg_cache);
codec 1672 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = socdev->codec;
codec 1675 sound/soc/codecs/wm8903.c i2c_set_clientdata(i2c, codec);
codec 1676 sound/soc/codecs/wm8903.c codec->control_data = i2c;
codec 1687 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 1688 sound/soc/codecs/wm8903.c kfree(codec->reg_cache);
codec 1713 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec;
codec 1727 sound/soc/codecs/wm8903.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 1728 sound/soc/codecs/wm8903.c if (codec == NULL)
codec 1737 sound/soc/codecs/wm8903.c codec->private_data = wm8903;
codec 1738 sound/soc/codecs/wm8903.c socdev->codec = codec;
codec 1739 sound/soc/codecs/wm8903.c mutex_init(&codec->mutex);
codec 1740 sound/soc/codecs/wm8903.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 1741 sound/soc/codecs/wm8903.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 1745 sound/soc/codecs/wm8903.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 1778 sound/soc/codecs/wm8903.c kfree(codec->private_data);
codec 1780 sound/soc/codecs/wm8903.c kfree(codec);
codec 1788 sound/soc/codecs/wm8903.c struct snd_soc_codec *codec = socdev->codec;
codec 1790 sound/soc/codecs/wm8903.c if (codec->control_data)
codec 1791 sound/soc/codecs/wm8903.c wm8903_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1795 sound/soc/codecs/wm8903.c i2c_unregister_device(socdev->codec->control_data);
codec 1797 sound/soc/codecs/wm8903.c kfree(codec->private_data);
codec 1798 sound/soc/codecs/wm8903.c kfree(codec);
codec 65 sound/soc/codecs/wm8971.c u16 *cache = codec->reg_cache;
codec 75 sound/soc/codecs/wm8971.c u16 *cache = codec->reg_cache;
codec 92 sound/soc/codecs/wm8971.c wm8971_write_reg_cache (codec, reg, value);
codec 93 sound/soc/codecs/wm8971.c if (codec->hw_write(codec->control_data, data, 2) == 2)
codec 204 sound/soc/codecs/wm8971.c err = snd_ctl_add(codec->card,
codec 206 sound/soc/codecs/wm8971.c codec, NULL));
codec 388 sound/soc/codecs/wm8971.c snd_soc_dapm_new_controls(codec, wm8971_dapm_widgets,
codec 391 sound/soc/codecs/wm8971.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 393 sound/soc/codecs/wm8971.c snd_soc_dapm_new_widgets(codec);
codec 470 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = codec_dai->codec;
codec 471 sound/soc/codecs/wm8971.c struct wm8971_priv *wm8971 = codec->private_data;
codec 488 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = codec_dai->codec;
codec 539 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_IFACE, iface);
codec 548 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = socdev->codec;
codec 549 sound/soc/codecs/wm8971.c struct wm8971_priv *wm8971 = codec->private_data;
codec 550 sound/soc/codecs/wm8971.c u16 iface = wm8971_read_reg_cache(codec, WM8971_IFACE) & 0x1f3;
codec 551 sound/soc/codecs/wm8971.c u16 srate = wm8971_read_reg_cache(codec, WM8971_SRATE) & 0x1c0;
codec 570 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_IFACE, iface);
codec 572 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_SRATE, srate |
codec 580 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = dai->codec;
codec 581 sound/soc/codecs/wm8971.c u16 mute_reg = wm8971_read_reg_cache(codec, WM8971_ADCDAC) & 0xfff7;
codec 584 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_ADCDAC, mute_reg | 0x8);
codec 586 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_ADCDAC, mute_reg);
codec 593 sound/soc/codecs/wm8971.c u16 pwr_reg = wm8971_read_reg_cache(codec, WM8971_PWR1) & 0xfe3e;
codec 598 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_PWR1, pwr_reg | 0x00c1);
codec 604 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_PWR1, pwr_reg | 0x0140);
codec 607 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_PWR1, 0x0001);
codec 610 sound/soc/codecs/wm8971.c codec->bias_level = level;
codec 648 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec =
codec 650 sound/soc/codecs/wm8971.c wm8971_set_bias_level(codec, codec->bias_level);
codec 656 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = socdev->codec;
codec 658 sound/soc/codecs/wm8971.c wm8971_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 665 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = socdev->codec;
codec 668 sound/soc/codecs/wm8971.c u16 *cache = codec->reg_cache;
codec 677 sound/soc/codecs/wm8971.c codec->hw_write(codec->control_data, data, 2);
codec 680 sound/soc/codecs/wm8971.c wm8971_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 683 sound/soc/codecs/wm8971.c if (codec->suspend_bias_level == SND_SOC_BIAS_ON) {
codec 684 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_PWR1) & 0xfe3e;
codec 685 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_PWR1, reg | 0x01c0);
codec 686 sound/soc/codecs/wm8971.c codec->bias_level = SND_SOC_BIAS_ON;
codec 687 sound/soc/codecs/wm8971.c queue_delayed_work(wm8971_workq, &codec->delayed_work,
codec 696 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = socdev->codec;
codec 699 sound/soc/codecs/wm8971.c codec->name = "WM8971";
codec 700 sound/soc/codecs/wm8971.c codec->owner = THIS_MODULE;
codec 701 sound/soc/codecs/wm8971.c codec->read = wm8971_read_reg_cache;
codec 702 sound/soc/codecs/wm8971.c codec->write = wm8971_write;
codec 703 sound/soc/codecs/wm8971.c codec->set_bias_level = wm8971_set_bias_level;
codec 704 sound/soc/codecs/wm8971.c codec->dai = &wm8971_dai;
codec 705 sound/soc/codecs/wm8971.c codec->reg_cache_size = ARRAY_SIZE(wm8971_reg);
codec 706 sound/soc/codecs/wm8971.c codec->num_dai = 1;
codec 707 sound/soc/codecs/wm8971.c codec->reg_cache = kmemdup(wm8971_reg, sizeof(wm8971_reg), GFP_KERNEL);
codec 709 sound/soc/codecs/wm8971.c if (codec->reg_cache == NULL)
codec 712 sound/soc/codecs/wm8971.c wm8971_reset(codec);
codec 722 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_PWR1) & 0xfe3e;
codec 723 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_PWR1, reg | 0x01c0);
codec 724 sound/soc/codecs/wm8971.c codec->bias_level = SND_SOC_BIAS_STANDBY;
codec 725 sound/soc/codecs/wm8971.c queue_delayed_work(wm8971_workq, &codec->delayed_work,
codec 729 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_LDAC);
codec 730 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_LDAC, reg | 0x0100);
codec 731 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_RDAC);
codec 732 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_RDAC, reg | 0x0100);
codec 734 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_LOUT1V);
codec 735 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_LOUT1V, reg | 0x0100);
codec 736 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_ROUT1V);
codec 737 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_ROUT1V, reg | 0x0100);
codec 739 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_LOUT2V);
codec 740 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_LOUT2V, reg | 0x0100);
codec 741 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_ROUT2V);
codec 742 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_ROUT2V, reg | 0x0100);
codec 744 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_LINVOL);
codec 745 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_LINVOL, reg | 0x0100);
codec 746 sound/soc/codecs/wm8971.c reg = wm8971_read_reg_cache(codec, WM8971_RINVOL);
codec 747 sound/soc/codecs/wm8971.c wm8971_write(codec, WM8971_RINVOL, reg | 0x0100);
codec 749 sound/soc/codecs/wm8971.c wm8971_add_controls(codec);
codec 750 sound/soc/codecs/wm8971.c wm8971_add_widgets(codec);
codec 762 sound/soc/codecs/wm8971.c kfree(codec->reg_cache);
codec 776 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = socdev->codec;
codec 779 sound/soc/codecs/wm8971.c i2c_set_clientdata(i2c, codec);
codec 781 sound/soc/codecs/wm8971.c codec->control_data = i2c;
codec 792 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 793 sound/soc/codecs/wm8971.c kfree(codec->reg_cache);
codec 859 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec;
codec 866 sound/soc/codecs/wm8971.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 867 sound/soc/codecs/wm8971.c if (codec == NULL)
codec 872 sound/soc/codecs/wm8971.c kfree(codec);
codec 876 sound/soc/codecs/wm8971.c codec->private_data = wm8971;
codec 877 sound/soc/codecs/wm8971.c socdev->codec = codec;
codec 878 sound/soc/codecs/wm8971.c mutex_init(&codec->mutex);
codec 879 sound/soc/codecs/wm8971.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 880 sound/soc/codecs/wm8971.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 883 sound/soc/codecs/wm8971.c INIT_DELAYED_WORK(&codec->delayed_work, wm8971_work);
codec 886 sound/soc/codecs/wm8971.c kfree(codec->private_data);
codec 887 sound/soc/codecs/wm8971.c kfree(codec);
codec 893 sound/soc/codecs/wm8971.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 901 sound/soc/codecs/wm8971.c kfree(codec->private_data);
codec 902 sound/soc/codecs/wm8971.c kfree(codec);
codec 912 sound/soc/codecs/wm8971.c struct snd_soc_codec *codec = socdev->codec;
codec 914 sound/soc/codecs/wm8971.c if (codec->control_data)
codec 915 sound/soc/codecs/wm8971.c wm8971_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 921 sound/soc/codecs/wm8971.c i2c_unregister_device(codec->control_data);
codec 924 sound/soc/codecs/wm8971.c kfree(codec->private_data);
codec 925 sound/soc/codecs/wm8971.c kfree(codec);
codec 117 sound/soc/codecs/wm8990.c u16 *cache = codec->reg_cache;
codec 128 sound/soc/codecs/wm8990.c u16 *cache = codec->reg_cache;
codec 150 sound/soc/codecs/wm8990.c wm8990_write_reg_cache(codec, reg, value);
codec 152 sound/soc/codecs/wm8990.c if (codec->hw_write(codec->control_data, data, 3) == 2)
codec 179 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 189 sound/soc/codecs/wm8990.c val = wm8990_read_reg_cache(codec, reg);
codec 190 sound/soc/codecs/wm8990.c return wm8990_write(codec, reg, val | 0x0100);
codec 426 sound/soc/codecs/wm8990.c err = snd_ctl_add(codec->card,
codec 427 sound/soc/codecs/wm8990.c snd_soc_cnew(&wm8990_snd_controls[i], codec,
codec 444 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_POWER_MANAGEMENT_2);
codec 445 sound/soc/codecs/wm8990.c fakepower = wm8990_read_reg_cache(w->codec, WM8990_INTDRIVBITS);
codec 460 sound/soc/codecs/wm8990.c wm8990_write(w->codec, WM8990_POWER_MANAGEMENT_2, reg);
codec 474 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_OUTPUT_MIXER1);
codec 482 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_OUTPUT_MIXER2);
codec 490 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_SPEAKER_MIXER);
codec 498 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(w->codec, WM8990_SPEAKER_MIXER);
codec 977 sound/soc/codecs/wm8990.c snd_soc_dapm_new_controls(codec, wm8990_dapm_widgets,
codec 981 sound/soc/codecs/wm8990.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 983 sound/soc/codecs/wm8990.c snd_soc_dapm_new_widgets(codec);
codec 1039 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1046 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_POWER_MANAGEMENT_2);
codec 1048 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_2, reg);
codec 1051 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_CLOCKING_2);
codec 1052 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_CLOCKING_2, reg | WM8990_SYSCLK_SRC);
codec 1055 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_PLL1, pll_div.n | WM8990_SDM |
codec 1057 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_PLL2, (u8)(pll_div.k>>8));
codec 1058 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_PLL3, (u8)(pll_div.k & 0xFF));
codec 1061 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_POWER_MANAGEMENT_2);
codec 1063 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_2, reg);
codec 1074 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1075 sound/soc/codecs/wm8990.c struct wm8990_priv *wm8990 = codec->private_data;
codec 1087 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1090 sound/soc/codecs/wm8990.c audio1 = wm8990_read_reg_cache(codec, WM8990_AUDIO_INTERFACE_1);
codec 1091 sound/soc/codecs/wm8990.c audio3 = wm8990_read_reg_cache(codec, WM8990_AUDIO_INTERFACE_3);
codec 1132 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_AUDIO_INTERFACE_1, audio1);
codec 1133 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_AUDIO_INTERFACE_3, audio3);
codec 1140 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = codec_dai->codec;
codec 1145 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_CLOCKING_2) &
codec 1147 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_CLOCKING_2, reg | div);
codec 1150 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_CLOCKING_2) &
codec 1152 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_CLOCKING_2, reg | div);
codec 1155 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_CLOCKING_2) &
codec 1157 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_CLOCKING_2, reg | div);
codec 1160 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_CLOCKING_1) &
codec 1162 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_CLOCKING_1, reg | div);
codec 1179 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = socdev->codec;
codec 1180 sound/soc/codecs/wm8990.c u16 audio1 = wm8990_read_reg_cache(codec, WM8990_AUDIO_INTERFACE_1);
codec 1198 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_AUDIO_INTERFACE_1, audio1);
codec 1204 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = dai->codec;
codec 1207 sound/soc/codecs/wm8990.c val = wm8990_read_reg_cache(codec, WM8990_DAC_CTRL) & ~WM8990_DAC_MUTE;
codec 1210 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_DAC_CTRL, val | WM8990_DAC_MUTE);
codec 1212 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_DAC_CTRL, val);
codec 1228 sound/soc/codecs/wm8990.c if (codec->bias_level == SND_SOC_BIAS_OFF) {
codec 1230 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP1, WM8990_DIS_LLINE |
codec 1236 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP2, WM8990_SOFTST |
codec 1244 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP2, WM8990_SOFTST |
codec 1248 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP1, 0);
codec 1251 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_1, 0x1b00);
codec 1256 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_1, 0x1f02);
codec 1261 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_1, 0x1f03);
codec 1266 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP2, WM8990_SOFTST |
codec 1271 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_1, 0x3);
codec 1274 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP2, WM8990_BUFIOEN);
codec 1283 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP2, WM8990_SOFTST |
codec 1287 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP2, WM8990_SOFTST |
codec 1292 sound/soc/codecs/wm8990.c val = wm8990_read_reg_cache(codec, WM8990_DAC_CTRL);
codec 1293 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_DAC_CTRL, val | WM8990_DAC_MUTE);
codec 1296 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_1, 0x1f03);
codec 1299 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_1, 0x1f01);
codec 1304 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP1, WM8990_DIS_LLINE |
codec 1310 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_1, 0x0);
codec 1313 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_ANTIPOP2, 0x0);
codec 1317 sound/soc/codecs/wm8990.c codec->bias_level = level;
codec 1366 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = socdev->codec;
codec 1369 sound/soc/codecs/wm8990.c if (!codec->card)
codec 1372 sound/soc/codecs/wm8990.c wm8990_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1379 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = socdev->codec;
codec 1382 sound/soc/codecs/wm8990.c u16 *cache = codec->reg_cache;
codec 1385 sound/soc/codecs/wm8990.c if (!codec->card)
codec 1394 sound/soc/codecs/wm8990.c codec->hw_write(codec->control_data, data, 2);
codec 1397 sound/soc/codecs/wm8990.c wm8990_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1407 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = socdev->codec;
codec 1411 sound/soc/codecs/wm8990.c codec->name = "WM8990";
codec 1412 sound/soc/codecs/wm8990.c codec->owner = THIS_MODULE;
codec 1413 sound/soc/codecs/wm8990.c codec->read = wm8990_read_reg_cache;
codec 1414 sound/soc/codecs/wm8990.c codec->write = wm8990_write;
codec 1415 sound/soc/codecs/wm8990.c codec->set_bias_level = wm8990_set_bias_level;
codec 1416 sound/soc/codecs/wm8990.c codec->dai = &wm8990_dai;
codec 1417 sound/soc/codecs/wm8990.c codec->num_dai = 2;
codec 1418 sound/soc/codecs/wm8990.c codec->reg_cache_size = ARRAY_SIZE(wm8990_reg);
codec 1419 sound/soc/codecs/wm8990.c codec->reg_cache = kmemdup(wm8990_reg, sizeof(wm8990_reg), GFP_KERNEL);
codec 1421 sound/soc/codecs/wm8990.c if (codec->reg_cache == NULL)
codec 1424 sound/soc/codecs/wm8990.c wm8990_reset(codec);
codec 1434 sound/soc/codecs/wm8990.c codec->bias_level = SND_SOC_BIAS_OFF;
codec 1435 sound/soc/codecs/wm8990.c wm8990_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1437 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_AUDIO_INTERFACE_4);
codec 1438 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_AUDIO_INTERFACE_4, reg | WM8990_ALRCGPIO1);
codec 1440 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_GPIO1_GPIO2) &
codec 1442 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_GPIO1_GPIO2, reg | 1);
codec 1444 sound/soc/codecs/wm8990.c reg = wm8990_read_reg_cache(codec, WM8990_POWER_MANAGEMENT_2);
codec 1445 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_POWER_MANAGEMENT_2, reg | WM8990_OPCLK_ENA);
codec 1447 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_LEFT_OUTPUT_VOLUME, 0x50 | (1<<8));
codec 1448 sound/soc/codecs/wm8990.c wm8990_write(codec, WM8990_RIGHT_OUTPUT_VOLUME, 0x50 | (1<<8));
codec 1450 sound/soc/codecs/wm8990.c wm8990_add_controls(codec);
codec 1451 sound/soc/codecs/wm8990.c wm8990_add_widgets(codec);
codec 1463 sound/soc/codecs/wm8990.c kfree(codec->reg_cache);
codec 1484 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = socdev->codec;
codec 1487 sound/soc/codecs/wm8990.c i2c_set_clientdata(i2c, codec);
codec 1488 sound/soc/codecs/wm8990.c codec->control_data = i2c;
codec 1499 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = i2c_get_clientdata(client);
codec 1500 sound/soc/codecs/wm8990.c kfree(codec->reg_cache);
codec 1565 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec;
codec 1572 sound/soc/codecs/wm8990.c codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 1573 sound/soc/codecs/wm8990.c if (codec == NULL)
codec 1578 sound/soc/codecs/wm8990.c kfree(codec);
codec 1582 sound/soc/codecs/wm8990.c codec->private_data = wm8990;
codec 1583 sound/soc/codecs/wm8990.c socdev->codec = codec;
codec 1584 sound/soc/codecs/wm8990.c mutex_init(&codec->mutex);
codec 1585 sound/soc/codecs/wm8990.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 1586 sound/soc/codecs/wm8990.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 1593 sound/soc/codecs/wm8990.c codec->hw_write = (hw_write_t)i2c_master_send;
codec 1599 sound/soc/codecs/wm8990.c kfree(codec->private_data);
codec 1600 sound/soc/codecs/wm8990.c kfree(codec);
codec 1609 sound/soc/codecs/wm8990.c struct snd_soc_codec *codec = socdev->codec;
codec 1611 sound/soc/codecs/wm8990.c if (codec->control_data)
codec 1612 sound/soc/codecs/wm8990.c wm8990_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 1616 sound/soc/codecs/wm8990.c i2c_unregister_device(codec->control_data);
codec 1619 sound/soc/codecs/wm8990.c kfree(codec->private_data);
codec 1620 sound/soc/codecs/wm8990.c kfree(codec);
codec 163 sound/soc/codecs/wm9712.c err = snd_ctl_add(codec->card,
codec 165 sound/soc/codecs/wm9712.c codec, NULL));
codec 181 sound/soc/codecs/wm9712.c l = ac97_read(w->codec, HPL_MIXER);
codec 182 sound/soc/codecs/wm9712.c r = ac97_read(w->codec, HPR_MIXER);
codec 183 sound/soc/codecs/wm9712.c beep = ac97_read(w->codec, AC97_PC_BEEP);
codec 184 sound/soc/codecs/wm9712.c mic = ac97_read(w->codec, AC97_VIDEO);
codec 185 sound/soc/codecs/wm9712.c phone = ac97_read(w->codec, AC97_PHONE);
codec 186 sound/soc/codecs/wm9712.c line = ac97_read(w->codec, AC97_LINE);
codec 187 sound/soc/codecs/wm9712.c pcm = ac97_read(w->codec, AC97_PCM);
codec 188 sound/soc/codecs/wm9712.c aux = ac97_read(w->codec, AC97_CD);
codec 191 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_VIDEO, mic & 0x7fff);
codec 193 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_VIDEO, mic | 0x8000);
codec 196 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PCM, pcm & 0x7fff);
codec 198 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PCM, pcm | 0x8000);
codec 201 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_LINE, line & 0x7fff);
codec 203 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_LINE, line | 0x8000);
codec 206 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PHONE, phone & 0x7fff);
codec 208 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PHONE, phone | 0x8000);
codec 211 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_CD, aux & 0x7fff);
codec 213 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_CD, aux | 0x8000);
codec 216 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PC_BEEP, beep & 0x7fff);
codec 218 sound/soc/codecs/wm9712.c ac97_write(w->codec, AC97_PC_BEEP, beep | 0x8000);
codec 449 sound/soc/codecs/wm9712.c snd_soc_dapm_new_controls(codec, wm9712_dapm_widgets,
codec 452 sound/soc/codecs/wm9712.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 454 sound/soc/codecs/wm9712.c snd_soc_dapm_new_widgets(codec);
codec 461 sound/soc/codecs/wm9712.c u16 *cache = codec->reg_cache;
codec 466 sound/soc/codecs/wm9712.c return soc_ac97_ops.read(codec->ac97, reg);
codec 480 sound/soc/codecs/wm9712.c u16 *cache = codec->reg_cache;
codec 482 sound/soc/codecs/wm9712.c soc_ac97_ops.write(codec->ac97, reg, val);
codec 495 sound/soc/codecs/wm9712.c struct snd_soc_codec *codec = socdev->codec;
codec 499 sound/soc/codecs/wm9712.c vra = ac97_read(codec, AC97_EXTENDED_STATUS);
codec 500 sound/soc/codecs/wm9712.c ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1);
codec 507 sound/soc/codecs/wm9712.c return ac97_write(codec, reg, runtime->rate);
codec 515 sound/soc/codecs/wm9712.c struct snd_soc_codec *codec = socdev->codec;
codec 518 sound/soc/codecs/wm9712.c vra = ac97_read(codec, AC97_EXTENDED_STATUS);
codec 519 sound/soc/codecs/wm9712.c ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1);
codec 520 sound/soc/codecs/wm9712.c xsle = ac97_read(codec, AC97_PCI_SID);
codec 521 sound/soc/codecs/wm9712.c ac97_write(codec, AC97_PCI_SID, xsle | 0x8000);
codec 526 sound/soc/codecs/wm9712.c return ac97_write(codec, AC97_PCM_SURR_DAC_RATE, runtime->rate);
codec 574 sound/soc/codecs/wm9712.c ac97_write(codec, AC97_POWERDOWN, 0x0000);
codec 578 sound/soc/codecs/wm9712.c ac97_write(codec, AC97_EXTENDED_MSTATUS, 0xffff);
codec 579 sound/soc/codecs/wm9712.c ac97_write(codec, AC97_POWERDOWN, 0xffff);
codec 582 sound/soc/codecs/wm9712.c codec->bias_level = level;
codec 589 sound/soc/codecs/wm9712.c soc_ac97_ops.warm_reset(codec->ac97);
codec 590 sound/soc/codecs/wm9712.c if (ac97_read(codec, 0) == wm9712_reg[0])
codec 594 sound/soc/codecs/wm9712.c soc_ac97_ops.reset(codec->ac97);
codec 595 sound/soc/codecs/wm9712.c if (ac97_read(codec, 0) != wm9712_reg[0])
codec 608 sound/soc/codecs/wm9712.c struct snd_soc_codec *codec = socdev->codec;
codec 610 sound/soc/codecs/wm9712.c wm9712_set_bias_level(codec, SND_SOC_BIAS_OFF);
codec 617 sound/soc/codecs/wm9712.c struct snd_soc_codec *codec = socdev->codec;
codec 619 sound/soc/codecs/wm9712.c u16 *cache = codec->reg_cache;
codec 621 sound/soc/codecs/wm9712.c ret = wm9712_reset(codec, 1);
codec 627 sound/soc/codecs/wm9712.c wm9712_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 635 sound/soc/codecs/wm9712.c soc_ac97_ops.write(codec->ac97, i, cache[i>>1]);
codec 639 sound/soc/codecs/wm9712.c if (codec->suspend_bias_level == SND_SOC_BIAS_ON)
codec 640 sound/soc/codecs/wm9712.c wm9712_set_bias_level(codec, SND_SOC_BIAS_ON);
codec 648 sound/soc/codecs/wm9712.c struct snd_soc_codec *codec;
codec 653 sound/soc/codecs/wm9712.c socdev->codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 654 sound/soc/codecs/wm9712.c if (socdev->codec == NULL)
codec 656 sound/soc/codecs/wm9712.c codec = socdev->codec;
codec 657 sound/soc/codecs/wm9712.c mutex_init(&codec->mutex);
codec 659 sound/soc/codecs/wm9712.c codec->reg_cache = kmemdup(wm9712_reg, sizeof(wm9712_reg), GFP_KERNEL);
codec 661 sound/soc/codecs/wm9712.c if (codec->reg_cache == NULL) {
codec 665 sound/soc/codecs/wm9712.c codec->reg_cache_size = sizeof(wm9712_reg);
codec 666 sound/soc/codecs/wm9712.c codec->reg_cache_step = 2;
codec 668 sound/soc/codecs/wm9712.c codec->name = "WM9712";
codec 669 sound/soc/codecs/wm9712.c codec->owner = THIS_MODULE;
codec 670 sound/soc/codecs/wm9712.c codec->dai = wm9712_dai;
codec 671 sound/soc/codecs/wm9712.c codec->num_dai = ARRAY_SIZE(wm9712_dai);
codec 672 sound/soc/codecs/wm9712.c codec->write = ac97_write;
codec 673 sound/soc/codecs/wm9712.c codec->read = ac97_read;
codec 674 sound/soc/codecs/wm9712.c codec->set_bias_level = wm9712_set_bias_level;
codec 675 sound/soc/codecs/wm9712.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 676 sound/soc/codecs/wm9712.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 678 sound/soc/codecs/wm9712.c ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
codec 689 sound/soc/codecs/wm9712.c ret = wm9712_reset(codec, 0);
codec 696 sound/soc/codecs/wm9712.c ac97_write(codec, AC97_VIDEO, ac97_read(codec, AC97_VIDEO) | 0x3000);
codec 698 sound/soc/codecs/wm9712.c wm9712_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 699 sound/soc/codecs/wm9712.c wm9712_add_controls(codec);
codec 700 sound/soc/codecs/wm9712.c wm9712_add_widgets(codec);
codec 713 sound/soc/codecs/wm9712.c snd_soc_free_ac97_codec(codec);
codec 716 sound/soc/codecs/wm9712.c kfree(codec->reg_cache);
codec 719 sound/soc/codecs/wm9712.c kfree(socdev->codec);
codec 720 sound/soc/codecs/wm9712.c socdev->codec = NULL;
codec 727 sound/soc/codecs/wm9712.c struct snd_soc_codec *codec = socdev->codec;
codec 729 sound/soc/codecs/wm9712.c if (codec == NULL)
codec 734 sound/soc/codecs/wm9712.c snd_soc_free_ac97_codec(codec);
codec 735 sound/soc/codecs/wm9712.c kfree(codec->reg_cache);
codec 736 sound/soc/codecs/wm9712.c kfree(codec);
codec 199 sound/soc/codecs/wm9713.c err = snd_ctl_add(codec->card,
codec 201 sound/soc/codecs/wm9713.c codec, NULL));
codec 219 sound/soc/codecs/wm9713.c l = ac97_read(w->codec, HPL_MIXER);
codec 220 sound/soc/codecs/wm9713.c r = ac97_read(w->codec, HPR_MIXER);
codec 221 sound/soc/codecs/wm9713.c beep = ac97_read(w->codec, AC97_PC_BEEP);
codec 222 sound/soc/codecs/wm9713.c tone = ac97_read(w->codec, AC97_MASTER_TONE);
codec 223 sound/soc/codecs/wm9713.c phone = ac97_read(w->codec, AC97_PHONE);
codec 224 sound/soc/codecs/wm9713.c rec = ac97_read(w->codec, AC97_REC_SEL);
codec 225 sound/soc/codecs/wm9713.c pcm = ac97_read(w->codec, AC97_PCM);
codec 226 sound/soc/codecs/wm9713.c aux = ac97_read(w->codec, AC97_AUX);
codec 231 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PC_BEEP, beep & 0x7fff);
codec 233 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PC_BEEP, beep | 0x8000);
codec 236 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_MASTER_TONE, tone & 0x7fff);
codec 238 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_MASTER_TONE, tone | 0x8000);
codec 241 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PHONE, phone & 0x7fff);
codec 243 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PHONE, phone | 0x8000);
codec 246 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_REC_SEL, rec & 0x7fff);
codec 248 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_REC_SEL, rec | 0x8000);
codec 251 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PCM, pcm & 0x7fff);
codec 253 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_PCM, pcm | 0x8000);
codec 256 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_AUX, aux & 0x7fff);
codec 258 sound/soc/codecs/wm9713.c ac97_write(w->codec, AC97_AUX, aux | 0x8000);
codec 618 sound/soc/codecs/wm9713.c snd_soc_dapm_new_controls(codec, wm9713_dapm_widgets,
codec 621 sound/soc/codecs/wm9713.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 623 sound/soc/codecs/wm9713.c snd_soc_dapm_new_widgets(codec);
codec 630 sound/soc/codecs/wm9713.c u16 *cache = codec->reg_cache;
codec 635 sound/soc/codecs/wm9713.c return soc_ac97_ops.read(codec->ac97, reg);
codec 649 sound/soc/codecs/wm9713.c u16 *cache = codec->reg_cache;
codec 651 sound/soc/codecs/wm9713.c soc_ac97_ops.write(codec->ac97, reg, val);
codec 736 sound/soc/codecs/wm9713.c struct wm9713_priv *wm9713 = codec->private_data;
codec 743 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_HANDSET_RATE);
codec 744 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_HANDSET_RATE, reg | 0x0080);
codec 745 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_EXTENDED_MID);
codec 746 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_MID, reg | 0x0200);
codec 756 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_LINE1_LEVEL, reg);
codec 764 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_LINE1_LEVEL, reg);
codec 768 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_LINE1_LEVEL, reg);
codec 772 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_LINE1_LEVEL, reg);
codec 776 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_LINE1_LEVEL, reg);
codec 780 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_LINE1_LEVEL, reg);
codec 783 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_LINE1_LEVEL, reg);
codec 787 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_EXTENDED_MID);
codec 788 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_MID, reg & 0xfdff);
codec 789 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_HANDSET_RATE);
codec 790 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_HANDSET_RATE, reg & 0xff7f);
codec 802 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = codec_dai->codec;
codec 803 sound/soc/codecs/wm9713.c return wm9713_set_pll(codec, pll_id, freq_in, freq_out);
codec 813 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = codec_dai->codec;
codec 814 sound/soc/codecs/wm9713.c u16 reg = ac97_read(codec, AC97_CENTER_LFE_MASTER) & 0x9fff;
codec 817 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_CENTER_LFE_MASTER, reg);
codec 829 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = codec_dai->codec;
codec 834 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_HANDSET_RATE) & 0xf0ff;
codec 835 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_HANDSET_RATE, reg | div);
codec 838 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_HANDSET_RATE) & 0xfffd;
codec 839 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_HANDSET_RATE, reg | div);
codec 842 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_HANDSET_RATE) & 0xfffb;
codec 843 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_HANDSET_RATE, reg | div);
codec 846 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_HANDSET_RATE) & 0x8fff;
codec 847 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_HANDSET_RATE, reg | div);
codec 850 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_CENTER_LFE_MASTER) & 0xf1ff;
codec 851 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_CENTER_LFE_MASTER, reg | div);
codec 854 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_LINE1_LEVEL) & 0xff80;
codec 855 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_LINE1_LEVEL, reg | 0x60 | div);
codec 858 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_LINE1_LEVEL) & 0xff80;
codec 859 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_LINE1_LEVEL, reg | 0x70 | div);
codec 871 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = codec_dai->codec;
codec 872 sound/soc/codecs/wm9713.c u16 gpio = ac97_read(codec, AC97_GPIO_CFG) & 0xffc5;
codec 925 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_GPIO_CFG, gpio);
codec 926 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_CENTER_LFE_MASTER, reg);
codec 935 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = socdev->codec;
codec 936 sound/soc/codecs/wm9713.c u16 reg = ac97_read(codec, AC97_CENTER_LFE_MASTER) & 0xfff3;
codec 953 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_CENTER_LFE_MASTER, reg);
codec 961 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = socdev->codec;
codec 965 sound/soc/codecs/wm9713.c status = ac97_read(codec, AC97_EXTENDED_STATUS) | 0x1000;
codec 966 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_HANDSET_RATE, 0x0280);
codec 968 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_HANDSET_RATE, 0x0F80);
codec 969 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_MID, status);
codec 977 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = socdev->codec;
codec 981 sound/soc/codecs/wm9713.c vra = ac97_read(codec, AC97_EXTENDED_STATUS);
codec 982 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1);
codec 989 sound/soc/codecs/wm9713.c return ac97_write(codec, reg, runtime->rate);
codec 997 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = socdev->codec;
codec 1000 sound/soc/codecs/wm9713.c vra = ac97_read(codec, AC97_EXTENDED_STATUS);
codec 1001 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_STATUS, vra | 0x1);
codec 1002 sound/soc/codecs/wm9713.c xsle = ac97_read(codec, AC97_PCI_SID);
codec 1003 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_PCI_SID, xsle | 0x8000);
codec 1008 sound/soc/codecs/wm9713.c return ac97_write(codec, AC97_PCM_SURR_DAC_RATE, runtime->rate);
codec 1094 sound/soc/codecs/wm9713.c soc_ac97_ops.warm_reset(codec->ac97);
codec 1095 sound/soc/codecs/wm9713.c if (ac97_read(codec, 0) == wm9713_reg[0])
codec 1099 sound/soc/codecs/wm9713.c soc_ac97_ops.reset(codec->ac97);
codec 1100 sound/soc/codecs/wm9713.c if (ac97_read(codec, 0) != wm9713_reg[0])
codec 1114 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_EXTENDED_MID) & 0x1bff;
codec 1115 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_MID, reg);
codec 1121 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_EXTENDED_MID) & 0x3bff;
codec 1122 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_MID, reg);
codec 1123 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_POWERDOWN, 0x0000);
codec 1127 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_MID, 0xffff);
codec 1128 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_MSTATUS, 0xffff);
codec 1129 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_POWERDOWN, 0xffff);
codec 1132 sound/soc/codecs/wm9713.c codec->bias_level = level;
codec 1140 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = socdev->codec;
codec 1146 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_EXTENDED_MID);
codec 1147 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_MID, reg | 0x7fff);
codec 1148 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_EXTENDED_MSTATUS, 0xffff);
codec 1149 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_POWERDOWN, 0x6f00);
codec 1150 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_POWERDOWN, 0xffff);
codec 1158 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = socdev->codec;
codec 1159 sound/soc/codecs/wm9713.c struct wm9713_priv *wm9713 = codec->private_data;
codec 1161 sound/soc/codecs/wm9713.c u16 *cache = codec->reg_cache;
codec 1163 sound/soc/codecs/wm9713.c ret = wm9713_reset(codec, 1);
codec 1169 sound/soc/codecs/wm9713.c wm9713_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1173 sound/soc/codecs/wm9713.c wm9713_set_pll(codec, 0, wm9713->pll_in, wm9713->pll_out);
codec 1181 sound/soc/codecs/wm9713.c soc_ac97_ops.write(codec->ac97, i, cache[i>>1]);
codec 1185 sound/soc/codecs/wm9713.c if (codec->suspend_bias_level == SND_SOC_BIAS_ON)
codec 1186 sound/soc/codecs/wm9713.c wm9713_set_bias_level(codec, SND_SOC_BIAS_ON);
codec 1194 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec;
codec 1199 sound/soc/codecs/wm9713.c socdev->codec = kzalloc(sizeof(struct snd_soc_codec), GFP_KERNEL);
codec 1200 sound/soc/codecs/wm9713.c if (socdev->codec == NULL)
codec 1202 sound/soc/codecs/wm9713.c codec = socdev->codec;
codec 1203 sound/soc/codecs/wm9713.c mutex_init(&codec->mutex);
codec 1205 sound/soc/codecs/wm9713.c codec->reg_cache = kmemdup(wm9713_reg, sizeof(wm9713_reg), GFP_KERNEL);
codec 1206 sound/soc/codecs/wm9713.c if (codec->reg_cache == NULL) {
codec 1210 sound/soc/codecs/wm9713.c codec->reg_cache_size = sizeof(wm9713_reg);
codec 1211 sound/soc/codecs/wm9713.c codec->reg_cache_step = 2;
codec 1213 sound/soc/codecs/wm9713.c codec->private_data = kzalloc(sizeof(struct wm9713_priv), GFP_KERNEL);
codec 1214 sound/soc/codecs/wm9713.c if (codec->private_data == NULL) {
codec 1219 sound/soc/codecs/wm9713.c codec->name = "WM9713";
codec 1220 sound/soc/codecs/wm9713.c codec->owner = THIS_MODULE;
codec 1221 sound/soc/codecs/wm9713.c codec->dai = wm9713_dai;
codec 1222 sound/soc/codecs/wm9713.c codec->num_dai = ARRAY_SIZE(wm9713_dai);
codec 1223 sound/soc/codecs/wm9713.c codec->write = ac97_write;
codec 1224 sound/soc/codecs/wm9713.c codec->read = ac97_read;
codec 1225 sound/soc/codecs/wm9713.c codec->set_bias_level = wm9713_set_bias_level;
codec 1226 sound/soc/codecs/wm9713.c INIT_LIST_HEAD(&codec->dapm_widgets);
codec 1227 sound/soc/codecs/wm9713.c INIT_LIST_HEAD(&codec->dapm_paths);
codec 1229 sound/soc/codecs/wm9713.c ret = snd_soc_new_ac97_codec(codec, &soc_ac97_ops, 0);
codec 1240 sound/soc/codecs/wm9713.c wm9713_reset(codec, 0);
codec 1241 sound/soc/codecs/wm9713.c ret = wm9713_reset(codec, 1);
codec 1247 sound/soc/codecs/wm9713.c wm9713_set_bias_level(codec, SND_SOC_BIAS_STANDBY);
codec 1250 sound/soc/codecs/wm9713.c reg = ac97_read(codec, AC97_CD) & 0x7fff;
codec 1251 sound/soc/codecs/wm9713.c ac97_write(codec, AC97_CD, reg);
codec 1253 sound/soc/codecs/wm9713.c wm9713_add_controls(codec);
codec 1254 sound/soc/codecs/wm9713.c wm9713_add_widgets(codec);
codec 1264 sound/soc/codecs/wm9713.c snd_soc_free_ac97_codec(codec);
codec 1267 sound/soc/codecs/wm9713.c kfree(codec->private_data);
codec 1270 sound/soc/codecs/wm9713.c kfree(codec->reg_cache);
codec 1273 sound/soc/codecs/wm9713.c kfree(socdev->codec);
codec 1274 sound/soc/codecs/wm9713.c socdev->codec = NULL;
codec 1281 sound/soc/codecs/wm9713.c struct snd_soc_codec *codec = socdev->codec;
codec 1283 sound/soc/codecs/wm9713.c if (codec == NULL)
codec 1288 sound/soc/codecs/wm9713.c snd_soc_free_ac97_codec(codec);
codec 1289 sound/soc/codecs/wm9713.c kfree(codec->private_data);
codec 1290 sound/soc/codecs/wm9713.c kfree(codec->reg_cache);
codec 1291 sound/soc/codecs/wm9713.c kfree(codec->dai);
codec 1292 sound/soc/codecs/wm9713.c kfree(codec);
codec 98 sound/soc/davinci/davinci-evm.c snd_soc_dapm_new_controls(codec, aic3x_dapm_widgets,
codec 102 sound/soc/davinci/davinci-evm.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 105 sound/soc/davinci/davinci-evm.c snd_soc_dapm_disable_pin(codec, "MONO_LOUT");
codec 106 sound/soc/davinci/davinci-evm.c snd_soc_dapm_disable_pin(codec, "HPLCOM");
codec 107 sound/soc/davinci/davinci-evm.c snd_soc_dapm_disable_pin(codec, "HPRCOM");
codec 110 sound/soc/davinci/davinci-evm.c snd_soc_dapm_enable_pin(codec, "Headphone Jack");
codec 111 sound/soc/davinci/davinci-evm.c snd_soc_dapm_enable_pin(codec, "Line Out");
codec 112 sound/soc/davinci/davinci-evm.c snd_soc_dapm_enable_pin(codec, "Mic Jack");
codec 113 sound/soc/davinci/davinci-evm.c snd_soc_dapm_enable_pin(codec, "Line In");
codec 115 sound/soc/davinci/davinci-evm.c snd_soc_dapm_sync(codec);
codec 54 sound/soc/omap/n810.c snd_soc_dapm_enable_pin(codec, "Ext Spk");
codec 56 sound/soc/omap/n810.c snd_soc_dapm_disable_pin(codec, "Ext Spk");
codec 59 sound/soc/omap/n810.c snd_soc_dapm_enable_pin(codec, "Headphone Jack");
codec 61 sound/soc/omap/n810.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 64 sound/soc/omap/n810.c snd_soc_dapm_enable_pin(codec, "DMic");
codec 66 sound/soc/omap/n810.c snd_soc_dapm_disable_pin(codec, "DMic");
codec 68 sound/soc/omap/n810.c snd_soc_dapm_sync(codec);
codec 74 sound/soc/omap/n810.c struct snd_soc_codec *codec = rtd->socdev->codec;
codec 76 sound/soc/omap/n810.c n810_ext_control(codec);
codec 133 sound/soc/omap/n810.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 139 sound/soc/omap/n810.c n810_ext_control(codec);
codec 155 sound/soc/omap/n810.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 161 sound/soc/omap/n810.c n810_ext_control(codec);
codec 177 sound/soc/omap/n810.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 183 sound/soc/omap/n810.c n810_ext_control(codec);
codec 250 sound/soc/omap/n810.c snd_soc_dapm_nc_pin(codec, "MONO_LOUT");
codec 251 sound/soc/omap/n810.c snd_soc_dapm_nc_pin(codec, "HPLCOM");
codec 252 sound/soc/omap/n810.c snd_soc_dapm_nc_pin(codec, "HPRCOM");
codec 256 sound/soc/omap/n810.c err = snd_ctl_add(codec->card,
codec 257 sound/soc/omap/n810.c snd_soc_cnew(&aic33_n810_controls[i], codec, NULL));
codec 263 sound/soc/omap/n810.c snd_soc_dapm_new_controls(codec, aic33_dapm_widgets,
codec 267 sound/soc/omap/n810.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 269 sound/soc/omap/n810.c snd_soc_dapm_sync(codec);
codec 120 sound/soc/omap/osk5912.c snd_soc_dapm_new_controls(codec, tlv320aic23_dapm_widgets,
codec 124 sound/soc/omap/osk5912.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 126 sound/soc/omap/osk5912.c snd_soc_dapm_enable_pin(codec, "Headphone Jack");
codec 127 sound/soc/omap/osk5912.c snd_soc_dapm_enable_pin(codec, "Line In");
codec 128 sound/soc/omap/osk5912.c snd_soc_dapm_enable_pin(codec, "Mic Jack");
codec 130 sound/soc/omap/osk5912.c snd_soc_dapm_sync(codec);
codec 59 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Mic Jack");
codec 60 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Line Jack");
codec 61 sound/soc/pxa/corgi.c snd_soc_dapm_enable_pin(codec, "Headphone Jack");
codec 62 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Headset Jack");
codec 68 sound/soc/pxa/corgi.c snd_soc_dapm_enable_pin(codec, "Mic Jack");
codec 69 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Line Jack");
codec 70 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 71 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Headset Jack");
codec 76 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Mic Jack");
codec 77 sound/soc/pxa/corgi.c snd_soc_dapm_enable_pin(codec, "Line Jack");
codec 78 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 79 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Headset Jack");
codec 84 sound/soc/pxa/corgi.c snd_soc_dapm_enable_pin(codec, "Mic Jack");
codec 85 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Line Jack");
codec 86 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 87 sound/soc/pxa/corgi.c snd_soc_dapm_enable_pin(codec, "Headset Jack");
codec 92 sound/soc/pxa/corgi.c snd_soc_dapm_enable_pin(codec, "Ext Spk");
codec 94 sound/soc/pxa/corgi.c snd_soc_dapm_disable_pin(codec, "Ext Spk");
codec 97 sound/soc/pxa/corgi.c snd_soc_dapm_sync(codec);
codec 103 sound/soc/pxa/corgi.c struct snd_soc_codec *codec = rtd->socdev->codec;
codec 106 sound/soc/pxa/corgi.c corgi_ext_control(codec);
codec 114 sound/soc/pxa/corgi.c struct snd_soc_codec *codec = rtd->socdev->codec;
codec 188 sound/soc/pxa/corgi.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 194 sound/soc/pxa/corgi.c corgi_ext_control(codec);
codec 208 sound/soc/pxa/corgi.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 214 sound/soc/pxa/corgi.c corgi_ext_control(codec);
codec 284 sound/soc/pxa/corgi.c snd_soc_dapm_nc_pin(codec, "LLINEIN");
codec 285 sound/soc/pxa/corgi.c snd_soc_dapm_nc_pin(codec, "RLINEIN");
codec 289 sound/soc/pxa/corgi.c err = snd_ctl_add(codec->card,
codec 290 sound/soc/pxa/corgi.c snd_soc_cnew(&wm8731_corgi_controls[i], codec, NULL));
codec 296 sound/soc/pxa/corgi.c snd_soc_dapm_new_controls(codec, wm8731_dapm_widgets,
codec 300 sound/soc/pxa/corgi.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 302 sound/soc/pxa/corgi.c snd_soc_dapm_sync(codec);
codec 58 sound/soc/pxa/poodle.c snd_soc_dapm_enable_pin(codec, "Headphone Jack");
codec 64 sound/soc/pxa/poodle.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 69 sound/soc/pxa/poodle.c snd_soc_dapm_enable_pin(codec, "Ext Spk");
codec 71 sound/soc/pxa/poodle.c snd_soc_dapm_disable_pin(codec, "Ext Spk");
codec 74 sound/soc/pxa/poodle.c snd_soc_dapm_sync(codec);
codec 80 sound/soc/pxa/poodle.c struct snd_soc_codec *codec = rtd->socdev->codec;
codec 83 sound/soc/pxa/poodle.c poodle_ext_control(codec);
codec 163 sound/soc/pxa/poodle.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 169 sound/soc/pxa/poodle.c poodle_ext_control(codec);
codec 183 sound/soc/pxa/poodle.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 189 sound/soc/pxa/poodle.c poodle_ext_control(codec);
codec 245 sound/soc/pxa/poodle.c snd_soc_dapm_nc_pin(codec, "LLINEIN");
codec 246 sound/soc/pxa/poodle.c snd_soc_dapm_nc_pin(codec, "RLINEIN");
codec 247 sound/soc/pxa/poodle.c snd_soc_dapm_enable_pin(codec, "MICIN");
codec 251 sound/soc/pxa/poodle.c err = snd_ctl_add(codec->card,
codec 252 sound/soc/pxa/poodle.c snd_soc_cnew(&wm8731_poodle_controls[i], codec, NULL));
codec 258 sound/soc/pxa/poodle.c snd_soc_dapm_new_controls(codec, wm8731_dapm_widgets,
codec 262 sound/soc/pxa/poodle.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 264 sound/soc/pxa/poodle.c snd_soc_dapm_sync(codec);
codec 53 sound/soc/pxa/spitz.c snd_soc_dapm_enable_pin(codec, "Ext Spk");
codec 55 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Ext Spk");
codec 61 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Headset Jack");
codec 62 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Mic Jack");
codec 63 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Line Jack");
codec 64 sound/soc/pxa/spitz.c snd_soc_dapm_enable_pin(codec, "Headphone Jack");
codec 70 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 71 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Headset Jack");
codec 72 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Line Jack");
codec 73 sound/soc/pxa/spitz.c snd_soc_dapm_enable_pin(codec, "Mic Jack");
codec 79 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 80 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Headset Jack");
codec 81 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Mic Jack");
codec 82 sound/soc/pxa/spitz.c snd_soc_dapm_enable_pin(codec, "Line Jack");
codec 88 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 89 sound/soc/pxa/spitz.c snd_soc_dapm_enable_pin(codec, "Mic Jack");
codec 90 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Line Jack");
codec 91 sound/soc/pxa/spitz.c snd_soc_dapm_enable_pin(codec, "Headset Jack");
codec 98 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 99 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Headset Jack");
codec 100 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Mic Jack");
codec 101 sound/soc/pxa/spitz.c snd_soc_dapm_disable_pin(codec, "Line Jack");
codec 106 sound/soc/pxa/spitz.c snd_soc_dapm_sync(codec);
codec 112 sound/soc/pxa/spitz.c struct snd_soc_codec *codec = rtd->socdev->codec;
codec 115 sound/soc/pxa/spitz.c spitz_ext_control(codec);
codec 184 sound/soc/pxa/spitz.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 190 sound/soc/pxa/spitz.c spitz_ext_control(codec);
codec 204 sound/soc/pxa/spitz.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 210 sound/soc/pxa/spitz.c spitz_ext_control(codec);
codec 284 sound/soc/pxa/spitz.c snd_soc_dapm_nc_pin(codec, "RINPUT1");
codec 285 sound/soc/pxa/spitz.c snd_soc_dapm_nc_pin(codec, "LINPUT2");
codec 286 sound/soc/pxa/spitz.c snd_soc_dapm_nc_pin(codec, "RINPUT2");
codec 287 sound/soc/pxa/spitz.c snd_soc_dapm_nc_pin(codec, "LINPUT3");
codec 288 sound/soc/pxa/spitz.c snd_soc_dapm_nc_pin(codec, "RINPUT3");
codec 289 sound/soc/pxa/spitz.c snd_soc_dapm_nc_pin(codec, "OUT3");
codec 290 sound/soc/pxa/spitz.c snd_soc_dapm_nc_pin(codec, "MONO1");
codec 294 sound/soc/pxa/spitz.c err = snd_ctl_add(codec->card,
codec 295 sound/soc/pxa/spitz.c snd_soc_cnew(&wm8750_spitz_controls[i], codec, NULL));
codec 301 sound/soc/pxa/spitz.c snd_soc_dapm_new_controls(codec, wm8750_dapm_widgets,
codec 305 sound/soc/pxa/spitz.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 307 sound/soc/pxa/spitz.c snd_soc_dapm_sync(codec);
codec 58 sound/soc/pxa/tosa.c snd_soc_dapm_disable_pin(codec, "Mic (Internal)");
codec 59 sound/soc/pxa/tosa.c snd_soc_dapm_enable_pin(codec, "Headphone Jack");
codec 60 sound/soc/pxa/tosa.c snd_soc_dapm_disable_pin(codec, "Headset Jack");
codec 63 sound/soc/pxa/tosa.c snd_soc_dapm_enable_pin(codec, "Mic (Internal)");
codec 64 sound/soc/pxa/tosa.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 65 sound/soc/pxa/tosa.c snd_soc_dapm_disable_pin(codec, "Headset Jack");
codec 68 sound/soc/pxa/tosa.c snd_soc_dapm_disable_pin(codec, "Mic (Internal)");
codec 69 sound/soc/pxa/tosa.c snd_soc_dapm_disable_pin(codec, "Headphone Jack");
codec 70 sound/soc/pxa/tosa.c snd_soc_dapm_enable_pin(codec, "Headset Jack");
codec 75 sound/soc/pxa/tosa.c snd_soc_dapm_enable_pin(codec, "Speaker");
codec 77 sound/soc/pxa/tosa.c snd_soc_dapm_disable_pin(codec, "Speaker");
codec 79 sound/soc/pxa/tosa.c snd_soc_dapm_sync(codec);
codec 85 sound/soc/pxa/tosa.c struct snd_soc_codec *codec = rtd->socdev->codec;
codec 88 sound/soc/pxa/tosa.c tosa_ext_control(codec);
codec 106 sound/soc/pxa/tosa.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 112 sound/soc/pxa/tosa.c tosa_ext_control(codec);
codec 126 sound/soc/pxa/tosa.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 132 sound/soc/pxa/tosa.c tosa_ext_control(codec);
codec 193 sound/soc/pxa/tosa.c snd_soc_dapm_nc_pin(codec, "OUT3");
codec 194 sound/soc/pxa/tosa.c snd_soc_dapm_nc_pin(codec, "MONOOUT");
codec 198 sound/soc/pxa/tosa.c err = snd_ctl_add(codec->card,
codec 199 sound/soc/pxa/tosa.c snd_soc_cnew(&tosa_controls[i],codec, NULL));
codec 205 sound/soc/pxa/tosa.c snd_soc_dapm_new_controls(codec, tosa_dapm_widgets,
codec 209 sound/soc/pxa/tosa.c snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
codec 211 sound/soc/pxa/tosa.c snd_soc_dapm_sync(codec);
codec 253 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Audio Out");
codec 254 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line Out");
codec 255 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line In");
codec 256 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Headset Mic");
codec 257 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Call Mic");
codec 260 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "Audio Out");
codec 261 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "GSM Line Out");
codec 262 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "GSM Line In");
codec 263 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Headset Mic");
codec 264 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "Call Mic");
codec 267 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "Audio Out");
codec 268 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "GSM Line Out");
codec 269 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "GSM Line In");
codec 270 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "Headset Mic");
codec 271 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Call Mic");
codec 274 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Audio Out");
codec 275 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "GSM Line Out");
codec 276 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "GSM Line In");
codec 277 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Headset Mic");
codec 278 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Call Mic");
codec 281 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "Audio Out");
codec 282 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line Out");
codec 283 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line In");
codec 284 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Headset Mic");
codec 285 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Call Mic");
codec 288 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "Audio Out");
codec 289 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line Out");
codec 290 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line In");
codec 291 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Headset Mic");
codec 292 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Call Mic");
codec 295 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Audio Out");
codec 296 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line Out");
codec 297 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line In");
codec 298 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Headset Mic");
codec 299 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "Call Mic");
codec 302 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Audio Out");
codec 303 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line Out");
codec 304 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line In");
codec 305 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_enable_pin(codec, "Headset Mic");
codec 306 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Call Mic");
codec 309 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Audio Out");
codec 310 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line Out");
codec 311 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line In");
codec 312 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Headset Mic");
codec 313 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Call Mic");
codec 316 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Audio Out");
codec 317 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line Out");
codec 318 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "GSM Line In");
codec 319 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Headset Mic");
codec 320 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_disable_pin(codec, "Call Mic");
codec 323 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_sync(codec);
codec 331 sound/soc/s3c24xx/neo1973_wm8753.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 339 sound/soc/s3c24xx/neo1973_wm8753.c set_scenario_endpoints(codec, neo1973_scenario);
codec 514 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_nc_pin(codec, "LOUT2");
codec 515 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_nc_pin(codec, "ROUT2");
codec 516 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_nc_pin(codec, "OUT3");
codec 517 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_nc_pin(codec, "OUT4");
codec 518 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_nc_pin(codec, "LINE1");
codec 519 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_nc_pin(codec, "LINE2");
codec 522 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_new_controls(codec, wm8753_dapm_widgets,
codec 526 sound/soc/s3c24xx/neo1973_wm8753.c set_scenario_endpoints(codec, NEO_AUDIO_OFF);
codec 530 sound/soc/s3c24xx/neo1973_wm8753.c err = snd_ctl_add(codec->card,
codec 532 sound/soc/s3c24xx/neo1973_wm8753.c codec, NULL));
codec 538 sound/soc/s3c24xx/neo1973_wm8753.c err = snd_soc_dapm_add_routes(codec, dapm_routes,
codec 541 sound/soc/s3c24xx/neo1973_wm8753.c snd_soc_dapm_sync(codec);
codec 28 sound/soc/sh/sh7760-ac97.c snd_soc_dapm_sync(codec);
codec 81 sound/soc/soc-core.c if (codec->ac97->dev.bus)
codec 82 sound/soc/soc-core.c device_unregister(&codec->ac97->dev);
codec 94 sound/soc/soc-core.c codec->ac97->dev.bus = &ac97_bus_type;
codec 95 sound/soc/soc-core.c codec->ac97->dev.parent = NULL;
codec 96 sound/soc/soc-core.c codec->ac97->dev.release = soc_ac97_device_release;
codec 98 sound/soc/soc-core.c snprintf(codec->ac97->dev.bus_id, BUS_ID_SIZE, "%d-%d:%s",
codec 99 sound/soc/soc-core.c codec->card->number, 0, codec->name);
codec 100 sound/soc/soc-core.c err = device_register(&codec->ac97->dev);
codec 103 sound/soc/soc-core.c codec->ac97->dev.bus = NULL;
codec 244 sound/soc/soc-core.c socdev->codec->active++;
codec 273 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 278 sound/soc/soc-core.c for (i = 0; i < codec->num_dai; i++) {
codec 279 sound/soc/soc-core.c codec_dai = &codec->dai[i];
codec 290 sound/soc/soc-core.c if (codec->active == 0) {
codec 291 sound/soc/soc-core.c dbg("pop wq D1 %s %s\n", codec->name,
codec 298 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec,
codec 303 sound/soc/soc-core.c if (codec->active == 0) {
codec 304 sound/soc/soc-core.c dbg("pop wq D3 %s %s\n", codec->name,
codec 327 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 340 sound/soc/soc-core.c codec->active--;
codec 368 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec,
codec 372 sound/soc/soc-core.c if (codec->active == 0 && codec_dai->pop_wait == 0)
codec 394 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 436 sound/soc/soc-core.c snd_soc_dapm_stream_event(socdev->codec,
codec 446 sound/soc/soc-core.c if (codec->bias_level != SND_SOC_BIAS_ON) {
codec 452 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec,
codec 456 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec,
codec 466 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec,
codec 470 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec,
codec 567 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 572 sound/soc/soc-core.c if (!codec->active)
codec 642 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 648 sound/soc/soc-core.c snd_power_lock(codec->card);
codec 649 sound/soc/soc-core.c snd_power_wait(codec->card, SNDRV_CTL_POWER_D0);
codec 650 sound/soc/soc-core.c snd_power_unlock(codec->card);
codec 653 sound/soc/soc-core.c snd_power_change_state(codec->card, SNDRV_CTL_POWER_D3hot);
codec 679 sound/soc/soc-core.c codec->suspend_bias_level = codec->bias_level;
codec 681 sound/soc/soc-core.c for (i = 0; i < codec->num_dai; i++) {
codec 682 sound/soc/soc-core.c char *stream = codec->dai[i].playback.stream_name;
codec 684 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec, stream,
codec 686 sound/soc/soc-core.c stream = codec->dai[i].capture.stream_name;
codec 688 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec, stream,
codec 718 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 740 sound/soc/soc-core.c for (i = 0; i < codec->num_dai; i++) {
codec 741 sound/soc/soc-core.c char *stream = codec->dai[i].playback.stream_name;
codec 743 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec, stream,
codec 745 sound/soc/soc-core.c stream = codec->dai[i].capture.stream_name;
codec 747 sound/soc/soc-core.c snd_soc_dapm_stream_event(codec, stream,
codec 772 sound/soc/soc-core.c snd_power_change_state(codec->card, SNDRV_CTL_POWER_D0);
codec 900 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 914 sound/soc/soc-core.c codec_dai->codec = socdev->codec;
codec 925 sound/soc/soc-core.c ret = snd_pcm_new(codec->card, new_name, codec->pcm_devs++, playback,
codec 929 sound/soc/soc-core.c codec->name);
codec 950 sound/soc/soc-core.c ret = socdev->platform->pcm_new(codec->card, codec_dai, pcm);
codec 968 sound/soc/soc-core.c struct snd_soc_codec *codec = devdata->codec;
codec 971 sound/soc/soc-core.c if (!codec->reg_cache_size)
codec 974 sound/soc/soc-core.c if (codec->reg_cache_step)
codec 975 sound/soc/soc-core.c step = codec->reg_cache_step;
codec 977 sound/soc/soc-core.c count += sprintf(buf, "%s registers\n", codec->name);
codec 978 sound/soc/soc-core.c for (i = 0; i < codec->reg_cache_size; i += step) {
codec 983 sound/soc/soc-core.c if (codec->display_register)
codec 984 sound/soc/soc-core.c count += codec->display_register(codec, buf + count,
codec 988 sound/soc/soc-core.c "%4x", codec->read(codec, i));
codec 1017 sound/soc/soc-core.c mutex_lock(&codec->mutex);
codec 1019 sound/soc/soc-core.c codec->ac97 = kzalloc(sizeof(struct snd_ac97), GFP_KERNEL);
codec 1020 sound/soc/soc-core.c if (codec->ac97 == NULL) {
codec 1021 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1025 sound/soc/soc-core.c codec->ac97->bus = kzalloc(sizeof(struct snd_ac97_bus), GFP_KERNEL);
codec 1026 sound/soc/soc-core.c if (codec->ac97->bus == NULL) {
codec 1027 sound/soc/soc-core.c kfree(codec->ac97);
codec 1028 sound/soc/soc-core.c codec->ac97 = NULL;
codec 1029 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1033 sound/soc/soc-core.c codec->ac97->bus->ops = ops;
codec 1034 sound/soc/soc-core.c codec->ac97->num = num;
codec 1035 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1048 sound/soc/soc-core.c mutex_lock(&codec->mutex);
codec 1049 sound/soc/soc-core.c kfree(codec->ac97->bus);
codec 1050 sound/soc/soc-core.c kfree(codec->ac97);
codec 1051 sound/soc/soc-core.c codec->ac97 = NULL;
codec 1052 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1074 sound/soc/soc-core.c old = snd_soc_read(codec, reg);
codec 1078 sound/soc/soc-core.c snd_soc_write(codec, reg, new);
codec 1104 sound/soc/soc-core.c old = snd_soc_read(codec, reg);
codec 1123 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 1127 sound/soc/soc-core.c mutex_lock(&codec->mutex);
codec 1130 sound/soc/soc-core.c codec->card = snd_card_new(idx, xid, codec->owner, 0);
codec 1131 sound/soc/soc-core.c if (!codec->card) {
codec 1133 sound/soc/soc-core.c codec->name);
codec 1134 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1138 sound/soc/soc-core.c codec->card->dev = socdev->dev;
codec 1139 sound/soc/soc-core.c codec->card->private_data = codec;
codec 1140 sound/soc/soc-core.c strncpy(codec->card->driver, codec->name, sizeof(codec->card->driver));
codec 1148 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1153 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1169 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 1175 sound/soc/soc-core.c err = socdev->machine->dai_link[i].init(codec);
codec 1186 sound/soc/soc-core.c snprintf(codec->card->shortname, sizeof(codec->card->shortname),
codec 1188 sound/soc/soc-core.c snprintf(codec->card->longname, sizeof(codec->card->longname),
codec 1189 sound/soc/soc-core.c "%s (%s)", machine->name, codec->name);
codec 1191 sound/soc/soc-core.c ret = snd_card_register(codec->card);
codec 1194 sound/soc/soc-core.c codec->name);
codec 1198 sound/soc/soc-core.c mutex_lock(&codec->mutex);
codec 1201 sound/soc/soc-core.c ret = soc_ac97_dev_register(codec);
codec 1204 sound/soc/soc-core.c snd_card_free(codec->card);
codec 1205 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1219 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1235 sound/soc/soc-core.c struct snd_soc_codec *codec = socdev->codec;
codec 1241 sound/soc/soc-core.c mutex_lock(&codec->mutex);
codec 1243 sound/soc/soc-core.c for (i = 0; i < codec->num_dai; i++) {
codec 1244 sound/soc/soc-core.c codec_dai = &codec->dai[i];
codec 1245 sound/soc/soc-core.c if (codec_dai->type == SND_SOC_DAI_AC97_BUS && codec->ac97) {
codec 1246 sound/soc/soc-core.c soc_ac97_dev_unregister(codec);
codec 1253 sound/soc/soc-core.c if (codec->card)
codec 1254 sound/soc/soc-core.c snd_card_free(codec->card);
codec 1256 sound/soc/soc-core.c mutex_unlock(&codec->mutex);
codec 1346 sound/soc/soc-core.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1352 sound/soc/soc-core.c val = snd_soc_read(codec, e->reg);
codec 1375 sound/soc/soc-core.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1393 sound/soc/soc-core.c return snd_soc_update_bits(codec, e->reg, mask, val);
codec 1494 sound/soc/soc-core.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1503 sound/soc/soc-core.c (snd_soc_read(codec, reg) >> shift) & mask;
codec 1506 sound/soc/soc-core.c (snd_soc_read(codec, reg) >> rshift) & mask;
codec 1533 sound/soc/soc-core.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1554 sound/soc/soc-core.c return snd_soc_update_bits(codec, reg, val_mask, val);
codec 1601 sound/soc/soc-core.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1610 sound/soc/soc-core.c (snd_soc_read(codec, reg) >> shift) & mask;
codec 1612 sound/soc/soc-core.c (snd_soc_read(codec, reg2) >> shift) & mask;
codec 1638 sound/soc/soc-core.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1660 sound/soc/soc-core.c err = snd_soc_update_bits(codec, reg, val_mask, val);
codec 1664 sound/soc/soc-core.c err = snd_soc_update_bits(codec, reg2, val_mask, val2);
codec 1708 sound/soc/soc-core.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1711 sound/soc/soc-core.c int val = snd_soc_read(codec, reg);
codec 1735 sound/soc/soc-core.c struct snd_soc_codec *codec = snd_kcontrol_chip(kcontrol);
codec 1743 sound/soc/soc-core.c return snd_soc_update_bits(codec, reg, 0xffff, val);
codec 49 sound/soc/soc-dapm.c #define dump_dapm(codec, action) dbg_dump_dapm(codec, action)
codec 117 sound/soc/soc-dapm.c val = snd_soc_read(w->codec, reg);
codec 132 sound/soc/soc-dapm.c val = snd_soc_read(w->codec, e->reg);
codec 175 sound/soc/soc-dapm.c list_add(&path->list, &codec->dapm_paths);
codec 197 sound/soc/soc-dapm.c list_add(&path->list, &codec->dapm_paths);
codec 213 sound/soc/soc-dapm.c struct snd_soc_codec *codec = widget->codec;
codec 228 sound/soc/soc-dapm.c old = snd_soc_read(codec, widget->reg);
codec 235 sound/soc/soc-dapm.c snd_soc_write(codec, widget->reg, new);
codec 268 sound/soc/soc-dapm.c snd_soc_update_bits(widget->codec, reg, mask, i);
codec 271 sound/soc/soc-dapm.c snd_soc_update_bits(widget->codec, reg, mask, i);
codec 276 sound/soc/soc-dapm.c int val = snd_soc_read(widget->codec, reg);
codec 280 sound/soc/soc-dapm.c snd_soc_update_bits(widget->codec, reg, mask, i);
codec 283 sound/soc/soc-dapm.c snd_soc_update_bits(widget->codec, reg, mask, i);
codec 317 sound/soc/soc-dapm.c ret = snd_ctl_add(codec->card, path->kcontrol);
codec 344 sound/soc/soc-dapm.c ret = snd_ctl_add(codec->card, kcontrol);
codec 369 sound/soc/soc-dapm.c ret = snd_ctl_add(codec->card, kcontrol);
codec 383 sound/soc/soc-dapm.c list_for_each_entry(p, &codec->dapm_paths, list)
codec 476 sound/soc/soc-dapm.c snd_soc_update_bits(w->codec, -(w->reg + 1),
codec 507 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) {
codec 520 sound/soc/soc-dapm.c dapm_clear_walk(w->codec);
codec 529 sound/soc/soc-dapm.c dapm_clear_walk(w->codec);
codec 573 sound/soc/soc-dapm.c dapm_clear_walk(w->codec);
codec 575 sound/soc/soc-dapm.c dapm_clear_walk(w->codec);
codec 644 sound/soc/soc-dapm.c printk("DAPM %s %s\n", codec->name, action);
codec 646 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) {
codec 669 sound/soc/soc-dapm.c dapm_clear_walk(w->codec);
codec 671 sound/soc/soc-dapm.c dapm_clear_walk(w->codec);
codec 703 sound/soc/soc-dapm.c if (!snd_soc_test_bits(widget->codec, e->reg, mask, val))
codec 707 sound/soc/soc-dapm.c list_for_each_entry(path, &widget->codec->dapm_paths, list) {
codec 723 sound/soc/soc-dapm.c dapm_power_widgets(widget->codec, SND_SOC_DAPM_STREAM_NOP);
codec 724 sound/soc/soc-dapm.c dump_dapm(widget->codec, "mux power update");
codec 742 sound/soc/soc-dapm.c if (!snd_soc_test_bits(widget->codec, reg, val_mask, val))
codec 746 sound/soc/soc-dapm.c list_for_each_entry(path, &widget->codec->dapm_paths, list) {
codec 762 sound/soc/soc-dapm.c dapm_power_widgets(widget->codec, SND_SOC_DAPM_STREAM_NOP);
codec 763 sound/soc/soc-dapm.c dump_dapm(widget->codec, "mixer power update");
codec 774 sound/soc/soc-dapm.c struct snd_soc_codec *codec = devdata->codec;
codec 779 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) {
codec 801 sound/soc/soc-dapm.c switch (codec->bias_level) {
codec 859 sound/soc/soc-dapm.c list_for_each_entry_safe(w, next_w, &codec->dapm_widgets, list) {
codec 864 sound/soc/soc-dapm.c list_for_each_entry_safe(p, next_p, &codec->dapm_paths, list) {
codec 876 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) {
codec 878 sound/soc/soc-dapm.c pr_debug("dapm: %s: pin %s\n", codec->name, pin);
codec 884 sound/soc/soc-dapm.c pr_err("dapm: %s: configuring unknown pin %s\n", codec->name, pin);
codec 899 sound/soc/soc-dapm.c int ret = dapm_power_widgets(codec, SND_SOC_DAPM_STREAM_NOP);
codec 900 sound/soc/soc-dapm.c dump_dapm(codec, "sync");
codec 913 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) {
codec 955 sound/soc/soc-dapm.c list_add(&path->list, &codec->dapm_paths);
codec 973 sound/soc/soc-dapm.c list_add(&path->list, &codec->dapm_paths);
codec 979 sound/soc/soc-dapm.c ret = dapm_connect_mux(codec, wsource, wsink, path, control,
codec 986 sound/soc/soc-dapm.c ret = dapm_connect_mixer(codec, wsource, wsink, path, control);
codec 994 sound/soc/soc-dapm.c list_add(&path->list, &codec->dapm_paths);
codec 1027 sound/soc/soc-dapm.c return snd_soc_dapm_add_route(codec, sink, control, source);
codec 1050 sound/soc/soc-dapm.c ret = snd_soc_dapm_add_route(codec, route->sink,
codec 1077 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list)
codec 1085 sound/soc/soc-dapm.c dapm_new_mixer(codec, w);
codec 1088 sound/soc/soc-dapm.c dapm_new_mux(codec, w);
codec 1093 sound/soc/soc-dapm.c dapm_new_pga(codec, w);
codec 1110 sound/soc/soc-dapm.c dapm_power_widgets(codec, SND_SOC_DAPM_STREAM_NOP);
codec 1144 sound/soc/soc-dapm.c (snd_soc_read(widget->codec, reg) >> shift) & mask;
codec 1147 sound/soc/soc-dapm.c (snd_soc_read(widget->codec, reg) >> rshift) & mask;
codec 1198 sound/soc/soc-dapm.c mutex_lock(&widget->codec->mutex);
codec 1204 sound/soc/soc-dapm.c mutex_unlock(&widget->codec->mutex);
codec 1218 sound/soc/soc-dapm.c ret = snd_soc_update_bits(widget->codec, reg, val_mask, val);
codec 1223 sound/soc/soc-dapm.c ret = snd_soc_update_bits(widget->codec, reg, val_mask, val);
codec 1226 sound/soc/soc-dapm.c mutex_unlock(&widget->codec->mutex);
codec 1249 sound/soc/soc-dapm.c val = snd_soc_read(widget->codec, e->reg);
codec 1291 sound/soc/soc-dapm.c mutex_lock(&widget->codec->mutex);
codec 1301 sound/soc/soc-dapm.c ret = snd_soc_update_bits(widget->codec, e->reg, mask, val);
codec 1306 sound/soc/soc-dapm.c ret = snd_soc_update_bits(widget->codec, e->reg, mask, val);
codec 1309 sound/soc/soc-dapm.c mutex_unlock(&widget->codec->mutex);
codec 1331 sound/soc/soc-dapm.c w->codec = codec;
codec 1335 sound/soc/soc-dapm.c list_add(&w->list, &codec->dapm_widgets);
codec 1360 sound/soc/soc-dapm.c ret = snd_soc_dapm_new_control(codec, widget);
codec 1389 sound/soc/soc-dapm.c mutex_lock(&codec->mutex);
codec 1390 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list)
codec 1422 sound/soc/soc-dapm.c mutex_unlock(&codec->mutex);
codec 1424 sound/soc/soc-dapm.c dapm_power_widgets(codec, event);
codec 1425 sound/soc/soc-dapm.c dump_dapm(codec, __func__);
codec 1442 sound/soc/soc-dapm.c struct snd_soc_codec *codec = socdev->codec;
codec 1448 sound/soc/soc-dapm.c if (ret == 0 && codec->set_bias_level)
codec 1449 sound/soc/soc-dapm.c ret = codec->set_bias_level(codec, level);
codec 1466 sound/soc/soc-dapm.c return snd_soc_dapm_set_pin(codec, pin, 1);
codec 1481 sound/soc/soc-dapm.c return snd_soc_dapm_set_pin(codec, pin, 0);
codec 1501 sound/soc/soc-dapm.c return snd_soc_dapm_set_pin(codec, pin, 0);
codec 1518 sound/soc/soc-dapm.c list_for_each_entry(w, &codec->dapm_widgets, list) {
codec 1535 sound/soc/soc-dapm.c struct snd_soc_codec *codec = socdev->codec;
codec 1538 sound/soc/soc-dapm.c dapm_free_widgets(codec);