/linux-master/include/sound/ |
H A D | ak4xxx-adda.h | 19 void (*lock)(struct snd_akm4xxx *ak, int chip); 20 void (*unlock)(struct snd_akm4xxx *ak, int chip); 21 void (*write)(struct snd_akm4xxx *ak, int chip, unsigned char reg, 23 void (*set_rate_val)(struct snd_akm4xxx *ak, unsigned int rate); 70 void snd_akm4xxx_write(struct snd_akm4xxx *ak, int chip, unsigned char reg, 72 void snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state); 73 void snd_akm4xxx_init(struct snd_akm4xxx *ak); 74 int snd_akm4xxx_build_controls(struct snd_akm4xxx *ak); 76 #define snd_akm4xxx_get(ak,chip,reg) \ 77 (ak) [all...] |
/linux-master/sound/i2c/other/ |
H A D | ak4xxx-adda.c | 26 void snd_akm4xxx_write(struct snd_akm4xxx *ak, int chip, unsigned char reg, argument 29 ak->ops.lock(ak, chip); 30 ak->ops.write(ak, chip, reg, val); 33 snd_akm4xxx_set(ak, chip, reg, val); 34 ak->ops.unlock(ak, chip); 40 static void ak4524_reset(struct snd_akm4xxx *ak, int state) argument 45 for (chip = 0; chip < ak 57 ak435X_reset(struct snd_akm4xxx *ak, int state) argument 73 ak4381_reset(struct snd_akm4xxx *ak, int state) argument 93 snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state) argument 158 snd_akm4xxx_init(struct snd_akm4xxx *ak) argument 367 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 378 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 425 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 463 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 475 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 495 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 511 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 535 ak4xxx_capture_num_inputs(struct snd_akm4xxx *ak, int mixer_ch) argument 550 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 564 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 578 struct snd_akm4xxx *ak = snd_kcontrol_chip(kcontrol); local 603 build_dac_controls(struct snd_akm4xxx *ak) argument 714 build_adc_controls(struct snd_akm4xxx *ak) argument 805 build_deemphasis(struct snd_akm4xxx *ak, int num_emphs) argument 852 struct snd_akm4xxx *ak = entry->private_data; local 863 proc_init(struct snd_akm4xxx *ak) argument 868 snd_akm4xxx_build_controls(struct snd_akm4xxx *ak) argument [all...] |
/linux-master/sound/pci/ice1712/ |
H A D | ak4xxx.c | 24 static void snd_ice1712_akm4xxx_lock(struct snd_akm4xxx *ak, int chip) argument 26 struct snd_ice1712 *ice = ak->private_data[0]; 31 static void snd_ice1712_akm4xxx_unlock(struct snd_akm4xxx *ak, int chip) argument 33 struct snd_ice1712 *ice = ak->private_data[0]; 41 static void snd_ice1712_akm4xxx_write(struct snd_akm4xxx *ak, int chip, argument 47 struct snd_ak4xxx_private *priv = (void *)ak->private_value[0]; 48 struct snd_ice1712 *ice = ak->private_data[0]; 112 int snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak, const struct snd_akm4xxx *temp, argument 125 *ak = *temp; 126 ak 145 struct snd_akm4xxx *ak = &ice->akm[akidx]; local 160 struct snd_akm4xxx *ak = &ice->akm[akidx]; local [all...] |
H A D | revo.c | 39 static void revo_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) argument 55 if (ak->type == SND_AK4355 || ak->type == SND_AK4358) { 62 tmp = snd_akm4xxx_get(ak, 0, reg); 68 snd_akm4xxx_reset(ak, 1); 69 tmp = snd_akm4xxx_get(ak, 0, reg); 72 /* snd_akm4xxx_write(ak, 0, reg, tmp); */ 73 snd_akm4xxx_set(ak, 0, reg, tmp); /* value is written in reset(0) */ 74 snd_akm4xxx_reset(ak, 0); 309 static void ap192_set_rate_val(struct snd_akm4xxx *ak, unsigne argument 494 struct snd_akm4xxx *ak; local [all...] |
H A D | juli.c | 187 static void juli_akm_lock(struct snd_akm4xxx *ak, int chip) argument 191 static void juli_akm_unlock(struct snd_akm4xxx *ak, int chip) argument 195 static void juli_akm_write(struct snd_akm4xxx *ak, int chip, argument 198 struct snd_ice1712 *ice = ak->private_data[0]; 208 static void juli_akm_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) argument 212 struct snd_ice1712 *ice = ak->private_data[0]; 245 tmp = snd_akm4xxx_get(ak, 0, 2); 246 snd_akm4xxx_reset(ak, 1); 247 tmp = snd_akm4xxx_get(ak, 0, 2); 250 snd_akm4xxx_set(ak, 452 struct snd_akm4xxx *ak = ice->akm; local 463 struct snd_akm4xxx *ak = ice->akm; local 561 struct snd_akm4xxx *ak; local [all...] |
H A D | delta.c | 247 static void delta_ak4524_lock(struct snd_akm4xxx *ak, int chip) argument 249 struct snd_ak4xxx_private *priv = (void *)ak->private_value[0]; 250 struct snd_ice1712 *ice = ak->private_data[0]; 261 static void delta1010lt_ak4524_lock(struct snd_akm4xxx *ak, int chip) argument 263 struct snd_ak4xxx_private *priv = (void *)ak->private_value[0]; 264 struct snd_ice1712 *ice = ak->private_data[0]; 274 static void delta66e_ak4524_lock(struct snd_akm4xxx *ak, int chip) argument 276 struct snd_ak4xxx_private *priv = (void *)ak->private_value[0]; 277 struct snd_ice1712 *ice = ak->private_data[0]; 288 static void vx442_ak4524_lock(struct snd_akm4xxx *ak, in argument 322 delta_ak4524_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) argument 354 vx442_ak4524_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) argument 617 struct snd_akm4xxx *ak; local [all...] |
H A D | hoontech.c | 262 static void stdsp24_ak4524_lock(struct snd_akm4xxx *ak, int chip) argument 264 struct snd_ice1712 *ice = ak->private_data[0]; 299 struct snd_akm4xxx *ak; local 308 ak = ice->akm = kmalloc(sizeof(struct snd_akm4xxx), GFP_KERNEL); 309 if (! ak) 313 err = snd_ice1712_akm4xxx_init(ak, &akm_stdsp24_mv, &akm_stdsp24_mv_priv, ice);
|
H A D | ews.c | 158 static void ews88mt_ak4524_lock(struct snd_akm4xxx *ak, int chip) argument 160 struct snd_ice1712 *ice = ak->private_data[0]; 175 static void ews88mt_ak4524_unlock(struct snd_akm4xxx *ak, int chip) argument 177 struct snd_ice1712 *ice = ak->private_data[0]; 184 static void ewx2496_ak4524_lock(struct snd_akm4xxx *ak, int chip) argument 186 struct snd_ice1712 *ice = ak->private_data[0]; 199 static void dmx6fire_ak4524_lock(struct snd_akm4xxx *ak, int chip) argument 201 struct snd_ak4xxx_private *priv = (void *)ak->private_value[0]; 202 struct snd_ice1712 *ice = ak->private_data[0]; 412 struct snd_akm4xxx *ak; local [all...] |
H A D | quartet.c | 257 static void qtet_akm_write(struct snd_akm4xxx *ak, int chip, argument 263 struct snd_ice1712 *ice = ak->private_data[0]; 319 static void qtet_akm_set_regs(struct snd_akm4xxx *ak, unsigned char addr, argument 324 for (chip = 0; chip < ak->num_chips; chip++) { 325 tmp = snd_akm4xxx_get(ak, chip, addr); 330 snd_akm4xxx_write(ak, chip, addr, tmp); 337 static void qtet_akm_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) argument 354 qtet_akm_set_regs(ak, AK4620_DFS_REG, AK4620_DFS0 | AK4620_DFS1 | 521 struct snd_akm4xxx *ak = ice->akm; local 524 qtet_akm_set_regs(ak, AK4620_DEEMVOL_RE 966 struct snd_akm4xxx *ak; local [all...] |
H A D | phase.c | 111 struct snd_akm4xxx *ak; local 129 ak = ice->akm; 130 if (!ak) 136 err = snd_ice1712_akm4xxx_init(ak, &akm_phase22, 407 struct snd_akm4xxx *ak; local 422 ak = ice->akm; 423 if (!ak)
|
H A D | ice1712.h | 262 void (*set_rate_val)(struct snd_akm4xxx *ak, unsigned int rate); 481 int snd_ice1712_akm4xxx_init(struct snd_akm4xxx *ak,
|
/linux-master/net/sctp/ |
H A D | ulpevent.c | 830 struct sctp_authkey_event *ak; local 839 ak = skb_put(skb, sizeof(struct sctp_authkey_event)); 841 ak->auth_type = SCTP_AUTHENTICATION_EVENT; 842 ak->auth_flags = 0; 843 ak->auth_length = sizeof(struct sctp_authkey_event); 845 ak->auth_keynumber = key_id; 846 ak->auth_altkeynumber = 0; 847 ak->auth_indication = indication; 853 ak->auth_assoc_id = sctp_assoc2id(asoc);
|
/linux-master/lib/ |
H A D | bch.c | 1152 unsigned int sum, x, y, remaining, ak = 0, xi[BCH_MAX_M]; local 1160 ak = bch->a_pow_tab[i]; 1179 y ^= ak;
|