Searched refs:coeff_ram (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/sound/soc/codecs/ |
D | tscs42xx.c | 37 u8 coeff_ram[COEFF_RAM_SIZE]; member 140 static int write_coeff_ram(struct snd_soc_component *component, u8 *coeff_ram, in write_coeff_ram() argument 176 &coeff_ram[addr * COEFF_SIZE], in write_coeff_ram() 276 &tscs42xx->coeff_ram[ctl->addr * COEFF_SIZE], params->max); in coeff_ram_get() 299 memcpy(&tscs42xx->coeff_ram[ctl->addr * COEFF_SIZE], in coeff_ram_put() 305 ret = write_coeff_ram(component, tscs42xx->coeff_ram, in coeff_ram_put() 393 ret = write_coeff_ram(component, tscs42xx->coeff_ram, 0x00, in dac_event() 1373 u8 *coeff_ram = tscs42xx->coeff_ram; in init_coeff_ram_cache() local 1377 coeff_ram[((norm_addrs[i] + 1) * COEFF_SIZE) - 1] = 0x40; in init_coeff_ram_cache()
|
D | tscs454.c | 69 struct coeff_ram { struct 88 static inline void coeff_ram_init(struct coeff_ram *ram) in coeff_ram_init() argument 135 struct coeff_ram dac_ram; 136 struct coeff_ram spk_ram; 137 struct coeff_ram sub_ram; 316 u8 *coeff_ram; in coeff_ram_get() local 320 coeff_ram = tscs454->dac_ram.cache; in coeff_ram_get() 323 coeff_ram = tscs454->spk_ram.cache; in coeff_ram_get() 326 coeff_ram = tscs454->sub_ram.cache; in coeff_ram_get() 335 &coeff_ram[ctl->addr * COEFF_SIZE], params->max); in coeff_ram_get() [all …]
|