Searched refs:_tlv (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/wireless/quantenna/qtnfmac/ |
| H A 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/sound/usb/ |
| H A D | mixer.h | 120 unsigned int size, unsigned int __user *_tlv);
|
| H A D | mixer.c | 539 unsigned int size, unsigned int __user *_tlv) in snd_usb_mixer_vol_tlv() argument 550 if (copy_to_user(_tlv, scale, sizeof(scale))) in snd_usb_mixer_vol_tlv()
|
| /linux/sound/pci/emu10k1/ |
| H A D | emufx.c | 678 static unsigned int *copy_tlv(const unsigned int __user *_tlv, bool in_kernel) in copy_tlv() argument 683 if (!_tlv) in copy_tlv() 686 memcpy(data, (__force void *)_tlv, sizeof(data)); in copy_tlv() 687 else if (copy_from_user(data, _tlv, sizeof(data))) in copy_tlv() 696 memcpy(tlv + 2, (__force void *)(_tlv + 2), data[1]); in copy_tlv() 697 } else if (copy_from_user(tlv + 2, _tlv + 2, data[1])) { in copy_tlv()
|
| /linux/sound/hda/common/ |
| H A D | codec.c | 1588 * @_tlv: TLV data 1594 unsigned int size, unsigned int __user *_tlv) in snd_hda_mixer_amp_tlv() 1601 if (copy_to_user(_tlv, tlv, sizeof(tlv))) in snd_hda_mixer_amp_tlv() 1878 int _tlv[4]; in init_follower_0dB() 1890 get_ctl_amp_tlv(kctl, _tlv); in init_follower_0dB() 1891 tlv = _tlv; in init_follower_0dB() 1595 snd_hda_mixer_amp_tlv(struct snd_kcontrol * kcontrol,int op_flag,unsigned int size,unsigned int __user * _tlv) snd_hda_mixer_amp_tlv() argument 1879 int _tlv[4]; init_follower_0dB() local
|
| H A D | hda_local.h | 105 unsigned int size, unsigned int __user *_tlv);
|
| /linux/drivers/usb/gadget/function/ |
| H A D | u_audio.c | 1004 unsigned int size, unsigned int __user *_tlv) in u_audio_volume_tlv() argument 1015 if (copy_to_user(_tlv, scale, sizeof(scale))) in u_audio_volume_tlv()
|