Lines Matching refs:prop
58 const fdt32_t *prop; in fdt_get_regulator_millivolt() local
61 prop = fdt_getprop(fdt, node, "regulator-min-microvolt", NULL); in fdt_get_regulator_millivolt()
62 if (prop == NULL) in fdt_get_regulator_millivolt()
64 min_volt = fdt32_to_cpu(*prop); in fdt_get_regulator_millivolt()
66 prop = fdt_getprop(fdt, node, "regulator-max-microvolt", NULL); in fdt_get_regulator_millivolt()
67 if (prop == NULL) in fdt_get_regulator_millivolt()
70 if (fdt32_to_cpu(*prop) != min_volt) in fdt_get_regulator_millivolt()
126 const char *prop; in board_uses_usb0_host_mode() local
134 prop = fdt_getprop(fdt, node, "dr_mode", &length); in board_uses_usb0_host_mode()
135 if (!prop) { in board_uses_usb0_host_mode()
139 return !strncmp(prop, "host", length); in board_uses_usb0_host_mode()