Home
last modified time | relevance | path

Searched refs:usb_cdc_ncm_nth16 (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c78 struct usb_cdc_ncm_nth16 nth16;
100 struct usb_cdc_ncm_nth16 *nth16; in mbim_tx_fixup()
117 nth16->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16)); in mbim_tx_fixup()
120 nth16->wNdpIndex = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16)); in mbim_tx_fixup()
184 struct usb_cdc_ncm_nth16 *nth16; in mbim_rx_verify_nth16()
187 if (skb->len < sizeof(struct usb_cdc_ncm_nth16) + in mbim_rx_verify_nth16()
193 nth16 = (struct usb_cdc_ncm_nth16 *)skb->data; in mbim_rx_verify_nth16()
/openbmc/linux/drivers/net/usb/
H A Dipheth.c74 #define IPHETH_NCM_HEADER_SIZE (sizeof(struct usb_cdc_ncm_nth16) + \
231 struct usb_cdc_ncm_nth16 *ncmh; in ipheth_rcvbulk_callback_ncm()
249 ncmh->wNdpIndex != cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16))) in ipheth_rcvbulk_callback_ncm()
252 ncm0 = urb->transfer_buffer + sizeof(struct usb_cdc_ncm_nth16); in ipheth_rcvbulk_callback_ncm()
H A Dcdc_ncm.c180 min = ctx->max_datagram_size + ctx->max_ndp_size + sizeof(struct usb_cdc_ncm_nth16); in cdc_ncm_check_tx_max()
1092 struct usb_cdc_ncm_nth16 *nth16 = (void *)skb->data; in cdc_ncm_ndp16()
1204 struct usb_cdc_ncm_nth16 *nth16; in cdc_ncm_fill_tx_frame()
1277 nth.nth16 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame()
1279 nth.nth16->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame()
1404 nth.nth16 = (struct usb_cdc_ncm_nth16 *)skb_out->data; in cdc_ncm_fill_tx_frame()
1442 nth.nth16 = (struct usb_cdc_ncm_nth16 *)skb_out->data; in cdc_ncm_fill_tx_frame()
1556 struct usb_cdc_ncm_nth16 *nth16; in cdc_ncm_rx_verify_nth16()
1563 if (skb_in->len < (sizeof(struct usb_cdc_ncm_nth16) + in cdc_ncm_rx_verify_nth16()
1569 nth16 = (struct usb_cdc_ncm_nth16 *)skb_in->data; in cdc_ncm_rx_verify_nth16()
/openbmc/linux/include/uapi/linux/usb/
H A Dcdc.h354 struct usb_cdc_ncm_nth16 { struct
/openbmc/linux/drivers/usb/gadget/function/
H A Df_ncm.c443 .nth_size = sizeof(struct usb_cdc_ncm_nth16),