Searched refs:st_table (Results 1 – 1 of 1) sorted by relevance
199 static struct st_gain st_table[] = { variable285 for (i = 0; i < ARRAY_SIZE(st_table); i++) { in snd_soc_get_volsw_2r_st()286 if ((st_table[i].m == val[0]) && (st_table[i].n == val[1])) in snd_soc_get_volsw_2r_st()288 if ((st_table[i].m == val2[0]) && (st_table[i].n == val2[1])) in snd_soc_get_volsw_2r_st()308 if (val >= ARRAY_SIZE(st_table) || val2 >= ARRAY_SIZE(st_table)) in snd_soc_put_volsw_2r_st()311 err = snd_soc_update_bits(codec, reg, 0x3f, st_table[val].m); in snd_soc_put_volsw_2r_st()315 st_table[val].n << 4); in snd_soc_put_volsw_2r_st()319 err = snd_soc_update_bits(codec, reg2, 0x3f, st_table[val2].m); in snd_soc_put_volsw_2r_st()323 st_table[val2].n); in snd_soc_put_volsw_2r_st()490 PM860X_SIDETONE_R_GAIN, 0, ARRAY_SIZE(st_table)-1,