/hal_nxp-2.7.6/mcux/drivers/imx/ |
D | fsl_xrdc2.c | 699 void XRDC2_SetPeriphAccessConfig(XRDC2_Type *base, xrdc2_periph_t periph, const xrdc2_periph_access… in XRDC2_SetPeriphAccessConfig() argument 706 uint32_t pac = XRDC2_GET_PAC((uint32_t)periph); in XRDC2_SetPeriphAccessConfig() 707 uint32_t pdac = XRDC2_GET_PDAC((uint32_t)periph); in XRDC2_SetPeriphAccessConfig() 725 void XRDC2_SetPeriphAccessValid(XRDC2_Type *base, xrdc2_periph_t periph, bool valid) in XRDC2_SetPeriphAccessValid() argument 727 uint32_t pac = XRDC2_GET_PAC((uint32_t)periph); in XRDC2_SetPeriphAccessValid() 728 uint32_t pdac = XRDC2_GET_PDAC((uint32_t)periph); in XRDC2_SetPeriphAccessValid() 748 void XRDC2_SetPeriphAccessLockMode(XRDC2_Type *base, xrdc2_periph_t periph, xrdc2_access_config_loc… in XRDC2_SetPeriphAccessLockMode() argument 750 uint32_t pac = XRDC2_GET_PAC((uint32_t)periph); in XRDC2_SetPeriphAccessLockMode() 751 uint32_t pdac = XRDC2_GET_PDAC((uint32_t)periph); in XRDC2_SetPeriphAccessLockMode() 766 xrdc2_periph_t periph, in XRDC2_SetPeriphDomainAccessPolicy() argument [all …]
|
D | fsl_xrdc2.h | 587 void XRDC2_SetPeriphAccessConfig(XRDC2_Type *base, xrdc2_periph_t periph, const xrdc2_periph_access… 596 void XRDC2_SetPeriphAccessValid(XRDC2_Type *base, xrdc2_periph_t periph, bool valid); 605 void XRDC2_SetPeriphAccessLockMode(XRDC2_Type *base, xrdc2_periph_t periph, xrdc2_access_config_loc… 616 xrdc2_periph_t periph, 629 void XRDC2_EnablePeriphExclAccessLock(XRDC2_Type *base, xrdc2_periph_t periph, bool enable); 638 uint8_t XRDC2_GetPeriphExclAccessLockDomainOwner(XRDC2_Type *base, xrdc2_periph_t periph); 648 status_t XRDC2_TryLockPeriphExclAccess(XRDC2_Type *base, xrdc2_periph_t periph); 658 void XRDC2_LockPeriphExclAccess(XRDC2_Type *base, xrdc2_periph_t periph); 668 void XRDC2_UnlockPeriphExclAccess(XRDC2_Type *base, xrdc2_periph_t periph); 678 void XRDC2_ForcePeriphExclAccessLockRelease(XRDC2_Type *base, xrdc2_periph_t periph);
|
D | fsl_rdc.h | 80 rdc_periph_t periph; /*!< Peripheral name. */ member 291 static inline void RDC_LockPeriphAccessConfig(RDC_Type *base, rdc_periph_t periph) in RDC_LockPeriphAccessConfig() argument 293 assert((uint32_t)periph < RDC_PDAP_COUNT); in RDC_LockPeriphAccessConfig() 295 base->PDAP[periph] |= RDC_PDAP_LCK_MASK; in RDC_LockPeriphAccessConfig() 307 static inline uint8_t RDC_GetPeriphAccessPolicy(RDC_Type *base, rdc_periph_t periph, uint8_t domain… in RDC_GetPeriphAccessPolicy() argument 309 assert((uint32_t)periph < RDC_PDAP_COUNT); in RDC_GetPeriphAccessPolicy() 311 return (uint8_t)((base->PDAP[periph] >> (domainId * 2U)) & 0x03U); in RDC_GetPeriphAccessPolicy()
|
D | fsl_rdc.c | 170 assert((uint32_t)config->periph < RDC_PDAP_COUNT); in RDC_SetPeriphAccessConfig() 172 uint32_t periph = (uint32_t)config->periph; in RDC_SetPeriphAccessConfig() local 185 base->PDAP[periph] = regPDAP; in RDC_SetPeriphAccessConfig()
|
/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/ |
D | fsl_flexcomm.c | 34 static status_t FLEXCOMM_SetPeriph(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph, int lock); 37 static bool FLEXCOMM_PeripheralIsPresent(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph); 70 static bool FLEXCOMM_PeripheralIsPresent(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph) in FLEXCOMM_PeripheralIsPresent() argument 72 if (periph == FLEXCOMM_PERIPH_NONE) in FLEXCOMM_PeripheralIsPresent() 76 else if (periph <= FLEXCOMM_PERIPH_I2S_TX) in FLEXCOMM_PeripheralIsPresent() 78 return (base->PSELID & (1UL << ((uint32_t)periph + 3U))) > 0UL ? true : false; in FLEXCOMM_PeripheralIsPresent() 80 else if (periph == FLEXCOMM_PERIPH_I2S_RX) in FLEXCOMM_PeripheralIsPresent() 111 static status_t FLEXCOMM_SetPeriph(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph, int lock) in FLEXCOMM_SetPeriph() argument 114 if (!FLEXCOMM_PeripheralIsPresent(base, periph)) in FLEXCOMM_SetPeriph() 121 ((base->PSELID & FLEXCOMM_PSELID_PERSEL_MASK) != (uint32_t)periph)) in FLEXCOMM_SetPeriph() [all …]
|
D | fsl_flexcomm.h | 52 status_t FLEXCOMM_Init(void *base, FLEXCOMM_PERIPH_T periph);
|
/hal_nxp-2.7.6/mcux/drivers/lpc/ |
D | fsl_flexcomm.c | 34 static status_t FLEXCOMM_SetPeriph(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph, int lock); 37 static bool FLEXCOMM_PeripheralIsPresent(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph); 70 static bool FLEXCOMM_PeripheralIsPresent(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph) in FLEXCOMM_PeripheralIsPresent() argument 72 if (periph == FLEXCOMM_PERIPH_NONE) in FLEXCOMM_PeripheralIsPresent() 76 else if (periph <= FLEXCOMM_PERIPH_I2S_TX) in FLEXCOMM_PeripheralIsPresent() 78 return (base->PSELID & (1UL << ((uint32_t)periph + 3U))) > 0UL ? true : false; in FLEXCOMM_PeripheralIsPresent() 80 else if (periph == FLEXCOMM_PERIPH_I2S_RX) in FLEXCOMM_PeripheralIsPresent() 111 static status_t FLEXCOMM_SetPeriph(FLEXCOMM_Type *base, FLEXCOMM_PERIPH_T periph, int lock) in FLEXCOMM_SetPeriph() argument 114 if (!FLEXCOMM_PeripheralIsPresent(base, periph)) in FLEXCOMM_SetPeriph() 121 ((base->PSELID & FLEXCOMM_PSELID_PERSEL_MASK) != (uint32_t)periph)) in FLEXCOMM_SetPeriph() [all …]
|
D | fsl_flexcomm.h | 52 status_t FLEXCOMM_Init(void *base, FLEXCOMM_PERIPH_T periph);
|
/hal_nxp-2.7.6/mcux/drivers/imx8/ |
D | fsl_rdc.h | 80 rdc_periph_t periph; /*!< Peripheral name. */ member 291 static inline void RDC_LockPeriphAccessConfig(RDC_Type *base, rdc_periph_t periph) in RDC_LockPeriphAccessConfig() argument 293 assert((uint32_t)periph < RDC_PDAP_COUNT); in RDC_LockPeriphAccessConfig() 295 base->PDAP[periph] |= RDC_PDAP_LCK_MASK; in RDC_LockPeriphAccessConfig()
|
D | fsl_rdc.c | 170 assert((uint32_t)config->periph < RDC_PDAP_COUNT); in RDC_SetPeriphAccessConfig() 172 uint32_t periph = (uint32_t)config->periph; in RDC_SetPeriphAccessConfig() local 185 base->PDAP[periph] = regPDAP; in RDC_SetPeriphAccessConfig()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1176/ |
D | MIMXRT1176_cm7.h | 65 #define XRDC2_GET_PAC(periph) ((periph) >> 8U) argument 66 #define XRDC2_GET_PDAC(periph) ((periph) & 255U) argument
|
D | MIMXRT1176_cm4.h | 65 #define XRDC2_GET_PAC(periph) ((periph) >> 8U) argument 66 #define XRDC2_GET_PDAC(periph) ((periph) & 255U) argument
|