Searched refs:cache (Results 1 – 9 of 9) sorted by relevance
/sound/soc/codecs/ |
D | wm_hubs.c | 152 struct wm_hubs_dcs_cache *cache; in wm_hubs_dcs_cache_get() local 161 list_for_each_entry(cache, &hubs->dcs_cache, list) { in wm_hubs_dcs_cache_get() 162 if (cache->left != left || cache->right != right) in wm_hubs_dcs_cache_get() 165 *entry = cache; in wm_hubs_dcs_cache_get() 175 struct wm_hubs_dcs_cache *cache; in wm_hubs_dcs_cache_set() local 180 cache = devm_kzalloc(component->dev, sizeof(*cache), GFP_KERNEL); in wm_hubs_dcs_cache_set() 181 if (!cache) in wm_hubs_dcs_cache_set() 184 cache->left = snd_soc_component_read32(component, WM8993_LEFT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_set() 185 cache->left &= WM8993_HPOUT1L_VOL_MASK; in wm_hubs_dcs_cache_set() 187 cache->right = snd_soc_component_read32(component, WM8993_RIGHT_OUTPUT_VOLUME); in wm_hubs_dcs_cache_set() [all …]
|
D | uda1380.c | 65 u16 *cache = uda1380->reg_cache; in uda1380_read_reg_cache() local 71 return cache[reg]; in uda1380_read_reg_cache() 81 u16 *cache = uda1380->reg_cache; in uda1380_write_reg_cache() local 85 if ((reg >= 0x10) && (cache[reg] != value)) in uda1380_write_reg_cache() 87 cache[reg] = value; in uda1380_write_reg_cache() 138 u16 *cache = uda1380->reg_cache; in uda1380_sync_cache() local 143 data[1] = (cache[reg] & 0xff00) >> 8; in uda1380_sync_cache() 144 data[2] = cache[reg] & 0x00ff; in uda1380_sync_cache()
|
D | sigmadsp.c | 35 uint8_t cache[]; member 143 memcpy(ctrl->cache, data, ctrl->num_bytes); in sigmadsp_ctrl_put() 162 ret = sigmadsp_read(sigmadsp, ctrl->addr, ctrl->cache, in sigmadsp_ctrl_get() 168 memcpy(ucontrol->value.bytes.data, ctrl->cache, in sigmadsp_ctrl_get() 684 sigmadsp_ctrl_write(sigmadsp, ctrl, ctrl->cache); in sigmadsp_activate_ctrl()
|
D | tscs454.c | 70 u8 cache[COEFF_RAM_SIZE]; member 75 static inline void init_coeff_ram_cache(u8 *cache) in init_coeff_ram_cache() argument 85 cache[((norm_addrs[i] + 1) * COEFF_SIZE) - 1] = 0x40; in init_coeff_ram_cache() 90 init_coeff_ram_cache(ram->cache); in coeff_ram_init() 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() 413 coeff_ram = tscs454->dac_ram.cache; in coeff_ram_put() 420 coeff_ram = tscs454->spk_ram.cache; in coeff_ram_put() 427 coeff_ram = tscs454->sub_ram.cache; in coeff_ram_put() [all …]
|
D | wm_adsp.c | 607 void *cache; member 1075 memcpy(ctl->cache, p, ctl->len); in wm_coeff_put() 1096 if (copy_from_user(ctl->cache, bytes, size)) { in wm_coeff_tlv_put() 1101 ret = wm_coeff_write_control(ctl, ctl->cache, size); in wm_coeff_tlv_put() 1184 ret = wm_coeff_read_control(ctl, ctl->cache, ctl->len); in wm_coeff_get() 1186 memcpy(p, ctl->cache, ctl->len); in wm_coeff_get() 1206 ret = wm_coeff_read_control(ctl, ctl->cache, size); in wm_coeff_tlv_get() 1211 ret = wm_coeff_read_control(ctl, ctl->cache, size); in wm_coeff_tlv_get() 1214 if (!ret && copy_to_user(bytes, ctl->cache, size)) in wm_coeff_tlv_get() 1340 ret = wm_coeff_read_control(ctl, ctl->cache, ctl->len); in wm_coeff_init_control_caches() [all …]
|
D | tlv320dac33.c | 164 u8 *cache = dac33->reg_cache; in dac33_read_reg_cache() local 168 return cache[reg]; in dac33_read_reg_cache() 175 u8 *cache = dac33->reg_cache; in dac33_write_reg_cache() local 179 cache[reg] = value; in dac33_write_reg_cache()
|
/sound/pci/emu10k1/ |
D | emumixer.c | 589 unsigned int val, cache; in snd_emu1010_adc_pads_put() local 591 cache = emu->emu1010.adc_pads; in snd_emu1010_adc_pads_put() 593 cache = cache | mask; in snd_emu1010_adc_pads_put() 595 cache = cache & ~mask; in snd_emu1010_adc_pads_put() 596 if (cache != emu->emu1010.adc_pads) { in snd_emu1010_adc_pads_put() 597 snd_emu1010_fpga_write(emu, EMU_HANA_ADC_PADS, cache ); in snd_emu1010_adc_pads_put() 598 emu->emu1010.adc_pads = cache; in snd_emu1010_adc_pads_put() 637 unsigned int val, cache; in snd_emu1010_dac_pads_put() local 639 cache = emu->emu1010.dac_pads; in snd_emu1010_dac_pads_put() 641 cache = cache | mask; in snd_emu1010_dac_pads_put() [all …]
|
/sound/aoa/codecs/ |
D | onyx.c | 47 u8 cache[16]; member 70 *value = onyx->cache[reg-FIRSTREGISTER]; in onyx_read_register() 79 onyx->cache[ONYX_REG_CONTROL-FIRSTREGISTER] = *value; in onyx_read_register() 89 onyx->cache[reg-FIRSTREGISTER] = value; in onyx_write_register() 593 regs[i] = onyx->cache[register_map[i]-FIRSTREGISTER]; in onyx_register_init()
|
/sound/pci/rme9652/ |
D | hdsp.c | 705 const u32 *cache; in snd_hdsp_load_firmware_from_cache() local 708 cache = hdsp->fw_uploaded; in snd_hdsp_load_firmware_from_cache() 712 cache = (u32 *)hdsp->firmware->data; in snd_hdsp_load_firmware_from_cache() 713 if (!cache) in snd_hdsp_load_firmware_from_cache() 734 hdsp_write(hdsp, HDSP_fifoData, cache[i]); in snd_hdsp_load_firmware_from_cache()
|