Home
last modified time | relevance | path

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

12

/external/u-boot/include/linux/
Derr.h22 #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) macro
36 return IS_ERR_VALUE((unsigned long)ptr); in IS_ERR()
41 return !ptr || IS_ERR_VALUE((unsigned long)ptr); in IS_ERR_OR_NULL()
/external/u-boot/cmd/
Dgpio.c208 if (!IS_ERR_VALUE(value)) in do_gpio()
217 if (IS_ERR_VALUE(value)) in do_gpio()
221 if (sub_cmd != GPIO_INPUT && !IS_ERR_VALUE(value)) { in do_gpio()
224 if (IS_ERR_VALUE(nval)) in do_gpio()
/external/u-boot/test/dm/
Dclk.c42 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()
66 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()
68 ut_assert(IS_ERR_VALUE(rate)); in dm_test_clk()
/external/u-boot/drivers/clk/
Dclk_zynqmp.c384 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_cpu_rate()
407 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_ddr_rate()
440 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_peripheral_rate()
483 if (IS_ERR_VALUE(pllrate)) in zynqmp_clk_get_wdt_rate()
537 if (IS_ERR_VALUE(pll_rate)) in zynqmp_clk_set_peripheral_rate()
658 if (IS_ERR_VALUE(*freq)) { in zynqmp_get_freq_by_name()
Dclk_meson.c254 if (IS_ERR_VALUE(parent_rate)) in meson_mpll_get_rate()
/external/u-boot/drivers/misc/
Dtegra186_bpmp.c186 if (IS_ERR_VALUE(tx_base)) { in tegra186_bpmp_probe()
191 if (IS_ERR_VALUE(rx_base)) { in tegra186_bpmp_probe()
/external/u-boot/drivers/sysreset/
Dsysreset_rockchip.c21 if (IS_ERR_VALUE(cru_base)) in rockchip_sysreset_request()
/external/u-boot/drivers/mmc/
Duniphier-sd.c47 if (IS_ERR_VALUE(priv->mclk)) { in uniphier_sd_probe()
Drockchip_sdhci.c55 if (IS_ERR_VALUE(ret)) in arasan_sdhci_probe()
Dzynq_sdhci.c248 if (IS_ERR_VALUE(clock)) { in arasan_sdhci_probe()
Drenesas-sdhi.c361 if (IS_ERR_VALUE(priv->mclk)) { in renesas_sdhi_probe()
Dtegra_mmc.c640 if (IS_ERR_VALUE(ret)) in tegra_mmc_probe()
/external/u-boot/drivers/timer/
Dtimer-uclass.c54 if (IS_ERR_VALUE(ret)) in timer_pre_probe()
/external/u-boot/drivers/clk/at91/
Dclk-usb.c64 if (IS_ERR_VALUE(source_rate)) in at91_usb_clk_set_rate()
Dclk-generated.c96 if (IS_ERR_VALUE(parent_rate)) in generic_clk_set_rate()
/external/u-boot/drivers/adc/
Drockchip-saradc.c110 if (IS_ERR_VALUE(ret)) in rockchip_saradc_probe()
/external/u-boot/drivers/watchdog/
Dcdns_wdt.c140 if (IS_ERR_VALUE(clk_f)) { in cdns_wdt_start()
/external/u-boot/drivers/serial/
Dserial_zynq.c121 if (IS_ERR_VALUE(clock)) { in zynq_serial_setbrg()
Dns16550.c442 if (!IS_ERR_VALUE(err)) in ns16550_serial_ofdata_to_platdata()
/external/u-boot/arch/arm/mach-rockchip/
Drk3288-board.c122 if (IS_ERR_VALUE(ret)) in veyron_init()
/external/u-boot/drivers/block/
Dblk_legacy.c231 if (IS_ERR_VALUE(n)) in blk_read_devnum()
Dblk-uclass.c294 if (IS_ERR_VALUE(n)) in blk_read_devnum()
/external/u-boot/drivers/i2c/
Dmeson_i2c.c229 if (IS_ERR_VALUE(clk_rate)) in meson_i2c_set_bus_speed()
Dtegra_i2c.c84 if (IS_ERR_VALUE(ret)) in i2c_init_clock()
/external/u-boot/drivers/video/rockchip/
Drk_vop.c308 if (IS_ERR_VALUE(ret)) { in rk_display_init()

12