Lines Matching refs:faux_dev
26 struct faux_device faux_dev; member
30 #define to_faux_object(dev) container_of_const(dev, struct faux_object, faux_dev.dev)
45 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_probe() local
50 ret = faux_ops->probe(faux_dev); in faux_probe()
61 faux_ops->remove(faux_dev); in faux_probe()
69 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_remove() local
75 faux_ops->remove(faux_dev); in faux_remove()
134 struct faux_device *faux_dev; in faux_device_create_with_groups() local
147 faux_dev = &faux_obj->faux_dev; in faux_device_create_with_groups()
148 dev = &faux_dev->dev; in faux_device_create_with_groups()
174 faux_device_destroy(faux_dev); in faux_device_create_with_groups()
175 faux_dev = NULL; in faux_device_create_with_groups()
178 return faux_dev; in faux_device_create_with_groups()
220 void faux_device_destroy(struct faux_device *faux_dev) in faux_device_destroy() argument
222 struct device *dev = &faux_dev->dev; in faux_device_destroy()
224 if (!faux_dev) in faux_device_destroy()