• Home
  • Raw
  • Download

Lines Matching refs:nth16

1091 	struct usb_cdc_ncm_nth16 *nth16 = (void *)skb->data;  in cdc_ncm_ndp16()  local
1092 size_t ndpoffset = le16_to_cpu(nth16->wNdpIndex); in cdc_ncm_ndp16()
1130 nth16->wNdpIndex = cpu_to_le16(skb->len); in cdc_ncm_ndp16()
1203 struct usb_cdc_ncm_nth16 *nth16; in cdc_ncm_fill_tx_frame() member
1276 nth.nth16 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame()
1277 nth.nth16->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH16_SIGN); in cdc_ncm_fill_tx_frame()
1278 nth.nth16->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame()
1279 nth.nth16->wSequence = cpu_to_le16(ctx->tx_seq++); in cdc_ncm_fill_tx_frame()
1403 nth.nth16 = (struct usb_cdc_ncm_nth16 *)skb_out->data; in cdc_ncm_fill_tx_frame()
1405 nth.nth16->wNdpIndex = cpu_to_le16(skb_out->len); in cdc_ncm_fill_tx_frame()
1441 nth.nth16 = (struct usb_cdc_ncm_nth16 *)skb_out->data; in cdc_ncm_fill_tx_frame()
1442 nth.nth16->wBlockLength = cpu_to_le16(skb_out->len); in cdc_ncm_fill_tx_frame()
1555 struct usb_cdc_ncm_nth16 *nth16; in cdc_ncm_rx_verify_nth16() local
1568 nth16 = (struct usb_cdc_ncm_nth16 *)skb_in->data; in cdc_ncm_rx_verify_nth16()
1570 if (nth16->dwSignature != cpu_to_le32(USB_CDC_NCM_NTH16_SIGN)) { in cdc_ncm_rx_verify_nth16()
1573 le32_to_cpu(nth16->dwSignature)); in cdc_ncm_rx_verify_nth16()
1577 len = le16_to_cpu(nth16->wBlockLength); in cdc_ncm_rx_verify_nth16()
1585 if ((ctx->rx_seq + 1) != le16_to_cpu(nth16->wSequence) && in cdc_ncm_rx_verify_nth16()
1586 (ctx->rx_seq || le16_to_cpu(nth16->wSequence)) && in cdc_ncm_rx_verify_nth16()
1587 !((ctx->rx_seq == 0xffff) && !le16_to_cpu(nth16->wSequence))) { in cdc_ncm_rx_verify_nth16()
1590 ctx->rx_seq, le16_to_cpu(nth16->wSequence)); in cdc_ncm_rx_verify_nth16()
1592 ctx->rx_seq = le16_to_cpu(nth16->wSequence); in cdc_ncm_rx_verify_nth16()
1594 ret = le16_to_cpu(nth16->wNdpIndex); in cdc_ncm_rx_verify_nth16()