Lines Matching refs:snd_ctl_tlv
299 struct snd_ctl_tlv header; in snd_sof_bytes_ext_put()
300 const struct snd_ctl_tlv __user *tlvd = in snd_sof_bytes_ext_put()
301 (const struct snd_ctl_tlv __user *)binary_data; in snd_sof_bytes_ext_put()
304 if (size < sizeof(struct snd_ctl_tlv)) in snd_sof_bytes_ext_put()
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()
377 struct snd_ctl_tlv header; in snd_sof_bytes_ext_volatile_get()
378 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in snd_sof_bytes_ext_volatile_get()
387 if (size < sizeof(struct snd_ctl_tlv)) in snd_sof_bytes_ext_volatile_get()
389 size -= sizeof(struct snd_ctl_tlv); 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()
452 struct snd_ctl_tlv __user *tlvd = in snd_sof_bytes_ext_get()
453 (struct snd_ctl_tlv __user *)binary_data; in snd_sof_bytes_ext_get()
460 if (size < sizeof(struct snd_ctl_tlv)) in snd_sof_bytes_ext_get()
462 size -= sizeof(struct snd_ctl_tlv); 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()