Lines Matching defs:ndp32
1146 struct usb_cdc_ncm_ndp32 *ndp32 = NULL;
1168 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb->data + ndpoffset);
1169 if (ndp32->dwSignature == sign)
1170 return ndp32;
1171 ndpoffset = le32_to_cpu(ndp32->dwNextNdpIndex);
1183 if (ndp32)
1184 ndp32->dwNextNdpIndex = cpu_to_le32(skb->len);
1190 ndp32 = skb_put_zero(skb, ctx->max_ndp_size);
1192 ndp32 = ctx->delayed_ndp32;
1194 ndp32->dwSignature = sign;
1195 ndp32->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp32) + sizeof(struct usb_cdc_ncm_dpe32));
1196 return ndp32;
1209 struct usb_cdc_ncm_ndp32 *ndp32;
1312 ndp.ndp32 = cdc_ncm_ndp32(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder);
1318 if ((ctx->is_ndp16 && !ndp.ndp16) || (!ctx->is_ndp16 && !ndp.ndp32) ||
1350 ndplen = le16_to_cpu(ndp.ndp32->wLength);
1353 ndp.ndp32->dpe32[index].dwDatagramLength = cpu_to_le32(skb->len);
1354 ndp.ndp32->dpe32[index].dwDatagramIndex = cpu_to_le32(skb_out->len);
1355 ndp.ndp32->wLength = cpu_to_le16(ndplen + sizeof(struct usb_cdc_ncm_dpe32));
1417 ndp.ndp32 = memset(ctx->delayed_ndp32, 0, ctx->max_ndp_size);
1689 struct usb_cdc_ncm_ndp32 *ndp32;
1697 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset);
1699 if (le16_to_cpu(ndp32->wLength) < USB_CDC_NCM_NDP32_LENGTH_MIN) {
1701 le16_to_cpu(ndp32->wLength));
1705 ret = ((le16_to_cpu(ndp32->wLength) -
1731 struct usb_cdc_ncm_ndp32 *ndp32;
1770 ndp.ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset);
1772 if (ndp.ndp32->dwSignature != cpu_to_le32(USB_CDC_NCM_NDP32_NOCRC_SIGN)) {
1775 le32_to_cpu(ndp.ndp32->dwSignature));
1778 dpe.dpe32 = ndp.ndp32->dpe32;
1830 ndpoffset = le32_to_cpu(ndp.ndp32->dwNextNdpIndex);