Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/usb/
Dcdc_ncm.c1072 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp16() local
1094 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp16()
1095 if (ndp16->dwSignature == sign) in cdc_ncm_ndp16()
1096 return ndp16; in cdc_ncm_ndp16()
1097 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_ncm_ndp16()
1109 if (ndp16) in cdc_ncm_ndp16()
1110 ndp16->wNextNdpIndex = cpu_to_le16(skb->len); in cdc_ncm_ndp16()
1116 ndp16 = skb_put_zero(skb, ctx->max_ndp_size); in cdc_ncm_ndp16()
1118 ndp16 = ctx->delayed_ndp16; in cdc_ncm_ndp16()
1120 ndp16->dwSignature = sign; in cdc_ncm_ndp16()
[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()