Searched refs:faux_dev (Results 1 – 2 of 2) sorted by relevance
26 struct faux_device faux_dev; member44 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_probe() local49 ret = faux_ops->probe(faux_dev); in faux_probe()57 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_remove() local61 faux_ops->remove(faux_dev); in faux_remove()119 struct faux_device *faux_dev; in faux_device_create_with_groups() local131 faux_dev = &faux_obj->faux_dev; in faux_device_create_with_groups()132 dev = &faux_dev->dev; in faux_device_create_with_groups()160 faux_dev = NULL; in faux_device_create_with_groups()163 return faux_dev; in faux_device_create_with_groups()[all …]
46 int (*probe)(struct faux_device *faux_dev);47 void (*remove)(struct faux_device *faux_dev);57 void faux_device_destroy(struct faux_device *faux_dev);59 static inline void *faux_device_get_drvdata(const struct faux_device *faux_dev) in faux_device_get_drvdata() argument61 return dev_get_drvdata(&faux_dev->dev); in faux_device_get_drvdata()64 static inline void faux_device_set_drvdata(struct faux_device *faux_dev, void *data) in faux_device_set_drvdata() argument66 dev_set_drvdata(&faux_dev->dev, data); in faux_device_set_drvdata()