Searched refs:mmc_driver (Results 1 – 4 of 4) sorted by relevance
32 struct mmc_driver { struct39 int mmc_register_driver(struct mmc_driver *drv); argument40 void mmc_unregister_driver(struct mmc_driver *drv);
28 #define to_mmc_driver(d) container_of(d, struct mmc_driver, drv)137 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_probe()145 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_remove()155 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_shutdown()253 int mmc_register_driver(struct mmc_driver *drv) in mmc_register_driver()265 void mmc_unregister_driver(struct mmc_driver *drv) in mmc_unregister_driver()
3274 static struct mmc_driver mmc_driver = { variable3285 return mmc_register_driver(&mmc_driver);3294 mmc_unregister_driver(&mmc_driver);
3008 static struct mmc_driver mmc_driver = { variable3042 res = mmc_register_driver(&mmc_driver); in mmc_blk_init()3059 mmc_unregister_driver(&mmc_driver); in mmc_blk_exit()