Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A D88pm860x-codec.c196 static struct st_gain st_table[] = { variable
282 for (i = 0; i < ARRAY_SIZE(st_table); i++) { in snd_soc_get_volsw_2r_st()
283 if ((st_table[i].m == val[0]) && (st_table[i].n == val[1])) in snd_soc_get_volsw_2r_st()
285 if ((st_table[i].m == val2[0]) && (st_table[i].n == val2[1])) in snd_soc_get_volsw_2r_st()
305 if (val >= ARRAY_SIZE(st_table) || val2 >= ARRAY_SIZE(st_table)) in snd_soc_put_volsw_2r_st()
308 err = snd_soc_component_update_bits(component, reg, 0x3f, st_table[val].m); in snd_soc_put_volsw_2r_st()
312 st_table[val].n << 4); in snd_soc_put_volsw_2r_st()
316 err = snd_soc_component_update_bits(component, reg2, 0x3f, st_table[val2].m); in snd_soc_put_volsw_2r_st()
320 st_table[val2].n); in snd_soc_put_volsw_2r_st()
487 PM860X_SIDETONE_R_GAIN, 0, ARRAY_SIZE(st_table)-1,