Lines Matching refs:subdriver
32 struct usb_driver *subdriver; member
69 struct usb_driver *subdriver = ERR_PTR(-ENODEV); in huawei_cdc_ncm_bind() local
96 subdriver = usb_cdc_wdm_register(ctx->control, in huawei_cdc_ncm_bind()
100 if (IS_ERR(subdriver)) { in huawei_cdc_ncm_bind()
101 ret = PTR_ERR(subdriver); in huawei_cdc_ncm_bind()
109 drvstate->subdriver = subdriver; in huawei_cdc_ncm_bind()
121 if (drvstate->subdriver && drvstate->subdriver->disconnect) in huawei_cdc_ncm_unbind()
122 drvstate->subdriver->disconnect(ctx->control); in huawei_cdc_ncm_unbind()
123 drvstate->subdriver = NULL; in huawei_cdc_ncm_unbind()
146 drvstate->subdriver && in huawei_cdc_ncm_suspend()
147 drvstate->subdriver->suspend) in huawei_cdc_ncm_suspend()
148 ret = drvstate->subdriver->suspend(intf, message); in huawei_cdc_ncm_suspend()
167 drvstate->subdriver && in huawei_cdc_ncm_resume()
168 drvstate->subdriver->resume); in huawei_cdc_ncm_resume()
171 ret = drvstate->subdriver->resume(intf); in huawei_cdc_ncm_resume()
176 drvstate->subdriver->suspend(intf, PMSG_SUSPEND); in huawei_cdc_ncm_resume()