Lines Matching refs:nth32
1147 struct usb_cdc_ncm_nth32 *nth32 = (void *)skb->data;
1148 size_t ndpoffset = le32_to_cpu(nth32->dwNdpIndex);
1186 nth32->dwNdpIndex = cpu_to_le32(skb->len);
1205 struct usb_cdc_ncm_nth32 *nth32;
1283 nth.nth32 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth32));
1284 nth.nth32->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH32_SIGN);
1285 nth.nth32->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth32));
1286 nth.nth32->wSequence = cpu_to_le16(ctx->tx_seq++);
1412 nth.nth32 = (struct usb_cdc_ncm_nth32 *)skb_out->data;
1414 nth.nth32->dwNdpIndex = cpu_to_le32(skb_out->len);
1445 nth.nth32 = (struct usb_cdc_ncm_nth32 *)skb_out->data;
1446 nth.nth32->dwBlockLength = cpu_to_le32(skb_out->len);
1604 struct usb_cdc_ncm_nth32 *nth32;
1617 nth32 = (struct usb_cdc_ncm_nth32 *)skb_in->data;
1619 if (nth32->dwSignature != cpu_to_le32(USB_CDC_NCM_NTH32_SIGN)) {
1622 le32_to_cpu(nth32->dwSignature));
1626 len = le32_to_cpu(nth32->dwBlockLength);
1634 if ((ctx->rx_seq + 1) != le16_to_cpu(nth32->wSequence) &&
1635 (ctx->rx_seq || le16_to_cpu(nth32->wSequence)) &&
1636 !((ctx->rx_seq == 0xffff) && !le16_to_cpu(nth32->wSequence))) {
1639 ctx->rx_seq, le16_to_cpu(nth32->wSequence));
1641 ctx->rx_seq = le16_to_cpu(nth32->wSequence);
1643 ret = le32_to_cpu(nth32->dwNdpIndex);