Searched refs:scmdrv (Results 1 – 1 of 1) sorted by relevance
25 struct scm_driver *scmdrv = to_scm_drv(dev->driver); in scmdev_probe() local27 return scmdrv->probe ? scmdrv->probe(scmdev) : -ENODEV; in scmdev_probe()33 struct scm_driver *scmdrv = to_scm_drv(dev->driver); in scmdev_remove() local35 return scmdrv->remove ? scmdrv->remove(scmdev) : -ENODEV; in scmdev_remove()54 int scm_driver_register(struct scm_driver *scmdrv) in scm_driver_register() argument56 struct device_driver *drv = &scmdrv->drv; in scm_driver_register()68 void scm_driver_unregister(struct scm_driver *scmdrv) in scm_driver_unregister() argument70 driver_unregister(&scmdrv->drv); in scm_driver_unregister()78 struct scm_driver *scmdrv = to_scm_drv(scmdev->dev.driver); in scm_irq_handler() local80 scmdrv->handler(scmdev, aobrq->data, error); in scm_irq_handler()[all …]