Home
last modified time | relevance | path

Searched refs:bias (Results 1 – 25 of 27) sorted by relevance

12

/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/DeviceTree/
Dhikey-pinctrl.dtsi251 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 …]
Dhikey960-pinctrl.dtsi333 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/
Dpunycode.py72 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/
Dpunycode.py72 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/
Dmag_cal.c163 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/
Dprofile.py159 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/
DhalIntf.h68 float bias[3]; // in uT member
82 float bias[3]; member
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
DREADME51 - 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;
Dst_lsm6dsm.c972 #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/
Dcalibration_data.h53 float bias[THREE_AXIS_DIM]; member
Dcalibration_data.c40 vecSub(x_temp, x_impaired, calstruct->bias, THREE_AXIS_DIM); in calDataCorrectData()
Dsphere_fit_calibration.c190 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/
Dkasa.h47 int kasaFit(struct KasaFit *kasa, struct Vec3 *bias, float *radius,
Dkasa.c68 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/
Dtest_audioop.py80 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/
Daccel_cal.c499 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/
Dst_mag40.c396 #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/
Dfusion.h85 void fusionGetBias(const struct Fusion *fusion, struct Vec3 *bias);
/device/google/contexthub/util/nanotool/
Dapptohostevent.h120 int32_t bias; member
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c687 #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/
Dnano_calibration.cc240 memcpy(ash_cal_info.bias, cal_data.offset, sizeof(ash_cal_info.bias)); in NotifyAshCalibration()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp1091 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/
Dinvensense_icm40600.c727 #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/
Dfusion.c685 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/
DdsEncode.decTest37 -- bias = 101 (subtracted from encoded exponent) = -Etiny

12