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

/linux-4.4.14/drivers/uwb/
H A Dumc-drv.c12 int __umc_driver_register(struct umc_driver *umc_drv, struct module *module, __umc_driver_register() argument
15 umc_drv->driver.name = umc_drv->name; __umc_driver_register()
16 umc_drv->driver.owner = module; __umc_driver_register()
17 umc_drv->driver.mod_name = mod_name; __umc_driver_register()
18 umc_drv->driver.bus = &umc_bus_type; __umc_driver_register()
20 return driver_register(&umc_drv->driver); __umc_driver_register()
26 * @umc_drv: pointer to the driver.
28 void umc_driver_unregister(struct umc_driver *umc_drv) umc_driver_unregister() argument
30 driver_unregister(&umc_drv->driver); umc_driver_unregister()
H A Dumc-bus.c21 struct umc_driver *umc_drv = to_umc_driver(dev->driver); umc_bus_pre_reset_helper() local
23 if (umc_drv->pre_reset) umc_bus_pre_reset_helper()
24 ret = umc_drv->pre_reset(umc); umc_bus_pre_reset_helper()
37 struct umc_driver *umc_drv = to_umc_driver(dev->driver); umc_bus_post_reset_helper() local
39 if (umc_drv->post_reset) umc_bus_post_reset_helper()
40 ret = umc_drv->post_reset(umc); umc_bus_post_reset_helper()
79 * @umc_drv: umc driver with match_data pointing to a zero-terminated
83 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc) umc_match_pci_id() argument
85 const struct pci_device_id *id_table = umc_drv->match_data; umc_match_pci_id()
/linux-4.4.14/include/linux/uwb/
H A Dumc.h104 int __must_check __umc_driver_register(struct umc_driver *umc_drv,
110 * @umc_drv: pointer to the driver.
112 #define umc_driver_register(umc_drv) \
113 __umc_driver_register(umc_drv, THIS_MODULE, KBUILD_MODNAME)
115 void umc_driver_unregister(struct umc_driver *umc_drv);
122 int umc_match_pci_id(struct umc_driver *umc_drv, struct umc_dev *umc);

Completed in 416 milliseconds