Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/mic/bus/
Dcosm_bus.h78 struct cosm_driver { struct
112 int cosm_register_driver(struct cosm_driver *drv);
113 void cosm_unregister_driver(struct cosm_driver *drv);
121 static inline struct cosm_driver *drv_to_cosm(struct device_driver *drv) in drv_to_cosm()
123 return container_of(drv, struct cosm_driver, driver); in drv_to_cosm()
Dcosm_bus.c20 struct cosm_driver *drv = drv_to_cosm(dev->dev.driver); in cosm_dev_probe()
28 struct cosm_driver *drv = drv_to_cosm(dev->dev.driver); in cosm_dev_remove()
40 int cosm_register_driver(struct cosm_driver *driver) in cosm_register_driver()
47 void cosm_unregister_driver(struct cosm_driver *driver) in cosm_unregister_driver()
/Linux-v5.4/drivers/misc/mic/cosm/
Dcosm_main.c330 static struct cosm_driver cosm_driver = { variable
354 ret = cosm_register_driver(&cosm_driver); in cosm_init()
370 cosm_unregister_driver(&cosm_driver); in cosm_exit()