Home
last modified time | relevance | path

Searched refs:errorIndex (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/trdc_1/
Dfsl_trdc.c473 uint8_t errorIndex; /* The index of first domain error. */ in TRDC_GetAndClearFirstSpecificDomainError() local
488 errorIndex = 31U - TRDC_CountLeadingZeros(errorBitMap); in TRDC_GetAndClearFirstSpecificDomainError()
490 errorIndex = 31U - __CLZ(errorBitMap); in TRDC_GetAndClearFirstSpecificDomainError()
499 if (errorIndex > 15U) in TRDC_GetAndClearFirstSpecificDomainError()
502 errorIndex -= 12U; in TRDC_GetAndClearFirstSpecificDomainError()
503 error->controller = (trdc_controller_t)errorIndex; in TRDC_GetAndClearFirstSpecificDomainError()
504 errorIndex -= 4U; in TRDC_GetAndClearFirstSpecificDomainError()
507 regW1 = TRDC_DOMAIN_ERROR_BASE(base)->MRC_DERR[errorIndex].W1; in TRDC_GetAndClearFirstSpecificDomainError()
508 error->address = TRDC_DOMAIN_ERROR_BASE(base)->MRC_DERR[errorIndex].W0; in TRDC_GetAndClearFirstSpecificDomainError()
510 TRDC_DOMAIN_ERROR_BASE(base)->MRC_DERR[errorIndex].W3 = TRDC_W3_RECR(0x01U); in TRDC_GetAndClearFirstSpecificDomainError()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/trdc/
Dfsl_trdc.c470 uint8_t errorIndex; /* The index of first domain error. */ in TRDC_GetAndClearFirstSpecificDomainError() local
485 errorIndex = 31U - TRDC_CountLeadingZeros(errorBitMap); in TRDC_GetAndClearFirstSpecificDomainError()
487 errorIndex = 31U - __CLZ(errorBitMap); in TRDC_GetAndClearFirstSpecificDomainError()
496 if (errorIndex > 15U) in TRDC_GetAndClearFirstSpecificDomainError()
499 errorIndex -= 12U; in TRDC_GetAndClearFirstSpecificDomainError()
500 error->controller = (trdc_controller_t)errorIndex; in TRDC_GetAndClearFirstSpecificDomainError()
501 errorIndex -= 4U; in TRDC_GetAndClearFirstSpecificDomainError()
504 regW1 = base->MRC_DERR[errorIndex].W1; in TRDC_GetAndClearFirstSpecificDomainError()
505 error->address = base->MRC_DERR[errorIndex].W0; in TRDC_GetAndClearFirstSpecificDomainError()
507 base->MRC_DERR[errorIndex].W3 = TRDC_W3_RECR(0x01U); in TRDC_GetAndClearFirstSpecificDomainError()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/xrdc/
Dfsl_xrdc.c200 uint8_t errorIndex; /* The index of first domain error. */ in XRDC_GetAndClearFirstSpecificDomainError() local
220 errorIndex = 31U - XRDC_CountLeadingZeros(errorBitMap); in XRDC_GetAndClearFirstSpecificDomainError()
222 errorIndex = 31U - __CLZ(errorBitMap); in XRDC_GetAndClearFirstSpecificDomainError()
230 regW1 = base->DERR_W[errorIndex][1]; in XRDC_GetAndClearFirstSpecificDomainError()
231 error->controller = (xrdc_controller_t)errorIndex; in XRDC_GetAndClearFirstSpecificDomainError()
232 error->address = base->DERR_W[errorIndex][0]; in XRDC_GetAndClearFirstSpecificDomainError()
240 base->DERR_W[errorIndex][3] = XRDC_DERR_W_RECR(0x01U); in XRDC_GetAndClearFirstSpecificDomainError()