Home
last modified time | relevance | path

Searched refs:wSequence (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/wwan/
H A Dmhi_wwan_mbim.c129 nth16->wSequence = cpu_to_le16(tx_seq); in mbim_tx_fixup()
220 if (mbim->rx_seq + 1 != le16_to_cpu(nth16->wSequence) && in mbim_rx_verify_nth16()
221 (mbim->rx_seq || le16_to_cpu(nth16->wSequence)) && in mbim_rx_verify_nth16()
222 !(mbim->rx_seq == 0xffff && !le16_to_cpu(nth16->wSequence))) { in mbim_rx_verify_nth16()
224 mbim->rx_seq, le16_to_cpu(nth16->wSequence)); in mbim_rx_verify_nth16()
226 mbim->rx_seq = le16_to_cpu(nth16->wSequence); in mbim_rx_verify_nth16()
/linux/drivers/net/usb/
H A Dcdc_ncm.c1281 nth.nth16->wSequence = cpu_to_le16(ctx->tx_seq++); in cdc_ncm_fill_tx_frame()
1287 nth.nth32->wSequence = cpu_to_le16(ctx->tx_seq++); in cdc_ncm_fill_tx_frame()
1587 if ((ctx->rx_seq + 1) != le16_to_cpu(nth16->wSequence) && in cdc_ncm_rx_verify_nth16()
1588 (ctx->rx_seq || le16_to_cpu(nth16->wSequence)) && in cdc_ncm_rx_verify_nth16()
1589 !((ctx->rx_seq == 0xffff) && !le16_to_cpu(nth16->wSequence))) { in cdc_ncm_rx_verify_nth16()
1592 ctx->rx_seq, le16_to_cpu(nth16->wSequence)); in cdc_ncm_rx_verify_nth16()
1594 ctx->rx_seq = le16_to_cpu(nth16->wSequence); in cdc_ncm_rx_verify_nth16()
1635 if ((ctx->rx_seq + 1) != le16_to_cpu(nth32->wSequence) && in cdc_ncm_rx_verify_nth32()
1636 (ctx->rx_seq || le16_to_cpu(nth32->wSequence)) && in cdc_ncm_rx_verify_nth32()
1637 !((ctx->rx_seq == 0xffff) && !le16_to_cpu(nth32->wSequence))) { in cdc_ncm_rx_verify_nth32()
[all …]
/linux/include/uapi/linux/usb/
H A Dcdc.h357 __le16 wSequence; member
365 __le16 wSequence; member