| /hal_nxp-latest/mcux/mcux-sdk/drivers/mu1/ |
| D | fsl_mu.h | 604 uint32_t tmp; in MU_ClearStatusFlags() local 607 tmp = MU_GET_GI_FLAG(flags); in MU_ClearStatusFlags() 608 if (0U != tmp) in MU_ClearStatusFlags() 610 base->GSR = tmp; in MU_ClearStatusFlags() 615 tmp = MU_GET_CORE_FLAG(flags); in MU_ClearStatusFlags() 616 if (0U != tmp) in MU_ClearStatusFlags() 618 base->CSSR0 = tmp; in MU_ClearStatusFlags() 649 uint32_t tmp; in MU_EnableInterrupts() local 652 tmp = MU_GET_TX_INTR(interrupts); in MU_EnableInterrupts() 653 if (0U != tmp) in MU_EnableInterrupts() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/bbnsm/ |
| D | fsl_bbnsm.h | 161 uint32_t tmp = base->BBNSM_INT_EN; in BBNSM_EnableInterrupts() local 163 if ((tmp & BBNSM_BBNSM_INT_EN_TA_INT_EN(1)) != 0U) in BBNSM_EnableInterrupts() 165 tmp &= ~BBNSM_BBNSM_INT_EN_TA_INT_EN( in BBNSM_EnableInterrupts() 169 if ((tmp & BBNSM_BBNSM_INT_EN_RTC_INT_EN(1)) != 0U) in BBNSM_EnableInterrupts() 171 tmp &= ~BBNSM_BBNSM_INT_EN_RTC_INT_EN( in BBNSM_EnableInterrupts() 175 base->BBNSM_INT_EN = tmp | flags; in BBNSM_EnableInterrupts() 187 uint32_t tmp = base->BBNSM_INT_EN; in BBNSM_DisableInterrupts() local 189 if ((tmp & kBBNSM_RTC_AlarmInterrupt) != 0U) in BBNSM_DisableInterrupts() 191 tmp &= ~BBNSM_BBNSM_INT_EN_TA_INT_EN( in BBNSM_DisableInterrupts() 195 if ((tmp & kBBNSM_RTC_RolloverInterrupt) != 0U) in BBNSM_DisableInterrupts() [all …]
|
| D | fsl_bbnsm.c | 144 uint32_t tmp = 0; in BBNSM_RTC_GetSeconds() local 149 seconds = tmp; in BBNSM_RTC_GetSeconds() 150 tmp = (base->BBNSM_RTC_MS << 17U); in BBNSM_RTC_GetSeconds() 151 tmp |= (base->BBNSM_RTC_LS >> 15U); in BBNSM_RTC_GetSeconds() 152 } while (tmp != seconds); in BBNSM_RTC_GetSeconds() 165 uint32_t tmp = base->BBNSM_CTRL; in BBNSM_RTC_SetSeconds() local 174 if ((tmp & BBNSM_BBNSM_CTRL_RTC_EN(0x2)) != 0U) in BBNSM_RTC_SetSeconds() 201 uint32_t tmp; in BBNSM_RTC_SetAlarm() local 212 tmp = base->BBNSM_INT_EN & in BBNSM_RTC_SetAlarm() 216 base->BBNSM_INT_EN = tmp | BBNSM_BBNSM_INT_EN_TA_INT_EN(0x1); in BBNSM_RTC_SetAlarm() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/StatisticsFunctions/ |
| D | arm_logsumexp_f32.c | 75 float32_t tmp; in arm_logsumexp_f32() local 110 tmp = *pIn++; in arm_logsumexp_f32() 111 accum += expf(tmp - maxVal); in arm_logsumexp_f32() 128 float32_t tmp; in arm_logsumexp_f32() local 150 tmp = *pIn++; in arm_logsumexp_f32() 152 if (tmp > maxVal) in arm_logsumexp_f32() 154 maxVal = tmp; in arm_logsumexp_f32() 184 tmp = *pIn++; in arm_logsumexp_f32() 186 if (tmp > maxVal) in arm_logsumexp_f32() 188 maxVal = tmp; in arm_logsumexp_f32() [all …]
|
| D | arm_logsumexp_f16.c | 78 _Float16 tmp; in arm_logsumexp_f16() local 113 tmp = *pIn++; in arm_logsumexp_f16() 114 accum += expf(tmp - maxVal); in arm_logsumexp_f16() 128 _Float16 tmp; in arm_logsumexp_f16() local 141 tmp = *pIn++; in arm_logsumexp_f16() 143 if (tmp > maxVal) in arm_logsumexp_f16() 145 maxVal = tmp; in arm_logsumexp_f16() 156 tmp = *pIn++; in arm_logsumexp_f16() 157 accum += expf(tmp - maxVal); in arm_logsumexp_f16()
|
| /hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/TransformFunctions/ |
| D | arm_bitreversal2.c | 46 uint64_t a, b, i, tmp; in arm_bitreversal_64() local 54 tmp = pSrc[a]; in arm_bitreversal_64() 56 pSrc[b] = tmp; in arm_bitreversal_64() 59 tmp = pSrc[a+1]; in arm_bitreversal_64() 61 pSrc[b+1] = tmp; in arm_bitreversal_64() 80 uint32_t a, b, i, tmp; in arm_bitreversal_32() local 88 tmp = pSrc[a]; in arm_bitreversal_32() 90 pSrc[b] = tmp; in arm_bitreversal_32() 93 tmp = pSrc[a+1]; in arm_bitreversal_32() 95 pSrc[b+1] = tmp; in arm_bitreversal_32() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/casper/ |
| D | fsl_casper.c | 644 int j, tmp; in MultprecModulo() local 715 tmp = (int32_t)(uint32_t)(q_hat << 16); /* quotient upper part */ in MultprecModulo() 745 q_hat |= (unsigned)tmp; /* other half of the quotient */ in MultprecModulo() 1704 uint64_t *b64, *c64, *m64, *tmp; in CASPER_montsub() local 1711 tmp = (uint64_t *)(uintptr_t)&CASPER_MEM[0]; in CASPER_montsub() 1713 CASPER_MEMCPY(tmp, A, N_wordlen * sizeof(uint32_t)); in CASPER_montsub() 1718 …rypto_mul(Accel_IterOpcodeResaddr(N_wordlen / 2U - 1U, (uint32_t)kCASPER_OpSub64, CA_MK_OFF(tmp))); in CASPER_montsub() 1721 …borrow = (int32_t)((GET_WORD(&((uint32_t *)(uintptr_t)tmp)[N_wordlen - 1U])) > GET_WORD(&A[N_wordl… in CASPER_montsub() 1722 CASPER_MEMCPY(c64, tmp, N_wordlen * sizeof(uint32_t)); in CASPER_montsub() 1729 casper_select(C, (uint32_t *)(uintptr_t)tmp, C, borrow, (int16_t)(uint16_t)N_wordlen); in CASPER_montsub() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/DistanceFunctions/ |
| D | arm_euclidean_distance_f32.c | 57 float32_t tmp; in arm_euclidean_distance_f32() local 90 arm_sqrt_f32(vecAddAcrossF32Mve(accumV), &tmp); in arm_euclidean_distance_f32() 91 return (tmp); in arm_euclidean_distance_f32() 100 float32_t accum=0.0f,tmp; in arm_euclidean_distance_f32() local 124 tmp = *pA++ - *pB++; in arm_euclidean_distance_f32() 125 accum += SQ(tmp); in arm_euclidean_distance_f32() 128 arm_sqrt_f32(accum,&tmp); in arm_euclidean_distance_f32() 129 return(tmp); in arm_euclidean_distance_f32() 135 float32_t accum=0.0f,tmp; in arm_euclidean_distance_f32() local 139 tmp = *pA++ - *pB++; in arm_euclidean_distance_f32() [all …]
|
| D | arm_jensenshannon_distance_f32.c | 57 float32_t tmp; in arm_jensenshannon_distance_f32() local 107 arm_sqrt_f32(vecAddAcrossF32Mve(accumV) / 2.0f, &tmp); in arm_jensenshannon_distance_f32() 108 return (tmp); in arm_jensenshannon_distance_f32() 141 float32_t accum, result, tmp,a,b; in arm_jensenshannon_distance_f32() local 181 tmp = (a + b) / 2.0f; in arm_jensenshannon_distance_f32() 182 accum += rel_entr(a, tmp); in arm_jensenshannon_distance_f32() 183 accum += rel_entr(b, tmp); in arm_jensenshannon_distance_f32() 223 float32_t left, right,sum, result, tmp; in arm_jensenshannon_distance_f32() local 230 tmp = (pA[i] + pB[i]) / 2.0f; in arm_jensenshannon_distance_f32() 231 left += rel_entr(pA[i], tmp); in arm_jensenshannon_distance_f32() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/BayesFunctions/ |
| D | arm_gaussian_naive_bayes_predict_f32.c | 71 float32_t tmp; in arm_gaussian_naive_bayes_predict_f32() local 130 tmp = -0.5f * vecAddAcrossF32Mve(vacc1); in arm_gaussian_naive_bayes_predict_f32() 131 tmp -= 0.5f * vecAddAcrossF32Mve(vacc2); in arm_gaussian_naive_bayes_predict_f32() 133 *buffer = tmp + *pLogPrior++; in arm_gaussian_naive_bayes_predict_f32() 169 float32_t tmp,tmp1; in arm_gaussian_naive_bayes_predict_f32() local 190 tmp = logf(*pPrior++); in arm_gaussian_naive_bayes_predict_f32() 236 tmp += vget_lane_f32(tmpV2, 0) + vget_lane_f32(tmpV2, 1); in arm_gaussian_naive_bayes_predict_f32() 247 tmp -= 0.5f*logf(2.0f * PI_F * sigma); in arm_gaussian_naive_bayes_predict_f32() 248 tmp -= 0.5f*(*pIn - *pTheta) * (*pIn - *pTheta) / sigma; in arm_gaussian_naive_bayes_predict_f32() 261 *buffer++ = tmp; in arm_gaussian_naive_bayes_predict_f32() [all …]
|
| D | arm_gaussian_naive_bayes_predict_f16.c | 73 _Float16 tmp; in arm_gaussian_naive_bayes_predict_f16() local 132 tmp = -0.5f16 * (_Float16)vecAddAcrossF16Mve(vacc1); in arm_gaussian_naive_bayes_predict_f16() 133 tmp -= 0.5f16 * (_Float16)vecAddAcrossF16Mve(vacc2); in arm_gaussian_naive_bayes_predict_f16() 135 *buffer = tmp + *pLogPrior++; in arm_gaussian_naive_bayes_predict_f16() 160 _Float16 tmp; in arm_gaussian_naive_bayes_predict_f16() local 174 tmp = 0.0f16; in arm_gaussian_naive_bayes_predict_f16() 188 tmp = -0.5f16 * acc1; in arm_gaussian_naive_bayes_predict_f16() 189 tmp -= 0.5f16 * acc2; in arm_gaussian_naive_bayes_predict_f16() 192 *buffer = tmp + logf(*pPrior++); in arm_gaussian_naive_bayes_predict_f16()
|
| /hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/ |
| D | arm_mat_solve_lower_triangular_f32.c | 130 float32_t tmp=a_col[i * n]; in arm_mat_solve_lower_triangular_f32() local 134 tmp -= lt_row[k] * pX[n*k+j]; in arm_mat_solve_lower_triangular_f32() 141 tmp = tmp / lt_row[i]; in arm_mat_solve_lower_triangular_f32() 142 pX[i*n+j] = tmp; in arm_mat_solve_lower_triangular_f32() 231 float32_t tmp=a_col[i * n]; in arm_mat_solve_lower_triangular_f32() local 235 tmp -= lt_row[k] * pX[n*k+j]; in arm_mat_solve_lower_triangular_f32() 242 tmp = tmp / lt_row[i]; in arm_mat_solve_lower_triangular_f32() 243 pX[i*n+j] = tmp; in arm_mat_solve_lower_triangular_f32() 304 float32_t tmp=a_col[i * n]; in arm_mat_solve_lower_triangular_f32() local 308 tmp -= lt_row[k] * pX[n*k+j]; in arm_mat_solve_lower_triangular_f32() [all …]
|
| D | arm_mat_solve_upper_triangular_f32.c | 124 float32_t tmp=a_col[i * n]; in arm_mat_solve_upper_triangular_f32() local 128 tmp -= ut_row[k] * pX[n*k+j]; in arm_mat_solve_upper_triangular_f32() 135 tmp = tmp / ut_row[i]; in arm_mat_solve_upper_triangular_f32() 136 pX[i*n+j] = tmp; in arm_mat_solve_upper_triangular_f32() 221 float32_t tmp=a_col[i * n]; in arm_mat_solve_upper_triangular_f32() local 225 tmp -= ut_row[k] * pX[n*k+j]; in arm_mat_solve_upper_triangular_f32() 232 tmp = tmp / ut_row[i]; in arm_mat_solve_upper_triangular_f32() 233 pX[i*n+j] = tmp; in arm_mat_solve_upper_triangular_f32() 290 float32_t tmp=a_col[i * n]; in arm_mat_solve_upper_triangular_f32() local 294 tmp -= ut_row[k] * pX[n*k+j]; in arm_mat_solve_upper_triangular_f32() [all …]
|
| D | arm_mat_solve_lower_triangular_f16.c | 131 _Float16 tmp=a_col[i * n]; in arm_mat_solve_lower_triangular_f16() local 135 tmp -= (_Float16)lt_row[k] * (_Float16)pX[n*k+j]; in arm_mat_solve_lower_triangular_f16() 142 tmp = tmp / (_Float16)lt_row[i]; in arm_mat_solve_lower_triangular_f16() 143 pX[i*n+j] = tmp; in arm_mat_solve_lower_triangular_f16() 206 float16_t tmp=a_col[i * n]; in arm_mat_solve_lower_triangular_f16() local 210 tmp -= lt_row[k] * pX[n*k+j]; in arm_mat_solve_lower_triangular_f16() 217 tmp = tmp / lt_row[i]; in arm_mat_solve_lower_triangular_f16() 218 pX[i*n+j] = tmp; in arm_mat_solve_lower_triangular_f16()
|
| D | arm_mat_solve_upper_triangular_f16.c | 127 _Float16 tmp=a_col[i * n]; in arm_mat_solve_upper_triangular_f16() local 131 tmp -= (_Float16)ut_row[k] * (_Float16)pX[n*k+j]; in arm_mat_solve_upper_triangular_f16() 138 tmp = tmp / (_Float16)ut_row[i]; in arm_mat_solve_upper_triangular_f16() 139 pX[i*n+j] = tmp; in arm_mat_solve_upper_triangular_f16() 196 float16_t tmp=a_col[i * n]; in arm_mat_solve_upper_triangular_f16() local 200 tmp -= ut_row[k] * pX[n*k+j]; in arm_mat_solve_upper_triangular_f16() 207 tmp = tmp / ut_row[i]; in arm_mat_solve_upper_triangular_f16() 208 pX[i*n+j] = tmp; in arm_mat_solve_upper_triangular_f16()
|
| D | arm_mat_cholesky_f32.c | 224 f32x2_t tmp = vdup_n_f32(0); in arm_mat_cholesky_f32() local 274 tmp = vpadd_f32(vget_low_f32(acc0), vget_high_f32(acc0)); in arm_mat_cholesky_f32() 275 sum0 = vget_lane_f32(tmp, 0) + vget_lane_f32(tmp, 1); in arm_mat_cholesky_f32() 277 tmp = vpadd_f32(vget_low_f32(acc1), vget_high_f32(acc1)); in arm_mat_cholesky_f32() 278 sum1 = vget_lane_f32(tmp, 0) + vget_lane_f32(tmp, 1); in arm_mat_cholesky_f32() 280 tmp = vpadd_f32(vget_low_f32(acc2), vget_high_f32(acc2)); in arm_mat_cholesky_f32() 281 sum2 = vget_lane_f32(tmp, 0) + vget_lane_f32(tmp, 1); in arm_mat_cholesky_f32() 283 tmp = vpadd_f32(vget_low_f32(acc3), vget_high_f32(acc3)); in arm_mat_cholesky_f32() 284 sum3 = vget_lane_f32(tmp, 0) + vget_lane_f32(tmp, 1); in arm_mat_cholesky_f32() 328 tmp = vpadd_f32(vget_low_f32(acc), vget_high_f32(acc)); in arm_mat_cholesky_f32() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/SupportFunctions/ |
| D | arm_float_to_q7.c | 69 f32x4x4_t tmp; in arm_float_to_q7() local 80 tmp = vld4q(pSrcVec); in arm_float_to_q7() 86 tmp.val[0] = vmulq(tmp.val[0], maxQ); in arm_float_to_q7() 87 tmp.val[1] = vmulq(tmp.val[1], maxQ); in arm_float_to_q7() 88 tmp.val[2] = vmulq(tmp.val[2], maxQ); in arm_float_to_q7() 89 tmp.val[3] = vmulq(tmp.val[3], maxQ); in arm_float_to_q7() 94 evVec = vqmovnbq(evVec, vcvtaq_s32_f32(tmp.val[0])); in arm_float_to_q7() 95 evVec = vqmovntq(evVec, vcvtaq_s32_f32(tmp.val[2])); in arm_float_to_q7() 99 oddVec = vqmovnbq(oddVec, vcvtaq_s32_f32(tmp.val[1])); in arm_float_to_q7() 100 oddVec = vqmovntq(oddVec, vcvtaq_s32_f32(tmp.val[3])); in arm_float_to_q7()
|
| D | arm_barycenter_f32.c | 178 f32x4_t tmp; in arm_barycenter_f32() local 180 tmp = vld1q((const float32_t *) pOut); in arm_barycenter_f32() 181 tmp = vmulq(tmp, accum); in arm_barycenter_f32() 182 vst1q(pOut, tmp); in arm_barycenter_f32() 207 float32x4_t tmp, inV,outV, inV1, inV2, inV3, inV4; in arm_barycenter_f32() local 218 tmp = vdupq_n_f32(0.0f); in arm_barycenter_f32() 224 vst1q_f32(pOut, tmp); in arm_barycenter_f32() 335 tmp = vld1q_f32(pOut); in arm_barycenter_f32() 336 tmp = vmulq_n_f32(tmp,accum); in arm_barycenter_f32() 337 vst1q_f32(pOut, tmp); in arm_barycenter_f32()
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/ostimer/ |
| D | fsl_ostimer.c | 262 uint64_t tmp = count; in OSTIMER_SetMatchRawValue() local 272 base->MATCH_L = (uint32_t)tmp; in OSTIMER_SetMatchRawValue() 273 base->MATCH_H = (uint32_t)(tmp >> 32U); in OSTIMER_SetMatchRawValue() 295 if ((decValueTimer >= OSTIMER_GrayToDecimal(tmp)) && in OSTIMER_SetMatchRawValue() 326 uint64_t tmp = OSTIMER_DecimalToGray(count); in OSTIMER_SetMatchValue() local 328 return OSTIMER_SetMatchRawValue(base, tmp, cb); in OSTIMER_SetMatchValue() 342 uint64_t tmp = 0U; in OSTIMER_GetCurrentTimerValue() local 344 tmp = OSTIMER_GetCurrentTimerRawValue(base); in OSTIMER_GetCurrentTimerValue() 346 return OSTIMER_GrayToDecimal(tmp); in OSTIMER_GetCurrentTimerValue() 360 uint64_t tmp = 0U; in OSTIMER_GetCaptureValue() local [all …]
|
| D | fsl_ostimer.h | 204 uint64_t tmp = 0U; in OSTIMER_GetCurrentTimerRawValue() local 206 tmp = base->EVTIMERL; in OSTIMER_GetCurrentTimerRawValue() 207 tmp |= (uint64_t)(base->EVTIMERH) << 32U; in OSTIMER_GetCurrentTimerRawValue() 209 return tmp; in OSTIMER_GetCurrentTimerRawValue() 234 uint64_t tmp = 0U; in OSTIMER_GetCaptureRawValue() local 236 tmp = base->CAPTURE_L; in OSTIMER_GetCaptureRawValue() 237 tmp |= (uint64_t)(base->CAPTURE_H) << 32U; in OSTIMER_GetCaptureRawValue() 239 return tmp; in OSTIMER_GetCaptureRawValue()
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/sdu/ |
| D | cis_table.c | 190 static uint32_t modify(uint32_t tmp, uint32_t hi, uint32_t lo, uint32_t val) in modify() argument 199 tmp &= ~mask; // Clear R[hi:lo] in modify() 200 tmp |= val; // Now M[hi:lo] in modify() 201 return tmp; in modify() 204 static uint32_t modify2(uint32_t tmp, uint32_t mask, uint32_t shift, uint32_t val) in modify2() argument 210 tmp &= ~mask; // Clear R[hi:lo] in modify2() 211 tmp |= val; // Now M[hi:lo] in modify2() 212 return tmp; in modify2() 227 uint32_t tmp; in extract2() local 228 tmp = data; in extract2() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/components/fxls8974cf/ |
| D | fsl_fxls.c | 20 uint8_t tmp[1] = {0}; in FXLS_Init() local 28 if (FXLS_ReadReg(fxls_handle, WHO_AM_I_REG, tmp, 1) != kStatus_Success) in FXLS_Init() 33 if (tmp[0] != kFXLS_WHO_AM_I_Device_ID) in FXLS_Init() 39 if (FXLS_ReadReg(fxls_handle, SENS_CONFIG1_REG, tmp, 1) != kStatus_Success) in FXLS_Init() 44 …if (FXLS_WriteReg(fxls_handle, SENS_CONFIG1_REG, tmp[0] & (uint8_t)~ACTIVE_MASK) != kStatus_Succes… in FXLS_Init() 50 if (FXLS_ReadReg(fxls_handle, SENS_CONFIG1_REG, tmp, 1) != kStatus_Success) in FXLS_Init() 55 if ((tmp[0] & ACTIVE_MASK) == ACTIVE_MASK) in FXLS_Init() 76 if (FXLS_ReadReg(fxls_handle, SENS_CONFIG1_REG, tmp, 1) != kStatus_Success) in FXLS_Init() 81 if ((tmp[0] & ACTIVE_MASK) != ACTIVE_MASK) in FXLS_Init()
|
| /hal_nxp-latest/mcux/scripts/pinctrl/imx/ |
| D | imx_fixup_pinmux.py | 62 tmp = tempfile.TemporaryFile(mode='r+') variable 70 tmp.write('/*\n' 75 tmp.write(line) 104 tmp.write(new_line) 107 tmp.write(line) 112 tmp.write(line) 115 tmp.seek(0) 118 tmpline = tmp.readline() 126 tmp.close()
|
| /hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Include/ |
| D | arm_helium_utils.h | 76 float32x4_t tmp; \ 79 tmp = vmulq(xStart, xStart); \ 80 tmp = vmulq(tmp, xHalf); \ 82 tmp = vsubq(vdupq_n_f32(1.5f), tmp); \ 84 invSqrt = vmulq(tmp, xStart); \ 115 uint32_t tmp; in __mve_cmplx_sum_intra_vec_f16() local 130 vecOut = vreinterpretq_f16_s32(vshlcq_s32(vreinterpretq_s32_f16(vecOut) , &tmp, 32)); in __mve_cmplx_sum_intra_vec_f16() 170 float16x8_t tmp; \ 173 tmp = vmulq(xStart, xStart); \ 174 tmp = vmulq(tmp, xHalf); \ [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/components/fxos8700cq/ |
| D | fsl_fxos.c | 21 uint8_t tmp[1] = {0}; in FXOS_Init() local 29 if (FXOS_ReadReg(fxos_handle, WHO_AM_I_REG, tmp, 1) != kStatus_Success) in FXOS_Init() 34 if (tmp[0] != kFXOS_WHO_AM_I_Device_ID) in FXOS_Init() 41 if (FXOS_ReadReg(fxos_handle, CTRL_REG1, tmp, 1) != kStatus_Success) in FXOS_Init() 46 if (FXOS_WriteReg(fxos_handle, CTRL_REG1, tmp[0] & (uint8_t)~ACTIVE_MASK) != kStatus_Success) in FXOS_Init() 52 if (FXOS_ReadReg(fxos_handle, CTRL_REG1, tmp, 1) != kStatus_Success) in FXOS_Init() 56 if ((tmp[0] & ACTIVE_MASK) == ACTIVE_MASK) in FXOS_Init() 162 if (FXOS_ReadReg(fxos_handle, CTRL_REG1, tmp, 1) != kStatus_Success) in FXOS_Init() 167 if ((tmp[0] & ACTIVE_MASK) != ACTIVE_MASK) in FXOS_Init()
|