Lines Matching refs:prop
60 const fdt32_t *prop; in fdt_get_regulator_millivolt() local
63 prop = fdt_getprop(fdt, node, "regulator-min-microvolt", NULL); in fdt_get_regulator_millivolt()
64 if (prop == NULL) in fdt_get_regulator_millivolt()
66 min_volt = fdt32_to_cpu(*prop); in fdt_get_regulator_millivolt()
68 prop = fdt_getprop(fdt, node, "regulator-max-microvolt", NULL); in fdt_get_regulator_millivolt()
69 if (prop == NULL) in fdt_get_regulator_millivolt()
72 if (fdt32_to_cpu(*prop) != min_volt) in fdt_get_regulator_millivolt()
118 const char *prop; in board_uses_usb0_host_mode() local
126 prop = fdt_getprop(fdt, node, "dr_mode", &length); in board_uses_usb0_host_mode()
127 if (!prop) { in board_uses_usb0_host_mode()
131 return !strncmp(prop, "host", length); in board_uses_usb0_host_mode()