Lines Matching refs:NULL

44 	if (fdt == NULL) {  in fdt_get_address()
64 return (cchar != NULL) && (len >= 0); in fdt_check_node()
75 cchar = fdt_getprop(fdt, node, "status", NULL); in fdt_get_status()
76 if ((cchar == NULL) || in fdt_get_status()
81 cchar = fdt_getprop(fdt, node, "secure-status", NULL); in fdt_get_status()
82 if (((cchar == NULL) && (status == DT_NON_SECURE)) || in fdt_get_status()
83 ((cchar != NULL) && (strncmp(cchar, "okay", strlen("okay")) == 0))) { in fdt_get_status()
138 cuint = fdt_getprop(fdt, node, "reg", NULL); in dt_fill_device_info()
139 if (cuint != NULL) { in dt_fill_device_info()
145 cuint = fdt_getprop(fdt, node, "clocks", NULL); in dt_fill_device_info()
146 if (cuint != NULL) { in dt_fill_device_info()
153 cuint = fdt_getprop(fdt, node, "resets", NULL); in dt_fill_device_info()
154 if (cuint != NULL) { in dt_fill_device_info()
214 cuint = fdt_getprop(fdt, node, "reg", NULL); in dt_match_instance_by_compatible()
215 if (cuint == NULL) { in dt_match_instance_by_compatible()
266 if (regul == NULL) { in dt_get_pwr_vdd_voltage()
270 regulator_get_range(regul, &min, NULL); in dt_get_pwr_vdd_voltage()
284 return NULL; in dt_get_vdd_regulator()
299 return NULL; in dt_get_cpu_regulator()
314 return NULL; in dt_get_board_model()
317 return (const char *)fdt_getprop(fdt, node, "model", NULL); in dt_get_board_model()
333 if ((name == NULL) || (otp == NULL)) { in dt_find_otp_name()
349 if ((cuint == NULL) || (len != (2 * (int)sizeof(uint32_t)))) { in dt_find_otp_name()
359 if (otp != NULL) { in dt_find_otp_name()
363 if (otp_len != NULL) { in dt_find_otp_name()
394 if (fdt_getprop(fdt, node, "gpio-controller", NULL) == NULL) { in fdt_get_gpio_bank_pin_count()
398 cuint = fdt_getprop(fdt, node, "reg", NULL); in fdt_get_gpio_bank_pin_count()
399 if (cuint == NULL) { in fdt_get_gpio_bank_pin_count()