Lines Matching defs:faux_ops
27 const struct faux_device_ops *faux_ops;
44 const struct faux_device_ops *faux_ops = faux_obj->faux_ops;
47 if (faux_ops && faux_ops->probe) {
48 ret = faux_ops->probe(faux_dev);
58 if (ret && faux_ops && faux_ops->remove)
59 faux_ops->remove(faux_dev);
68 const struct faux_device_ops *faux_ops = faux_obj->faux_ops;
72 if (faux_ops && faux_ops->remove)
73 faux_ops->remove(faux_dev);
106 * @faux_ops: struct faux_device_ops that the new device will call back
112 * If present, callbacks in @faux_ops will be called with the device that
117 * faux_ops can be called before the function returns, so be prepared for
128 const struct faux_device_ops *faux_ops,
144 faux_obj->faux_ops = faux_ops;
191 * @faux_ops: struct faux_device_ops that the new device will call back
195 * If present, callbacks in @faux_ops will be called with the device that
200 * faux_ops can be called before the function returns, so be prepared for
209 const struct faux_device_ops *faux_ops)
211 return faux_device_create_with_groups(name, parent, faux_ops, NULL);