Home
last modified time | relevance | path

Searched refs:snd_ctl_tlv (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/sound/soc/sof/
H A Dipc3-control.c370 const struct snd_ctl_tlv __user *tlvd = (const struct snd_ctl_tlv __user *)binary_data; in sof_ipc3_bytes_ext_put()
373 struct snd_ctl_tlv header; in sof_ipc3_bytes_ext_put()
381 if (copy_from_user(&header, tlvd, sizeof(struct snd_ctl_tlv))) in sof_ipc3_bytes_ext_put()
385 if (header.length + sizeof(struct snd_ctl_tlv) > size) { in sof_ipc3_bytes_ext_put()
387 header.length, sizeof(struct snd_ctl_tlv), size); 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()
460 struct snd_ctl_tlv header; in _sof_ipc3_bytes_ext_get()
467 if (size < sizeof(struct snd_ctl_tlv)) in _sof_ipc3_bytes_ext_get()
470 size -= sizeof(struct snd_ctl_tlv); in _sof_ipc3_bytes_ext_get()
500 if (copy_to_user(tlvd, &header, sizeof(struct snd_ctl_tlv))) in _sof_ipc3_bytes_ext_get()
H A Dipc4-control.c502 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in sof_ipc4_bytes_ext_put()
508 struct snd_ctl_tlv header; in sof_ipc4_bytes_ext_put()
515 if (copy_from_user(&header, tlvd, sizeof(struct snd_ctl_tlv))) in sof_ipc4_bytes_ext_put()
519 if (header.length + sizeof(struct snd_ctl_tlv) > size) { in sof_ipc4_bytes_ext_put()
522 header.length, sizeof(struct snd_ctl_tlv), size); in sof_ipc4_bytes_ext_put()
583 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in _sof_ipc4_bytes_ext_get()
587 struct snd_ctl_tlv header; in _sof_ipc4_bytes_ext_get()
594 if (size < sizeof(struct snd_ctl_tlv)) in _sof_ipc4_bytes_ext_get()
597 size -= sizeof(struct snd_ctl_tlv); in _sof_ipc4_bytes_ext_get()
628 if (copy_to_user(tlvd, &header, sizeof(struct snd_ctl_tlv))) in _sof_ipc4_bytes_ext_get()
H A Dcontrol.c171 if (size < sizeof(struct snd_ctl_tlv)) in snd_sof_bytes_ext_put()
/linux-6.15/tools/perf/trace/beauty/include/uapi/sound/
H A Dasound.h1193 struct snd_ctl_tlv { struct
1211 #define SNDRV_CTL_IOCTL_TLV_READ _IOWR('U', 0x1a, struct snd_ctl_tlv) argument
1212 #define SNDRV_CTL_IOCTL_TLV_WRITE _IOWR('U', 0x1b, struct snd_ctl_tlv)
1213 #define SNDRV_CTL_IOCTL_TLV_COMMAND _IOWR('U', 0x1c, struct snd_ctl_tlv)
/linux-6.15/include/uapi/sound/
H A Dasound.h1193 struct snd_ctl_tlv { struct
1211 #define SNDRV_CTL_IOCTL_TLV_READ _IOWR('U', 0x1a, struct snd_ctl_tlv) argument
1212 #define SNDRV_CTL_IOCTL_TLV_WRITE _IOWR('U', 0x1b, struct snd_ctl_tlv)
1213 #define SNDRV_CTL_IOCTL_TLV_COMMAND _IOWR('U', 0x1c, struct snd_ctl_tlv)
/linux-6.15/sound/core/
H A Dcontrol.c1851 struct snd_ctl_tlv __user *buf, in snd_ctl_tlv_ioctl()
1854 struct snd_ctl_tlv header; in snd_ctl_tlv_ioctl()