Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/usb/
Dcdc_ncm.c156 max = min_t(u32, CDC_NCM_NTB_MAX_SIZE_RX, le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize)); in cdc_ncm_check_rx_max()
161 le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize), min); in cdc_ncm_check_rx_max()
183 max = min_t(u32, CDC_NCM_NTB_MAX_SIZE_TX, le32_to_cpu(ctx->ncm_parm.dwNtbOutMaxSize)); in cdc_ncm_check_tx_max()
347 return sprintf(buf, format "\n", tocpu(ctx->ncm_parm.name)); \
429 if (val != le32_to_cpu(ctx->ncm_parm.dwNtbOutMaxSize) && in cdc_ncm_update_rxtx_max()
507 0, iface_no, &ctx->ncm_parm, in cdc_ncm_init()
508 sizeof(ctx->ncm_parm)); in cdc_ncm_init()
534 if (le16_to_cpu(ctx->ncm_parm.bmNtbFormatsSupported) & in cdc_ncm_init()
560 ctx->rx_max = le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize); in cdc_ncm_init()
561 ctx->tx_max = le32_to_cpu(ctx->ncm_parm.dwNtbOutMaxSize); in cdc_ncm_init()
[all …]
/Linux-v5.10/include/linux/usb/
Dcdc_ncm.h97 struct usb_cdc_ncm_ntb_parameters ncm_parm; member