Searched refs:cosm_driver (Results 1 – 3 of 3) sorted by relevance
78 struct cosm_driver { struct112 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()
20 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()
330 static struct cosm_driver cosm_driver = { variable354 ret = cosm_register_driver(&cosm_driver); in cosm_init()370 cosm_unregister_driver(&cosm_driver); in cosm_exit()