Lines Matching defs:nth16
1078 struct usb_cdc_ncm_nth16 *nth16 = (void *)skb->data;
1079 size_t ndpoffset = le16_to_cpu(nth16->wNdpIndex);
1117 nth16->wNdpIndex = cpu_to_le16(skb->len);
1190 struct usb_cdc_ncm_nth16 *nth16;
1263 nth.nth16 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth16));
1264 nth.nth16->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH16_SIGN);
1265 nth.nth16->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16));
1266 nth.nth16->wSequence = cpu_to_le16(ctx->tx_seq++);
1390 nth.nth16 = (struct usb_cdc_ncm_nth16 *)skb_out->data;
1392 nth.nth16->wNdpIndex = cpu_to_le16(skb_out->len);
1428 nth.nth16 = (struct usb_cdc_ncm_nth16 *)skb_out->data;
1429 nth.nth16->wBlockLength = cpu_to_le16(skb_out->len);
1542 struct usb_cdc_ncm_nth16 *nth16;
1555 nth16 = (struct usb_cdc_ncm_nth16 *)skb_in->data;
1557 if (nth16->dwSignature != cpu_to_le32(USB_CDC_NCM_NTH16_SIGN)) {
1560 le32_to_cpu(nth16->dwSignature));
1564 len = le16_to_cpu(nth16->wBlockLength);
1572 if ((ctx->rx_seq + 1) != le16_to_cpu(nth16->wSequence) &&
1573 (ctx->rx_seq || le16_to_cpu(nth16->wSequence)) &&
1574 !((ctx->rx_seq == 0xffff) && !le16_to_cpu(nth16->wSequence))) {
1577 ctx->rx_seq, le16_to_cpu(nth16->wSequence));
1579 ctx->rx_seq = le16_to_cpu(nth16->wSequence);
1581 ret = le16_to_cpu(nth16->wNdpIndex);