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)
43 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_probe() local
48 ret = faux_ops->probe(faux_dev); in faux_probe()
59 faux_ops->remove(faux_dev); in faux_probe()
67 struct faux_device *faux_dev = &faux_obj->faux_dev; in faux_remove() local
73 faux_ops->remove(faux_dev); in faux_remove()
132 struct faux_device *faux_dev; in faux_device_create_with_groups() local
145 faux_dev = &faux_obj->faux_dev; in faux_device_create_with_groups()
146 dev = &faux_dev->dev; in faux_device_create_with_groups()
173 faux_device_destroy(faux_dev); in faux_device_create_with_groups()
174 faux_dev = NULL; in faux_device_create_with_groups()
177 return faux_dev; in faux_device_create_with_groups()
219 void faux_device_destroy(struct faux_device *faux_dev) in faux_device_destroy() argument
221 struct device *dev = &faux_dev->dev; in faux_device_destroy()
223 if (!faux_dev) in faux_device_destroy()