Searched refs:faux_device (Results 1 – 12 of 12) sorted by relevance
29 struct faux_device { struct32 #define to_faux_device(x) container_of_const((x), struct faux_device, dev) argument46 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()
55 struct faux_device *faux_dev;130 struct faux_device *fdev; in vgem_init()168 struct faux_device *fdev = vgem_device->faux_dev; in vgem_exit()
31 /// The underlying `struct faux_device` is valid. in new() 34 Opaque<bindings::faux_device>, in new() 40 fn as_raw(&self) -> *mut bindings::faux_device { in new() 46 /// `ptr` must be a valid pointer to a `struct faux_device`. in new() 48 unsafe fn from_raw<'a>(ptr: *mut bindings::faux_device) -> &'a Self { in as_raw() argument 49 // SAFETY: `Device` is a transparent wrapper of `Opaque<bindings::faux_device>`. in as_raw() 58 // `struct faux_device`. `dev` points to a valid `struct device`. in as_ref() 63 // SAFETY: `faux::Device` is a transparent wrapper of `struct faux_device`. in drop() 66 const OFFSET: usize = core::mem::offset_of!(bindings::faux_device, dev); in drop() 71 /// This type represents the registration of a [`struct faux_device`][all...]
19 struct faux_device *)30 struct faux_device *amp_dev;31 struct faux_device *gpio_dev;99 static int cirrus_scodec_test_gpio_probe(struct faux_device *fdev) in cirrus_scodec_test_gpio_probe()
205 static int tdx_host_probe(struct faux_device *fdev) in tdx_host_probe()214 static struct faux_device *fdev;
27 static struct faux_device *dell_pc_fdev;258 static int dell_pc_faux_probe(struct faux_device *fdev) in dell_pc_faux_probe()
272 static int snd_soc_dummy_probe(struct faux_device *fdev) in snd_soc_dlc_is_dummy() 291 static struct faux_device *soc_dummy_dev; in snd_soc_dummy_probe()
431 static int psci_cpuidle_probe(struct faux_device *fdev) in psci_cpuidle_probe()479 struct faux_device *fdev; in psci_idle_init()
244 struct faux_device *faux_dev;
1045 static int __init einj_probe(struct faux_device *fdev) in einj_probe()1148 static void einj_remove(struct faux_device *fdev) in einj_remove()1175 static struct faux_device *einj_dev;
40 struct faux_device *)43 struct faux_device *amp_dev;
97 static struct faux_device *reg_fdev;