Lines Matching refs:rx_max
213 return sprintf(buf, "%u\n", ctx->rx_max); in rx_max_show()
276 cdc_ncm_update_rxtx_max(dev, ctx->rx_max, val); in tx_max_store()
304 static DEVICE_ATTR_RW(rx_max);
411 if (val != ctx->rx_max) { in cdc_ncm_update_rxtx_max()
423 ctx->rx_max = val; in cdc_ncm_update_rxtx_max()
427 if (dev->rx_urb_size != ctx->rx_max) { in cdc_ncm_update_rxtx_max()
428 dev->rx_urb_size = ctx->rx_max; in cdc_ncm_update_rxtx_max()
575 ctx->rx_max = le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize); in cdc_ncm_init()
585 ctx->rx_max, ctx->tx_max, ctx->tx_remainder, ctx->tx_modulus, in cdc_ncm_init()
1573 if (len > ctx->rx_max) { in cdc_ncm_rx_verify_nth16()
1576 ctx->rx_max); in cdc_ncm_rx_verify_nth16()
1621 if (len > ctx->rx_max) { in cdc_ncm_rx_verify_nth32()
1624 ctx->rx_max); in cdc_ncm_rx_verify_nth32()
1796 (len > ctx->rx_max) || (len < ETH_HLEN)) { in cdc_ncm_rx_fixup()