Lines Matching defs:node
88 static const struct qcom_pmic_btn_data *button_qcom_pmic_match(ofnode node)
93 if (ofnode_device_is_compatible(node,
106 ofnode node = dev_ofnode(dev);
110 /* Ignore the top-level pon node */
114 /* Get the data for the node compatible */
115 btn_data = button_qcom_pmic_match(node);
122 /* the pwrkey and resin nodes are children of the "pon" node, get the
127 /* Get the address of the parent pon node */
155 ofnode node;
158 dev_for_each_subnode(node, parent) {
163 if (!ofnode_is_enabled(node))
166 /* Get the data for the node compatible */
167 btn_data = button_qcom_pmic_match(node);
169 debug("Unknown button node '%s'\n", ofnode_get_name(node));
174 ofnode_get_name(node),
175 node, &dev);