Searched refs:umc_drv (Results 1 – 3 of 3) sorted by relevance
11 int __umc_driver_register(struct umc_driver *umc_drv, struct module *module, in __umc_driver_register() argument14 umc_drv->driver.name = umc_drv->name; in __umc_driver_register()15 umc_drv->driver.owner = module; in __umc_driver_register()16 umc_drv->driver.mod_name = mod_name; in __umc_driver_register()17 umc_drv->driver.bus = &umc_bus_type; in __umc_driver_register()19 return driver_register(&umc_drv->driver); in __umc_driver_register()27 void umc_driver_unregister(struct umc_driver *umc_drv) in umc_driver_unregister() argument29 driver_unregister(&umc_drv->driver); in umc_driver_unregister()
20 struct umc_driver *umc_drv = to_umc_driver(dev->driver); in umc_bus_pre_reset_helper() local22 if (umc_drv->pre_reset) in umc_bus_pre_reset_helper()23 ret = umc_drv->pre_reset(umc); in umc_bus_pre_reset_helper()36 struct umc_driver *umc_drv = to_umc_driver(dev->driver); in umc_bus_post_reset_helper() local38 if (umc_drv->post_reset) in umc_bus_post_reset_helper()39 ret = umc_drv->post_reset(umc); in umc_bus_post_reset_helper()82 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc) in umc_match_pci_id() argument84 const struct pci_device_id *id_table = umc_drv->match_data; in umc_match_pci_id()
103 int __must_check __umc_driver_register(struct umc_driver *umc_drv,111 #define umc_driver_register(umc_drv) \ argument112 __umc_driver_register(umc_drv, THIS_MODULE, KBUILD_MODNAME)114 void umc_driver_unregister(struct umc_driver *umc_drv);121 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc);