Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/usb/core/
Ddriver.c1043 int usb_register_driver(struct usb_driver *new_driver, struct module *owner, in usb_register_driver() argument
1051 new_driver->drvwrap.for_devices = 0; in usb_register_driver()
1052 new_driver->drvwrap.driver.name = new_driver->name; in usb_register_driver()
1053 new_driver->drvwrap.driver.bus = &usb_bus_type; in usb_register_driver()
1054 new_driver->drvwrap.driver.probe = usb_probe_interface; in usb_register_driver()
1055 new_driver->drvwrap.driver.remove = usb_unbind_interface; in usb_register_driver()
1056 new_driver->drvwrap.driver.owner = owner; in usb_register_driver()
1057 new_driver->drvwrap.driver.mod_name = mod_name; in usb_register_driver()
1058 new_driver->drvwrap.driver.dev_groups = new_driver->dev_groups; in usb_register_driver()
1059 spin_lock_init(&new_driver->dynids.lock); in usb_register_driver()
[all …]
/linux-6.6.21/drivers/net/phy/
Dphy_device.c3413 int phy_driver_register(struct phy_driver *new_driver, struct module *owner) in phy_driver_register() argument
3420 if (WARN_ON(new_driver->features && new_driver->get_features)) { in phy_driver_register()
3422 new_driver->name); in phy_driver_register()
3431 if (WARN(new_driver->mdiodrv.driver.of_match_table, in phy_driver_register()
3433 new_driver->name)) in phy_driver_register()
3436 new_driver->mdiodrv.flags |= MDIO_DEVICE_IS_PHY; in phy_driver_register()
3437 new_driver->mdiodrv.driver.name = new_driver->name; in phy_driver_register()
3438 new_driver->mdiodrv.driver.bus = &mdio_bus_type; in phy_driver_register()
3439 new_driver->mdiodrv.driver.probe = phy_probe; in phy_driver_register()
3440 new_driver->mdiodrv.driver.remove = phy_remove; in phy_driver_register()
[all …]
/linux-6.6.21/include/linux/
Dphy.h1908 int phy_driver_register(struct phy_driver *new_driver, struct module *owner);
1909 int phy_drivers_register(struct phy_driver *new_driver, int n,