Lines Matching defs:cache
616 void *cache;
1077 else if (buf != ctl->cache)
1078 memcpy(ctl->cache, buf, len);
1113 if (copy_from_user(ctl->cache, bytes, size))
1116 ret = wm_coeff_write_ctrl(ctl, ctl->cache, size);
1189 ret = wm_coeff_read_ctrl_raw(ctl, ctl->cache, ctl->len);
1191 if (buf != ctl->cache)
1192 memcpy(buf, ctl->cache, len);
1224 ret = wm_coeff_read_ctrl(ctl, ctl->cache, size);
1226 if (!ret && copy_to_user(bytes, ctl->cache, size))
1347 * For readable controls populate the cache from the DSP memory.
1348 * For non-readable controls the cache was zero-filled when
1352 ret = wm_coeff_read_ctrl_raw(ctl, ctl->cache, ctl->len);
1370 ret = wm_coeff_write_ctrl_raw(ctl, ctl->cache,
1413 kfree(ctl->cache);
1508 ctl->cache = kzalloc(ctl->len, GFP_KERNEL);
1509 if (!ctl->cache) {
1534 kfree(ctl->cache);