Lines Matching refs:hv_driver

715 hv_vmbus_dynid_match(struct hv_driver *drv, const guid_t *guid)  in hv_vmbus_dynid_match()
738 static const struct hv_vmbus_device_id *hv_vmbus_get_id(struct hv_driver *drv, in hv_vmbus_get_id()
761 static int vmbus_add_dynid(struct hv_driver *drv, guid_t *guid) in vmbus_add_dynid()
778 static void vmbus_free_dynids(struct hv_driver *drv) in vmbus_free_dynids()
798 struct hv_driver *drv = drv_to_hv_drv(driver); in new_id_store()
824 struct hv_driver *drv = drv_to_hv_drv(driver); in remove_id_store()
864 struct hv_driver *drv = drv_to_hv_drv(driver); in vmbus_match()
883 struct hv_driver *drv = in vmbus_probe()
923 struct hv_driver *drv; in vmbus_remove()
938 struct hv_driver *drv; in vmbus_shutdown()
958 struct hv_driver *drv; in vmbus_suspend()
977 struct hv_driver *drv; in vmbus_resume()
1585 int __vmbus_driver_register(struct hv_driver *hv_driver, struct module *owner, const char *mod_name) in __vmbus_driver_register() argument
1589 pr_info("registering driver %s\n", hv_driver->name); in __vmbus_driver_register()
1595 hv_driver->driver.name = hv_driver->name; in __vmbus_driver_register()
1596 hv_driver->driver.owner = owner; in __vmbus_driver_register()
1597 hv_driver->driver.mod_name = mod_name; in __vmbus_driver_register()
1598 hv_driver->driver.bus = &hv_bus; in __vmbus_driver_register()
1600 spin_lock_init(&hv_driver->dynids.lock); in __vmbus_driver_register()
1601 INIT_LIST_HEAD(&hv_driver->dynids.list); in __vmbus_driver_register()
1603 ret = driver_register(&hv_driver->driver); in __vmbus_driver_register()
1617 void vmbus_driver_unregister(struct hv_driver *hv_driver) in vmbus_driver_unregister() argument
1619 pr_info("unregistering driver %s\n", hv_driver->name); in vmbus_driver_unregister()
1622 driver_unregister(&hv_driver->driver); in vmbus_driver_unregister()
1623 vmbus_free_dynids(hv_driver); in vmbus_driver_unregister()