Searched refs:scmdrv (Results 1 – 2 of 2) sorted by relevance
28 return scmdrv->probe ? scmdrv->probe(scmdev) : -ENODEV; in scmdev_probe()36 if (scmdrv->remove) in scmdev_remove()37 scmdrv->remove(scmdev); in scmdev_remove()58 struct device_driver *drv = &scmdrv->drv; in scm_driver_register()72 driver_unregister(&scmdrv->drv); in scm_driver_unregister()159 struct scm_driver *scmdrv; in scmdev_update() local169 scmdrv = to_scm_drv(scmdev->dev.driver); in scmdev_update()170 if (changed && scmdrv->notify) in scmdev_update()171 scmdrv->notify(scmdev, SCM_CHANGE); in scmdev_update()262 if (dev->driver && scmdrv->notify) in scm_dev_avail()[all …]
114 int scm_driver_register(struct scm_driver *scmdrv);115 void scm_driver_unregister(struct scm_driver *scmdrv);