Lines Matching full:dn
112 static void get_pin_counts(struct device_node *dn, int *in_count, in get_pin_counts() argument
120 in = of_property_count_strings(dn, "brcm,in-functions"); in get_pin_counts()
123 out = of_property_count_strings(dn, "brcm,out-functions"); in get_pin_counts()
130 static int parse_pins(struct device *dev, struct device_node *dn, in parse_pins() argument
147 res = of_property_read_string_index(dn, "brcm,in-functions", x, in parse_pins()
154 res = of_property_read_u32_index(dn, "brcm,in-masks", index++, in parse_pins()
161 res = of_property_read_u32_index(dn, "brcm,in-masks", index++, in parse_pins()
179 res = of_property_read_string_index(dn, "brcm,out-functions", x, in parse_pins()
186 res = of_property_read_u32_index(dn, "brcm,out-masks", index++, in parse_pins()
193 res = of_property_read_u32_index(dn, "brcm,out-masks", index++, in parse_pins()
200 res = of_property_read_u32_index(dn, "brcm,out-masks", index++, in parse_pins()
207 res = of_property_read_u32_index(dn, "brcm,out-masks", index++, in parse_pins()
251 struct device_node *dn = pdev->dev.of_node; in brcmstb_usb_pinmap_probe() local
261 get_pin_counts(dn, &in_count, &out_count); in brcmstb_usb_pinmap_probe()
286 err = parse_pins(&pdev->dev, dn, pdata); in brcmstb_usb_pinmap_probe()