Lines Matching refs:dwc_otg_driver
2 * $File: //dwh/usb_iip/dev/software/otg_ipmate/linux/drivers/dwc_otg_driver.c $
35 * The dwc_otg_driver module provides the initialization and cleanup entry
41 * This module also defines a data structure for the dwc_otg_driver, which is
68 #include "dwc_otg_driver.h"
558 * dwc_otg_driver. This happens, for example, when the rmmod command is
630 * dwc_otg_driver. It creates the driver components required to
835 struct platform_driver dwc_otg_driver = {
845 EXPORT_SYMBOL(dwc_otg_driver);
848 * This function is called when the dwc_otg_driver is installed with the
849 * insmod command. It registers the dwc_otg_driver structure with the
876 retval = platform_driver_register(&dwc_otg_driver);
883 retval = driver_create_file(&dwc_otg_driver.driver, &driver_attr_version);
889 retval = driver_create_file(&dwc_otg_driver.driver, &driver_attr_debuglevel);
899 driver_remove_file(&dwc_otg_driver.driver, &driver_attr_version);
901 driver_unregister(&dwc_otg_driver.driver);
918 driver_remove_file(&dwc_otg_driver.driver, &driver_attr_debuglevel);
919 driver_remove_file(&dwc_otg_driver.driver, &driver_attr_version);
921 platform_driver_unregister(&dwc_otg_driver);