ak4114 187 include/sound/ak4114.h void (*change_callback)(struct ak4114 *ak4114, unsigned char c0, unsigned char c1); ak4114 43 sound/i2c/other/ak4114.c ak4114->write(ak4114->private_data, reg, val); ak4114 45 sound/i2c/other/ak4114.c ak4114->regmap[reg] = val; ak4114 47 sound/i2c/other/ak4114.c ak4114->txcsb[reg-AK4114_REG_TXCSB0] = val; ak4114 52 sound/i2c/other/ak4114.c return ak4114->read(ak4114->private_data, reg); ak4114 62 sound/i2c/other/ak4114.c printk(KERN_DEBUG "reg[%02x] = %02x (%02x)\n", i, reg_read(ak4114, i), i < sizeof(ak4114->regmap) ? ak4114->regmap[i] : 0); ak4114 77 sound/i2c/other/ak4114.c struct ak4114 *chip = device->device_data; ak4114 87 sound/i2c/other/ak4114.c struct ak4114 *chip; ak4114 192 sound/i2c/other/ak4114.c struct ak4114 *chip = snd_kcontrol_chip(kcontrol); ak4114 208 sound/i2c/other/ak4114.c struct ak4114 *chip = snd_kcontrol_chip(kcontrol); ak4114 230 sound/i2c/other/ak4114.c struct ak4114 *chip = snd_kcontrol_chip(kcontrol); ak4114 246 sound/i2c/other/ak4114.c struct ak4114 *chip = snd_kcontrol_chip(kcontrol); ak4114 257 sound/i2c/other/ak4114.c struct ak4114 *chip = snd_kcontrol_chip(kcontrol); ak4114 268 sound/i2c/other/ak4114.c struct ak4114 *chip = snd_kcontrol_chip(kcontrol); ak4114 302 sound/i2c/other/ak4114.c struct ak4114 *chip = snd_kcontrol_chip(kcontrol); ak4114 324 sound/i2c/other/ak4114.c struct ak4114 *chip = snd_kcontrol_chip(kcontrol); ak4114 340 sound/i2c/other/ak4114.c .private_value = offsetof(struct ak4114, parity_errors), ak4114 348 sound/i2c/other/ak4114.c .private_value = offsetof(struct ak4114, v_bit_errors), ak4114 356 sound/i2c/other/ak4114.c .private_value = offsetof(struct ak4114, ccrc_errors), ak4114 364 sound/i2c/other/ak4114.c .private_value = offsetof(struct ak4114, qcrc_errors), ak4114 454 sound/i2c/other/ak4114.c struct ak4114 *ak4114 = entry->private_data; ak4114 458 sound/i2c/other/ak4114.c val = reg_read(ak4114, reg); ak4114 466 sound/i2c/other/ak4114.c if (!snd_card_proc_new(ak4114->card, "ak4114", &entry)) ak4114 467 sound/i2c/other/ak4114.c snd_info_set_text_ops(entry, ak4114, snd_ak4114_proc_regs_read); ak4114 480 sound/i2c/other/ak4114.c ak4114->playback_substream = ply_substream; ak4114 481 sound/i2c/other/ak4114.c ak4114->capture_substream = cap_substream; ak4114 483 sound/i2c/other/ak4114.c kctl = snd_ctl_new1(&snd_ak4114_iec958_controls[idx], ak4114); ak4114 489 sound/i2c/other/ak4114.c ak4114->kctls[idx] = NULL; ak4114 498 sound/i2c/other/ak4114.c err = snd_ctl_add(ak4114->card, kctl); ak4114 501 sound/i2c/other/ak4114.c ak4114->kctls[idx] = kctl; ak4114 503 sound/i2c/other/ak4114.c snd_ak4114_proc_init(ak4114); ak4114 505 sound/i2c/other/ak4114.c schedule_delayed_work(&ak4114->work, HZ / 10); ak4114 514 sound/i2c/other/ak4114.c if (!ak4114->kctls[0]) ak4114 518 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 519 sound/i2c/other/ak4114.c &ak4114->kctls[0]->id); ak4114 521 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 522 sound/i2c/other/ak4114.c &ak4114->kctls[1]->id); ak4114 524 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 525 sound/i2c/other/ak4114.c &ak4114->kctls[2]->id); ak4114 527 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 528 sound/i2c/other/ak4114.c &ak4114->kctls[3]->id); ak4114 532 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 533 sound/i2c/other/ak4114.c &ak4114->kctls[4]->id); ak4114 536 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 537 sound/i2c/other/ak4114.c &ak4114->kctls[9]->id); ak4114 539 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 540 sound/i2c/other/ak4114.c &ak4114->kctls[10]->id); ak4114 543 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 544 sound/i2c/other/ak4114.c &ak4114->kctls[11]->id); ak4114 546 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 547 sound/i2c/other/ak4114.c &ak4114->kctls[12]->id); ak4114 549 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 550 sound/i2c/other/ak4114.c &ak4114->kctls[13]->id); ak4114 552 sound/i2c/other/ak4114.c snd_ctl_notify(ak4114->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4114 553 sound/i2c/other/ak4114.c &ak4114->kctls[14]->id); ak4114 560 sound/i2c/other/ak4114.c rcs1 = reg_read(ak4114, AK4114_REG_RCS1); ak4114 566 sound/i2c/other/ak4114.c struct snd_pcm_runtime *runtime = ak4114->capture_substream ? ak4114->capture_substream->runtime : NULL; ak4114 572 sound/i2c/other/ak4114.c rcs1 = reg_read(ak4114, AK4114_REG_RCS1); ak4114 575 sound/i2c/other/ak4114.c rcs0 = reg_read(ak4114, AK4114_REG_RCS0); ak4114 576 sound/i2c/other/ak4114.c spin_lock_irqsave(&ak4114->lock, _flags); ak4114 578 sound/i2c/other/ak4114.c ak4114->parity_errors++; ak4114 580 sound/i2c/other/ak4114.c ak4114->v_bit_errors++; ak4114 582 sound/i2c/other/ak4114.c ak4114->ccrc_errors++; ak4114 584 sound/i2c/other/ak4114.c ak4114->qcrc_errors++; ak4114 585 sound/i2c/other/ak4114.c c0 = (ak4114->rcs0 & (AK4114_QINT | AK4114_CINT | AK4114_PEM | AK4114_AUDION | AK4114_AUTO | AK4114_UNLCK)) ^ ak4114 587 sound/i2c/other/ak4114.c c1 = (ak4114->rcs1 & 0xf0) ^ (rcs1 & 0xf0); ak4114 588 sound/i2c/other/ak4114.c ak4114->rcs0 = rcs0 & ~(AK4114_QINT | AK4114_CINT); ak4114 589 sound/i2c/other/ak4114.c ak4114->rcs1 = rcs1; ak4114 590 sound/i2c/other/ak4114.c spin_unlock_irqrestore(&ak4114->lock, _flags); ak4114 592 sound/i2c/other/ak4114.c ak4114_notify(ak4114, rcs0, rcs1, c0, c1); ak4114 593 sound/i2c/other/ak4114.c if (ak4114->change_callback && (c0 | c1) != 0) ak4114 594 sound/i2c/other/ak4114.c ak4114->change_callback(ak4114, c0, c1); ak4114 600 sound/i2c/other/ak4114.c snd_pcm_stream_lock_irqsave(ak4114->capture_substream, _flags); ak4114 601 sound/i2c/other/ak4114.c if (snd_pcm_running(ak4114->capture_substream)) { ak4114 603 sound/i2c/other/ak4114.c snd_pcm_stop(ak4114->capture_substream, SNDRV_PCM_STATE_DRAINING); ak4114 606 sound/i2c/other/ak4114.c snd_pcm_stream_unlock_irqrestore(ak4114->capture_substream, _flags); ak4114 613 sound/i2c/other/ak4114.c struct ak4114 *chip = container_of(work, struct ak4114, work.work); ak4114 39 sound/pci/ice1712/juli.c struct ak4114 *ak4114; ak4114 191 sound/pci/ice1712/juli.c rate = snd_ak4114_external_rate(spec->ak4114); ak4114 269 sound/pci/ice1712/juli.c snd_ak4114_reinit(spec->ak4114); ak4114 496 sound/pci/ice1712/juli.c err = snd_ak4114_build(spec->ak4114, NULL, ak4114 565 sound/pci/ice1712/juli.c struct snd_ice1712 *ice = ak4114->change_callback_private; ak4114 569 sound/pci/ice1712/juli.c rate = snd_ak4114_external_rate(ak4114); ak4114 604 sound/pci/ice1712/juli.c ice, &spec->ak4114); ak4114 608 sound/pci/ice1712/juli.c spec->ak4114->change_callback = juli_ak4114_change; ak4114 609 sound/pci/ice1712/juli.c spec->ak4114->change_callback_private = ice; ak4114 611 sound/pci/ice1712/juli.c spec->ak4114->check_flags = 0; ak4114 71 sound/pci/ice1712/prodigy192.c struct ak4114 *ak4114; ak4114 640 sound/pci/ice1712/prodigy192.c ice, &spec->ak4114); ak4114 645 sound/pci/ice1712/prodigy192.c spec->ak4114->check_flags = AK4114_CHECK_NO_RATE; ak4114 682 sound/pci/ice1712/prodigy192.c if (spec->ak4114) { ak4114 691 sound/pci/ice1712/prodigy192.c err = snd_ak4114_build(spec->ak4114, ak4114 484 sound/pci/ice1712/revo.c struct ak4114 *ak;