Lines Matching refs:drvflags
298 return sprintf(buf, "%c\n", ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END ? 'Y' : 'N'); in ndp_to_end_show()
311 if (enable == (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END)) in ndp_to_end_store()
332 ctx->drvflags |= CDC_NCM_FLAG_NDP_TO_END; in ndp_to_end_store()
334 ctx->drvflags &= ~CDC_NCM_FLAG_NDP_TO_END; in ndp_to_end_store()
536 if (ctx->drvflags & CDC_NCM_FLAG_PREFER_NTB32) { in cdc_ncm_init()
802 …c_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting, int drvflags) in cdc_ncm_bind_common() argument
879 ctx->drvflags = drvflags; in cdc_ncm_bind_common()
887 if (!(ctx->drvflags & CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE)) in cdc_ncm_bind_common()
937 if (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END) { in cdc_ncm_bind_common()
1080 if (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END) { in cdc_ncm_ndp16()
1101 if (!(ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END)) in cdc_ncm_ndp16()
1115 if (!(ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END)) in cdc_ncm_ndp16()
1135 if (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END) { in cdc_ncm_ndp32()
1156 if (!(ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END)) in cdc_ncm_ndp32()
1170 if (!(ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END)) in cdc_ncm_ndp32()
1201 if (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END) in cdc_ncm_fill_tx_frame()
1382 if (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END) { in cdc_ncm_fill_tx_frame()