Home
last modified time | relevance | path

Searched refs:_tlv (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/
Dqlink_util.h60 #define qlink_for_each_tlv(_tlv, _start, _datalen) \ argument
61 for (_tlv = (const struct qlink_tlv_hdr *)(_start); \
62 (const u8 *)(_start) + (_datalen) - (const u8 *)_tlv >= \
63 (int)sizeof(*_tlv) && \
64 (const u8 *)(_start) + (_datalen) - (const u8 *)_tlv >= \
65 (int)sizeof(*_tlv) + le16_to_cpu(_tlv->len); \
66 _tlv = (const struct qlink_tlv_hdr *)(_tlv->val + \
67 round_up(le16_to_cpu(_tlv->len), QLINK_ALIGN)))
/linux-6.1.9/sound/usb/
Dmixer.h119 unsigned int size, unsigned int __user *_tlv);
Dmixer.c548 unsigned int size, unsigned int __user *_tlv) in snd_usb_mixer_vol_tlv() argument
559 if (copy_to_user(_tlv, scale, sizeof(scale))) in snd_usb_mixer_vol_tlv()
/linux-6.1.9/sound/pci/hda/
Dhda_codec.c1603 unsigned int size, unsigned int __user *_tlv) in snd_hda_mixer_amp_tlv() argument
1610 if (copy_to_user(_tlv, tlv, sizeof(tlv))) in snd_hda_mixer_amp_tlv()
1924 int _tlv[4]; in init_follower_0dB() local
1936 get_ctl_amp_tlv(kctl, _tlv); in init_follower_0dB()
1937 tlv = _tlv; in init_follower_0dB()
Dhda_local.h103 unsigned int size, unsigned int __user *_tlv);
/linux-6.1.9/sound/pci/emu10k1/
Demufx.c653 static unsigned int *copy_tlv(const unsigned int __user *_tlv, bool in_kernel) in copy_tlv() argument
658 if (!_tlv) in copy_tlv()
661 memcpy(data, (__force void *)_tlv, sizeof(data)); in copy_tlv()
662 else if (copy_from_user(data, _tlv, sizeof(data))) in copy_tlv()
671 memcpy(tlv + 2, (__force void *)(_tlv + 2), data[1]); in copy_tlv()
672 } else if (copy_from_user(tlv + 2, _tlv + 2, data[1])) { in copy_tlv()
/linux-6.1.9/drivers/usb/gadget/function/
Du_audio.c979 unsigned int size, unsigned int __user *_tlv) in u_audio_volume_tlv() argument
990 if (copy_to_user(_tlv, scale, sizeof(scale))) in u_audio_volume_tlv()