Lines Matching refs:subdriver
32 struct usb_driver *subdriver; member
142 struct usb_driver *subdriver = ERR_PTR(-ENODEV); in cdc_mbim_bind() local
168 subdriver = usb_cdc_wdm_register(ctx->control, in cdc_mbim_bind()
172 if (IS_ERR(subdriver)) { in cdc_mbim_bind()
173 ret = PTR_ERR(subdriver); in cdc_mbim_bind()
180 info->subdriver = subdriver; in cdc_mbim_bind()
200 if (info->subdriver && info->subdriver->disconnect) in cdc_mbim_unbind()
201 info->subdriver->disconnect(ctx->control); in cdc_mbim_unbind()
202 info->subdriver = NULL; in cdc_mbim_unbind()
522 if (intf == ctx->control && info->subdriver && info->subdriver->suspend) in cdc_mbim_suspend()
523 ret = info->subdriver->suspend(intf, message); in cdc_mbim_suspend()
537 bool callsub = (intf == ctx->control && info->subdriver && info->subdriver->resume); in cdc_mbim_resume()
540 ret = info->subdriver->resume(intf); in cdc_mbim_resume()
545 info->subdriver->suspend(intf, PMSG_SUSPEND); in cdc_mbim_resume()