Lines Matching refs:rx_max
167 dev_dbg(&dev->intf->dev, "rx_max must be in the [%u, %u] range\n", min, max);
213 return sprintf(buf, "%u\n", ctx->rx_max);
268 cdc_ncm_update_rxtx_max(dev, ctx->rx_max, val);
294 static DEVICE_ATTR(rx_max, 0644, cdc_ncm_show_rx_max, cdc_ncm_store_rx_max);
391 /* handle rx_max and tx_max changes */
401 if (val != ctx->rx_max) {
404 dev_info(&dev->intf->dev, "setting rx_max = %u\n", val);
413 ctx->rx_max = val;
417 if (dev->rx_urb_size != ctx->rx_max) {
418 dev->rx_urb_size = ctx->rx_max;
565 ctx->rx_max = le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize);
575 ctx->rx_max, ctx->tx_max, ctx->tx_remainder, ctx->tx_modulus,
701 /* clamp rx_max and tx_max and inform device */
1565 if (len > ctx->rx_max) {
1568 ctx->rx_max);
1613 if (len > ctx->rx_max) {
1616 ctx->rx_max);
1788 (len > ctx->rx_max) || (len < ETH_HLEN)) {