Home
last modified time | relevance | path

Searched refs:drvflags (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/usb/
Dhuawei_cdc_ncm.c72 int drvflags = 0; in huawei_cdc_ncm_bind() local
78 drvflags |= CDC_NCM_FLAG_NDP_TO_END; in huawei_cdc_ncm_bind()
83 drvflags |= CDC_NCM_FLAG_PREFER_NTB32; in huawei_cdc_ncm_bind()
85 ret = cdc_ncm_bind_common(usbnet_dev, intf, 1, drvflags); in huawei_cdc_ncm_bind()
Dcdc_ncm.c298 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()
[all …]
/Linux-v5.10/include/linux/usb/
Dcdc_ncm.h115 int drvflags; member
155 …_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting, int drvflags);