Searched refs:usb_cdc_ncm_ndp16 (Results 1 – 6 of 6) sorted by relevance
79 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()
594 …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 …]
420 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()
123 struct usb_cdc_ncm_ndp16 *delayed_ndp16;
378 struct usb_cdc_ncm_ndp16 { struct
457 .ndp_size = sizeof(struct usb_cdc_ncm_ndp16), \