Lines Matching refs:mc_driver
266 int __fsl_mc_driver_register(struct fsl_mc_driver *mc_driver, in __fsl_mc_driver_register() argument
271 mc_driver->driver.owner = owner; in __fsl_mc_driver_register()
272 mc_driver->driver.bus = &fsl_mc_bus_type; in __fsl_mc_driver_register()
274 if (mc_driver->probe) in __fsl_mc_driver_register()
275 mc_driver->driver.probe = fsl_mc_driver_probe; in __fsl_mc_driver_register()
277 if (mc_driver->remove) in __fsl_mc_driver_register()
278 mc_driver->driver.remove = fsl_mc_driver_remove; in __fsl_mc_driver_register()
280 if (mc_driver->shutdown) in __fsl_mc_driver_register()
281 mc_driver->driver.shutdown = fsl_mc_driver_shutdown; in __fsl_mc_driver_register()
283 error = driver_register(&mc_driver->driver); in __fsl_mc_driver_register()
286 mc_driver->driver.name, error); in __fsl_mc_driver_register()
298 void fsl_mc_driver_unregister(struct fsl_mc_driver *mc_driver) in fsl_mc_driver_unregister() argument
300 driver_unregister(&mc_driver->driver); in fsl_mc_driver_unregister()