Lines Matching refs:busMaster
106 cy_en_prot_status_t Cy_Prot_ConfigBusMaster(en_prot_master_t busMaster, bool privileged, bool secur… in Cy_Prot_ConfigBusMaster() argument
114 CY_ASSERT_L1(CY_PROT_IS_BUS_MASTER_VALID(busMaster)); in Cy_Prot_ConfigBusMaster()
118 … addrMsCtl = (uint32_t *)(CY_PROT_BASE + (uint32_t)((uint32_t)busMaster << CY_PROT_MSX_CTL_SHIFT)); in Cy_Prot_ConfigBusMaster()
175 cy_en_prot_status_t Cy_Prot_SetActivePC(en_prot_master_t busMaster, uint32_t pc) in Cy_Prot_SetActivePC() argument
179 CY_ASSERT_L1(CY_PROT_IS_BUS_MASTER_VALID(busMaster)); in Cy_Prot_SetActivePC()
184 CY_UNUSED_PARAMETER(busMaster); in Cy_Prot_SetActivePC()
187 …PROT_MPU_MS_CTL(busMaster) = _VAL2FLD(PROT_MPU_MS_CTL_PC, pc) | _VAL2FLD(PROT_MPU_MS_CTL_PC_SAVED,… in Cy_Prot_SetActivePC()
188 …status = (_FLD2VAL(PROT_MPU_MS_CTL_PC, PROT_MPU_MS_CTL(busMaster)) != pc) ? CY_PROT_FAILURE : CY_P… in Cy_Prot_SetActivePC()
214 uint32_t Cy_Prot_GetActivePC(en_prot_master_t busMaster) in Cy_Prot_GetActivePC() argument
216 CY_ASSERT_L1(CY_PROT_IS_BUS_MASTER_VALID(busMaster)); in Cy_Prot_GetActivePC()
219 …D2VAL(PROT_MPU_MS_CTL_PC, CY_PRA_REG32_GET((CY_PRA_INDX_PROT_MPU_MS_CTL + (uint16_t) busMaster)))); in Cy_Prot_GetActivePC()
221 return ((uint32_t)_FLD2VAL(PROT_MPU_MS_CTL_PC, PROT_MPU_MS_CTL(busMaster))); in Cy_Prot_GetActivePC()