Searched refs:PTR_ERR_OR_ZERO (Results 1 - 25 of 745) sorted by relevance

1234567891011>>

/linux-master/arch/x86/kernel/
H A Dpcspeaker.c12 return PTR_ERR_OR_ZERO(pd);
/linux-master/tools/include/linux/
H A Derr.h55 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) function
/linux-master/include/linux/
H A Derr.h89 * PTR_ERR_OR_ZERO - Extract the error code from a pointer if it has one.
94 * For example, ``return PTR_ERR_OR_ZERO(ptr);`` replaces:
105 static inline int __must_check PTR_ERR_OR_ZERO(__force const void *ptr) function
/linux-master/drivers/rtc/
H A Dnvmem.c29 return PTR_ERR_OR_ZERO(nvmem);
/linux-master/drivers/tty/hvc/
H A Dhvc_riscv_sbi.c68 err = PTR_ERR_OR_ZERO(hvc_alloc(0, 0, &hvc_sbi_dbcn_ops, 256));
73 err = PTR_ERR_OR_ZERO(hvc_alloc(0, 0, &hvc_sbi_v01_ops, 256));
/linux-master/arch/powerpc/platforms/ps3/
H A Dtime.c57 return PTR_ERR_OR_ZERO(pdev);
/linux-master/arch/powerpc/sysdev/
H A Drtc_cmos_setup.c65 return PTR_ERR_OR_ZERO(pd);
/linux-master/drivers/gpu/drm/bridge/cadence/
H A Dcdns-dsi-j721e.c28 return PTR_ERR_OR_ZERO(dsi->j721e_regs);
H A Dcdns-mhdp8546-j721e.c48 return PTR_ERR_OR_ZERO(mhdp->j721e_regs);
/linux-master/lib/
H A Dlibcrc32c.c60 return PTR_ERR_OR_ZERO(tfm);
/linux-master/drivers/input/touchscreen/
H A Dcyttsp4_i2c.c42 return PTR_ERR_OR_ZERO(ts);
/linux-master/drivers/power/supply/
H A Dlego_ev3_battery.c168 err = PTR_ERR_OR_ZERO(batt->iio_v);
174 err = PTR_ERR_OR_ZERO(batt->iio_i);
180 err = PTR_ERR_OR_ZERO(batt->rechargeable_gpio);
206 err = PTR_ERR_OR_ZERO(batt->psy);
/linux-master/drivers/dax/
H A Dcxl.c32 return PTR_ERR_OR_ZERO(devm_create_dev_dax(&data));
/linux-master/drivers/platform/x86/
H A Dintel_scu_pcidrv.c31 return PTR_ERR_OR_ZERO(scu);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_sprite_uapi.c93 ret = PTR_ERR_OR_ZERO(plane_state);
108 ret = PTR_ERR_OR_ZERO(plane_state);
/linux-master/arch/sh/boards/mach-dreamcast/
H A Drtc.c94 return PTR_ERR_OR_ZERO(pdev);
/linux-master/drivers/platform/x86/intel/atomisp2/
H A Dled.c97 return PTR_ERR_OR_ZERO(pdev);
/linux-master/drivers/cpufreq/
H A Draspberrypi-cpufreq.c54 ret = PTR_ERR_OR_ZERO(cpufreq_dt);
/linux-master/drivers/gpio/
H A Dgpio-ds4520.c53 return PTR_ERR_OR_ZERO(devm_gpio_regmap_register(dev, &config));
/linux-master/drivers/nvmem/
H A Dqoriq-efuse.c58 return PTR_ERR_OR_ZERO(nvmem);
H A Duniphier-efuse.c58 return PTR_ERR_OR_ZERO(nvmem);
H A Dapple-efuses.c60 return PTR_ERR_OR_ZERO(devm_nvmem_register(config.dev, &config));
/linux-master/arch/mips/lantiq/xway/
H A Dvmmc.c43 error = PTR_ERR_OR_ZERO(gpio);
/linux-master/drivers/fpga/
H A Dversal-fpga.c59 return PTR_ERR_OR_ZERO(mgr);
/linux-master/drivers/hwmon/
H A Dsurface_fan.c70 return PTR_ERR_OR_ZERO(hdev);

Completed in 321 milliseconds

1234567891011>>