Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/wwan/
H A Dmhi_wwan_mbim.c81 struct usb_cdc_ncm_ndp16 ndp16; member
112 struct usb_cdc_ncm_ndp16 *ndp16; in mbim_tx_fixup() local
134 ndp16 = &mbim_hdr->ndp16; in mbim_tx_fixup()
138 ndp16->wNextNdpIndex = 0; in mbim_tx_fixup()
145 ndp16->dpe16[1].wDatagramIndex = 0; in mbim_tx_fixup()
146 ndp16->dpe16[1].wDatagramLength = 0; in mbim_tx_fixup()
237 le16_to_cpu(ndp16->wLength)); in mbim_rx_verify_ndp16()
267 struct usb_cdc_ncm_ndp16 ndp16; in mhi_mbim_rx() local
273 if (skb_copy_bits(skb, ndpoffset, &ndp16, sizeof(ndp16))) { in mhi_mbim_rx()
280 nframes = mbim_rx_verify_ndp16(skb, &ndp16); in mhi_mbim_rx()
[all …]
/linux-6.15/drivers/net/usb/
H A Dcdc_ncm.c1114 if (ndp16->dwSignature == sign) in cdc_ncm_ndp16()
1115 return ndp16; in cdc_ncm_ndp16()
1128 if (ndp16) in cdc_ncm_ndp16()
1137 ndp16 = ctx->delayed_ndp16; in cdc_ncm_ndp16()
1139 ndp16->dwSignature = sign; in cdc_ncm_ndp16()
1141 return ndp16; in cdc_ncm_ndp16()
1208 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_fill_tx_frame() member
1653 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_rx_verify_ndp16() local
1665 le16_to_cpu(ndp16->wLength)); in cdc_ncm_rx_verify_ndp16()
1730 struct usb_cdc_ncm_ndp16 *ndp16; in 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()