Lines Matching refs:hv_driver
675 hv_vmbus_dynid_match(struct hv_driver *drv, const guid_t *guid)
698 static const struct hv_vmbus_device_id *hv_vmbus_get_id(struct hv_driver *drv,
721 static int vmbus_add_dynid(struct hv_driver *drv, guid_t *guid)
738 static void vmbus_free_dynids(struct hv_driver *drv)
758 struct hv_driver *drv = drv_to_hv_drv(driver);
784 struct hv_driver *drv = drv_to_hv_drv(driver);
824 struct hv_driver *drv = drv_to_hv_drv(driver);
843 struct hv_driver *drv =
883 struct hv_driver *drv;
898 struct hv_driver *drv;
918 struct hv_driver *drv;
937 struct hv_driver *drv;
1410 * @hv_driver: Pointer to driver structure you want to register
1419 int __vmbus_driver_register(struct hv_driver *hv_driver, struct module *owner, const char *mod_name)
1423 pr_info("registering driver %s\n", hv_driver->name);
1429 hv_driver->driver.name = hv_driver->name;
1430 hv_driver->driver.owner = owner;
1431 hv_driver->driver.mod_name = mod_name;
1432 hv_driver->driver.bus = &hv_bus;
1434 spin_lock_init(&hv_driver->dynids.lock);
1435 INIT_LIST_HEAD(&hv_driver->dynids.list);
1437 ret = driver_register(&hv_driver->driver);
1445 * @hv_driver: Pointer to driver structure you want to
1451 void vmbus_driver_unregister(struct hv_driver *hv_driver)
1453 pr_info("unregistering driver %s\n", hv_driver->name);
1456 driver_unregister(&hv_driver->driver);
1457 vmbus_free_dynids(hv_driver);