Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/codecs/
Dtscs42xx.c37 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()
1372 u8 *coeff_ram = tscs42xx->coeff_ram; in init_coeff_ram_cache() local
1376 coeff_ram[((norm_addrs[i] + 1) * COEFF_SIZE) - 1] = 0x40; in init_coeff_ram_cache()
Dtscs454.c69 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 …]
/linux-6.12.1/sound/soc/tegra/
Dtegra210_sfc.c3096 s32 *coeff_ram; in tegra210_sfc_write_coeff_ram() local
3102 coeff_ram = coef_addr_table[sfc->srate_in][sfc->srate_out]; in tegra210_sfc_write_coeff_ram()
3103 if (IS_ERR_OR_NULL(coeff_ram)) { in tegra210_sfc_write_coeff_ram()
3108 return PTR_ERR_OR_ZERO(coeff_ram); in tegra210_sfc_write_coeff_ram()
3111 tegra210_sfc_write_ram(sfc->regmap, coeff_ram); in tegra210_sfc_write_coeff_ram()