Lines Matching refs:snd_ctl_tlv
321 struct snd_ctl_tlv header; in snd_sof_bytes_ext_put()
322 const struct snd_ctl_tlv __user *tlvd = in snd_sof_bytes_ext_put()
323 (const struct snd_ctl_tlv __user *)binary_data; in snd_sof_bytes_ext_put()
326 if (size < sizeof(struct snd_ctl_tlv)) in snd_sof_bytes_ext_put()
334 if (copy_from_user(&header, tlvd, sizeof(struct snd_ctl_tlv))) in snd_sof_bytes_ext_put()
338 if (header.length + sizeof(struct snd_ctl_tlv) > size) { in snd_sof_bytes_ext_put()
340 header.length, sizeof(struct snd_ctl_tlv), size); in snd_sof_bytes_ext_put()
399 struct snd_ctl_tlv header; in snd_sof_bytes_ext_volatile_get()
400 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in snd_sof_bytes_ext_volatile_get()
409 if (size < sizeof(struct snd_ctl_tlv)) in snd_sof_bytes_ext_volatile_get()
411 size -= sizeof(struct snd_ctl_tlv); in snd_sof_bytes_ext_volatile_get()
448 if (copy_to_user(tlvd, &header, sizeof(struct snd_ctl_tlv))) { in snd_sof_bytes_ext_volatile_get()
473 struct snd_ctl_tlv header; in snd_sof_bytes_ext_get()
474 struct snd_ctl_tlv __user *tlvd = in snd_sof_bytes_ext_get()
475 (struct snd_ctl_tlv __user *)binary_data; in snd_sof_bytes_ext_get()
482 if (size < sizeof(struct snd_ctl_tlv)) in snd_sof_bytes_ext_get()
484 size -= sizeof(struct snd_ctl_tlv); in snd_sof_bytes_ext_get()
506 if (copy_to_user(tlvd, &header, sizeof(struct snd_ctl_tlv))) in snd_sof_bytes_ext_get()