Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/usb/
Dcdc_ncm.c1060 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp() local
1082 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp()
1083 if (ndp16->dwSignature == sign) in cdc_ncm_ndp()
1084 return ndp16; in cdc_ncm_ndp()
1085 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_ncm_ndp()
1097 if (ndp16) in cdc_ncm_ndp()
1098 ndp16->wNextNdpIndex = cpu_to_le16(skb->len); in cdc_ncm_ndp()
1104 ndp16 = skb_put_zero(skb, ctx->max_ndp_size); in cdc_ncm_ndp()
1106 ndp16 = ctx->delayed_ndp16; in cdc_ncm_ndp()
1108 ndp16->dwSignature = sign; in cdc_ncm_ndp()
[all …]
Dcdc_mbim.c418 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_mbim_rx_fixup() local
435 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_mbim_rx_fixup()
437 switch (ndp16->dwSignature & cpu_to_le32(0x00ffffff)) { in cdc_mbim_rx_fixup()
439 c = (u8 *)&ndp16->dwSignature; in cdc_mbim_rx_fixup()
446 c = (u8 *)&ndp16->dwSignature; in cdc_mbim_rx_fixup()
452 le32_to_cpu(ndp16->dwSignature)); in cdc_mbim_rx_fixup()
457 dpe16 = ndp16->dpe16; in cdc_mbim_rx_fixup()
490 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_mbim_rx_fixup()