Lines Matching defs:nth16
78 struct usb_cdc_ncm_nth16 nth16;
100 struct usb_cdc_ncm_nth16 *nth16;
115 nth16 = &mbim_hdr->nth16;
116 nth16->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH16_SIGN);
117 nth16->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16));
118 nth16->wSequence = cpu_to_le16(tx_seq);
119 nth16->wBlockLength = cpu_to_le16(skb->len);
120 nth16->wNdpIndex = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16));
184 struct usb_cdc_ncm_nth16 *nth16;
193 nth16 = (struct usb_cdc_ncm_nth16 *)skb->data;
195 if (nth16->dwSignature != cpu_to_le32(USB_CDC_NCM_NTH16_SIGN)) {
197 le32_to_cpu(nth16->dwSignature));
202 len = le16_to_cpu(nth16->wBlockLength);
209 if (mbim->rx_seq + 1 != le16_to_cpu(nth16->wSequence) &&
210 (mbim->rx_seq || le16_to_cpu(nth16->wSequence)) &&
211 !(mbim->rx_seq == 0xffff && !le16_to_cpu(nth16->wSequence))) {
213 mbim->rx_seq, le16_to_cpu(nth16->wSequence));
215 mbim->rx_seq = le16_to_cpu(nth16->wSequence);
217 return le16_to_cpu(nth16->wNdpIndex);