Home
last modified time | relevance | path

Searched refs:pnl (Results 1 – 6 of 6) 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/rtl8712/
Drtl871x_security.c573 u16 pnl; in r8712_tkip_encrypt() local
607 pnl = (u16)(txpn.val); in r8712_tkip_encrypt()
612 pnl); in r8712_tkip_encrypt()
653 u16 pnl; in r8712_tkip_decrypt() local
690 pnl = (u16)(txpn.val); in r8712_tkip_decrypt()
695 &ttkey[0], pnl); in r8712_tkip_decrypt()
/drivers/staging/rtl8188eu/core/
Drtw_security.c558 u16 pnl; in rtw_tkip_encrypt() local
602 pnl = (u16)(dot11txpn.val); in rtw_tkip_encrypt()
605 phase2(&rc4key[0], prwskey, (u16 *)&ttkey[0], pnl); in rtw_tkip_encrypt()
639 u16 pnl; in rtw_tkip_decrypt() local
679 pnl = (u16)(dot11txpn.val); in rtw_tkip_decrypt()
683 phase2(&rc4key[0], prwskey, (unsigned short *)&ttkey[0], pnl); in rtw_tkip_decrypt()
/drivers/usb/gadget/function/
Df_fs.c2286 u16 pnl; in __ffs_data_do_os_desc() local
2300 pnl = le16_to_cpu(d->wPropertyNameLength); in __ffs_data_do_os_desc()
2301 if (length < 14 + pnl) { in __ffs_data_do_os_desc()
2303 length, pnl, type); in __ffs_data_do_os_desc()
2306 pdl = le32_to_cpu(*(u32 *)((u8 *)data + 10 + pnl)); in __ffs_data_do_os_desc()
2307 if (length != 14 + pnl + pdl) { in __ffs_data_do_os_desc()
2309 length, pnl, pdl, type); in __ffs_data_do_os_desc()
2314 ffs->ms_os_descs_ext_prop_name_len += pnl * 2; in __ffs_data_do_os_desc()
/drivers/staging/wlan-ng/
Dprism2sta.c1155 chinforesult->pnl = le16_to_cpu(result->pnl); in prism2sta_inf_chinforesults()
1162 chinforesult->anl, chinforesult->pnl, in prism2sta_inf_chinforesults()
Dhfa384x.h684 u16 pnl; member