Home
last modified time | relevance | path

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

/linux/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/drivers/gpu/drm/vgem/
H A Dvgem_drv.c55 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()
/linux/rust/kernel/
H A Dfaux.rs31 /// 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...]
/linux/sound/hda/codecs/side-codecs/
H A Dcirrus_scodec_test.c19 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()
/linux/drivers/virt/coco/tdx-host/
H A Dtdx-host.c205 static int tdx_host_probe(struct faux_device *fdev) in tdx_host_probe()
214 static struct faux_device *fdev;
/linux/drivers/platform/x86/dell/
H A Ddell-pc.c27 static struct faux_device *dell_pc_fdev;
258 static int dell_pc_faux_probe(struct faux_device *fdev) in dell_pc_faux_probe()
/linux/sound/soc/
H A Dsoc-utils.c272 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()
/linux/drivers/cpuidle/
H A Dcpuidle-psci.c431 static int psci_cpuidle_probe(struct faux_device *fdev) in psci_cpuidle_probe()
479 struct faux_device *fdev; in psci_idle_init()
/linux/drivers/gpu/drm/vkms/
H A Dvkms_drv.h244 struct faux_device *faux_dev;
/linux/drivers/acpi/apei/
H A Deinj-core.c1045 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;
/linux/sound/soc/codecs/
H A Dcs-amp-lib-test.c40 struct faux_device *)
43 struct faux_device *amp_dev;
/linux/net/wireless/
H A Dreg.c97 static struct faux_device *reg_fdev;