Lines Matching refs:faux_ops
27 const struct faux_device_ops *faux_ops; member
46 const struct faux_device_ops *faux_ops = faux_obj->faux_ops; in faux_probe() local
49 if (faux_ops && faux_ops->probe) { in faux_probe()
50 ret = faux_ops->probe(faux_dev); in faux_probe()
60 if (ret && faux_ops && faux_ops->remove) in faux_probe()
61 faux_ops->remove(faux_dev); in faux_probe()
70 const struct faux_device_ops *faux_ops = faux_obj->faux_ops; in faux_remove() local
74 if (faux_ops && faux_ops->remove) in faux_remove()
75 faux_ops->remove(faux_dev); in faux_remove()
130 const struct faux_device_ops *faux_ops, in faux_device_create_with_groups() argument
143 faux_obj->faux_ops = faux_ops; in faux_device_create_with_groups()
207 const struct faux_device_ops *faux_ops) in faux_device_create() argument
209 return faux_device_create_with_groups(name, parent, faux_ops, NULL); in faux_device_create()