Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dwm_hubs.c156 struct wm_hubs_dcs_cache *cache; in wm_hubs_dcs_cache_get() local
165 list_for_each_entry(cache, &hubs->dcs_cache, list) { in wm_hubs_dcs_cache_get()
166 if (cache->left != left || cache->right != right) in wm_hubs_dcs_cache_get()
169 *entry = cache; in wm_hubs_dcs_cache_get()
179 struct wm_hubs_dcs_cache *cache; in wm_hubs_dcs_cache_set() local
184 cache = devm_kzalloc(codec->dev, sizeof(*cache), GFP_KERNEL); in wm_hubs_dcs_cache_set()
185 if (!cache) in wm_hubs_dcs_cache_set()
188 cache->left = snd_soc_read(codec, WM8993_LEFT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_set()
189 cache->left &= WM8993_HPOUT1L_VOL_MASK; in wm_hubs_dcs_cache_set()
191 cache->right = snd_soc_read(codec, WM8993_RIGHT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_set()
[all …]
Dwm9705.c210 u16 *cache = codec->reg_cache; in ac97_read() local
223 return cache[reg]; in ac97_read()
231 u16 *cache = codec->reg_cache; in ac97_write() local
236 cache[reg] = val; in ac97_write()
313 u16 *cache = codec->reg_cache; in wm9705_soc_resume() local
321 soc_ac97_ops->write(ac97, i, cache[i>>1]); in wm9705_soc_resume()
Duda1380.c66 u16 *cache = codec->reg_cache; in uda1380_read_reg_cache() local
71 return cache[reg]; in uda1380_read_reg_cache()
80 u16 *cache = codec->reg_cache; in uda1380_write_reg_cache() local
84 if ((reg >= 0x10) && (cache[reg] != value)) in uda1380_write_reg_cache()
86 cache[reg] = value; in uda1380_write_reg_cache()
135 u16 *cache = codec->reg_cache; in uda1380_sync_cache() local
140 data[1] = (cache[reg] & 0xff00) >> 8; in uda1380_sync_cache()
141 data[2] = cache[reg] & 0x00ff; in uda1380_sync_cache()
Dstac9766.c146 u16 *cache = codec->reg_cache; in stac9766_ac97_write() local
158 cache[reg / 2] = val; in stac9766_ac97_write()
166 u16 val = 0, *cache = codec->reg_cache; in stac9766_ac97_read() local
184 return cache[reg / 2]; in stac9766_ac97_read()
Dwm9712.c492 u16 *cache = codec->reg_cache; in ac97_read() local
504 return cache[reg]; in ac97_read()
512 u16 *cache = codec->reg_cache; in ac97_write() local
517 cache[reg] = val; in ac97_write()
623 u16 *cache = codec->reg_cache; in wm9712_soc_resume() local
638 soc_ac97_ops->write(wm9712->ac97, i, cache[i>>1]); in wm9712_soc_resume()
Dsigmadsp.c36 uint8_t cache[]; member
144 memcpy(ctrl->cache, data, ctrl->num_bytes); in sigmadsp_ctrl_put()
163 ret = sigmadsp_read(sigmadsp, ctrl->addr, ctrl->cache, in sigmadsp_ctrl_get()
169 memcpy(ucontrol->value.bytes.data, ctrl->cache, in sigmadsp_ctrl_get()
685 sigmadsp_ctrl_write(sigmadsp, ctrl, ctrl->cache); in sigmadsp_activate_ctrl()
Dwm9713.c681 u16 *cache = codec->reg_cache; in ac97_read() local
693 return cache[reg]; in ac97_read()
702 u16 *cache = codec->reg_cache; in ac97_write() local
706 cache[reg] = val; in ac97_write()
1177 u16 *cache = codec->reg_cache; in wm9713_soc_resume() local
1196 soc_ac97_ops->write(wm9713->ac97, i, cache[i>>1]); in wm9713_soc_resume()
Dwm_adsp.c244 void *cache; member
581 memcpy(ctl->cache, p, ctl->len); in wm_coeff_put()
642 memcpy(p, ctl->cache, ctl->len); in wm_coeff_get()
710 ctl->cache, in wm_coeff_init_control_caches()
729 ctl->cache, in wm_coeff_sync_controls()
844 ctl->cache = kzalloc(ctl->len, GFP_KERNEL); in wm_adsp_create_control()
845 if (!ctl->cache) { in wm_adsp_create_control()
867 kfree(ctl->cache); in wm_adsp_create_control()
Dtlv320dac33.c177 u8 *cache = codec->reg_cache; in dac33_read_reg_cache() local
181 return cache[reg]; in dac33_read_reg_cache()
187 u8 *cache = codec->reg_cache; in dac33_write_reg_cache() local
191 cache[reg] = value; in dac33_write_reg_cache()
/sound/pci/emu10k1/
Demumixer.c603 unsigned int val, cache; in snd_emu1010_adc_pads_put() local
605 cache = emu->emu1010.adc_pads; in snd_emu1010_adc_pads_put()
607 cache = cache | mask; in snd_emu1010_adc_pads_put()
609 cache = cache & ~mask; in snd_emu1010_adc_pads_put()
610 if (cache != emu->emu1010.adc_pads) { in snd_emu1010_adc_pads_put()
611 snd_emu1010_fpga_write(emu, EMU_HANA_ADC_PADS, cache ); in snd_emu1010_adc_pads_put()
612 emu->emu1010.adc_pads = cache; in snd_emu1010_adc_pads_put()
651 unsigned int val, cache; in snd_emu1010_dac_pads_put() local
653 cache = emu->emu1010.dac_pads; in snd_emu1010_dac_pads_put()
655 cache = cache | mask; in snd_emu1010_dac_pads_put()
[all …]
/sound/aoa/codecs/
Donyx.c50 u8 cache[16]; member
73 *value = onyx->cache[reg-FIRSTREGISTER]; in onyx_read_register()
82 onyx->cache[ONYX_REG_CONTROL-FIRSTREGISTER] = *value; in onyx_read_register()
92 onyx->cache[reg-FIRSTREGISTER] = value; in onyx_write_register()
596 regs[i] = onyx->cache[register_map[i]-FIRSTREGISTER]; in onyx_register_init()
/sound/soc/
DMakefile1 snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o
/sound/pci/rme9652/
Dhdsp.c719 const u32 *cache; in snd_hdsp_load_firmware_from_cache() local
722 cache = hdsp->fw_uploaded; in snd_hdsp_load_firmware_from_cache()
726 cache = (u32 *)hdsp->firmware->data; in snd_hdsp_load_firmware_from_cache()
727 if (!cache) in snd_hdsp_load_firmware_from_cache()
748 hdsp_write(hdsp, HDSP_fifoData, cache[i]); in snd_hdsp_load_firmware_from_cache()