Home
last modified time | relevance | path

Searched refs:CHECK_NULL_PTR_RETURN (Results 1 – 25 of 49) sorted by relevance

12

/drivers/peripheral/audio/hdi_service/vendor_interface/utils/
Daudio_uhdf_log.h64 #ifndef CHECK_NULL_PTR_RETURN
65 #define CHECK_NULL_PTR_RETURN(pointer) \ macro
/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/
Daudio_common_vdi.c31 CHECK_NULL_PTR_RETURN(desc); in AudioCommonDevDescToVdiDevDescVdi()
32 CHECK_NULL_PTR_RETURN(vdiDesc); in AudioCommonDevDescToVdiDevDescVdi()
41 CHECK_NULL_PTR_RETURN(attrs); in AudioCommonAttrsToVdiAttrsVdi()
42 CHECK_NULL_PTR_RETURN(vdiAttrs); in AudioCommonAttrsToVdiAttrsVdi()
107 CHECK_NULL_PTR_RETURN(subPorts); in AudioReleaseSubPortsVdi()
108 CHECK_NULL_PTR_RETURN(subPortsLen); in AudioReleaseSubPortsVdi()
190 CHECK_NULL_PTR_RETURN(portCap); in AudioCommonVdiPortCapToPortCapVdi()
191 CHECK_NULL_PTR_RETURN(vdiPortCap); in AudioCommonVdiPortCapToPortCapVdi()
229 CHECK_NULL_PTR_RETURN(vdiRoute); in AudioCommonFreeVdiRouteVdi()
/drivers/peripheral/audio/hdi_service/primary_impl/vendor_src/
Daudio_common_vendor.c32 CHECK_NULL_PTR_RETURN(desc); in AudioHwiCommonDevDescToHwiDevDesc()
33 CHECK_NULL_PTR_RETURN(hwiDesc); in AudioHwiCommonDevDescToHwiDevDesc()
42 CHECK_NULL_PTR_RETURN(attrs); in AudioHwiCommonAttrsToHwiAttrs()
43 CHECK_NULL_PTR_RETURN(hwiAttrs); in AudioHwiCommonAttrsToHwiAttrs()
110 CHECK_NULL_PTR_RETURN(subPorts); in AudioHwiReleaseSubPorts()
111 CHECK_NULL_PTR_RETURN(subPortsLen); in AudioHwiReleaseSubPorts()
195 CHECK_NULL_PTR_RETURN(portCap); in AudioHwiCommonHwiPortCapToPortCap()
196 CHECK_NULL_PTR_RETURN(hwiPortCap); in AudioHwiCommonHwiPortCapToPortCap()
234 CHECK_NULL_PTR_RETURN(hwiRoute); in AudioHwiCommonFreeHwiRoute()
/drivers/peripheral/sensor/hal/include/
Dsensor_common.h29 #define CHECK_NULL_PTR_RETURN(ptr) do { \ macro
/drivers/hdf_core/framework/model/sensor/driver/proximity/
Dsensor_proximity_driver.c49 CHECK_NULL_PTR_RETURN(drvData); in ProximityDataWorkEntry()
50 CHECK_NULL_PTR_RETURN(drvData->ops.ReadData); in ProximityDataWorkEntry()
64 CHECK_NULL_PTR_RETURN(drvData); in ProximityTimerEntry()
316 CHECK_NULL_PTR_RETURN(proximityCfg); in ProximityReleaseCfgData()
354 CHECK_NULL_PTR_RETURN(device); in ProximityReleaseDriver()
357 CHECK_NULL_PTR_RETURN(drvData); in ProximityReleaseDriver()
/drivers/peripheral/sensor/chipset/hall/
Dhall_ak8789.c100 CHECK_NULL_PTR_RETURN(device); in Ak8789ReleaseDriver()
103 CHECK_NULL_PTR_RETURN(drvData); in Ak8789ReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/pedometer/
Dsensor_pedometer_driver.c49 CHECK_NULL_PTR_RETURN(drvData); in PedometerDataWorkEntry()
67 CHECK_NULL_PTR_RETURN(drvData); in PedometerTimerEntry()
317 CHECK_NULL_PTR_RETURN(pedometerCfg); in PedometerReleaseCfgData()
355 CHECK_NULL_PTR_RETURN(device); in PedometerReleaseDriver()
358 CHECK_NULL_PTR_RETURN(drvData); in PedometerReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/barometer/
Dsensor_barometer_driver.c49 CHECK_NULL_PTR_RETURN(drvData); in BarometerDataWorkEntry()
65 CHECK_NULL_PTR_RETURN(drvData); in BarometerTimerEntry()
313 CHECK_NULL_PTR_RETURN(barometerCfg); in BarometerReleaseCfgData()
350 CHECK_NULL_PTR_RETURN(device); in BarometerReleaseDriver()
353 CHECK_NULL_PTR_RETURN(drvData); in BarometerReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/als/
Dsensor_als_driver.c99 CHECK_NULL_PTR_RETURN(config); in ReleaseExtendedAlsRegConfig()
100 CHECK_NULL_PTR_RETURN(config->extendedRegCfgGroup); in ReleaseExtendedAlsRegConfig()
175 CHECK_NULL_PTR_RETURN(drvData); in AlsDataWorkEntry()
197 CHECK_NULL_PTR_RETURN(drvData); in AlsTimerEntry()
477 CHECK_NULL_PTR_RETURN(alsCfg); in AlsReleaseCfgData()
515 CHECK_NULL_PTR_RETURN(device); in AlsReleaseDriver()
518 CHECK_NULL_PTR_RETURN(drvData); in AlsReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/gyro/
Dsensor_gyro_driver.c49 CHECK_NULL_PTR_RETURN(drvData); in GyroDataWorkEntry()
65 CHECK_NULL_PTR_RETURN(drvData); in GyroTimerEntry()
319 CHECK_NULL_PTR_RETURN(gyroCfg); in GyroReleaseCfgData()
357 CHECK_NULL_PTR_RETURN(device); in GyroReleaseDriver()
360 CHECK_NULL_PTR_RETURN(drvData); in GyroReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/temperature/
Dsensor_temperature_driver.c49 CHECK_NULL_PTR_RETURN(drvData); in TemperatureDataWorkEntry()
65 CHECK_NULL_PTR_RETURN(drvData); in TemperatureTimerEntry()
329 CHECK_NULL_PTR_RETURN(temperatureCfg); in TemperatureReleaseCfgData()
367 CHECK_NULL_PTR_RETURN(device); in TemperatureReleaseDriver()
370 CHECK_NULL_PTR_RETURN(drvData); in TemperatureReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/humidity/
Dsensor_humidity_driver.c49 CHECK_NULL_PTR_RETURN(drvData); in HumidityDataWorkEntry()
65 CHECK_NULL_PTR_RETURN(drvData); in HumidityTimerEntry()
326 CHECK_NULL_PTR_RETURN(humidityCfg); in HumidityReleaseCfgData()
364 CHECK_NULL_PTR_RETURN(device); in HumidityReleaseDriver()
367 CHECK_NULL_PTR_RETURN(drvData); in HumidityReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/accel/
Dsensor_accel_driver.c63 CHECK_NULL_PTR_RETURN(drvData); in AccelDataWorkEntry()
90 CHECK_NULL_PTR_RETURN(drvData); in AccelTimerEntry()
344 CHECK_NULL_PTR_RETURN(accelCfg); in AccelReleaseCfgData()
383 CHECK_NULL_PTR_RETURN(device); in AccelReleaseDriver()
386 CHECK_NULL_PTR_RETURN(drvData); in AccelReleaseDriver()
Dsensor_gravity_driver.c54 CHECK_NULL_PTR_RETURN(drvData); in GravityDataWorkEntry()
84 CHECK_NULL_PTR_RETURN(drvData); in GravityTimerEntry()
316 CHECK_NULL_PTR_RETURN(device); in GravityReleaseDriver()
319 CHECK_NULL_PTR_RETURN(drvData); in GravityReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/magnetic/
Dsensor_magnetic_driver.c49 CHECK_NULL_PTR_RETURN(drvData); in MagneticDataWorkEntry()
65 CHECK_NULL_PTR_RETURN(drvData); in MagneticTimerEntry()
324 CHECK_NULL_PTR_RETURN(magneticCfg); in MagneticReleaseCfgData()
362 CHECK_NULL_PTR_RETURN(device); in MagneticReleaseDriver()
365 CHECK_NULL_PTR_RETURN(drvData); in MagneticReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/ppg/
Dsensor_ppg_driver.c73 CHECK_NULL_PTR_RETURN(drvData); in PpgDataWorkEntry()
74 CHECK_NULL_PTR_RETURN(drvData->chipData.opsCall.ReadData); in PpgDataWorkEntry()
322 CHECK_NULL_PTR_RETURN(device); in PpgReleaseDriver()
324 CHECK_NULL_PTR_RETURN(drvData); in PpgReleaseDriver()
/drivers/hdf_core/framework/model/sensor/driver/hall/
Dsensor_hall_driver.c51 CHECK_NULL_PTR_RETURN(drvData); in ReadGpioData()
80 CHECK_NULL_PTR_RETURN(drvData); in HallDataWorkEntry()
432 CHECK_NULL_PTR_RETURN(hallCfg); in HallReleaseCfgData()
466 CHECK_NULL_PTR_RETURN(device); in HallReleaseDriver()
469 CHECK_NULL_PTR_RETURN(drvData); in HallReleaseDriver()
/drivers/peripheral/sensor/chipset/proximity/
Dproximity_apds9960.c180 CHECK_NULL_PTR_RETURN(device); in Apds996ReleaseDriver()
183 CHECK_NULL_PTR_RETURN(drvData); in Apds996ReleaseDriver()
/drivers/peripheral/sensor/chipset/als/
Dals_bh1750.c167 CHECK_NULL_PTR_RETURN(device); in Bh1750ReleaseDriver()
170 CHECK_NULL_PTR_RETURN(drvData); in Bh1750ReleaseDriver()
/drivers/peripheral/sensor/chipset/temperature/
Dtemperature_sht30.c190 CHECK_NULL_PTR_RETURN(device); in Sht30ReleaseDriver()
193 CHECK_NULL_PTR_RETURN(drvData); in Sht30ReleaseDriver()
/drivers/peripheral/sensor/chipset/humidity/
Dhumidity_sht30.c191 CHECK_NULL_PTR_RETURN(device); in Sht30ReleaseDriver()
194 CHECK_NULL_PTR_RETURN(drvData); in Sht30ReleaseDriver()
/drivers/peripheral/sensor/chipset/pedometer/
Dpedometer_bmi160.c185 CHECK_NULL_PTR_RETURN(device); in PedometerBmi160ReleaseDriver()
188 CHECK_NULL_PTR_RETURN(drvData); in PedometerBmi160ReleaseDriver()
/drivers/hdf_core/framework/support/platform/src/regulator/
Dregulator_tree_mgr.c35 CHECK_NULL_PTR_RETURN(pRegulator); in RegulatorChildListDestroy()
349 CHECK_NULL_PTR_RETURN(childHead); in RegulatorTreePrintChild()
350 CHECK_NULL_PTR_RETURN(name); in RegulatorTreePrintChild()
366 CHECK_NULL_PTR_RETURN(manager); in RegulatorTreePrint()
/drivers/hdf_core/framework/model/sensor/driver/include/
Dsensor_platform_if.h24 #define CHECK_NULL_PTR_RETURN(ptr) do { \ macro
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/resources/templates/lite/sensor_template/
Dppg_sensor_driver_source.template116 CHECK_NULL_PTR_RETURN(device);
119 CHECK_NULL_PTR_RETURN(drvData);

12