Lines Matching refs:cache
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()
1358 ret = wm_coeff_write_control(ctl, ctl->cache, ctl->len); in wm_coeff_sync_controls()
1400 kfree(ctl->cache); in wm_adsp_free_ctl_blk()
1485 ctl->cache = kzalloc(ctl->len, GFP_KERNEL); in wm_adsp_create_control()
1486 if (!ctl->cache) { in wm_adsp_create_control()
1511 kfree(ctl->cache); in wm_adsp_create_control()