Home
last modified time | relevance | path

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

/drivers/staging/uwb/
Dumc-drv.c11 int __umc_driver_register(struct umc_driver *umc_drv, struct module *module, in __umc_driver_register() argument
14 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() argument
29 driver_unregister(&umc_drv->driver); in umc_driver_unregister()
Dumc-bus.c20 struct umc_driver *umc_drv = to_umc_driver(dev->driver); in umc_bus_pre_reset_helper() local
22 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() local
38 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() argument
84 const struct pci_device_id *id_table = umc_drv->match_data; in umc_match_pci_id()
/drivers/staging/uwb/include/
Dumc.h103 int __must_check __umc_driver_register(struct umc_driver *umc_drv,
111 #define umc_driver_register(umc_drv) \ argument
112 __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);