Home
last modified time | relevance | path

Searched refs:ndp16 (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/usb/
Dcdc_ncm.c985 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp() local
1007 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp()
1008 if (ndp16->dwSignature == sign) in cdc_ncm_ndp()
1009 return ndp16; in cdc_ncm_ndp()
1010 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_ncm_ndp()
1022 if (ndp16) in cdc_ncm_ndp()
1023 ndp16->wNextNdpIndex = cpu_to_le16(skb->len); in cdc_ncm_ndp()
1029 ndp16 = (struct usb_cdc_ncm_ndp16 *)memset(skb_put(skb, ctx->max_ndp_size), 0, ctx->max_ndp_size); in cdc_ncm_ndp()
1031 ndp16 = ctx->delayed_ndp16; in cdc_ncm_ndp()
1033 ndp16->dwSignature = sign; in cdc_ncm_ndp()
[all …]
Dcdc_mbim.c419 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_mbim_rx_fixup() local
436 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_mbim_rx_fixup()
438 switch (ndp16->dwSignature & cpu_to_le32(0x00ffffff)) { in cdc_mbim_rx_fixup()
440 c = (u8 *)&ndp16->dwSignature; in cdc_mbim_rx_fixup()
447 c = (u8 *)&ndp16->dwSignature; in cdc_mbim_rx_fixup()
453 le32_to_cpu(ndp16->dwSignature)); in cdc_mbim_rx_fixup()
458 dpe16 = ndp16->dpe16; in cdc_mbim_rx_fixup()
491 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_mbim_rx_fixup()