Searched refs:scmdrv (Results 1 – 2 of 2) sorted by relevance
26 struct scm_driver *scmdrv = to_scm_drv(dev->driver); in scmdev_probe() local28 return scmdrv->probe ? scmdrv->probe(scmdev) : -ENODEV; in scmdev_probe()34 struct scm_driver *scmdrv = to_scm_drv(dev->driver); in scmdev_remove() local36 if (scmdrv->remove) in scmdev_remove()37 scmdrv->remove(scmdev); in scmdev_remove()56 int scm_driver_register(struct scm_driver *scmdrv) in scm_driver_register() argument58 struct device_driver *drv = &scmdrv->drv; in scm_driver_register()70 void scm_driver_unregister(struct scm_driver *scmdrv) in scm_driver_unregister() argument72 driver_unregister(&scmdrv->drv); in scm_driver_unregister()80 struct scm_driver *scmdrv = to_scm_drv(scmdev->dev.driver); in scm_irq_handler() local[all …]
114 int scm_driver_register(struct scm_driver *scmdrv);115 void scm_driver_unregister(struct scm_driver *scmdrv);