/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/DeviceTree/ |
D | hikey-pinctrl.dtsi | 251 pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>; 252 pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>; 260 pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>; 261 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>; 269 pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>; 270 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>; 286 pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>; 287 pinctrl-single,bias-pullup = <PULL_UP PULL_UP PULL_DIS PULL_UP>; 295 pinctrl-single,bias-pulldown = <PULL_DIS PULL_DOWN PULL_DIS PULL_DOWN>; 296 pinctrl-single,bias-pullup = <PULL_DIS PULL_UP PULL_DIS PULL_UP>; [all …]
|
D | hikey960-pinctrl.dtsi | 333 pinctrl-single,bias-pulldown = < 339 pinctrl-single,bias-pullup = < 355 pinctrl-single,bias-pulldown = < 361 pinctrl-single,bias-pullup = < 376 pinctrl-single,bias-pulldown = < 382 pinctrl-single,bias-pullup = < 397 pinctrl-single,bias-pulldown = < 403 pinctrl-single,bias-pullup = < 420 pinctrl-single,bias-pulldown = < 426 pinctrl-single,bias-pullup = < [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ |
D | punycode.py | 72 def T(j, bias): argument 74 res = 36 * (j + 1) - bias 80 def generate_generalized_integer(N, bias): argument 85 t = T(j, bias) 104 bias = divisions + (36 * delta // (delta + 38)) 105 return bias 112 bias = 72 114 s = generate_generalized_integer(delta, bias) 116 bias = adapt(delta, points==0, baselen+points+1) 130 def decode_generalized_number(extended, extpos, bias, errors): argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/ |
D | punycode.py | 72 def T(j, bias): argument 74 res = 36 * (j + 1) - bias 80 def generate_generalized_integer(N, bias): argument 85 t = T(j, bias) 104 bias = divisions + (36 * delta // (delta + 38)) 105 return bias 112 bias = 72 114 s = generate_generalized_integer(delta, bias) 116 bias = adapt(delta, points==0, baselen+points+1) 130 def decode_generalized_number(extended, extpos, bias, errors): argument [all …]
|
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/ |
D | mag_cal.c | 163 struct Vec3 bias; in magCalUpdate() local 166 if (kasaFit(&moc->kasa, &bias, &radius, MAX_FIT_MAG, MIN_FIT_MAG)) { in magCalUpdate() 171 CAL_ENCODE_FLOAT(bias.x, 3), CAL_ENCODE_FLOAT(bias.y, 3), in magCalUpdate() 172 CAL_ENCODE_FLOAT(bias.z, 3), CAL_ENCODE_FLOAT(radius, 3), in magCalUpdate() 180 if (diversityCheckerNormQuality(&moc->diversity_checker, bias.x, bias.y, in magCalUpdate() 181 bias.z) && in magCalUpdate() 194 CAL_ENCODE_FLOAT(bias.x, 3), CAL_ENCODE_FLOAT(bias.y, 3), in magCalUpdate() 195 CAL_ENCODE_FLOAT(bias.z, 3), CAL_ENCODE_FLOAT(radius, 3), in magCalUpdate() 212 moc->x_bias = bias.x; in magCalUpdate() 213 moc->y_bias = bias.y; in magCalUpdate() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | profile.py | 159 bias = 0 # calibration constant variable in Profile 161 def __init__(self, timer=None, bias=None): argument 167 if bias is None: 168 bias = self.bias 169 self.bias = bias # Materialize in local dict for lookup speed. 215 t = t[0] + t[1] - self.t - self.bias 232 t = timer() - self.t - self.bias 247 t = timer()/60.0 - self.t - self.bias 261 t = get_time() - self.t - self.bias 512 saved_bias = self.bias [all …]
|
/device/google/contexthub/firmware/os/inc/ |
D | halIntf.h | 68 float bias[3]; // in uT member 82 float bias[3]; member
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | README | 51 - LSM6DSM_ACCEL_CALIB_ENABLED /* Enable accelerometer bias calibration */ 52 - LSM6DSM_GYRO_CALIB_ENABLED /* Enable gyroscope bias calibration */ 53 - LSM6DSM_OVERTEMP_CALIB_ENABLED /* Enable gyroscope over temperature bias calibration [… 93 > Accel bias calibration through accel_cal lib; 94 > Gyro bias calibration through gyro_cal & gyro_stillnes_detect libs;
|
D | st_lsm6dsm.c | 972 #define DEC_INFO_RATE_BIAS(name, rates, type, axis, inter, samples, bias) \ argument 976 .biasType = bias 985 #define DEC_INFO_RATE_RAW_BIAS(name, rates, type, axis, inter, samples, raw, scale, bias) \ argument 988 .biasType = bias 3722 (int32_t)(d->bias[0] * 1000), in lsm6dsm_magnCfgData() 3723 (int32_t)(d->bias[1] * 1000), in lsm6dsm_magnCfgData() 3724 (int32_t)(d->bias[2] * 1000)); in lsm6dsm_magnCfgData() 3726 T(magnCal).x_bias = d->bias[0]; in lsm6dsm_magnCfgData() 3727 T(magnCal).y_bias = d->bias[1]; in lsm6dsm_magnCfgData() 3728 T(magnCal).z_bias = d->bias[2]; in lsm6dsm_magnCfgData()
|
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/ |
D | calibration_data.h | 53 float bias[THREE_AXIS_DIM]; member
|
D | calibration_data.c | 40 vecSub(x_temp, x_impaired, calstruct->bias, THREE_AXIS_DIM); in calDataCorrectData()
|
D | sphere_fit_calibration.c | 190 vecSub(x_bias_corr, x_data, calstruct.bias, THREE_AXIS_DIM); in sphereFitResidAndJacobianFunc() 210 memcpy(&calstruct->bias[0], &x[eParamOffset1], in convertStateToCalStruct()
|
/device/google/contexthub/firmware/os/algos/common/math/ |
D | kasa.h | 47 int kasaFit(struct KasaFit *kasa, struct Vec3 *bias, float *radius,
|
D | kasa.c | 68 int kasaFit(struct KasaFit *kasa, struct Vec3 *bias, float *radius, in kasaFit() argument 111 initVec3(bias, v.x, v.y, v.z); in kasaFit()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_audioop.py | 80 d1 = audioop.bias(data[0], 1, 100) 81 d2 = audioop.bias(data[1], 2, 100) 82 d4 = audioop.bias(data[2], 4, 100) 191 self.assertRaises(audioop.error, audioop.bias, data, size, 0)
|
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/ |
D | accel_cal.c | 499 struct Vec3 bias; in accelCalRun() local 503 kasaFit(&acc->ac1[temp_gate].akf, &bias, &radius, G_NORM_MAX, in accelCalRun() 507 if (fabsf(bias.x) < MAX_OFF && fabsf(bias.y) < MAX_OFF && in accelCalRun() 508 fabsf(bias.z) < MAX_OFF) { in accelCalRun() 513 acc->x_bias_new = bias.x * KSCALE2; in accelCalRun() 514 acc->y_bias_new = bias.y * KSCALE2; in accelCalRun() 515 acc->z_bias_new = bias.z * KSCALE2; in accelCalRun() 527 acc->adf.x_o[acc->adf.n_o] = bias.x; in accelCalRun() 528 acc->adf.y_o[acc->adf.n_o] = bias.y; in accelCalRun() 529 acc->adf.z_o[acc->adf.n_o] = bias.z; in accelCalRun()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 396 #define DEC_INFO_BIAS(name, type, axis, inter, samples, rates, raw, scale, bias) \ argument 405 .biasType = bias 515 (int32_t)(d->bias[0] * 1000), in magCfgData() 516 (int32_t)(d->bias[1] * 1000), in magCfgData() 517 (int32_t)(d->bias[2] * 1000)); in magCfgData() 519 mTask.moc.x_bias = d->bias[0]; in magCfgData() 520 mTask.moc.y_bias = d->bias[1]; in magCfgData() 521 mTask.moc.z_bias = d->bias[2]; in magCfgData()
|
/device/google/contexthub/firmware/os/inc/algos/ |
D | fusion.h | 85 void fusionGetBias(const struct Fusion *fusion, struct Vec3 *bias);
|
/device/google/contexthub/util/nanotool/ |
D | apptohostevent.h | 120 int32_t bias; member
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 687 #define DEC_INFO_RATE_BIAS(name, rates, type, axis, inter, samples, bias) \ argument 691 .biasType = bias 693 #define DEC_INFO_RATE_RAW_BIAS(name, rates, type, axis, inter, samples, raw, scale, bias) \ argument 696 .biasType = bias 3117 const struct GyroCalBias *bias = p->gyroCalBias; local 3118 mTask.sensors[GYR].offset[0] = bias->hardwareBias[0]; 3119 mTask.sensors[GYR].offset[1] = bias->hardwareBias[1]; 3120 mTask.sensors[GYR].offset[2] = bias->hardwareBias[2]; 3123 bias->hardwareBias[0] & 0xFF, 3124 bias->hardwareBias[1] & 0xFF, [all …]
|
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/ |
D | nano_calibration.cc | 240 memcpy(ash_cal_info.bias, cal_data.offset, sizeof(ash_cal_info.bias)); in NotifyAshCalibration()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 1091 uint32_t type, sensor, bias, currSensor; in processBuf() local 1102 bias = 0; in processBuf() 1113 bias = COMMS_SENSOR_ACCEL_BIAS; in processBuf() 1124 bias = COMMS_SENSOR_GYRO_BIAS; in processBuf() 1130 bias = COMMS_SENSOR_MAG_BIAS; in processBuf() 1291 currSensor = bias; in processBuf() 1463 std::copy(magBiasData.begin(), magBiasData.end(), packet.mag.bias); in sendCalibrationOffsets() 1512 float bias = atof(buf); in threadLoop() local 1513 mUsbMagBias = bias; in threadLoop()
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 727 #define DEC_INFO_RATE_BIAS(name, rates, type, axis, inter, samples, bias) \ argument 731 .biasType = bias 733 #define DEC_INFO_RATE_RAW_BIAS(name, rates, type, axis, inter, samples, raw, scale, bias) \ argument 736 .biasType = bias 1055 const struct GyroCalBias *bias = p->gyroCalBias; local 1058 if (bias->hardwareBias[i] > 2047) { 1060 } else if (bias->hardwareBias[i] < -2048) { 1063 sensor->offset[i] = bias->hardwareBias[i]; 1067 gyroCalSetBias(&T(gyro_cal), bias->softwareBias[0], bias->softwareBias[1], 1068 bias->softwareBias[2], sensorGetTime());
|
/device/google/contexthub/firmware/os/algos/ |
D | fusion.c | 685 void fusionGetBias(const struct Fusion *fusion, struct Vec3 *bias) { in fusionGetBias() argument 686 *bias = fusion->x1; in fusionGetBias()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ |
D | dsEncode.decTest | 37 -- bias = 101 (subtracted from encoded exponent) = -Etiny
|