ak4113 295 include/sound/ak4113.h void (*change_callback)(struct ak4113 *ak4113, unsigned char c0, ak4113 302 include/sound/ak4113.h void *private_data, struct ak4113 **r_ak4113); ak4113 303 include/sound/ak4113.h void snd_ak4113_reg_write(struct ak4113 *ak4113, unsigned char reg, ak4113 305 include/sound/ak4113.h void snd_ak4113_reinit(struct ak4113 *ak4113); ak4113 306 include/sound/ak4113.h int snd_ak4113_build(struct ak4113 *ak4113, ak4113 308 include/sound/ak4113.h int snd_ak4113_external_rate(struct ak4113 *ak4113); ak4113 309 include/sound/ak4113.h int snd_ak4113_check_rate_and_errors(struct ak4113 *ak4113, unsigned int flags); ak4113 312 include/sound/ak4113.h void snd_ak4113_suspend(struct ak4113 *chip); ak4113 313 include/sound/ak4113.h void snd_ak4113_resume(struct ak4113 *chip); ak4113 315 include/sound/ak4113.h static inline void snd_ak4113_suspend(struct ak4113 *chip) {} ak4113 316 include/sound/ak4113.h static inline void snd_ak4113_resume(struct ak4113 *chip) {} ak4113 26 sound/i2c/other/ak4113.c static void ak4113_init_regs(struct ak4113 *chip); ak4113 29 sound/i2c/other/ak4113.c static void reg_write(struct ak4113 *ak4113, unsigned char reg, ak4113 32 sound/i2c/other/ak4113.c ak4113->write(ak4113->private_data, reg, val); ak4113 33 sound/i2c/other/ak4113.c if (reg < sizeof(ak4113->regmap)) ak4113 34 sound/i2c/other/ak4113.c ak4113->regmap[reg] = val; ak4113 37 sound/i2c/other/ak4113.c static inline unsigned char reg_read(struct ak4113 *ak4113, unsigned char reg) ak4113 39 sound/i2c/other/ak4113.c return ak4113->read(ak4113->private_data, reg); ak4113 42 sound/i2c/other/ak4113.c static void snd_ak4113_free(struct ak4113 *chip) ak4113 51 sound/i2c/other/ak4113.c struct ak4113 *chip = device->device_data; ak4113 58 sound/i2c/other/ak4113.c void *private_data, struct ak4113 **r_ak4113) ak4113 60 sound/i2c/other/ak4113.c struct ak4113 *chip; ak4113 101 sound/i2c/other/ak4113.c void snd_ak4113_reg_write(struct ak4113 *chip, unsigned char reg, ak4113 110 sound/i2c/other/ak4113.c static void ak4113_init_regs(struct ak4113 *chip) ak4113 126 sound/i2c/other/ak4113.c void snd_ak4113_reinit(struct ak4113 *chip) ak4113 186 sound/i2c/other/ak4113.c struct ak4113 *chip = snd_kcontrol_chip(kcontrol); ak4113 201 sound/i2c/other/ak4113.c struct ak4113 *chip = snd_kcontrol_chip(kcontrol); ak4113 224 sound/i2c/other/ak4113.c struct ak4113 *chip = snd_kcontrol_chip(kcontrol); ak4113 234 sound/i2c/other/ak4113.c struct ak4113 *chip = snd_kcontrol_chip(kcontrol); ak4113 262 sound/i2c/other/ak4113.c struct ak4113 *chip = snd_kcontrol_chip(kcontrol); ak4113 280 sound/i2c/other/ak4113.c struct ak4113 *chip = snd_kcontrol_chip(kcontrol); ak4113 317 sound/i2c/other/ak4113.c struct ak4113 *chip = snd_kcontrol_chip(kcontrol); ak4113 342 sound/i2c/other/ak4113.c struct ak4113 *chip = snd_kcontrol_chip(kcontrol); ak4113 469 sound/i2c/other/ak4113.c struct ak4113 *ak4113 = entry->private_data; ak4113 473 sound/i2c/other/ak4113.c val = reg_read(ak4113, reg); ak4113 478 sound/i2c/other/ak4113.c static void snd_ak4113_proc_init(struct ak4113 *ak4113) ak4113 480 sound/i2c/other/ak4113.c snd_card_ro_proc_new(ak4113->card, "ak4113", ak4113, ak4113 484 sound/i2c/other/ak4113.c int snd_ak4113_build(struct ak4113 *ak4113, ak4113 493 sound/i2c/other/ak4113.c ak4113->substream = cap_substream; ak4113 495 sound/i2c/other/ak4113.c kctl = snd_ctl_new1(&snd_ak4113_iec958_controls[idx], ak4113); ak4113 500 sound/i2c/other/ak4113.c err = snd_ctl_add(ak4113->card, kctl); ak4113 503 sound/i2c/other/ak4113.c ak4113->kctls[idx] = kctl; ak4113 505 sound/i2c/other/ak4113.c snd_ak4113_proc_init(ak4113); ak4113 507 sound/i2c/other/ak4113.c schedule_delayed_work(&ak4113->work, HZ / 10); ak4113 512 sound/i2c/other/ak4113.c int snd_ak4113_external_rate(struct ak4113 *ak4113) ak4113 516 sound/i2c/other/ak4113.c rcs1 = reg_read(ak4113, AK4113_REG_RCS1); ak4113 521 sound/i2c/other/ak4113.c int snd_ak4113_check_rate_and_errors(struct ak4113 *ak4113, unsigned int flags) ak4113 524 sound/i2c/other/ak4113.c ak4113->substream ? ak4113->substream->runtime : NULL; ak4113 530 sound/i2c/other/ak4113.c rcs1 = reg_read(ak4113, AK4113_REG_RCS1); ak4113 533 sound/i2c/other/ak4113.c rcs0 = reg_read(ak4113, AK4113_REG_RCS0); ak4113 534 sound/i2c/other/ak4113.c rcs2 = reg_read(ak4113, AK4113_REG_RCS2); ak4113 535 sound/i2c/other/ak4113.c spin_lock_irqsave(&ak4113->lock, _flags); ak4113 537 sound/i2c/other/ak4113.c ak4113->errors[AK4113_PARITY_ERRORS]++; ak4113 539 sound/i2c/other/ak4113.c ak4113->errors[AK4113_V_BIT_ERRORS]++; ak4113 541 sound/i2c/other/ak4113.c ak4113->errors[AK4113_CCRC_ERRORS]++; ak4113 543 sound/i2c/other/ak4113.c ak4113->errors[AK4113_QCRC_ERRORS]++; ak4113 544 sound/i2c/other/ak4113.c c0 = (ak4113->rcs0 & (AK4113_QINT | AK4113_CINT | AK4113_STC | ak4113 548 sound/i2c/other/ak4113.c c1 = (ak4113->rcs1 & (AK4113_DTSCD | AK4113_NPCM | AK4113_PEM | ak4113 552 sound/i2c/other/ak4113.c ak4113->rcs0 = rcs0 & ~(AK4113_QINT | AK4113_CINT | AK4113_STC); ak4113 553 sound/i2c/other/ak4113.c ak4113->rcs1 = rcs1; ak4113 554 sound/i2c/other/ak4113.c ak4113->rcs2 = rcs2; ak4113 555 sound/i2c/other/ak4113.c spin_unlock_irqrestore(&ak4113->lock, _flags); ak4113 558 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 559 sound/i2c/other/ak4113.c &ak4113->kctls[0]->id); ak4113 561 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 562 sound/i2c/other/ak4113.c &ak4113->kctls[1]->id); ak4113 564 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 565 sound/i2c/other/ak4113.c &ak4113->kctls[2]->id); ak4113 567 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 568 sound/i2c/other/ak4113.c &ak4113->kctls[3]->id); ak4113 572 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 573 sound/i2c/other/ak4113.c &ak4113->kctls[4]->id); ak4113 576 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 577 sound/i2c/other/ak4113.c &ak4113->kctls[6]->id); ak4113 579 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 580 sound/i2c/other/ak4113.c &ak4113->kctls[8]->id); ak4113 583 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 584 sound/i2c/other/ak4113.c &ak4113->kctls[9]->id); ak4113 586 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 587 sound/i2c/other/ak4113.c &ak4113->kctls[10]->id); ak4113 589 sound/i2c/other/ak4113.c snd_ctl_notify(ak4113->card, SNDRV_CTL_EVENT_MASK_VALUE, ak4113 590 sound/i2c/other/ak4113.c &ak4113->kctls[11]->id); ak4113 592 sound/i2c/other/ak4113.c if (ak4113->change_callback && (c0 | c1) != 0) ak4113 593 sound/i2c/other/ak4113.c ak4113->change_callback(ak4113, c0, c1); ak4113 600 sound/i2c/other/ak4113.c snd_pcm_stream_lock_irqsave(ak4113->substream, _flags); ak4113 601 sound/i2c/other/ak4113.c if (snd_pcm_running(ak4113->substream)) { ak4113 604 sound/i2c/other/ak4113.c snd_pcm_stop(ak4113->substream, ak4113 609 sound/i2c/other/ak4113.c snd_pcm_stream_unlock_irqrestore(ak4113->substream, _flags); ak4113 617 sound/i2c/other/ak4113.c struct ak4113 *chip = container_of(work, struct ak4113, work.work); ak4113 627 sound/i2c/other/ak4113.c void snd_ak4113_suspend(struct ak4113 *chip) ak4113 634 sound/i2c/other/ak4113.c void snd_ak4113_resume(struct ak4113 *chip) ak4113 25 sound/pci/ice1712/quartet.c struct ak4113 *ak4113; ak4113 814 sound/pci/ice1712/quartet.c return snd_ak4113_build(spec->ak4113, ak4113 928 sound/pci/ice1712/quartet.c static void qtet_ak4113_change(struct ak4113 *ak4113, unsigned char c0, ak4113 931 sound/pci/ice1712/quartet.c struct snd_ice1712 *ice = ak4113->change_callback_private; ak4113 936 sound/pci/ice1712/quartet.c rate = snd_ak4113_external_rate(ak4113); ak4113 958 sound/pci/ice1712/quartet.c rate = snd_ak4113_external_rate(spec->ak4113); ak4113 1040 sound/pci/ice1712/quartet.c ice, &spec->ak4113); ak4113 1044 sound/pci/ice1712/quartet.c spec->ak4113->change_callback = qtet_ak4113_change; ak4113 1045 sound/pci/ice1712/quartet.c spec->ak4113->change_callback_private = ice; ak4113 1048 sound/pci/ice1712/quartet.c spec->ak4113->check_flags = 0;