ak4117            177 include/sound/ak4117.h 	void (*change_callback)(struct ak4117 *ak4117, unsigned char c0, unsigned char c1);
ak4117             41 sound/i2c/other/ak4117.c 	ak4117->write(ak4117->private_data, reg, val);
ak4117             42 sound/i2c/other/ak4117.c 	if (reg < sizeof(ak4117->regmap))
ak4117             43 sound/i2c/other/ak4117.c 		ak4117->regmap[reg] = val;
ak4117             48 sound/i2c/other/ak4117.c 	return ak4117->read(ak4117->private_data, reg);
ak4117             58 sound/i2c/other/ak4117.c 		printk(KERN_DEBUG "reg[%02x] = %02x (%02x)\n", i, reg_read(ak4117, i), i < sizeof(ak4117->regmap) ? ak4117->regmap[i] : 0);
ak4117             70 sound/i2c/other/ak4117.c 	struct ak4117 *chip = device->device_data;
ak4117             78 sound/i2c/other/ak4117.c 	struct ak4117 *chip;
ak4117            172 sound/i2c/other/ak4117.c 	struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
ak4117            188 sound/i2c/other/ak4117.c 	struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
ak4117            210 sound/i2c/other/ak4117.c 	struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
ak4117            219 sound/i2c/other/ak4117.c 	struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
ak4117            245 sound/i2c/other/ak4117.c 	struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
ak4117            261 sound/i2c/other/ak4117.c 	struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
ak4117            295 sound/i2c/other/ak4117.c 	struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
ak4117            317 sound/i2c/other/ak4117.c 	struct ak4117 *chip = snd_kcontrol_chip(kcontrol);
ak4117            333 sound/i2c/other/ak4117.c 	.private_value = offsetof(struct ak4117, parity_errors),
ak4117            341 sound/i2c/other/ak4117.c 	.private_value = offsetof(struct ak4117, v_bit_errors),
ak4117            349 sound/i2c/other/ak4117.c 	.private_value = offsetof(struct ak4117, ccrc_errors),
ak4117            357 sound/i2c/other/ak4117.c 	.private_value = offsetof(struct ak4117, qcrc_errors),
ak4117            436 sound/i2c/other/ak4117.c 	ak4117->substream = cap_substream;
ak4117            438 sound/i2c/other/ak4117.c 		kctl = snd_ctl_new1(&snd_ak4117_iec958_controls[idx], ak4117);
ak4117            443 sound/i2c/other/ak4117.c 		err = snd_ctl_add(ak4117->card, kctl);
ak4117            446 sound/i2c/other/ak4117.c 		ak4117->kctls[idx] = kctl;
ak4117            455 sound/i2c/other/ak4117.c 	rcs1 = reg_read(ak4117, AK4117_REG_RCS1);
ak4117            461 sound/i2c/other/ak4117.c 	struct snd_pcm_runtime *runtime = ak4117->substream ? ak4117->substream->runtime : NULL;
ak4117            467 sound/i2c/other/ak4117.c 	rcs1 = reg_read(ak4117, AK4117_REG_RCS1);
ak4117            470 sound/i2c/other/ak4117.c 	rcs0 = reg_read(ak4117, AK4117_REG_RCS0);
ak4117            471 sound/i2c/other/ak4117.c 	rcs2 = reg_read(ak4117, AK4117_REG_RCS2);
ak4117            473 sound/i2c/other/ak4117.c 	spin_lock_irqsave(&ak4117->lock, _flags);
ak4117            475 sound/i2c/other/ak4117.c 		ak4117->parity_errors++;
ak4117            477 sound/i2c/other/ak4117.c 		ak4117->v_bit_errors++;
ak4117            479 sound/i2c/other/ak4117.c 		ak4117->ccrc_errors++;
ak4117            481 sound/i2c/other/ak4117.c 		ak4117->qcrc_errors++;
ak4117            482 sound/i2c/other/ak4117.c 	c0 = (ak4117->rcs0 & (AK4117_QINT | AK4117_CINT | AK4117_STC | AK4117_AUDION | AK4117_AUTO | AK4117_UNLCK)) ^
ak4117            484 sound/i2c/other/ak4117.c 	c1 = (ak4117->rcs1 & (AK4117_DTSCD | AK4117_NPCM | AK4117_PEM | 0x0f)) ^
ak4117            486 sound/i2c/other/ak4117.c 	ak4117->rcs0 = rcs0 & ~(AK4117_QINT | AK4117_CINT | AK4117_STC);
ak4117            487 sound/i2c/other/ak4117.c 	ak4117->rcs1 = rcs1;
ak4117            488 sound/i2c/other/ak4117.c 	ak4117->rcs2 = rcs2;
ak4117            489 sound/i2c/other/ak4117.c 	spin_unlock_irqrestore(&ak4117->lock, _flags);
ak4117            492 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[0]->id);
ak4117            494 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[1]->id);
ak4117            496 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[2]->id);
ak4117            498 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[3]->id);
ak4117            502 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[4]->id);
ak4117            505 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[6]->id);
ak4117            507 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[8]->id);
ak4117            510 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[9]->id);
ak4117            512 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[10]->id);
ak4117            514 sound/i2c/other/ak4117.c 		snd_ctl_notify(ak4117->card, SNDRV_CTL_EVENT_MASK_VALUE, &ak4117->kctls[11]->id);
ak4117            516 sound/i2c/other/ak4117.c 	if (ak4117->change_callback && (c0 | c1) != 0)
ak4117            517 sound/i2c/other/ak4117.c 		ak4117->change_callback(ak4117, c0, c1);
ak4117            523 sound/i2c/other/ak4117.c 		snd_pcm_stream_lock_irqsave(ak4117->substream, _flags);
ak4117            524 sound/i2c/other/ak4117.c 		if (snd_pcm_running(ak4117->substream)) {
ak4117            526 sound/i2c/other/ak4117.c 			snd_pcm_stop(ak4117->substream, SNDRV_PCM_STATE_DRAINING);
ak4117            530 sound/i2c/other/ak4117.c 		snd_pcm_stream_unlock_irqrestore(ak4117->substream, _flags);
ak4117            537 sound/i2c/other/ak4117.c 	struct ak4117 *chip = (struct ak4117 *)data;
ak4117             99 sound/pcmcia/pdaudiocf/pdaudiocf.h 	struct ak4117 *ak4117;
ak4117            124 sound/pcmcia/pdaudiocf/pdaudiocf_core.c 	snd_ak4117_reinit(chip->ak4117);
ak4117            168 sound/pcmcia/pdaudiocf/pdaudiocf_core.c 	struct snd_pdacf *chip = ak4117->change_callback_private;
ak4117            176 sound/pcmcia/pdaudiocf/pdaudiocf_core.c 	if (ak4117->rcs0 & AK4117_UNLCK)
ak4117            203 sound/pcmcia/pdaudiocf/pdaudiocf_core.c 	err = snd_ak4117_create(chip->card, pdacf_ak4117_read, pdacf_ak4117_write, pgm, chip, &chip->ak4117);
ak4117            231 sound/pcmcia/pdaudiocf/pdaudiocf_core.c 	chip->ak4117->change_callback_private = chip;
ak4117            232 sound/pcmcia/pdaudiocf/pdaudiocf_core.c 	chip->ak4117->change_callback = snd_pdacf_ak4117_change;
ak4117            235 sound/pcmcia/pdaudiocf/pdaudiocf_core.c 	snd_pdacf_ak4117_change(chip->ak4117, AK4117_UNLCK, 0);
ak4117            274 sound/pcmcia/pdaudiocf/pdaudiocf_core.c 	return (chip->ak4117->rcs0 & AK4117_UNLCK) == 0;
ak4117            284 sound/pcmcia/pdaudiocf/pdaudiocf_core.c 	       (snd_ak4117_external_rate(chip->ak4117) <= 0 || !check_signal(chip)))
ak4117             49 sound/pcmcia/pdaudiocf/pdaudiocf_irq.c 		snd_ak4117_check_rate_and_errors(chip->ak4117, 0);
ak4117            112 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c 		rate = snd_ak4117_check_rate_and_errors(chip->ak4117, AK4117_CHECK_NO_STAT|AK4117_CHECK_NO_RATE);
ak4117            129 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c 		if ((chip->ak4117->rcs0 & AK4117_UNLCK) || runtime->rate != rate) {
ak4117            140 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c 	snd_ak4117_check_rate_and_errors(chip->ak4117, AK4117_CHECK_NO_RATE);
ak4117            219 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c 		snd_ak4117_reg_write(chip->ak4117, AK4117_REG_IO, AK4117_DIF2|AK4117_DIF1|AK4117_DIF0, aval);
ak4117            344 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c 	err = snd_ak4117_build(chip->ak4117, pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream);