Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c80 struct usb_cdc_ncm_dpe16 dpe16[2]; member
130 ndp16->dpe16[0].wDatagramIndex = cpu_to_le16(sizeof(struct mbim_tx_hdr)); in mbim_tx_fixup()
131 ndp16->dpe16[0].wDatagramLength = cpu_to_le16(dgram_size); in mbim_tx_fixup()
134 ndp16->dpe16[1].wDatagramIndex = 0; in mbim_tx_fixup()
135 ndp16->dpe16[1].wDatagramLength = 0; in mbim_tx_fixup()
257 struct usb_cdc_ncm_dpe16 dpe16; in mhi_mbim_rx() local
294 for (n = 0; n < nframes; n++, dpeoffset += sizeof(dpe16)) { in mhi_mbim_rx()
298 if (skb_copy_bits(skb, dpeoffset, &dpe16, sizeof(dpe16))) in mhi_mbim_rx()
301 dgram_offset = le16_to_cpu(dpe16.wDatagramIndex); in mhi_mbim_rx()
302 dgram_len = le16_to_cpu(dpe16.wDatagramLength); in mhi_mbim_rx()
/openbmc/linux/drivers/net/usb/
H A Dcdc_mbim.c421 struct usb_cdc_ncm_dpe16 *dpe16; in cdc_mbim_rx_fixup() local
459 dpe16 = ndp16->dpe16; in cdc_mbim_rx_fixup()
460 for (x = 0; x < nframes; x++, dpe16++) { in cdc_mbim_rx_fixup()
461 offset = le16_to_cpu(dpe16->wDatagramIndex); in cdc_mbim_rx_fixup()
462 len = le16_to_cpu(dpe16->wDatagramLength); in cdc_mbim_rx_fixup()
H A Dcdc_ncm.c1346 ndp.ndp16->dpe16[index].wDatagramLength = cpu_to_le16(skb->len); in cdc_ncm_fill_tx_frame()
1347 ndp.ndp16->dpe16[index].wDatagramIndex = cpu_to_le16(skb_out->len); in cdc_ncm_fill_tx_frame()
1734 struct usb_cdc_ncm_dpe16 *dpe16; in cdc_ncm_rx_fixup() member
1764 dpe.dpe16 = ndp.ndp16->dpe16; in cdc_ncm_rx_fixup()
1783 offset = le16_to_cpu(dpe.dpe16->wDatagramIndex); in cdc_ncm_rx_fixup()
1784 len = le16_to_cpu(dpe.dpe16->wDatagramLength); in cdc_ncm_rx_fixup()
1821 dpe.dpe16++; in cdc_ncm_rx_fixup()
H A Dipheth.c242 dpe = ncm0->dpe16; in ipheth_rcvbulk_callback_ncm()
/openbmc/linux/include/uapi/linux/usb/
H A Dcdc.h395 struct usb_cdc_ncm_dpe16 dpe16[]; member