Searched refs:mag (Results 1 – 10 of 10) sorted by relevance
109 cval = lis2mdl->mag[i] * 1500; in lis2mdl_channel_get_mag()231 lis2mdl->mag[0] = raw_mag[0]; in lis2mdl_sample_fetch_mag()232 lis2mdl->mag[1] = raw_mag[1]; in lis2mdl_sample_fetch_mag()233 lis2mdl->mag[2] = raw_mag[2]; in lis2mdl_sample_fetch_mag()249 lis2mdl->mag[0] += raw_mag[0]; in lis2mdl_sample_fetch_mag()250 lis2mdl->mag[1] += raw_mag[1]; in lis2mdl_sample_fetch_mag()251 lis2mdl->mag[2] += raw_mag[2]; in lis2mdl_sample_fetch_mag()252 lis2mdl->mag[0] /= 2; in lis2mdl_sample_fetch_mag()253 lis2mdl->mag[1] /= 2; in lis2mdl_sample_fetch_mag()254 lis2mdl->mag[2] /= 2; in lis2mdl_sample_fetch_mag()[all …]
51 int16_t mag[3]; member
17 struct sensor_value mag; in fetch_and_display() local24 &mag); in fetch_and_display()30 count, k_uptime_get_32(), mag.val1); in fetch_and_display()
5 bool "sensing subsystem physical 3d sensors(accel, gyro, mag)"9 Enable sensing subsystem physical 3d sensors(accel, gyro, mag).
98 cval = iis2mdc->mag[i] * 1500; in iis2mdc_channel_get_mag()187 iis2mdc->mag[0] = raw_mag[0]; in iis2mdc_sample_fetch_mag()188 iis2mdc->mag[1] = raw_mag[1]; in iis2mdc_sample_fetch_mag()189 iis2mdc->mag[2] = raw_mag[2]; in iis2mdc_sample_fetch_mag()
47 int16_t mag[3]; member
195 {BMI160_CMD_PMU_MAG | pmu_sts->mag, 350}, in bmi160_pmu_set()223 pmu_set = (pmu_sts->mag == sts.mag); in bmi160_pmu_set()1038 .mag = BMI160_PMU_SUSPEND, in bmi160_suspend()1092 data->pmu_sts.mag = BMI160_PMU_SUSPEND; in bmi160_init()
447 uint8_t mag : 2; member
21 - LSM6DSL 3-Axis magnetic field intensity (from LSM303AGR mag) - Primary option
31 bool "Hybrid (accel+mag) mode"