Lines Matching refs:rx_max
202 return sprintf(buf, "%u\n", ctx->rx_max); in cdc_ncm_show_rx_max()
257 cdc_ncm_update_rxtx_max(dev, ctx->rx_max, val); in cdc_ncm_store_tx_max()
283 static DEVICE_ATTR(rx_max, S_IRUGO | S_IWUSR, cdc_ncm_show_rx_max, cdc_ncm_store_rx_max);
340 if (val != ctx->rx_max) { in cdc_ncm_update_rxtx_max()
352 ctx->rx_max = val; in cdc_ncm_update_rxtx_max()
356 if (dev->rx_urb_size != ctx->rx_max) { in cdc_ncm_update_rxtx_max()
357 dev->rx_urb_size = ctx->rx_max; in cdc_ncm_update_rxtx_max()
488 ctx->rx_max = le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize); in cdc_ncm_init()
498 ctx->rx_max, ctx->tx_max, ctx->tx_remainder, ctx->tx_modulus, in cdc_ncm_init()
1324 if (len > ctx->rx_max) { in cdc_ncm_rx_verify_nth16()
1327 ctx->rx_max); in cdc_ncm_rx_verify_nth16()
1431 (len > ctx->rx_max) || (len < ETH_HLEN)) { in cdc_ncm_rx_fixup()