Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/usb/
H A 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()
H A Dcdc_ncm.c316 return sprintf(buf, "%c\n", ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END ? 'Y' : 'N'); in ndp_to_end_show()
329 if (enable == (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END)) in ndp_to_end_store()
350 ctx->drvflags |= CDC_NCM_FLAG_NDP_TO_END; in ndp_to_end_store()
352 ctx->drvflags &= ~CDC_NCM_FLAG_NDP_TO_END; in ndp_to_end_store()
554 if (ctx->drvflags & CDC_NCM_FLAG_PREFER_NTB32) { in cdc_ncm_init()
820 …c_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting, int drvflags) in cdc_ncm_bind_common() argument
899 ctx->drvflags = drvflags; in cdc_ncm_bind_common()
907 if (!(ctx->drvflags & CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE)) in cdc_ncm_bind_common()
956 if (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END) { in cdc_ncm_bind_common()
1099 if (ctx->drvflags & CDC_NCM_FLAG_NDP_TO_END) { in cdc_ncm_ndp16()
[all …]
/openbmc/linux/include/linux/usb/
H A Dcdc_ncm.h117 int drvflags; member
157 …_ncm_bind_common(struct usbnet *dev, struct usb_interface *intf, u8 data_altsetting, int drvflags);