Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/usb/
H A Dcdc_ncm.c580 ctx->tx_remainder = le16_to_cpu(ctx->ncm_parm.wNdpOutPayloadRemainder); in cdc_ncm_init()
588 ctx->rx_max, ctx->tx_max, ctx->tx_remainder, ctx->tx_modulus, in cdc_ncm_init()
691 if (ctx->tx_remainder >= ctx->tx_modulus) { in cdc_ncm_fix_modulus()
693 ctx->tx_remainder = 0; in cdc_ncm_fix_modulus()
697 ctx->tx_remainder = ((ctx->tx_remainder - cdc_ncm_eth_hlen(dev)) & in cdc_ncm_fix_modulus()
1224 ctx->tx_modulus + ctx->tx_remainder) - 1; in cdc_ncm_fill_tx_frame()
1310 ndp.ndp16 = cdc_ncm_ndp16(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame()
1312 ndp.ndp32 = cdc_ncm_ndp32(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame()
1315 cdc_ncm_align_tail(skb_out, ctx->tx_modulus, ctx->tx_remainder, ctx->tx_curr_size); in cdc_ncm_fill_tx_frame()
/openbmc/linux/include/linux/usb/
H A Dcdc_ncm.h136 u16 tx_remainder; member