Home
last modified time | relevance | path

Searched refs:st_table (Results 1 – 1 of 1) sorted by relevance

/sound/soc/codecs/
D88pm860x-codec.c199 static struct st_gain st_table[] = { variable
285 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,