Lines Matching refs:rx_max
168 dev_dbg(&dev->intf->dev, "rx_max must be in the [%u, %u] range\n", min, max);
216 return sprintf(buf, "%u\n", ctx->rx_max);
279 cdc_ncm_update_rxtx_max(dev, ctx->rx_max, val);
307 static DEVICE_ATTR_RW(rx_max);
404 /* handle rx_max and tx_max changes */
414 if (val != ctx->rx_max) {
417 dev_info(&dev->intf->dev, "setting rx_max = %u\n", val);
426 ctx->rx_max = val;
430 if (dev->rx_urb_size != ctx->rx_max) {
431 dev->rx_urb_size = ctx->rx_max;
578 ctx->rx_max = le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize);
588 ctx->rx_max, ctx->tx_max, ctx->tx_remainder, ctx->tx_modulus,
714 /* clamp rx_max and tx_max and inform device */
1579 if (len > ctx->rx_max) {
1582 ctx->rx_max);
1627 if (len > ctx->rx_max) {
1630 ctx->rx_max);
1802 (len > ctx->rx_max) || (len < ETH_HLEN)) {