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);
158 struct of_device *op = to_of_device(dev);
164 struct of_device *of_find_device_by_node(struct device_node *dp)
287 printk("of_device: Cannot handle size cells (%d) > 2.", ns);
589 static void __init build_device_resources(struct of_device *op,
592 struct of_device *p_op;
803 static unsigned int __init build_one_device_irq(struct of_device *op,
897 static struct of_device * __init scan_one_device(struct device_node *dp,
900 struct of_device *op = kzalloc(sizeof(*op), GFP_KERNEL);
955 struct of_device *op = scan_one_device(dp, parent);
967 struct of_device *parent;
1032 struct of_device *ofdev;
1049 struct of_device *ofdev;
1056 int of_device_register(struct of_device *ofdev)
1073 void of_device_unregister(struct of_device *ofdev)
1079 struct of_device* of_platform_device_create(struct device_node *np,
1084 struct of_device *dev;