Home
last modified time | relevance | path

Searched refs:faux_dev (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/base/
H A Dfaux.c26 struct faux_device faux_dev; member
30 #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() local
48 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() local
73 faux_ops->remove(faux_dev); in faux_remove()
132 struct faux_device *faux_dev; in faux_device_create_with_groups() local
145 faux_dev = &faux_obj->faux_dev; in faux_device_create_with_groups()
146 dev = &faux_dev->dev; in faux_device_create_with_groups()
[all …]
/linux/include/linux/device/
H A Dfaux.h46 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() argument
61 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() argument
66 dev_set_drvdata(&faux_dev->dev, data); in faux_device_set_drvdata()
/linux/drivers/gpu/drm/vgem/
H A Dvgem_drv.c55 struct faux_device *faux_dev; member
150 vgem_device->faux_dev = fdev; in vgem_init()
168 struct faux_device *fdev = vgem_device->faux_dev; in vgem_exit()
/linux/drivers/gpu/drm/vkms/
H A Dvkms_drv.h244 struct faux_device *faux_dev; member