Lines Matching refs:usb_cdc_ncm_ndp32
582 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp32) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init()
1125 static struct usb_cdc_ncm_ndp32 *cdc_ncm_ndp32(struct cdc_ncm_ctx *ctx, struct sk_buff *skb, __le32… in cdc_ncm_ndp32()
1127 struct usb_cdc_ncm_ndp32 *ndp32 = NULL; in cdc_ncm_ndp32()
1149 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb->data + ndpoffset); in cdc_ncm_ndp32()
1176 ndp32->wLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_ndp32) + sizeof(struct usb_cdc_ncm_dpe32)); in cdc_ncm_ndp32()
1190 struct usb_cdc_ncm_ndp32 *ndp32; in cdc_ncm_fill_tx_frame()
1331 index = (ndplen - sizeof(struct usb_cdc_ncm_ndp32)) / sizeof(struct usb_cdc_ncm_dpe32) - 1; in cdc_ncm_fill_tx_frame()
1586 sizeof(struct usb_cdc_ncm_ndp32))) { in cdc_ncm_rx_verify_nth32()
1663 struct usb_cdc_ncm_ndp32 *ndp32; in cdc_ncm_rx_verify_ndp32()
1666 if ((ndpoffset + sizeof(struct usb_cdc_ncm_ndp32)) > skb_in->len) { in cdc_ncm_rx_verify_ndp32()
1671 ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_verify_ndp32()
1680 sizeof(struct usb_cdc_ncm_ndp32)) / in cdc_ncm_rx_verify_ndp32()
1684 if ((sizeof(struct usb_cdc_ncm_ndp32) + in cdc_ncm_rx_verify_ndp32()
1705 struct usb_cdc_ncm_ndp32 *ndp32; in cdc_ncm_rx_fixup()
1744 ndp.ndp32 = (struct usb_cdc_ncm_ndp32 *)(skb_in->data + ndpoffset); in cdc_ncm_rx_fixup()