Lines Matching refs:header
299 struct snd_ctl_tlv header; in snd_sof_bytes_ext_put() local
312 if (copy_from_user(&header, tlvd, sizeof(const struct snd_ctl_tlv))) in snd_sof_bytes_ext_put()
316 if (header.length + sizeof(struct snd_ctl_tlv) > size) { in snd_sof_bytes_ext_put()
318 header.length, sizeof(struct snd_ctl_tlv), size); in snd_sof_bytes_ext_put()
323 if (header.length > be->max) { in snd_sof_bytes_ext_put()
325 header.length, be->max); in snd_sof_bytes_ext_put()
330 if (header.numid != scontrol->cmd) { in snd_sof_bytes_ext_put()
333 header.numid); in snd_sof_bytes_ext_put()
337 if (copy_from_user(cdata->data, tlvd->tlv, header.length)) in snd_sof_bytes_ext_put()
377 struct snd_ctl_tlv header; in snd_sof_bytes_ext_volatile_get() local
424 header.numid = scontrol->cmd; in snd_sof_bytes_ext_volatile_get()
425 header.length = data_size; in snd_sof_bytes_ext_volatile_get()
426 if (copy_to_user(tlvd, &header, sizeof(const struct snd_ctl_tlv))) { in snd_sof_bytes_ext_volatile_get()
451 struct snd_ctl_tlv header; in snd_sof_bytes_ext_get() local
482 header.numid = scontrol->cmd; in snd_sof_bytes_ext_get()
483 header.length = data_size; in snd_sof_bytes_ext_get()
484 if (copy_to_user(tlvd, &header, sizeof(const struct snd_ctl_tlv))) in snd_sof_bytes_ext_get()