Home
last modified time | relevance | path

Searched refs:IS_ERR_VALUE (Results 1 – 25 of 61) sorted by relevance

123

/u-boot/include/linux/
A Derr.h22 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) macro
36 return IS_ERR_VALUE((unsigned long)PTR_ERR(ptr)); in IS_ERR()
41 return !ptr || IS_ERR_VALUE((unsigned long)PTR_ERR(ptr)); in IS_ERR_OR_NULL()
/u-boot/cmd/
A Dgpio.c221 if (!IS_ERR_VALUE(value)) in do_gpio()
231 if (IS_ERR_VALUE(value)) { in do_gpio()
238 if (sub_cmd != GPIOC_INPUT && !IS_ERR_VALUE(value)) { in do_gpio()
241 if (IS_ERR_VALUE(nval)) { in do_gpio()
/u-boot/test/dm/
A Dclk.c87 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()
111 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()
113 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()
133 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()
135 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()
/u-boot/drivers/serial/
A Dserial_sifive.c113 if (IS_ERR_VALUE(ret)) { in sifive_serial_setbrg()
116 if (IS_ERR_VALUE(ret)) { in sifive_serial_setbrg()
122 if (IS_ERR_VALUE(clock)) { in sifive_serial_setbrg()
/u-boot/drivers/sysreset/
A Dsysreset_rockchip.c21 if (IS_ERR_VALUE(cru_base)) in rockchip_sysreset_request()
/u-boot/drivers/clk/ti/
A Dclk-divider.c109 if (IS_ERR_VALUE(parent_rate)) in clk_ti_divider_best_div()
146 if (IS_ERR_VALUE(parent_round_rate)) in clk_ti_divider_best_div()
162 if (IS_ERR_VALUE(parent_round_rate)) in clk_ti_divider_best_div()
197 if (IS_ERR_VALUE(parent_rate)) in clk_ti_divider_set_rate()
220 if (IS_ERR_VALUE(parent_rate)) in clk_ti_divider_get_rate()
A Dclk-am3-dpll-x2.c26 if (IS_ERR_VALUE(rate)) in clk_ti_am3_dpll_x2_get_rate()
/u-boot/drivers/clk/meson/
A Dgxbb.c306 if (IS_ERR_VALUE(parent_rate)) in meson_div_get_rate()
356 if (IS_ERR_VALUE(parent_rate)) in meson_div_set_rate()
373 if (IS_ERR_VALUE(ret)) in meson_div_set_rate()
377 if (IS_ERR_VALUE(parent_rate)) in meson_div_set_rate()
502 if (IS_ERR_VALUE(cur_parent)) in meson_mux_set_parent()
546 if (IS_ERR_VALUE(new_index)) in meson_mux_set_parent()
564 if (IS_ERR_VALUE(parent)) in meson_mux_get_rate()
667 if (IS_ERR_VALUE(parent_rate)) in meson_mpll_get_rate()
868 if (IS_ERR_VALUE(current_rate)) in meson_clk_set_rate()
875 if (IS_ERR_VALUE(ret)) in meson_clk_set_rate()
A Dg12a.c275 if (IS_ERR_VALUE(parent_rate)) in meson_div_get_rate()
329 if (IS_ERR_VALUE(parent_rate)) in meson_div_set_rate()
346 if (IS_ERR_VALUE(ret)) in meson_div_set_rate()
350 if (IS_ERR_VALUE(parent_rate)) in meson_div_set_rate()
495 if (IS_ERR_VALUE(cur_parent)) in meson_mux_set_parent()
543 if (IS_ERR_VALUE(new_index)) in meson_mux_set_parent()
562 if (IS_ERR_VALUE(parent)) in meson_mux_get_rate()
661 if (IS_ERR_VALUE(parent_rate)) in meson_mpll_get_rate()
962 if (IS_ERR_VALUE(current_rate)) in meson_clk_set_rate()
969 if (IS_ERR_VALUE(ret)) in meson_clk_set_rate()
/u-boot/drivers/misc/
A Dmicrochip_flexcom.c35 if (IS_ERR_VALUE(ret)) { in microchip_flexcom_of_to_plat()
A Dtegra186_bpmp.c192 if (IS_ERR_VALUE(tx_base)) { in tegra186_bpmp_probe()
197 if (IS_ERR_VALUE(rx_base)) { in tegra186_bpmp_probe()
/u-boot/board/google/veyron/
A Dveyron.c52 if (IS_ERR_VALUE(ret)) in veyron_init()
/u-boot/drivers/ufs/
A Dti-j721e-ufs.c33 if (IS_ERR_VALUE(clock)) { in ti_j721e_ufs_probe()
A Dcdns-platform.c54 if (IS_ERR_VALUE(core_clk_rate)) { in cdns_ufs_set_hclkdiv()
/u-boot/drivers/clk/
A Dclk_fixed_factor.c29 if (IS_ERR_VALUE(rate)) in clk_fixed_factor_get_rate()
A Dclk_zynqmp.c396 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_cpu_rate()
419 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_ddr_rate()
452 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_peripheral_rate()
495 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_wdt_rate()
549 if (IS_ERR_VALUE(pll_rate)) in zynqmp_clk_set_peripheral_rate()
670 if (IS_ERR_VALUE(*freq)) { in zynqmp_get_freq_by_name()
/u-boot/drivers/timer/
A Dsti-timer.c56 if (IS_ERR_VALUE(ret)) in sti_timer_probe()
A Dtimer-uclass.c64 if (IS_ERR_VALUE(ret)) in timer_pre_probe()
/u-boot/drivers/mmc/
A Daspeed_sdhci.c40 if (IS_ERR_VALUE(max_clk)) { in aspeed_sdhci_probe()
A Dpic32_sdhci.c37 if (IS_ERR_VALUE(clk_rate)) in pic32_sdhci_probe()
A Drockchip_sdhci.c56 if (IS_ERR_VALUE(ret)) in arasan_sdhci_probe()
/u-boot/common/
A Dandroid_ab.c113 if (IS_ERR_VALUE(ret)) { in ab_control_create_from_disk()
148 if (IS_ERR_VALUE(ret)) { in ab_control_store()
/u-boot/drivers/watchdog/
A Docteontx_wdt.c38 if (IS_ERR_VALUE(clk_rate)) in octeontx_wdt_start()
/u-boot/drivers/cpu/
A Driscv_cpu.c46 if (!IS_ERR_VALUE(ret)) in riscv_cpu_get_info()
/u-boot/drivers/video/ti/
A Dam335x-fb.c202 if (IS_ERR_VALUE(round_rate)) in am335x_fb_set_pixel_clk_rate()
262 if (IS_ERR_VALUE(rate)) in am335xfb_init()

Completed in 27 milliseconds

123