Searched refs:tlvd (Results 1 – 2 of 2) sorted by relevance
/linux/sound/soc/sof/ |
H A D | ipc3-control.c | 370 const struct snd_ctl_tlv __user *tlvd = (const struct snd_ctl_tlv __user *)binary_data; in sof_ipc3_bytes_ext_put() local 381 if (copy_from_user(&header, tlvd, sizeof(struct snd_ctl_tlv))) in sof_ipc3_bytes_ext_put() 413 if (copy_from_user(cdata->data, tlvd->tlv, header.length)) { in sof_ipc3_bytes_ext_put() 457 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in _sof_ipc3_bytes_ext_get() local 500 if (copy_to_user(tlvd, &header, sizeof(struct snd_ctl_tlv))) in _sof_ipc3_bytes_ext_get() 503 if (copy_to_user(tlvd->tlv, cdata->data, data_size)) in _sof_ipc3_bytes_ext_get()
|
H A D | ipc4-control.c | 502 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in sof_ipc4_bytes_ext_put() local 515 if (copy_from_user(&header, tlvd, sizeof(struct snd_ctl_tlv))) in sof_ipc4_bytes_ext_put() 535 if (copy_from_user(&abi_hdr, tlvd->tlv, sizeof(abi_hdr))) in sof_ipc4_bytes_ext_put() 560 if (copy_from_user(data, tlvd->tlv, header.length)) { in sof_ipc4_bytes_ext_put() 575 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in _sof_ipc4_bytes_ext_get() local 619 if (copy_to_user(tlvd, &header, sizeof(struct snd_ctl_tlv))) in _sof_ipc4_bytes_ext_get() 622 if (copy_to_user(tlvd->tlv, data, data_size)) in _sof_ipc4_bytes_ext_get()
|