offs[0], offs[1], offs[2], offs[3]);
 }
 
-static int cs_dsp_coeff_base_reg(struct cs_dsp_coeff_ctl *ctl, unsigned int *reg)
+static int cs_dsp_coeff_base_reg(struct cs_dsp_coeff_ctl *ctl, unsigned int *reg,
+                                unsigned int off)
 {
        const struct cs_dsp_alg_region *alg_region = &ctl->alg_region;
        struct cs_dsp *dsp = ctl->dsp;
                return -EINVAL;
        }
 
-       *reg = dsp->ops->region_to_reg(mem, ctl->alg_region.base + ctl->offset);
+       *reg = dsp->ops->region_to_reg(mem, ctl->alg_region.base + ctl->offset + off);
 
        return 0;
 }
        if (!dsp->running)
                return -EPERM;
 
-       ret = cs_dsp_coeff_base_reg(ctl, ®);
+       ret = cs_dsp_coeff_base_reg(ctl, ®, 0);
        if (ret)
                return ret;
 
 EXPORT_SYMBOL_GPL(cs_dsp_coeff_write_acked_control);
 
 static int cs_dsp_coeff_write_ctrl_raw(struct cs_dsp_coeff_ctl *ctl,
-                                      const void *buf, size_t len)
+                                      unsigned int off, const void *buf, size_t len)
 {
        struct cs_dsp *dsp = ctl->dsp;
        void *scratch;
        int ret;
        unsigned int reg;
 
-       ret = cs_dsp_coeff_base_reg(ctl, ®);
+       ret = cs_dsp_coeff_base_reg(ctl, ®, off);
        if (ret)
                return ret;
 
 /**
  * cs_dsp_coeff_write_ctrl() - Writes the given buffer to the given coefficient control
  * @ctl: pointer to coefficient control
+ * @off: word offset at which data should be written
  * @buf: the buffer to write to the given control
  * @len: the length of the buffer in bytes
  *
  *
  * Return: Zero for success, a negative number on error.
  */
-int cs_dsp_coeff_write_ctrl(struct cs_dsp_coeff_ctl *ctl, const void *buf, size_t len)
+int cs_dsp_coeff_write_ctrl(struct cs_dsp_coeff_ctl *ctl,
+                           unsigned int off, const void *buf, size_t len)
 {
        int ret = 0;
 
        if (!ctl)
                return -ENOENT;
 
+       if (len + off * sizeof(u32) > ctl->len)
+               return -EINVAL;
+
        if (ctl->flags & WMFW_CTL_FLAG_VOLATILE)
                ret = -EPERM;
        else if (buf != ctl->cache)
-               memcpy(ctl->cache, buf, len);
+               memcpy(ctl->cache + off * sizeof(u32), buf, len);
 
        ctl->set = 1;
        if (ctl->enabled && ctl->dsp->running)
-               ret = cs_dsp_coeff_write_ctrl_raw(ctl, buf, len);
+               ret = cs_dsp_coeff_write_ctrl_raw(ctl, off, buf, len);
 
        return ret;
 }
 EXPORT_SYMBOL_GPL(cs_dsp_coeff_write_ctrl);
 
-static int cs_dsp_coeff_read_ctrl_raw(struct cs_dsp_coeff_ctl *ctl, void *buf, size_t len)
+static int cs_dsp_coeff_read_ctrl_raw(struct cs_dsp_coeff_ctl *ctl,
+                                     unsigned int off, void *buf, size_t len)
 {
        struct cs_dsp *dsp = ctl->dsp;
        void *scratch;
        int ret;
        unsigned int reg;
 
-       ret = cs_dsp_coeff_base_reg(ctl, ®);
+       ret = cs_dsp_coeff_base_reg(ctl, ®, off);
        if (ret)
                return ret;
 
 /**
  * cs_dsp_coeff_read_ctrl() - Reads the given coefficient control into the given buffer
  * @ctl: pointer to coefficient control
+ * @off: word offset at which data should be read
  * @buf: the buffer to store to the given control
  * @len: the length of the buffer in bytes
  *
  *
  * Return: Zero for success, a negative number on error.
  */
-int cs_dsp_coeff_read_ctrl(struct cs_dsp_coeff_ctl *ctl, void *buf, size_t len)
+int cs_dsp_coeff_read_ctrl(struct cs_dsp_coeff_ctl *ctl,
+                          unsigned int off, void *buf, size_t len)
 {
        int ret = 0;
 
        if (!ctl)
                return -ENOENT;
 
+       if (len + off * sizeof(u32) > ctl->len)
+               return -EINVAL;
+
        if (ctl->flags & WMFW_CTL_FLAG_VOLATILE) {
                if (ctl->enabled && ctl->dsp->running)
-                       return cs_dsp_coeff_read_ctrl_raw(ctl, buf, len);
+                       return cs_dsp_coeff_read_ctrl_raw(ctl, off, buf, len);
                else
                        return -EPERM;
        } else {
                if (!ctl->flags && ctl->enabled && ctl->dsp->running)
-                       ret = cs_dsp_coeff_read_ctrl_raw(ctl, ctl->cache, ctl->len);
+                       ret = cs_dsp_coeff_read_ctrl_raw(ctl, 0, ctl->cache, ctl->len);
 
                if (buf != ctl->cache)
-                       memcpy(buf, ctl->cache, len);
+                       memcpy(buf, ctl->cache + off * sizeof(u32), len);
        }
 
        return ret;
                 * created so we don't need to do anything.
                 */
                if (!ctl->flags || (ctl->flags & WMFW_CTL_FLAG_READABLE)) {
-                       ret = cs_dsp_coeff_read_ctrl_raw(ctl, ctl->cache, ctl->len);
+                       ret = cs_dsp_coeff_read_ctrl_raw(ctl, 0, ctl->cache, ctl->len);
                        if (ret < 0)
                                return ret;
                }
                if (!ctl->enabled)
                        continue;
                if (ctl->set && !(ctl->flags & WMFW_CTL_FLAG_VOLATILE)) {
-                       ret = cs_dsp_coeff_write_ctrl_raw(ctl, ctl->cache,
+                       ret = cs_dsp_coeff_write_ctrl_raw(ctl, 0, ctl->cache,
                                                          ctl->len);
                        if (ret < 0)
                                return ret;
 
        int ret = 0;
 
        mutex_lock(&cs_ctl->dsp->pwr_lock);
-       ret = cs_dsp_coeff_write_ctrl(cs_ctl, p, cs_ctl->len);
+       ret = cs_dsp_coeff_write_ctrl(cs_ctl, 0, p, cs_ctl->len);
        mutex_unlock(&cs_ctl->dsp->pwr_lock);
 
        return ret;
        if (copy_from_user(cs_ctl->cache, bytes, size))
                ret = -EFAULT;
        else
-               ret = cs_dsp_coeff_write_ctrl(cs_ctl, cs_ctl->cache, size);
+               ret = cs_dsp_coeff_write_ctrl(cs_ctl, 0, cs_ctl->cache, size);
 
        mutex_unlock(&cs_ctl->dsp->pwr_lock);
 
        int ret;
 
        mutex_lock(&cs_ctl->dsp->pwr_lock);
-       ret = cs_dsp_coeff_read_ctrl(cs_ctl, p, cs_ctl->len);
+       ret = cs_dsp_coeff_read_ctrl(cs_ctl, 0, p, cs_ctl->len);
        mutex_unlock(&cs_ctl->dsp->pwr_lock);
 
        return ret;
 
        mutex_lock(&cs_ctl->dsp->pwr_lock);
 
-       ret = cs_dsp_coeff_read_ctrl(cs_ctl, cs_ctl->cache, size);
+       ret = cs_dsp_coeff_read_ctrl(cs_ctl, 0, cs_ctl->cache, size);
 
        if (!ret && copy_to_user(bytes, cs_ctl->cache, size))
                ret = -EFAULT;
        if (len > cs_ctl->len)
                return -EINVAL;
 
-       ret = cs_dsp_coeff_write_ctrl(cs_ctl, buf, len);
+       ret = cs_dsp_coeff_write_ctrl(cs_ctl, 0, buf, len);
        if (ret)
                return ret;
 
        if (len > cs_ctl->len)
                return -EINVAL;
 
-       return cs_dsp_coeff_read_ctrl(cs_ctl, buf, len);
+       return cs_dsp_coeff_read_ctrl(cs_ctl, 0, buf, len);
 }
 EXPORT_SYMBOL_GPL(wm_adsp_read_ctl);
 
        int ret, i;
 
        for (i = 0; i < 5; ++i) {
-               ret = cs_dsp_coeff_read_ctrl(cs_ctl, &coeff_v1, sizeof(coeff_v1));
+               ret = cs_dsp_coeff_read_ctrl(cs_ctl, 0, &coeff_v1, sizeof(coeff_v1));
                if (ret < 0)
                        return ret;