Lines Matching refs:of_device
9 #include <asm/of_device.h>
12 * of_match_device - Tell if an of_device structure has a matching
17 * Used by a driver to check whether an of_device present in the
21 const struct of_device *dev)
45 struct of_device * of_dev = to_of_device(dev);
55 struct of_device *of_dev_get(struct of_device *dev)
68 void of_dev_put(struct of_device *dev)
79 struct of_device *of_dev;
101 struct of_device * of_dev = to_of_device(dev);
111 struct of_device * of_dev = to_of_device(dev);
122 struct of_device * of_dev = to_of_device(dev);
133 struct of_device *op = to_of_device(dev);
139 struct of_device *of_find_device_by_node(struct device_node *dp)
252 printk("of_device: Cannot handle size cells (%d) > 2.", ns);
466 static void __init build_device_resources(struct of_device *op,
469 struct of_device *p_op;
558 static struct of_device * __init scan_one_device(struct device_node *dp,
561 struct of_device *op = kzalloc(sizeof(*op), GFP_KERNEL);
668 struct of_device *op = scan_one_device(dp, parent);
680 struct of_device *parent;
741 struct of_device *ofdev;
758 struct of_device *ofdev;
765 int of_device_register(struct of_device *ofdev)
782 void of_device_unregister(struct of_device *ofdev)
788 struct of_device* of_platform_device_create(struct device_node *np,
793 struct of_device *dev;