Lines Matching refs:pmu_sts
189 union bmi160_pmu_status *pmu_sts) in bmi160_pmu_set() argument
195 {BMI160_CMD_PMU_MAG | pmu_sts->mag, 350}, in bmi160_pmu_set()
196 {BMI160_CMD_PMU_ACC | pmu_sts->acc, 3200}, in bmi160_pmu_set()
197 {BMI160_CMD_PMU_GYR | pmu_sts->gyr, 55000} in bmi160_pmu_set()
223 pmu_set = (pmu_sts->mag == sts.mag); in bmi160_pmu_set()
225 pmu_set = (pmu_sts->acc == sts.acc); in bmi160_pmu_set()
227 pmu_set = (pmu_sts->gyr == sts.gyr); in bmi160_pmu_set()
236 pmu_sts->acc != BMI160_PMU_NORMAL); in bmi160_pmu_set()
464 if (data->pmu_sts.acc != BMI160_PMU_NORMAL) { in bmi160_acc_calibrate()
657 if (data->pmu_sts.gyr != BMI160_PMU_NORMAL) { in bmi160_gyr_calibrate()
867 if (data->pmu_sts.raw == 0U) { in bmi160_sample_fetch()
1027 return bmi160_pmu_set(dev, &data->pmu_sts); in bmi160_resume()
1088 data->pmu_sts.gyr = BMI160_DEFAULT_PMU_GYR; in bmi160_init()
1089 data->pmu_sts.acc = BMI160_DEFAULT_PMU_ACC; in bmi160_init()
1092 data->pmu_sts.mag = BMI160_PMU_SUSPEND; in bmi160_init()
1114 if (bmi160_pmu_set(dev, &data->pmu_sts) < 0) { in bmi160_init()