Lines Matching refs:mldl_cfg
86 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); in inv_accel_present() local
87 if (NULL != mldl_cfg->accel && in inv_accel_present()
88 NULL != mldl_cfg->accel->resume && in inv_accel_present()
89 mldl_cfg->requested_sensors & INV_THREE_AXIS_ACCEL) in inv_accel_present()
102 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); in inv_get_slave_addr() local
103 if (NULL != mldl_cfg->pdata) in inv_get_slave_addr()
104 return mldl_cfg->pdata->accel.address; in inv_get_slave_addr()
116 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); in inv_get_accel_id() local
117 if (NULL != mldl_cfg->accel) { in inv_get_accel_id()
118 return mldl_cfg->accel->id; in inv_get_accel_id()
132 struct mldl_cfg *mldl_cfg = inv_get_dl_config(); in inv_get_accel_data() local
137 signed char *mtx = mldl_cfg->pdata->accel.orientation; in inv_get_accel_data()
138 char accelId = mldl_cfg->accel->id; in inv_get_accel_data()
143 if (mldl_cfg->accel->read_len > sizeof(raw_data)) in inv_get_accel_data()
146 result = (inv_error_t) inv_mpu_read_accel(mldl_cfg, in inv_get_accel_data()
159 if (EXT_SLAVE_LITTLE_ENDIAN == mldl_cfg->accel->endian) { in inv_get_accel_data()
162 } else if ((EXT_SLAVE_BIG_ENDIAN == mldl_cfg->accel->endian) || in inv_get_accel_data()
163 (EXT_SLAVE_FS16_BIG_ENDIAN == mldl_cfg->accel->endian)) { in inv_get_accel_data()
170 } else if (EXT_SLAVE_FS8_BIG_ENDIAN == mldl_cfg->accel->endian) { in inv_get_accel_data()