Home
last modified time | relevance | path

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

/drivers/usb/core/
Ddriver.c1044 int usb_register_driver(struct usb_driver *new_driver, struct module *owner, in usb_register_driver() argument
1052 new_driver->drvwrap.for_devices = 0; in usb_register_driver()
1053 new_driver->drvwrap.driver.name = new_driver->name; in usb_register_driver()
1054 new_driver->drvwrap.driver.bus = &usb_bus_type; in usb_register_driver()
1055 new_driver->drvwrap.driver.probe = usb_probe_interface; in usb_register_driver()
1056 new_driver->drvwrap.driver.remove = usb_unbind_interface; in usb_register_driver()
1057 new_driver->drvwrap.driver.owner = owner; in usb_register_driver()
1058 new_driver->drvwrap.driver.mod_name = mod_name; in usb_register_driver()
1059 new_driver->drvwrap.driver.dev_groups = new_driver->dev_groups; in usb_register_driver()
1060 spin_lock_init(&new_driver->dynids.lock); in usb_register_driver()
[all …]
/drivers/net/phy/
Dphy_device.c3147 int phy_driver_register(struct phy_driver *new_driver, struct module *owner) in phy_driver_register() argument
3154 if (WARN_ON(new_driver->features && new_driver->get_features)) { in phy_driver_register()
3156 new_driver->name); in phy_driver_register()
3165 if (WARN(new_driver->mdiodrv.driver.of_match_table, in phy_driver_register()
3167 new_driver->name)) in phy_driver_register()
3170 new_driver->mdiodrv.flags |= MDIO_DEVICE_IS_PHY; in phy_driver_register()
3171 new_driver->mdiodrv.driver.name = new_driver->name; in phy_driver_register()
3172 new_driver->mdiodrv.driver.bus = &mdio_bus_type; in phy_driver_register()
3173 new_driver->mdiodrv.driver.probe = phy_probe; in phy_driver_register()
3174 new_driver->mdiodrv.driver.remove = phy_remove; in phy_driver_register()
[all …]