Home
last modified time | relevance | path

Searched refs:ndp16 (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/wwan/
H A Dmhi_wwan_mbim.c79 struct usb_cdc_ncm_ndp16 ndp16; member
101 struct usb_cdc_ncm_ndp16 *ndp16; in mbim_tx_fixup() local
123 ndp16 = &mbim_hdr->ndp16; in mbim_tx_fixup()
124 ndp16->dwSignature = cpu_to_le32(USB_CDC_MBIM_NDP16_IPS_SIGN | (session << 24)); in mbim_tx_fixup()
125 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) in mbim_tx_fixup()
127 ndp16->wNextNdpIndex = 0; in mbim_tx_fixup()
130 ndp16->dpe16[0].wDatagramIndex = cpu_to_le16(sizeof(struct mbim_tx_hdr)); in mbim_tx_fixup()
131 ndp16->dpe16[0].wDatagramLength = cpu_to_le16(dgram_size); in mbim_tx_fixup()
134 ndp16 in mbim_tx_fixup()
220 mbim_rx_verify_ndp16(struct sk_buff *skb, struct usb_cdc_ncm_ndp16 *ndp16) mbim_rx_verify_ndp16() argument
256 struct usb_cdc_ncm_ndp16 ndp16; mhi_mbim_rx() local
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dcdc_ncm.c531 /* use ndp16 by default */ in cdc_ncm_init()
1077 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp16() local
1099 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp16()
1100 if (ndp16->dwSignature == sign) in cdc_ncm_ndp16()
1101 return ndp16; in cdc_ncm_ndp16()
1102 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_ncm_ndp16()
1114 if (ndp16) in cdc_ncm_ndp16()
1115 ndp16->wNextNdpIndex = cpu_to_le16(skb->len); in cdc_ncm_ndp16()
1121 ndp16 = skb_put_zero(skb, ctx->max_ndp_size); in cdc_ncm_ndp16()
1123 ndp16 in cdc_ncm_ndp16()
1194 struct usb_cdc_ncm_ndp16 *ndp16; cdc_ncm_fill_tx_frame() member
1639 struct usb_cdc_ncm_ndp16 *ndp16; cdc_ncm_rx_verify_ndp16() local
1716 struct usb_cdc_ncm_ndp16 *ndp16; cdc_ncm_rx_fixup() member
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dcdc_ncm.c544 /* use ndp16 by default */ in cdc_ncm_init()
1091 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp16() local
1113 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp16()
1114 if (ndp16->dwSignature == sign) in cdc_ncm_ndp16()
1115 return ndp16; in cdc_ncm_ndp16()
1116 ndpoffset = le16_to_cpu(ndp16->wNextNdpIndex); in cdc_ncm_ndp16()
1128 if (ndp16) in cdc_ncm_ndp16()
1129 ndp16->wNextNdpIndex = cpu_to_le16(skb->len); in cdc_ncm_ndp16()
1135 ndp16 = skb_put_zero(skb, ctx->max_ndp_size); in cdc_ncm_ndp16()
1137 ndp16 in cdc_ncm_ndp16()
1208 struct usb_cdc_ncm_ndp16 *ndp16; cdc_ncm_fill_tx_frame() member
1653 struct usb_cdc_ncm_ndp16 *ndp16; cdc_ncm_rx_verify_ndp16() local
1730 struct usb_cdc_ncm_ndp16 *ndp16; cdc_ncm_rx_fixup() member
[all...]
H A 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()

Completed in 10 milliseconds