Searched refs:tlvd (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | control.c | 300 const struct snd_ctl_tlv __user *tlvd = in snd_sof_bytes_ext_put() local 310 * length of data from tlvd->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() 337 if (copy_from_user(cdata->data, tlvd->tlv, header.length)) in snd_sof_bytes_ext_put() 378 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in snd_sof_bytes_ext_volatile_get() local 426 if (copy_to_user(tlvd, &header, sizeof(const struct snd_ctl_tlv))) { in snd_sof_bytes_ext_volatile_get() 431 if (copy_to_user(tlvd->tlv, cdata->data, data_size)) in snd_sof_bytes_ext_volatile_get() 452 struct snd_ctl_tlv __user *tlvd = in snd_sof_bytes_ext_get() local 484 if (copy_to_user(tlvd, &header, sizeof(const struct snd_ctl_tlv))) in snd_sof_bytes_ext_get() 487 if (copy_to_user(tlvd in snd_sof_bytes_ext_get() [all...] |
/kernel/linux/linux-6.6/sound/soc/sof/ |
H A D | ipc4-control.c | 301 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in sof_ipc4_bytes_ext_put() local 312 * length of data from tlvd->tlv. in sof_ipc4_bytes_ext_put() 314 if (copy_from_user(&header, tlvd, sizeof(struct snd_ctl_tlv))) in sof_ipc4_bytes_ext_put() 334 if (copy_from_user(&abi_hdr, tlvd->tlv, sizeof(abi_hdr))) in sof_ipc4_bytes_ext_put() 359 if (copy_from_user(data, tlvd->tlv, header.length)) { in sof_ipc4_bytes_ext_put() 374 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in _sof_ipc4_bytes_ext_get() local 418 if (copy_to_user(tlvd, &header, sizeof(struct snd_ctl_tlv))) in _sof_ipc4_bytes_ext_get() 421 if (copy_to_user(tlvd->tlv, data, data_size)) in _sof_ipc4_bytes_ext_get()
|
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 379 * length of data from tlvd->tlv. in sof_ipc3_bytes_ext_put() 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()
|
Completed in 5 milliseconds