Searched refs:faux_dev (Results 1 – 4 of 4) sorted by relevance
26 struct faux_device faux_dev; member30 #define to_faux_object(dev) container_of_const(dev, struct faux_object, faux_dev.dev)43 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_probe() local48 ret = faux_ops->probe(faux_dev); in faux_probe()59 faux_ops->remove(faux_dev); in faux_probe()67 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_remove() local73 faux_ops->remove(faux_dev); in faux_remove()132 struct faux_device *faux_dev; in faux_device_create_with_groups() local145 faux_dev = &faux_obj->faux_dev; in faux_device_create_with_groups()146 dev = &faux_dev->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()
55 struct faux_device *faux_dev; member150 vgem_device->faux_dev = fdev; in vgem_init()168 struct faux_device *fdev = vgem_device->faux_dev; in vgem_exit()
244 struct faux_device *faux_dev; member