Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/usb/
Dcdc_ncm.c1057 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp() local
1079 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp()
1080 if (ndp16->dwSignature == sign) in cdc_ncm_ndp()
1081 return ndp16; in cdc_ncm_ndp()
1082 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_ncm_ndp()
1094 if (ndp16) in cdc_ncm_ndp()
1095 ndp16->wNextNdpIndex = cpu_to_le16(skb->len); in cdc_ncm_ndp()
1101 ndp16 = skb_put_zero(skb, ctx->max_ndp_size); in cdc_ncm_ndp()
1103 ndp16 = ctx->delayed_ndp16; in cdc_ncm_ndp()
1105 ndp16->dwSignature = sign; in cdc_ncm_ndp()
[all …]
Dcdc_mbim.c420 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_mbim_rx_fixup() local
437 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_mbim_rx_fixup()
439 switch (ndp16->dwSignature & cpu_to_le32(0x00ffffff)) { in cdc_mbim_rx_fixup()
441 c = (u8 *)&ndp16->dwSignature; in cdc_mbim_rx_fixup()
448 c = (u8 *)&ndp16->dwSignature; in cdc_mbim_rx_fixup()
454 le32_to_cpu(ndp16->dwSignature)); in cdc_mbim_rx_fixup()
459 dpe16 = ndp16->dpe16; in cdc_mbim_rx_fixup()
492 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_mbim_rx_fixup()