Home
last modified time | relevance | path

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

/drivers/net/usb/
Dcdc_mbim.c29 struct usb_driver *subdriver; member
69 struct usb_driver *subdriver = ERR_PTR(-ENODEV); in cdc_mbim_bind() local
86 subdriver = usb_cdc_wdm_register(ctx->control, in cdc_mbim_bind()
90 if (IS_ERR(subdriver)) { in cdc_mbim_bind()
91 ret = PTR_ERR(subdriver); in cdc_mbim_bind()
98 info->subdriver = subdriver; in cdc_mbim_bind()
115 if (info->subdriver && info->subdriver->disconnect) in cdc_mbim_unbind()
116 info->subdriver->disconnect(ctx->control); in cdc_mbim_unbind()
117 info->subdriver = NULL; in cdc_mbim_unbind()
335 if (intf == ctx->control && info->subdriver && info->subdriver->suspend) in cdc_mbim_suspend()
[all …]
Dqmi_wwan.c49 struct usb_driver *subdriver; member
180 struct usb_driver *subdriver = NULL; in qmi_wwan_register_subdriver() local
202subdriver = usb_cdc_wdm_register(info->control, &dev->status->desc, 4096, &qmi_wwan_cdc_wdm_manage… in qmi_wwan_register_subdriver()
203 if (IS_ERR(subdriver)) { in qmi_wwan_register_subdriver()
205 rv = PTR_ERR(subdriver); in qmi_wwan_register_subdriver()
213 info->subdriver = subdriver; in qmi_wwan_register_subdriver()
345 if (info->subdriver && info->subdriver->disconnect) in qmi_wwan_unbind()
346 info->subdriver->disconnect(info->control); in qmi_wwan_unbind()
360 info->subdriver = NULL; in qmi_wwan_unbind()
386 if (intf == info->control && info->subdriver && info->subdriver->suspend) in qmi_wwan_suspend()
[all …]