Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/usb/
Dcdc_ncm.c562 ctx->tx_remainder = le16_to_cpu(ctx->ncm_parm.wNdpOutPayloadRemainder); in cdc_ncm_init()
570 ctx->rx_max, ctx->tx_max, ctx->tx_remainder, ctx->tx_modulus, in cdc_ncm_init()
673 if (ctx->tx_remainder >= ctx->tx_modulus) { in cdc_ncm_fix_modulus()
675 ctx->tx_remainder = 0; in cdc_ncm_fix_modulus()
679 ctx->tx_remainder = ((ctx->tx_remainder - cdc_ncm_eth_hlen(dev)) & in cdc_ncm_fix_modulus()
1290 ndp.ndp16 = cdc_ncm_ndp16(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame()
1292 ndp.ndp32 = cdc_ncm_ndp32(ctx, skb_out, sign, skb->len + ctx->tx_modulus + ctx->tx_remainder); in cdc_ncm_fill_tx_frame()
1295 cdc_ncm_align_tail(skb_out, ctx->tx_modulus, ctx->tx_remainder, ctx->tx_curr_size); in cdc_ncm_fill_tx_frame()
/Linux-v5.10/include/linux/usb/
Dcdc_ncm.h134 u16 tx_remainder; member