Searched refs:mmc_driver (Results 1 – 4 of 4) sorted by relevance
33 struct mmc_driver { struct40 int mmc_register_driver(struct mmc_driver *drv); argument41 void mmc_unregister_driver(struct mmc_driver *drv);
29 #define to_mmc_driver(d) container_of(d, struct mmc_driver, drv)128 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_probe()136 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_remove()144 struct mmc_driver *drv = to_mmc_driver(dev->driver); in mmc_bus_shutdown()241 int mmc_register_driver(struct mmc_driver *drv) in mmc_register_driver()253 void mmc_unregister_driver(struct mmc_driver *drv) in mmc_unregister_driver()
3272 static struct mmc_driver mmc_driver = { variable3282 return mmc_register_driver(&mmc_driver); in mmc_test_init()3291 mmc_unregister_driver(&mmc_driver); in mmc_test_exit()
3363 static struct mmc_driver mmc_driver = { variable3397 res = mmc_register_driver(&mmc_driver); in mmc_blk_init()3414 mmc_unregister_driver(&mmc_driver); in mmc_blk_exit()