/drivers/peripheral/sensor/chipset/als/ |
H A D | als_bh1745.c | 58 uint8_t regValue; in DynamicRangCovert() local 71 ret = ReadSensorRegCfgArray(&CfgData->busCfg, timeGroupNode, index, ®Value, sizeof(regValue)); in DynamicRangCovert() 74 regValue &= timeGroupNode->regCfgItem->mask; in DynamicRangCovert() 75 temp = GetTimeByRegValue(regValue, g_timeMap, timeItemNum); in DynamicRangCovert() 88 ret = WriteSensorRegCfgArray(&CfgData->busCfg, timeGroupNode, index, sizeof(regValue)); in DynamicRangCovert() 100 ret = WriteSensorRegCfgArray(&CfgData->busCfg, timeGroupNode, index, sizeof(regValue)); in DynamicRangCovert() 112 uint8_t regValue; in CalLux() local 137 ret = ReadSensorRegCfgArray(&CfgData->busCfg, groupNode, timeIndex, ®Value, sizeof(regValue)); in CalLux() [all...] |
/drivers/hdf_core/framework/model/input/driver/touchscreen/ |
H A D | touch_ft6336.c | 35 uint8_t regValue = 0; in ChipDetect() local 42 ret = InputI2cRead(i2cClient, ®Addr, 1, ®Value, 1); in ChipDetect() 44 HDF_LOGI("%s: Report rate is %u * 10", __func__, regValue); in ChipDetect() 49 ret = InputI2cRead(i2cClient, ®Addr, 1, ®Value, 1); in ChipDetect() 51 HDF_LOGI("%s: Firmware version = 0x%x", __func__, regValue); in ChipDetect() 56 ret = InputI2cRead(i2cClient, ®Addr, 1, ®Value, 1); in ChipDetect() 58 HDF_LOGI("%s: Chip ID is %u", __func__, regValue); in ChipDetect()
|
H A D | touch_ft5406.c | 42 uint8_t regValue[FTS_REG_IDX_MAX] = {0}; in ChipDetect() local 50 ret = InputI2cRead(i2cClient, ®Addr, 1, ®Value[idx0], 1); in ChipDetect() 54 ret = InputI2cRead(i2cClient, ®Addr, 1, ®Value[idx1], 1); in ChipDetect() 58 ret = InputI2cRead(i2cClient, ®Addr, 1, ®Value[idx2], 1); in ChipDetect() 61 HDF_LOGI("%s: Firmware version = %d.%d.%d", __func__, regValue[idx0], \ in ChipDetect() 62 regValue[idx1], regValue[idx2]); in ChipDetect()
|
H A D | touch_ft5x06.c | 144 uint8_t regValue = NUM_0; in ChipDetect() local 152 ret = InputI2cRead(i2cClient, ®Addr, NUM_1, ®Value, NUM_1); in ChipDetect() 154 HDF_LOGI("%s: Report rate is %u * 10", __func__, regValue); in ChipDetect()
|
/drivers/hdf_core/framework/model/sensor/driver/common/src/ |
H A D | sensor_platform_if.c | 108 int32_t SetSensorPinMux(uint32_t regAddr, int32_t regSize, uint32_t regValue) in SetSensorPinMux() argument 113 HDF_LOGE("%s: regSize = %d, regValue = %u", __func__, regSize, regValue); in SetSensorPinMux() 124 OSAL_WRITEL(regValue, base); in SetSensorPinMux()
|
/drivers/hdf_core/framework/model/sensor/driver/als/ |
H A D | sensor_als_driver.h | 91 int32_t GetTimeByRegValue(uint8_t regValue, struct TimeRegAddrValueMap *map, int32_t itemNum); 93 int32_t GetGainByRegValue(uint8_t regValue, struct GainRegAddrValueMap *map, int32_t itemNum);
|
H A D | sensor_als_driver.c | 35 int32_t GetTimeByRegValue(uint8_t regValue, struct TimeRegAddrValueMap *map, int32_t itemNum) in GetTimeByRegValue() argument 42 if (regValue == map[i].timeRegKey) { in GetTimeByRegValue() 65 int32_t GetGainByRegValue(uint8_t regValue, struct GainRegAddrValueMap *map, int32_t itemNum) in GetGainByRegValue() argument 72 if (regValue == map[i].gainRegKey) { in GetGainByRegValue()
|
/drivers/hdf_core/framework/model/sensor/driver/ppg/ |
H A D | sensor_ppg_config.h | 36 uint32_t regValue;
member
|
H A D | sensor_ppg_config.c | 63 ret = SetSensorPinMux(mutiPinConfig->regAddr, mutiPinConfig->regLen, mutiPinConfig->regValue); in ParsePpgPinMuxConfig() 66 mutiPinConfig->regAddr, mutiPinConfig->regLen, mutiPinConfig->regValue); in ParsePpgPinMuxConfig()
|
/drivers/hdf_core/framework/model/sensor/driver/include/ |
H A D | sensor_platform_if.h | 103 int32_t SetSensorPinMux(uint32_t regAddr, int32_t regSize, uint32_t regValue);
|
/drivers/hdf_core/framework/model/input/driver/ |
H A D | hdf_touch.c | 163 static int32_t InputPinMuxCfg(uint32_t regAddr, int32_t regSize, uint32_t regValue) in InputPinMuxCfg() argument 181 OSAL_WRITEL(regValue, base); in InputPinMuxCfg()
|