Home
last modified time | relevance | path

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

/linux-6.15/drivers/base/
H A Dfaux.c26 struct faux_device faux_dev; member
44 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_probe() local
49 ret = faux_ops->probe(faux_dev); in faux_probe()
57 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_remove() local
61 faux_ops->remove(faux_dev); in faux_remove()
119 struct faux_device *faux_dev; in faux_device_create_with_groups() local
131 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 …]
/linux-6.15/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()