Home
last modified time | relevance | path

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

/drivers/net/phy/
Dphy_device.c1057 int phy_driver_register(struct phy_driver *new_driver) in phy_driver_register() argument
1061 new_driver->driver.name = new_driver->name; in phy_driver_register()
1062 new_driver->driver.bus = &mdio_bus_type; in phy_driver_register()
1063 new_driver->driver.probe = phy_probe; in phy_driver_register()
1064 new_driver->driver.remove = phy_remove; in phy_driver_register()
1066 retval = driver_register(&new_driver->driver); in phy_driver_register()
1070 new_driver->name, retval); in phy_driver_register()
1075 pr_debug("%s: Registered new driver\n", new_driver->name); in phy_driver_register()
1081 int phy_drivers_register(struct phy_driver *new_driver, int n) in phy_drivers_register() argument
1086 ret = phy_driver_register(new_driver + i); in phy_drivers_register()
[all …]
/drivers/usb/core/
Ddriver.c892 int usb_register_driver(struct usb_driver *new_driver, struct module *owner, in usb_register_driver() argument
900 new_driver->drvwrap.for_devices = 0; in usb_register_driver()
901 new_driver->drvwrap.driver.name = (char *) new_driver->name; in usb_register_driver()
902 new_driver->drvwrap.driver.bus = &usb_bus_type; in usb_register_driver()
903 new_driver->drvwrap.driver.probe = usb_probe_interface; in usb_register_driver()
904 new_driver->drvwrap.driver.remove = usb_unbind_interface; in usb_register_driver()
905 new_driver->drvwrap.driver.owner = owner; in usb_register_driver()
906 new_driver->drvwrap.driver.mod_name = mod_name; in usb_register_driver()
907 spin_lock_init(&new_driver->dynids.lock); in usb_register_driver()
908 INIT_LIST_HEAD(&new_driver->dynids.list); in usb_register_driver()
[all …]