Lines Matching refs:ops
35 const struct component_master_ops *ops; member
46 const struct component_ops *ops; member
55 const struct component_master_ops *ops) in __master_find() argument
60 if (m->dev == dev && (!ops || m->ops == ops)) in __master_find()
120 return master->ops->add_components(master->dev, master); in find_components()
186 ret = master->ops->bind(master->dev); in try_to_bring_up_master()
219 master->ops->unbind(master->dev); in take_down_master()
287 const struct component_master_ops *ops, in component_master_add_with_match() argument
293 if (ops->add_components && match) in component_master_add_with_match()
308 master->ops = ops; in component_master_add_with_match()
330 const struct component_master_ops *ops) in component_master_add() argument
332 return component_master_add_with_match(dev, ops, NULL); in component_master_add()
337 const struct component_master_ops *ops) in component_master_del() argument
342 master = __master_find(dev, ops); in component_master_del()
358 component->ops->unbind(component->dev, master->dev, data); in component_unbind()
405 dev_name(component->dev), component->ops); in component_bind()
407 ret = component->ops->bind(component->dev, master->dev, data); in component_bind()
421 dev_name(component->dev), component->ops); in component_bind()
427 dev_name(component->dev), component->ops, ret); in component_bind()
461 int component_add(struct device *dev, const struct component_ops *ops) in component_add() argument
470 component->ops = ops; in component_add()
473 dev_dbg(dev, "adding component (ops %ps)\n", ops); in component_add()
490 void component_del(struct device *dev, const struct component_ops *ops) in component_del() argument
496 if (c->dev == dev && c->ops == ops) { in component_del()