Lines Matching refs:faux_ops
27 const struct faux_device_ops *faux_ops; member
44 const struct faux_device_ops *faux_ops = faux_obj->faux_ops; in faux_probe() local
47 if (faux_ops && faux_ops->probe) { in faux_probe()
48 ret = faux_ops->probe(faux_dev); in faux_probe()
58 if (ret && faux_ops && faux_ops->remove) in faux_probe()
59 faux_ops->remove(faux_dev); in faux_probe()
68 const struct faux_device_ops *faux_ops = faux_obj->faux_ops; in faux_remove() local
72 if (faux_ops && faux_ops->remove) in faux_remove()
73 faux_ops->remove(faux_dev); in faux_remove()
128 const struct faux_device_ops *faux_ops, in faux_device_create_with_groups() argument
141 faux_obj->faux_ops = faux_ops; in faux_device_create_with_groups()
206 const struct faux_device_ops *faux_ops) in faux_device_create() argument
208 return faux_device_create_with_groups(name, parent, faux_ops, NULL); in faux_device_create()