ak                 19 include/sound/ak4xxx-adda.h 	void (*lock)(struct snd_akm4xxx *ak, int chip);
ak                 20 include/sound/ak4xxx-adda.h 	void (*unlock)(struct snd_akm4xxx *ak, int chip);
ak                 21 include/sound/ak4xxx-adda.h 	void (*write)(struct snd_akm4xxx *ak, int chip, unsigned char reg,
ak                 23 include/sound/ak4xxx-adda.h 	void (*set_rate_val)(struct snd_akm4xxx *ak, unsigned int rate);
ak                 70 include/sound/ak4xxx-adda.h void snd_akm4xxx_write(struct snd_akm4xxx *ak, int chip, unsigned char reg,
ak                 72 include/sound/ak4xxx-adda.h void snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state);
ak                 73 include/sound/ak4xxx-adda.h void snd_akm4xxx_init(struct snd_akm4xxx *ak);
ak                 74 include/sound/ak4xxx-adda.h int snd_akm4xxx_build_controls(struct snd_akm4xxx *ak);
ak                 76 include/sound/ak4xxx-adda.h #define snd_akm4xxx_get(ak,chip,reg) \
ak                 77 include/sound/ak4xxx-adda.h 	(ak)->images[(chip) * 16 + (reg)]
ak                 78 include/sound/ak4xxx-adda.h #define snd_akm4xxx_set(ak,chip,reg,val) \
ak                 79 include/sound/ak4xxx-adda.h 	((ak)->images[(chip) * 16 + (reg)] = (val))
ak                 80 include/sound/ak4xxx-adda.h #define snd_akm4xxx_get_vol(ak,chip,reg) \
ak                 81 include/sound/ak4xxx-adda.h 	(ak)->volumes[(chip) * 16 + (reg)]
ak                 82 include/sound/ak4xxx-adda.h #define snd_akm4xxx_set_vol(ak,chip,reg,val) \
ak                 83 include/sound/ak4xxx-adda.h 	((ak)->volumes[(chip) * 16 + (reg)] = (val))
ak               1127 lib/bch.c      	unsigned int sum, x, y, remaining, ak = 0, xi[BCH_MAX_M];
ak               1135 lib/bch.c      			ak = bch->a_pow_tab[i];
ak               1154 lib/bch.c      			y ^= ak;
ak                772 net/sctp/ulpevent.c 	struct sctp_authkey_event *ak;
ak                781 net/sctp/ulpevent.c 	ak = skb_put(skb, sizeof(struct sctp_authkey_event));
ak                783 net/sctp/ulpevent.c 	ak->auth_type = SCTP_AUTHENTICATION_EVENT;
ak                784 net/sctp/ulpevent.c 	ak->auth_flags = 0;
ak                785 net/sctp/ulpevent.c 	ak->auth_length = sizeof(struct sctp_authkey_event);
ak                787 net/sctp/ulpevent.c 	ak->auth_keynumber = key_id;
ak                788 net/sctp/ulpevent.c 	ak->auth_altkeynumber = 0;
ak                789 net/sctp/ulpevent.c 	ak->auth_indication = indication;
ak                795 net/sctp/ulpevent.c 	ak->auth_assoc_id = sctp_assoc2id(asoc);
ak                 26 sound/i2c/other/ak4xxx-adda.c void snd_akm4xxx_write(struct snd_akm4xxx *ak, int chip, unsigned char reg,
ak                 29 sound/i2c/other/ak4xxx-adda.c 	ak->ops.lock(ak, chip);
ak                 30 sound/i2c/other/ak4xxx-adda.c 	ak->ops.write(ak, chip, reg, val);
ak                 33 sound/i2c/other/ak4xxx-adda.c 	snd_akm4xxx_set(ak, chip, reg, val);
ak                 34 sound/i2c/other/ak4xxx-adda.c 	ak->ops.unlock(ak, chip);
ak                 40 sound/i2c/other/ak4xxx-adda.c static void ak4524_reset(struct snd_akm4xxx *ak, int state)
ak                 45 sound/i2c/other/ak4xxx-adda.c 	for (chip = 0; chip < ak->num_dacs/2; chip++) {
ak                 46 sound/i2c/other/ak4xxx-adda.c 		snd_akm4xxx_write(ak, chip, 0x01, state ? 0x00 : 0x03);
ak                 50 sound/i2c/other/ak4xxx-adda.c 		for (reg = 0x04; reg < ak->total_regs; reg++)
ak                 51 sound/i2c/other/ak4xxx-adda.c 			snd_akm4xxx_write(ak, chip, reg,
ak                 52 sound/i2c/other/ak4xxx-adda.c 					  snd_akm4xxx_get(ak, chip, reg));
ak                 57 sound/i2c/other/ak4xxx-adda.c static void ak435X_reset(struct snd_akm4xxx *ak, int state)
ak                 62 sound/i2c/other/ak4xxx-adda.c 		snd_akm4xxx_write(ak, 0, 0x01, 0x02); /* reset and soft-mute */
ak                 65 sound/i2c/other/ak4xxx-adda.c 	for (reg = 0x00; reg < ak->total_regs; reg++)
ak                 67 sound/i2c/other/ak4xxx-adda.c 			snd_akm4xxx_write(ak, 0, reg,
ak                 68 sound/i2c/other/ak4xxx-adda.c 					  snd_akm4xxx_get(ak, 0, reg));
ak                 69 sound/i2c/other/ak4xxx-adda.c 	snd_akm4xxx_write(ak, 0, 0x01, 0x01); /* un-reset, unmute */
ak                 73 sound/i2c/other/ak4xxx-adda.c static void ak4381_reset(struct snd_akm4xxx *ak, int state)
ak                 77 sound/i2c/other/ak4xxx-adda.c 	for (chip = 0; chip < ak->num_dacs/2; chip++) {
ak                 78 sound/i2c/other/ak4xxx-adda.c 		snd_akm4xxx_write(ak, chip, 0x00, state ? 0x0c : 0x0f);
ak                 81 sound/i2c/other/ak4xxx-adda.c 		for (reg = 0x01; reg < ak->total_regs; reg++)
ak                 82 sound/i2c/other/ak4xxx-adda.c 			snd_akm4xxx_write(ak, chip, reg,
ak                 83 sound/i2c/other/ak4xxx-adda.c 					  snd_akm4xxx_get(ak, chip, reg));
ak                 93 sound/i2c/other/ak4xxx-adda.c void snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state)
ak                 95 sound/i2c/other/ak4xxx-adda.c 	switch (ak->type) {
ak                 99 sound/i2c/other/ak4xxx-adda.c 		ak4524_reset(ak, state);
ak                105 sound/i2c/other/ak4xxx-adda.c 		ak435X_reset(ak, state);
ak                108 sound/i2c/other/ak4xxx-adda.c 		ak435X_reset(ak, state);
ak                111 sound/i2c/other/ak4xxx-adda.c 		ak4381_reset(ak, state);
ak                158 sound/i2c/other/ak4xxx-adda.c void snd_akm4xxx_init(struct snd_akm4xxx *ak)
ak                264 sound/i2c/other/ak4xxx-adda.c 	memset(ak->images, 0, sizeof(ak->images));
ak                265 sound/i2c/other/ak4xxx-adda.c 	memset(ak->volumes, 0, sizeof(ak->volumes));
ak                267 sound/i2c/other/ak4xxx-adda.c 	switch (ak->type) {
ak                270 sound/i2c/other/ak4xxx-adda.c 		ak->num_chips = ak->num_dacs / 2;
ak                271 sound/i2c/other/ak4xxx-adda.c 		ak->name = "ak4524";
ak                272 sound/i2c/other/ak4xxx-adda.c 		ak->total_regs = 0x08;
ak                276 sound/i2c/other/ak4xxx-adda.c 		ak->num_chips = ak->num_dacs / 2;
ak                277 sound/i2c/other/ak4xxx-adda.c 		ak->name = "ak4528";
ak                278 sound/i2c/other/ak4xxx-adda.c 		ak->total_regs = 0x06;
ak                282 sound/i2c/other/ak4xxx-adda.c 		ak->num_chips = 1;
ak                283 sound/i2c/other/ak4xxx-adda.c 		ak->name = "ak4529";
ak                284 sound/i2c/other/ak4xxx-adda.c 		ak->total_regs = 0x0d;
ak                288 sound/i2c/other/ak4xxx-adda.c 		ak->num_chips = 1;
ak                289 sound/i2c/other/ak4xxx-adda.c 		ak->name = "ak4355";
ak                290 sound/i2c/other/ak4xxx-adda.c 		ak->total_regs = 0x0b;
ak                294 sound/i2c/other/ak4xxx-adda.c 		ak->num_chips = 1;
ak                295 sound/i2c/other/ak4xxx-adda.c 		ak->name = "ak4358";
ak                296 sound/i2c/other/ak4xxx-adda.c 		ak->total_regs = 0x10;
ak                300 sound/i2c/other/ak4xxx-adda.c 		ak->num_chips = ak->num_dacs / 2;
ak                301 sound/i2c/other/ak4xxx-adda.c 		ak->name = "ak4381";
ak                302 sound/i2c/other/ak4xxx-adda.c 		ak->total_regs = 0x05;
ak                306 sound/i2c/other/ak4xxx-adda.c 		ak->num_chips = 1;
ak                307 sound/i2c/other/ak4xxx-adda.c 		ak->name = "ak5365";
ak                308 sound/i2c/other/ak4xxx-adda.c 		ak->total_regs = 0x08;
ak                312 sound/i2c/other/ak4xxx-adda.c 		ak->num_chips = ak->num_dacs / 2;
ak                313 sound/i2c/other/ak4xxx-adda.c 		ak->name = "ak4620";
ak                314 sound/i2c/other/ak4xxx-adda.c 		ak->total_regs = 0x08;
ak                321 sound/i2c/other/ak4xxx-adda.c 	for (chip = 0; chip < ak->num_chips; chip++) {
ak                326 sound/i2c/other/ak4xxx-adda.c 			snd_akm4xxx_write(ak, chip, reg, data);
ak                367 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                371 sound/i2c/other/ak4xxx-adda.c 	ucontrol->value.integer.value[0] = snd_akm4xxx_get_vol(ak, chip, addr);
ak                378 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                382 sound/i2c/other/ak4xxx-adda.c 	if (snd_akm4xxx_get_vol(ak, chip, addr) == nval)
ak                385 sound/i2c/other/ak4xxx-adda.c 	snd_akm4xxx_set_vol(ak, chip, addr, nval);
ak                396 sound/i2c/other/ak4xxx-adda.c 	snd_akm4xxx_write(ak, chip, addr, nval);
ak                425 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                429 sound/i2c/other/ak4xxx-adda.c 	ucontrol->value.integer.value[0] = snd_akm4xxx_get_vol(ak, chip, addr);
ak                430 sound/i2c/other/ak4xxx-adda.c 	ucontrol->value.integer.value[1] = snd_akm4xxx_get_vol(ak, chip, addr+1);
ak                463 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                468 sound/i2c/other/ak4xxx-adda.c 		(snd_akm4xxx_get(ak, chip, addr) >> shift) & 3;
ak                475 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                483 sound/i2c/other/ak4xxx-adda.c 		(snd_akm4xxx_get(ak, chip, addr) & ~(3 << shift));
ak                484 sound/i2c/other/ak4xxx-adda.c 	change = snd_akm4xxx_get(ak, chip, addr) != nval;
ak                486 sound/i2c/other/ak4xxx-adda.c 		snd_akm4xxx_write(ak, chip, addr, nval);
ak                495 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                501 sound/i2c/other/ak4xxx-adda.c 	unsigned char val = snd_akm4xxx_get(ak, chip, addr) & (1<<shift);
ak                511 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                522 sound/i2c/other/ak4xxx-adda.c 	oval = snd_akm4xxx_get(ak, chip, addr);
ak                529 sound/i2c/other/ak4xxx-adda.c 		snd_akm4xxx_write(ak, chip, addr, val);
ak                535 sound/i2c/other/ak4xxx-adda.c static int ak4xxx_capture_num_inputs(struct snd_akm4xxx *ak, int mixer_ch)
ak                540 sound/i2c/other/ak4xxx-adda.c 	input_names = ak->adc_info[mixer_ch].input_names;
ak                550 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                554 sound/i2c/other/ak4xxx-adda.c 	num_names = ak4xxx_capture_num_inputs(ak, mixer_ch);
ak                558 sound/i2c/other/ak4xxx-adda.c 				 ak->adc_info[mixer_ch].input_names);
ak                564 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                570 sound/i2c/other/ak4xxx-adda.c 	val = snd_akm4xxx_get(ak, chip, addr) & mask;
ak                578 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol);
ak                584 sound/i2c/other/ak4xxx-adda.c 	int num_names = ak4xxx_capture_num_inputs(ak, mixer_ch);
ak                589 sound/i2c/other/ak4xxx-adda.c 	oval = snd_akm4xxx_get(ak, chip, addr);
ak                593 sound/i2c/other/ak4xxx-adda.c 		snd_akm4xxx_write(ak, chip, addr, val);
ak                603 sound/i2c/other/ak4xxx-adda.c static int build_dac_controls(struct snd_akm4xxx *ak)
ak                609 sound/i2c/other/ak4xxx-adda.c 	for (idx = 0; idx < ak->num_dacs; ) {
ak                611 sound/i2c/other/ak4xxx-adda.c 		if (ak->type == SND_AK4381 
ak                612 sound/i2c/other/ak4xxx-adda.c 				&&  ak->dac_info[mixer_ch].switch_name) {
ak                617 sound/i2c/other/ak4xxx-adda.c 			knew.name = ak->dac_info[mixer_ch].switch_name;
ak                626 sound/i2c/other/ak4xxx-adda.c 			err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak));
ak                631 sound/i2c/other/ak4xxx-adda.c 		if (! ak->dac_info || ! ak->dac_info[mixer_ch].name) {
ak                633 sound/i2c/other/ak4xxx-adda.c 			knew.index = mixer_ch + ak->idx_offset * 2;
ak                636 sound/i2c/other/ak4xxx-adda.c 			knew.name = ak->dac_info[mixer_ch].name;
ak                637 sound/i2c/other/ak4xxx-adda.c 			num_stereo = ak->dac_info[mixer_ch].num_channels;
ak                652 sound/i2c/other/ak4xxx-adda.c 		switch (ak->type) {
ak                704 sound/i2c/other/ak4xxx-adda.c 		err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak));
ak                714 sound/i2c/other/ak4xxx-adda.c static int build_adc_controls(struct snd_akm4xxx *ak)
ak                720 sound/i2c/other/ak4xxx-adda.c 	if (ak->type == SND_AK4528)
ak                722 sound/i2c/other/ak4xxx-adda.c 	for (idx = 0; idx < ak->num_adcs;) {
ak                724 sound/i2c/other/ak4xxx-adda.c 		if (! ak->adc_info || ! ak->adc_info[mixer_ch].name) {
ak                726 sound/i2c/other/ak4xxx-adda.c 			knew.index = mixer_ch + ak->idx_offset * 2;
ak                729 sound/i2c/other/ak4xxx-adda.c 			knew.name = ak->adc_info[mixer_ch].name;
ak                730 sound/i2c/other/ak4xxx-adda.c 			num_stereo = ak->adc_info[mixer_ch].num_channels;
ak                746 sound/i2c/other/ak4xxx-adda.c 		if (ak->type == SND_AK5365)
ak                754 sound/i2c/other/ak4xxx-adda.c 		err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak));
ak                758 sound/i2c/other/ak4xxx-adda.c 		if (ak->type == SND_AK5365 && (idx % 2) == 0) {
ak                759 sound/i2c/other/ak4xxx-adda.c 			if (! ak->adc_info || 
ak                760 sound/i2c/other/ak4xxx-adda.c 			    ! ak->adc_info[mixer_ch].switch_name) {
ak                762 sound/i2c/other/ak4xxx-adda.c 				knew.index = mixer_ch + ak->idx_offset * 2;
ak                764 sound/i2c/other/ak4xxx-adda.c 				knew.name = ak->adc_info[mixer_ch].switch_name;
ak                773 sound/i2c/other/ak4xxx-adda.c 			err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak));
ak                778 sound/i2c/other/ak4xxx-adda.c 			if (!ak->adc_info ||
ak                779 sound/i2c/other/ak4xxx-adda.c 				!ak->adc_info[mixer_ch].selector_name) {
ak                781 sound/i2c/other/ak4xxx-adda.c 				knew.index = mixer_ch + ak->idx_offset * 2;
ak                783 sound/i2c/other/ak4xxx-adda.c 				knew.name = ak->adc_info[mixer_ch].selector_name;
ak                794 sound/i2c/other/ak4xxx-adda.c 			err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak));
ak                805 sound/i2c/other/ak4xxx-adda.c static int build_deemphasis(struct snd_akm4xxx *ak, int num_emphs)
ak                813 sound/i2c/other/ak4xxx-adda.c 		knew.index = idx + ak->idx_offset;
ak                819 sound/i2c/other/ak4xxx-adda.c 		switch (ak->type) {
ak                842 sound/i2c/other/ak4xxx-adda.c 		err = snd_ctl_add(ak->card, snd_ctl_new1(&knew, ak));
ak                852 sound/i2c/other/ak4xxx-adda.c 	struct snd_akm4xxx *ak = entry->private_data;
ak                854 sound/i2c/other/ak4xxx-adda.c 	for (chip = 0; chip < ak->num_chips; chip++) {
ak                855 sound/i2c/other/ak4xxx-adda.c 		for (reg = 0; reg < ak->total_regs; reg++) {
ak                856 sound/i2c/other/ak4xxx-adda.c 			val =  snd_akm4xxx_get(ak, chip, reg);
ak                863 sound/i2c/other/ak4xxx-adda.c static int proc_init(struct snd_akm4xxx *ak)
ak                865 sound/i2c/other/ak4xxx-adda.c 	return snd_card_ro_proc_new(ak->card, ak->name, ak, proc_regs_read);
ak                868 sound/i2c/other/ak4xxx-adda.c int snd_akm4xxx_build_controls(struct snd_akm4xxx *ak)
ak                872 sound/i2c/other/ak4xxx-adda.c 	err = build_dac_controls(ak);
ak                876 sound/i2c/other/ak4xxx-adda.c 	err = build_adc_controls(ak);
ak                879 sound/i2c/other/ak4xxx-adda.c 	if (ak->type == SND_AK4355 || ak->type == SND_AK4358)
ak                881 sound/i2c/other/ak4xxx-adda.c 	else if (ak->type == SND_AK4620)
ak                884 sound/i2c/other/ak4xxx-adda.c 		num_emphs = ak->num_dacs / 2;
ak                885 sound/i2c/other/ak4xxx-adda.c 	err = build_deemphasis(ak, num_emphs);
ak                888 sound/i2c/other/ak4xxx-adda.c 	err = proc_init(ak);
ak                 24 sound/pci/ice1712/ak4xxx.c static void snd_ice1712_akm4xxx_lock(struct snd_akm4xxx *ak, int chip)
ak                 26 sound/pci/ice1712/ak4xxx.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                 31 sound/pci/ice1712/ak4xxx.c static void snd_ice1712_akm4xxx_unlock(struct snd_akm4xxx *ak, int chip)
ak                 33 sound/pci/ice1712/ak4xxx.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                 41 sound/pci/ice1712/ak4xxx.c static void snd_ice1712_akm4xxx_write(struct snd_akm4xxx *ak, int chip,
ak                 47 sound/pci/ice1712/ak4xxx.c 	struct snd_ak4xxx_private *priv = (void *)ak->private_value[0];
ak                 48 sound/pci/ice1712/ak4xxx.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                112 sound/pci/ice1712/ak4xxx.c int snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak, const struct snd_akm4xxx *temp,
ak                125 sound/pci/ice1712/ak4xxx.c 	*ak = *temp;
ak                126 sound/pci/ice1712/ak4xxx.c 	ak->card = ice->card;
ak                127 sound/pci/ice1712/ak4xxx.c         ak->private_value[0] = (unsigned long)priv;
ak                128 sound/pci/ice1712/ak4xxx.c 	ak->private_data[0] = ice;
ak                129 sound/pci/ice1712/ak4xxx.c 	if (ak->ops.lock == NULL)
ak                130 sound/pci/ice1712/ak4xxx.c 		ak->ops.lock = snd_ice1712_akm4xxx_lock;
ak                131 sound/pci/ice1712/ak4xxx.c 	if (ak->ops.unlock == NULL)
ak                132 sound/pci/ice1712/ak4xxx.c 		ak->ops.unlock = snd_ice1712_akm4xxx_unlock;
ak                133 sound/pci/ice1712/ak4xxx.c 	if (ak->ops.write == NULL)
ak                134 sound/pci/ice1712/ak4xxx.c 		ak->ops.write = snd_ice1712_akm4xxx_write;
ak                135 sound/pci/ice1712/ak4xxx.c 	snd_akm4xxx_init(ak);
ak                145 sound/pci/ice1712/ak4xxx.c 		struct snd_akm4xxx *ak = &ice->akm[akidx];
ak                146 sound/pci/ice1712/ak4xxx.c 		kfree((void*)ak->private_value[0]);
ak                160 sound/pci/ice1712/ak4xxx.c 		struct snd_akm4xxx *ak = &ice->akm[akidx];
ak                161 sound/pci/ice1712/ak4xxx.c 		err = snd_akm4xxx_build_controls(ak);
ak                247 sound/pci/ice1712/delta.c static void delta_ak4524_lock(struct snd_akm4xxx *ak, int chip)
ak                249 sound/pci/ice1712/delta.c         struct snd_ak4xxx_private *priv = (void *)ak->private_value[0];
ak                250 sound/pci/ice1712/delta.c         struct snd_ice1712 *ice = ak->private_data[0];
ak                261 sound/pci/ice1712/delta.c static void delta1010lt_ak4524_lock(struct snd_akm4xxx *ak, int chip)
ak                263 sound/pci/ice1712/delta.c         struct snd_ak4xxx_private *priv = (void *)ak->private_value[0];
ak                264 sound/pci/ice1712/delta.c         struct snd_ice1712 *ice = ak->private_data[0];
ak                274 sound/pci/ice1712/delta.c static void delta66e_ak4524_lock(struct snd_akm4xxx *ak, int chip)
ak                276 sound/pci/ice1712/delta.c 	struct snd_ak4xxx_private *priv = (void *)ak->private_value[0];
ak                277 sound/pci/ice1712/delta.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                288 sound/pci/ice1712/delta.c static void vx442_ak4524_lock(struct snd_akm4xxx *ak, int chip)
ak                290 sound/pci/ice1712/delta.c         struct snd_ak4xxx_private *priv = (void *)ak->private_value[0];
ak                291 sound/pci/ice1712/delta.c         struct snd_ice1712 *ice = ak->private_data[0];
ak                322 sound/pci/ice1712/delta.c static void delta_ak4524_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
ak                325 sound/pci/ice1712/delta.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                341 sound/pci/ice1712/delta.c 	snd_akm4xxx_reset(ak, 1);
ak                348 sound/pci/ice1712/delta.c 	snd_akm4xxx_reset(ak, 0);
ak                354 sound/pci/ice1712/delta.c static void vx442_ak4524_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
ak                359 sound/pci/ice1712/delta.c 	if (snd_akm4xxx_get(ak, 0, 0x02) != val ||
ak                360 sound/pci/ice1712/delta.c 	    snd_akm4xxx_get(ak, 1, 0x02) != val) {
ak                361 sound/pci/ice1712/delta.c 		snd_akm4xxx_reset(ak, 1);
ak                362 sound/pci/ice1712/delta.c 		snd_akm4xxx_write(ak, 0, 0x02, val);
ak                363 sound/pci/ice1712/delta.c 		snd_akm4xxx_write(ak, 1, 0x02, val);
ak                364 sound/pci/ice1712/delta.c 		snd_akm4xxx_reset(ak, 0);
ak                617 sound/pci/ice1712/delta.c 	struct snd_akm4xxx *ak;
ak                717 sound/pci/ice1712/delta.c 	ak = ice->akm = kmalloc(sizeof(struct snd_akm4xxx), GFP_KERNEL);
ak                718 sound/pci/ice1712/delta.c 	if (! ak)
ak                724 sound/pci/ice1712/delta.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_audiophile, &akm_audiophile_priv, ice);
ak                727 sound/pci/ice1712/delta.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_delta410, &akm_delta410_priv, ice);
ak                731 sound/pci/ice1712/delta.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_delta1010lt, &akm_delta1010lt_priv, ice);
ak                735 sound/pci/ice1712/delta.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_delta44, &akm_delta44_priv, ice);
ak                738 sound/pci/ice1712/delta.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_vx442, &akm_vx442_priv, ice);
ak                741 sound/pci/ice1712/delta.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_delta66e, &akm_delta66e_priv, ice);
ak                158 sound/pci/ice1712/ews.c static void ews88mt_ak4524_lock(struct snd_akm4xxx *ak, int chip)
ak                160 sound/pci/ice1712/ews.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                175 sound/pci/ice1712/ews.c static void ews88mt_ak4524_unlock(struct snd_akm4xxx *ak, int chip)
ak                177 sound/pci/ice1712/ews.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                184 sound/pci/ice1712/ews.c static void ewx2496_ak4524_lock(struct snd_akm4xxx *ak, int chip)
ak                186 sound/pci/ice1712/ews.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                199 sound/pci/ice1712/ews.c static void dmx6fire_ak4524_lock(struct snd_akm4xxx *ak, int chip)
ak                201 sound/pci/ice1712/ews.c 	struct snd_ak4xxx_private *priv = (void *)ak->private_value[0];
ak                202 sound/pci/ice1712/ews.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                412 sound/pci/ice1712/ews.c 	struct snd_akm4xxx *ak;
ak                534 sound/pci/ice1712/ews.c 	ak = ice->akm = kzalloc(sizeof(struct snd_akm4xxx), GFP_KERNEL);
ak                535 sound/pci/ice1712/ews.c 	if (! ak)
ak                544 sound/pci/ice1712/ews.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_ews88mt, &akm_ews88mt_priv, ice);
ak                547 sound/pci/ice1712/ews.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_ewx2496, &akm_ewx2496_priv, ice);
ak                550 sound/pci/ice1712/ews.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_6fire, &akm_6fire_priv, ice);
ak                262 sound/pci/ice1712/hoontech.c static void stdsp24_ak4524_lock(struct snd_akm4xxx *ak, int chip)
ak                264 sound/pci/ice1712/hoontech.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                299 sound/pci/ice1712/hoontech.c 	struct snd_akm4xxx *ak;
ak                308 sound/pci/ice1712/hoontech.c 	ak = ice->akm = kmalloc(sizeof(struct snd_akm4xxx), GFP_KERNEL);
ak                309 sound/pci/ice1712/hoontech.c 	if (! ak)
ak                313 sound/pci/ice1712/hoontech.c 	err = snd_ice1712_akm4xxx_init(ak, &akm_stdsp24_mv, &akm_stdsp24_mv_priv, ice);
ak                262 sound/pci/ice1712/ice1712.h 		void (*set_rate_val)(struct snd_akm4xxx *ak, unsigned int rate);
ak                481 sound/pci/ice1712/ice1712.h int snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak,
ak                187 sound/pci/ice1712/juli.c static void juli_akm_lock(struct snd_akm4xxx *ak, int chip)
ak                191 sound/pci/ice1712/juli.c static void juli_akm_unlock(struct snd_akm4xxx *ak, int chip)
ak                195 sound/pci/ice1712/juli.c static void juli_akm_write(struct snd_akm4xxx *ak, int chip,
ak                198 sound/pci/ice1712/juli.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                208 sound/pci/ice1712/juli.c static void juli_akm_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
ak                212 sound/pci/ice1712/juli.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                245 sound/pci/ice1712/juli.c 	tmp = snd_akm4xxx_get(ak, 0, 2);
ak                246 sound/pci/ice1712/juli.c 	snd_akm4xxx_reset(ak, 1);
ak                247 sound/pci/ice1712/juli.c 	tmp = snd_akm4xxx_get(ak, 0, 2);
ak                250 sound/pci/ice1712/juli.c 	snd_akm4xxx_set(ak, 0, 2, tmp);
ak                251 sound/pci/ice1712/juli.c 	snd_akm4xxx_reset(ak, 0);
ak                474 sound/pci/ice1712/juli.c 	struct snd_akm4xxx *ak = ice->akm;
ak                477 sound/pci/ice1712/juli.c 	snd_akm4xxx_reset(ak, 0);
ak                485 sound/pci/ice1712/juli.c 	struct snd_akm4xxx *ak = ice->akm;
ak                488 sound/pci/ice1712/juli.c 	snd_akm4xxx_reset(ak, 1);
ak                583 sound/pci/ice1712/juli.c 	struct snd_akm4xxx *ak;
ak                620 sound/pci/ice1712/juli.c 		ak = ice->akm;
ak                621 sound/pci/ice1712/juli.c 		if (!ak)
ak                624 sound/pci/ice1712/juli.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_juli_dac, NULL, ice);
ak                111 sound/pci/ice1712/phase.c 	struct snd_akm4xxx *ak;
ak                129 sound/pci/ice1712/phase.c 	ak = ice->akm;
ak                130 sound/pci/ice1712/phase.c 	if (!ak)
ak                136 sound/pci/ice1712/phase.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_phase22,
ak                407 sound/pci/ice1712/phase.c 	struct snd_akm4xxx *ak;
ak                422 sound/pci/ice1712/phase.c 	ak = ice->akm;
ak                423 sound/pci/ice1712/phase.c 	if (!ak)
ak                257 sound/pci/ice1712/quartet.c static void qtet_akm_write(struct snd_akm4xxx *ak, int chip,
ak                263 sound/pci/ice1712/quartet.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                319 sound/pci/ice1712/quartet.c static void qtet_akm_set_regs(struct snd_akm4xxx *ak, unsigned char addr,
ak                324 sound/pci/ice1712/quartet.c 	for (chip = 0; chip < ak->num_chips; chip++) {
ak                325 sound/pci/ice1712/quartet.c 		tmp = snd_akm4xxx_get(ak, chip, addr);
ak                330 sound/pci/ice1712/quartet.c 		snd_akm4xxx_write(ak, chip, addr, tmp);
ak                337 sound/pci/ice1712/quartet.c static void qtet_akm_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
ak                354 sound/pci/ice1712/quartet.c 	qtet_akm_set_regs(ak, AK4620_DFS_REG, AK4620_DFS0 | AK4620_DFS1 |
ak                521 sound/pci/ice1712/quartet.c 		struct snd_akm4xxx *ak = ice->akm;
ak                524 sound/pci/ice1712/quartet.c 		qtet_akm_set_regs(ak, AK4620_DEEMVOL_REG, AK4620_SMUTE, smute);
ak                984 sound/pci/ice1712/quartet.c 	struct snd_akm4xxx *ak;
ak               1028 sound/pci/ice1712/quartet.c 	ak = ice->akm;
ak               1029 sound/pci/ice1712/quartet.c 	if (!ak)
ak               1033 sound/pci/ice1712/quartet.c 	err = snd_ice1712_akm4xxx_init(ak, &akm_qtet_dac, NULL, ice);
ak                 39 sound/pci/ice1712/revo.c static void revo_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
ak                 55 sound/pci/ice1712/revo.c 	if (ak->type == SND_AK4355 || ak->type == SND_AK4358) {
ak                 62 sound/pci/ice1712/revo.c 	tmp = snd_akm4xxx_get(ak, 0, reg);
ak                 68 sound/pci/ice1712/revo.c 	snd_akm4xxx_reset(ak, 1);
ak                 69 sound/pci/ice1712/revo.c 	tmp = snd_akm4xxx_get(ak, 0, reg);
ak                 73 sound/pci/ice1712/revo.c 	snd_akm4xxx_set(ak, 0, reg, tmp); /* value is written in reset(0) */
ak                 74 sound/pci/ice1712/revo.c 	snd_akm4xxx_reset(ak, 0);
ak                309 sound/pci/ice1712/revo.c static void ap192_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate)
ak                311 sound/pci/ice1712/revo.c 	struct snd_ice1712 *ice = ak->private_data[0];
ak                314 sound/pci/ice1712/revo.c 	revo_set_rate_val(ak, rate);
ak                494 sound/pci/ice1712/revo.c 	struct snd_akm4xxx *ak;
ak                518 sound/pci/ice1712/revo.c 	ak = ice->akm = kcalloc(2, sizeof(struct snd_akm4xxx), GFP_KERNEL);
ak                519 sound/pci/ice1712/revo.c 	if (! ak)
ak                524 sound/pci/ice1712/revo.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_revo_front,
ak                528 sound/pci/ice1712/revo.c 		err = snd_ice1712_akm4xxx_init(ak+1, &akm_revo_surround,
ak                538 sound/pci/ice1712/revo.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_revo51,
ak                542 sound/pci/ice1712/revo.c 		err = snd_ice1712_akm4xxx_init(ak+1, &akm_revo51_adc,
ak                555 sound/pci/ice1712/revo.c 		err = snd_ice1712_akm4xxx_init(ak, &akm_ap192, &akm_ap192_priv,