Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/core/
Ddriver.c1046 int usb_register_driver(struct usb_driver *new_driver, struct module *owner, in usb_register_driver() argument
1054 new_driver->drvwrap.for_devices = 0; in usb_register_driver()
1055 new_driver->drvwrap.driver.name = new_driver->name; in usb_register_driver()
1056 new_driver->drvwrap.driver.bus = &usb_bus_type; in usb_register_driver()
1057 new_driver->drvwrap.driver.probe = usb_probe_interface; in usb_register_driver()
1058 new_driver->drvwrap.driver.remove = usb_unbind_interface; in usb_register_driver()
1059 new_driver->drvwrap.driver.owner = owner; in usb_register_driver()
1060 new_driver->drvwrap.driver.mod_name = mod_name; in usb_register_driver()
1061 new_driver->drvwrap.driver.dev_groups = new_driver->dev_groups; in usb_register_driver()
1062 spin_lock_init(&new_driver->dynids.lock); in usb_register_driver()
[all …]
/kernel/linux/linux-5.10/drivers/net/phy/
Dphy_device.c2943 int phy_driver_register(struct phy_driver *new_driver, struct module *owner) in phy_driver_register() argument
2950 if (WARN_ON(new_driver->features && new_driver->get_features)) { in phy_driver_register()
2952 new_driver->name); in phy_driver_register()
2956 new_driver->mdiodrv.flags |= MDIO_DEVICE_IS_PHY; in phy_driver_register()
2957 new_driver->mdiodrv.driver.name = new_driver->name; in phy_driver_register()
2958 new_driver->mdiodrv.driver.bus = &mdio_bus_type; in phy_driver_register()
2959 new_driver->mdiodrv.driver.probe = phy_probe; in phy_driver_register()
2960 new_driver->mdiodrv.driver.remove = phy_remove; in phy_driver_register()
2961 new_driver->mdiodrv.driver.owner = owner; in phy_driver_register()
2962 new_driver->mdiodrv.driver.probe_type = PROBE_FORCE_SYNCHRONOUS; in phy_driver_register()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dphy.h1542 int phy_driver_register(struct phy_driver *new_driver, struct module *owner);
1543 int phy_drivers_register(struct phy_driver *new_driver, int n,