Lines Matching refs:nth32

1130 	struct usb_cdc_ncm_nth32 *nth32 = (void *)skb->data;  in cdc_ncm_ndp32()  local
1131 size_t ndpoffset = le32_to_cpu(nth32->dwNdpIndex); in cdc_ncm_ndp32()
1169 nth32->dwNdpIndex = cpu_to_le32(skb->len); in cdc_ncm_ndp32()
1188 struct usb_cdc_ncm_nth32 *nth32; in cdc_ncm_fill_tx_frame() member
1268 nth.nth32 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth32)); in cdc_ncm_fill_tx_frame()
1269 nth.nth32->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH32_SIGN); in cdc_ncm_fill_tx_frame()
1270 nth.nth32->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth32)); in cdc_ncm_fill_tx_frame()
1271 nth.nth32->wSequence = cpu_to_le16(ctx->tx_seq++); in cdc_ncm_fill_tx_frame()
1397 nth.nth32 = (struct usb_cdc_ncm_nth32 *)skb_out->data; in cdc_ncm_fill_tx_frame()
1399 nth.nth32->dwNdpIndex = cpu_to_le32(skb_out->len); in cdc_ncm_fill_tx_frame()
1430 nth.nth32 = (struct usb_cdc_ncm_nth32 *)skb_out->data; in cdc_ncm_fill_tx_frame()
1431 nth.nth32->dwBlockLength = cpu_to_le32(skb_out->len); in cdc_ncm_fill_tx_frame()
1584 struct usb_cdc_ncm_nth32 *nth32; in cdc_ncm_rx_verify_nth32() local
1597 nth32 = (struct usb_cdc_ncm_nth32 *)skb_in->data; in cdc_ncm_rx_verify_nth32()
1599 if (nth32->dwSignature != cpu_to_le32(USB_CDC_NCM_NTH32_SIGN)) { in cdc_ncm_rx_verify_nth32()
1602 le32_to_cpu(nth32->dwSignature)); in cdc_ncm_rx_verify_nth32()
1606 len = le32_to_cpu(nth32->dwBlockLength); in cdc_ncm_rx_verify_nth32()
1614 if ((ctx->rx_seq + 1) != le16_to_cpu(nth32->wSequence) && in cdc_ncm_rx_verify_nth32()
1615 (ctx->rx_seq || le16_to_cpu(nth32->wSequence)) && in cdc_ncm_rx_verify_nth32()
1616 !((ctx->rx_seq == 0xffff) && !le16_to_cpu(nth32->wSequence))) { in cdc_ncm_rx_verify_nth32()
1619 ctx->rx_seq, le16_to_cpu(nth32->wSequence)); in cdc_ncm_rx_verify_nth32()
1621 ctx->rx_seq = le16_to_cpu(nth32->wSequence); in cdc_ncm_rx_verify_nth32()
1623 ret = le32_to_cpu(nth32->dwNdpIndex); in cdc_ncm_rx_verify_nth32()