Lines Matching refs:node
836 static int at91_adc_probe_dt_ts(struct device_node *node,
842 ret = of_property_read_u32(node, "atmel,adc-ts-wires", &prop);
861 of_property_read_u32(node, "atmel,adc-ts-pressure-threshold", &prop);
875 struct device_node *node = pdev->dev.of_node;
880 if (!node)
886 st->use_external = of_property_read_bool(node, "atmel,adc-use-external-triggers");
888 if (of_property_read_u32(node, "atmel,adc-channels-used", &prop)) {
895 st->sleep_mode = of_property_read_bool(node, "atmel,adc-sleep-mode");
897 if (of_property_read_u32(node, "atmel,adc-startup-time", &prop)) {
905 of_property_read_u32(node, "atmel,adc-sample-hold-time", &prop);
908 if (of_property_read_u32(node, "atmel,adc-vref", &prop)) {
921 st->trigger_number = of_get_child_count(node);
932 for_each_child_of_node(node, trig_node) {
955 return at91_adc_probe_dt_ts(node, st, &idev->dev);