Home
last modified time | relevance | path

Searched refs:pnl (Results 1 – 8 of 8) sorted by relevance

/drivers/usb/gadget/
Du_os_desc.h84 static inline int usb_ext_prop_put_name(u8 *buf, const char *name, int pnl) in usb_ext_prop_put_name() argument
88 put_unaligned_le16(pnl, usb_ext_prop_name_len_ptr(buf)); in usb_ext_prop_put_name()
90 (wchar_t *) usb_ext_prop_name_ptr(buf), pnl - 2); in usb_ext_prop_put_name()
94 put_unaligned_le16(0, &buf[USB_EXT_PROP_B_PROPERTY_NAME + pnl - 2]); in usb_ext_prop_put_name()
96 return pnl; in usb_ext_prop_put_name()
99 static inline void usb_ext_prop_put_binary(u8 *buf, int pnl, const u8 *data, in usb_ext_prop_put_binary() argument
102 put_unaligned_le32(data_len, usb_ext_prop_data_len_ptr(buf, pnl)); in usb_ext_prop_put_binary()
103 memcpy(usb_ext_prop_data_ptr(buf, pnl), data, data_len); in usb_ext_prop_put_binary()
106 static inline int usb_ext_prop_put_unicode(u8 *buf, int pnl, const char *string, in usb_ext_prop_put_unicode() argument
110 put_unaligned_le32(data_len, usb_ext_prop_data_len_ptr(buf, pnl)); in usb_ext_prop_put_unicode()
[all …]
/drivers/staging/vt6655/
Dtkip.c194 unsigned long int pnl, pnh; in TKIPvMixKey() local
198 pnl = wTSC15_0; in TKIPvMixKey()
203 tsc2 = (unsigned int)(pnl % 65536); /* lsb */ in TKIPvMixKey()
/drivers/staging/rtl8712/
Drtl871x_security.c575 u16 pnl; in r8712_tkip_encrypt() local
610 pnl = (u16)(txpn.val); in r8712_tkip_encrypt()
615 pnl); in r8712_tkip_encrypt()
652 u16 pnl; in r8712_tkip_decrypt() local
688 pnl = (u16)(txpn.val); in r8712_tkip_decrypt()
693 &ttkey[0], pnl); in r8712_tkip_decrypt()
/drivers/staging/rtl8723au/core/
Drtw_security.c617 u16 pnl; in rtw_tkip_encrypt23a() local
673 pnl = (u16)(dot11txpn.val); in rtw_tkip_encrypt23a()
678 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], pnl); in rtw_tkip_encrypt23a()
718 u16 pnl; in rtw_tkip_decrypt23a() local
763 pnl = (u16)(dot11txpn.val); in rtw_tkip_decrypt23a()
767 phase2(&rc4key[0], prwskey, (unsigned short *)&ttkey[0], pnl); in rtw_tkip_decrypt23a()
/drivers/staging/rtl8188eu/core/
Drtw_security.c564 u16 pnl; in rtw_tkip_encrypt() local
608 pnl = (u16)(dot11txpn.val); in rtw_tkip_encrypt()
611 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], pnl); in rtw_tkip_encrypt()
645 u16 pnl; in rtw_tkip_decrypt() local
685 pnl = (u16)(dot11txpn.val); in rtw_tkip_decrypt()
689 phase2(&rc4key[0], prwskey, (unsigned short *)&ttkey[0], pnl); in rtw_tkip_decrypt()
/drivers/staging/wlan-ng/
Dprism2sta.c1146 chinforesult->pnl = le16_to_cpu(result->pnl); in prism2sta_inf_chinforesults()
1153 chinforesult->anl, chinforesult->pnl, in prism2sta_inf_chinforesults()
Dhfa384x.h660 u16 pnl; member
/drivers/usb/gadget/function/
Df_fs.c2093 u16 pnl; in __ffs_data_do_os_desc() local
2105 pnl = le16_to_cpu(d->wPropertyNameLength); in __ffs_data_do_os_desc()
2106 pdl = le32_to_cpu(*(u32 *)((u8 *)data + 10 + pnl)); in __ffs_data_do_os_desc()
2107 if (length != 14 + pnl + pdl) { in __ffs_data_do_os_desc()
2109 length, pnl, pdl, type); in __ffs_data_do_os_desc()
2114 ffs->ms_os_descs_ext_prop_name_len += pnl * 2; in __ffs_data_do_os_desc()