Lines Matching refs:hv_driver
711 hv_vmbus_dynid_match(struct hv_driver *drv, const guid_t *guid)
734 static const struct hv_vmbus_device_id *hv_vmbus_get_id(struct hv_driver *drv,
757 static int vmbus_add_dynid(struct hv_driver *drv, guid_t *guid)
774 static void vmbus_free_dynids(struct hv_driver *drv)
794 struct hv_driver *drv = drv_to_hv_drv(driver);
820 struct hv_driver *drv = drv_to_hv_drv(driver);
860 struct hv_driver *drv = drv_to_hv_drv(driver);
879 struct hv_driver *drv =
904 struct hv_driver *drv;
922 struct hv_driver *drv;
942 struct hv_driver *drv;
961 struct hv_driver *drv;
1523 * @hv_driver: Pointer to driver structure you want to register
1532 int __vmbus_driver_register(struct hv_driver *hv_driver, struct module *owner, const char *mod_name)
1536 pr_info("registering driver %s\n", hv_driver->name);
1542 hv_driver->driver.name = hv_driver->name;
1543 hv_driver->driver.owner = owner;
1544 hv_driver->driver.mod_name = mod_name;
1545 hv_driver->driver.bus = &hv_bus;
1547 spin_lock_init(&hv_driver->dynids.lock);
1548 INIT_LIST_HEAD(&hv_driver->dynids.list);
1550 ret = driver_register(&hv_driver->driver);
1558 * @hv_driver: Pointer to driver structure you want to
1564 void vmbus_driver_unregister(struct hv_driver *hv_driver)
1566 pr_info("unregistering driver %s\n", hv_driver->name);
1569 driver_unregister(&hv_driver->driver);
1570 vmbus_free_dynids(hv_driver);