Home
last modified time | relevance | path

Searched refs:usb_cdc_ncm_ndp16 (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/net/wwan/
Dmhi_wwan_mbim.c79 struct usb_cdc_ncm_ndp16 ndp16;
101 struct usb_cdc_ncm_ndp16 *ndp16; in mbim_tx_fixup()
125 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) in mbim_tx_fixup()
188 sizeof(struct usb_cdc_ncm_ndp16)) { in mbim_rx_verify_nth16()
220 static int mbim_rx_verify_ndp16(struct sk_buff *skb, struct usb_cdc_ncm_ndp16 *ndp16) in mbim_rx_verify_ndp16()
230 ret = ((le16_to_cpu(ndp16->wLength) - sizeof(struct usb_cdc_ncm_ndp16)) in mbim_rx_verify_ndp16()
234 if (sizeof(struct usb_cdc_ncm_ndp16) + in mbim_rx_verify_ndp16()
256 struct usb_cdc_ncm_ndp16 ndp16; in mhi_mbim_rx()
293 dpeoffset = ndpoffset + sizeof(struct usb_cdc_ncm_ndp16); in mhi_mbim_rx()
/linux-5.19.10/drivers/net/usb/
Dcdc_ncm.c594 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp16) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init()
1085 static struct usb_cdc_ncm_ndp16 *cdc_ncm_ndp16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb, __le32… in cdc_ncm_ndp16()
1087 struct usb_cdc_ncm_ndp16 *ndp16 = NULL; in cdc_ncm_ndp16()
1109 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb->data + ndpoffset); in cdc_ncm_ndp16()
1136 ndp16->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp16) + sizeof(struct usb_cdc_ncm_dpe16)); in cdc_ncm_ndp16()
1204 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_fill_tx_frame()
1341 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp16)) / sizeof(struct usb_cdc_ncm_dpe16) - 1; in cdc_ncm_fill_tx_frame()
1557 sizeof(struct usb_cdc_ncm_ndp16))) { in cdc_ncm_rx_verify_nth16()
1646 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_ncm_rx_verify_ndp16()
1649 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp16)) > skb_in->len) { in cdc_ncm_rx_verify_ndp16()
[all …]
Dcdc_mbim.c420 struct usb_cdc_ncm_ndp16 *ndp16; in cdc_mbim_rx_fixup()
437 ndp16 = (struct usb_cdc_ncm_ndp16 *)(skb_in->data + ndpoffset); in cdc_mbim_rx_fixup()
/linux-5.19.10/include/linux/usb/
Dcdc_ncm.h123 struct usb_cdc_ncm_ndp16 *delayed_ndp16;
/linux-5.19.10/include/uapi/linux/usb/
Dcdc.h378 struct usb_cdc_ncm_ndp16 { struct
/linux-5.19.10/drivers/usb/gadget/function/
Df_ncm.c457 .ndp_size = sizeof(struct usb_cdc_ncm_ndp16), \