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 return scmdrv->remove ? scmdrv->remove(scmdev) : -ENODEV; in scmdev_remove()55 int scm_driver_register(struct scm_driver *scmdrv) in scm_driver_register() argument57 struct device_driver *drv = &scmdrv->drv; in scm_driver_register()69 void scm_driver_unregister(struct scm_driver *scmdrv) in scm_driver_unregister() argument71 driver_unregister(&scmdrv->drv); in scm_driver_unregister()79 struct scm_driver *scmdrv = to_scm_drv(scmdev->dev.driver); in scm_irq_handler() local81 scmdrv->handler(scmdev, aobrq->data, error); in scm_irq_handler()[all …]
114 int scm_driver_register(struct scm_driver *scmdrv);115 void scm_driver_unregister(struct scm_driver *scmdrv);