Home
last modified time | relevance | path

Searched refs:faux_device (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/include/linux/device/
H A Dfaux.h29 struct faux_device { struct
32 #define to_faux_device(x) container_of_const((x), struct faux_device, dev) argument
46 int (*probe)(struct faux_device *faux_dev);
47 void (*remove)(struct faux_device *faux_dev);
50 struct faux_device *faux_device_create(const char *name,
53 struct faux_device *faux_device_create_with_groups(const char *name,
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()
64 static inline void faux_device_set_drvdata(struct faux_device *faux_dev, void *data) in faux_device_set_drvdata()
/linux-6.15/drivers/base/
H A Dfaux.c26 struct faux_device faux_dev;
44 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_probe()
57 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_remove()
113 struct faux_device *faux_device_create_with_groups(const char *name, in faux_device_create_with_groups()
119 struct faux_device *faux_dev; in faux_device_create_with_groups()
190 struct faux_device *faux_device_create(const char *name, in faux_device_create()
205 void faux_device_destroy(struct faux_device *faux_dev) in faux_device_destroy()
/linux-6.15/drivers/regulator/
H A Ddummy.c40 static int dummy_regulator_probe(struct faux_device *fdev) in dummy_regulator_probe()
63 static struct faux_device *dummy_fdev;
/linux-6.15/rust/kernel/
H A Dfaux.rs22 pub struct Registration(NonNull<bindings::faux_device>);
48 fn as_raw(&self) -> *mut bindings::faux_device { in as_raw() argument
/linux-6.15/sound/soc/
H A Dsoc-utils.c265 static int snd_soc_dummy_probe(struct faux_device *fdev) in snd_soc_dummy_probe()
284 static struct faux_device *soc_dummy_dev;
/linux-6.15/drivers/misc/lis3lv02d/
H A Dlis3lv02d.h285 struct faux_device *fdev; /* faux device */
/linux-6.15/drivers/net/phy/
H A Dfixed_phy.c43 static struct faux_device *fdev;
/linux-6.15/drivers/char/
H A Dtlclk.c771 static struct faux_device *tlclk_device;