Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/sof/
H A Dipc4-control.c301 struct snd_ctl_tlv __user *tlvd = (struct snd_ctl_tlv __user *)binary_data; in sof_ipc4_bytes_ext_put()
307 struct snd_ctl_tlv header; in sof_ipc4_bytes_ext_put()
314 if (copy_from_user(&header, tlvd, sizeof(struct snd_ctl_tlv))) in sof_ipc4_bytes_ext_put()
318 if (header.length + sizeof(struct snd_ctl_tlv) > size) { in sof_ipc4_bytes_ext_put()
321 header.length, sizeof(struct snd_ctl_tlv), size); 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()
378 struct snd_ctl_tlv header; in _sof_ipc4_bytes_ext_get()
385 if (size < sizeof(struct snd_ctl_tlv)) in _sof_ipc4_bytes_ext_get()
388 size -= sizeof(struct snd_ctl_tlv); in _sof_ipc4_bytes_ext_get()
418 if (copy_to_user(tlvd, &header, sizeof(struct snd_ctl_tlv))) in _sof_ipc4_bytes_ext_get()
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 Dcontrol.c171 if (size < sizeof(struct snd_ctl_tlv)) in snd_sof_bytes_ext_put()
/openbmc/linux/tools/include/uapi/sound/
H A Dasound.h1170 struct snd_ctl_tlv { struct
1188 #define SNDRV_CTL_IOCTL_TLV_READ _IOWR('U', 0x1a, struct snd_ctl_tlv) argument
1189 #define SNDRV_CTL_IOCTL_TLV_WRITE _IOWR('U', 0x1b, struct snd_ctl_tlv)
1190 #define SNDRV_CTL_IOCTL_TLV_COMMAND _IOWR('U', 0x1c, struct snd_ctl_tlv)
/openbmc/linux/include/uapi/sound/
H A Dasound.h1170 struct snd_ctl_tlv { struct
1188 #define SNDRV_CTL_IOCTL_TLV_READ _IOWR('U', 0x1a, struct snd_ctl_tlv) argument
1189 #define SNDRV_CTL_IOCTL_TLV_WRITE _IOWR('U', 0x1b, struct snd_ctl_tlv)
1190 #define SNDRV_CTL_IOCTL_TLV_COMMAND _IOWR('U', 0x1c, struct snd_ctl_tlv)
/openbmc/linux/sound/core/
H A Dcontrol.c1952 struct snd_ctl_tlv __user *buf, in snd_ctl_tlv_ioctl()
1955 struct snd_ctl_tlv header; in snd_ctl_tlv_ioctl()