Lines Matching refs:subdriver
50 struct usb_driver *subdriver; member
644 struct usb_driver *subdriver = NULL; in qmi_wwan_register_subdriver() local
666 subdriver = usb_cdc_wdm_register(info->control, &dev->status->desc, in qmi_wwan_register_subdriver()
668 if (IS_ERR(subdriver)) { in qmi_wwan_register_subdriver()
670 rv = PTR_ERR(subdriver); in qmi_wwan_register_subdriver()
678 info->subdriver = subdriver; in qmi_wwan_register_subdriver()
806 if (info->subdriver && info->subdriver->disconnect) in qmi_wwan_unbind()
807 info->subdriver->disconnect(info->control); in qmi_wwan_unbind()
827 info->subdriver = NULL; in qmi_wwan_unbind()
852 if (intf == info->control && info->subdriver && in qmi_wwan_suspend()
853 info->subdriver->suspend) in qmi_wwan_suspend()
854 ret = info->subdriver->suspend(intf, message); in qmi_wwan_suspend()
866 bool callsub = (intf == info->control && info->subdriver && in qmi_wwan_resume()
867 info->subdriver->resume); in qmi_wwan_resume()
870 ret = info->subdriver->resume(intf); in qmi_wwan_resume()
875 info->subdriver->suspend(intf, PMSG_SUSPEND); in qmi_wwan_resume()