Searched refs:_tlv (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/net/wireless/quantenna/qtnfmac/ |
D | qlink_util.h | 60 #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.6.21/sound/usb/ |
D | mixer.h | 119 unsigned int size, unsigned int __user *_tlv);
|
D | mixer.c | 548 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.6.21/sound/pci/emu10k1/ |
D | emufx.c | 682 static unsigned int *copy_tlv(const unsigned int __user *_tlv, bool in_kernel) in copy_tlv() argument 687 if (!_tlv) in copy_tlv() 690 memcpy(data, (__force void *)_tlv, sizeof(data)); in copy_tlv() 691 else if (copy_from_user(data, _tlv, sizeof(data))) in copy_tlv() 700 memcpy(tlv + 2, (__force void *)(_tlv + 2), data[1]); in copy_tlv() 701 } else if (copy_from_user(tlv + 2, _tlv + 2, data[1])) { in copy_tlv()
|
/linux-6.6.21/sound/pci/hda/ |
D | hda_codec.c | 1602 unsigned int size, unsigned int __user *_tlv) in snd_hda_mixer_amp_tlv() argument 1609 if (copy_to_user(_tlv, tlv, sizeof(tlv))) in snd_hda_mixer_amp_tlv() 1921 int _tlv[4]; in init_follower_0dB() local 1933 get_ctl_amp_tlv(kctl, _tlv); in init_follower_0dB() 1934 tlv = _tlv; in init_follower_0dB()
|
D | hda_local.h | 103 unsigned int size, unsigned int __user *_tlv);
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | u_audio.c | 979 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()
|