Home
last modified time | relevance | path

Searched refs:nth16 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c80 struct usb_cdc_ncm_nth16 nth16; member
111 struct usb_cdc_ncm_nth16 *nth16; in mbim_tx_fixup() local
126 nth16 = &mbim_hdr->nth16; in mbim_tx_fixup()
127 nth16->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH16_SIGN); in mbim_tx_fixup()
128 nth16->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16)); in mbim_tx_fixup()
129 nth16->wSequence = cpu_to_le16(tx_seq); in mbim_tx_fixup()
130 nth16->wBlockLength = cpu_to_le16(skb->len); in mbim_tx_fixup()
131 nth16->wNdpIndex = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16)); in mbim_tx_fixup()
195 struct usb_cdc_ncm_nth16 *nth16; in mbim_rx_verify_nth16() local
204 nth16 = (struct usb_cdc_ncm_nth16 *)skb->data; in mbim_rx_verify_nth16()
[all …]
/linux/drivers/net/usb/
H A Dcdc_ncm.c1093 struct usb_cdc_ncm_nth16 *nth16 = (void *)skb->data; in cdc_ncm_ndp16() local
1094 size_t ndpoffset = le16_to_cpu(nth16->wNdpIndex); in cdc_ncm_ndp16()
1132 nth16->wNdpIndex = cpu_to_le16(skb->len); in cdc_ncm_ndp16()
1205 struct usb_cdc_ncm_nth16 *nth16; in cdc_ncm_fill_tx_frame() member
1278 nth.nth16 = skb_put_zero(skb_out, sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame()
1279 nth.nth16->dwSignature = cpu_to_le32(USB_CDC_NCM_NTH16_SIGN); in cdc_ncm_fill_tx_frame()
1280 nth.nth16->wHeaderLength = cpu_to_le16(sizeof(struct usb_cdc_ncm_nth16)); in cdc_ncm_fill_tx_frame()
1281 nth.nth16->wSequence = cpu_to_le16(ctx->tx_seq++); in cdc_ncm_fill_tx_frame()
1405 nth.nth16 = (struct usb_cdc_ncm_nth16 *)skb_out->data; in cdc_ncm_fill_tx_frame()
1407 nth.nth16->wNdpIndex = cpu_to_le16(skb_out->len); in cdc_ncm_fill_tx_frame()
[all …]