Home
last modified time | relevance | path

Searched refs:gate (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-2.7.6/imx/drivers/
Dsema4.c46 __IO uint8_t *gate; in SEMA4_TryLock() local
50 gate = &base->GATE00 + gateIndex; in SEMA4_TryLock()
52 *gate = SEMA4_GATE00_GTFSM(SEMA4_PROCESSOR_SELF + 1); in SEMA4_TryLock()
54 return ((*gate & SEMA4_GATE00_GTFSM_MASK) == SEMA4_GATE00_GTFSM(SEMA4_PROCESSOR_SELF + 1)) ? in SEMA4_TryLock()
67 __IO uint8_t *gate; in SEMA4_Lock() local
71 gate = &base->GATE00 + gateIndex; in SEMA4_Lock()
75 while (*gate & SEMA4_GATE00_GTFSM_MASK) { } in SEMA4_Lock()
76 *gate = SEMA4_GATE00_GTFSM(SEMA4_PROCESSOR_SELF + 1); in SEMA4_Lock()
77 } while ((*gate & SEMA4_GATE00_GTFSM_MASK) != SEMA4_GATE00_GTFSM(SEMA4_PROCESSOR_SELF + 1)); in SEMA4_Lock()
88 __IO uint8_t *gate; in SEMA4_Unlock() local
[all …]
Dsema4.h47 #define SEMA4_GATE_STATUS_FLAG(gate) ((uint16_t)(1U << ((gate) ^ 7))) argument
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_enet_qos.c3171 if (gateOp->gate > EST_MAX_GATE) in ENET_QOS_EstProgramGcl()
3188 data = gateOp->interval | (gateOp->gate << ENET_QOS_EST_WID); in ENET_QOS_EstProgramGcl()
3359 gateOp->gate = data >> ENET_QOS_EST_WID; in ENET_QOS_EstReadGcl()
Dfsl_enet_qos.h470 uint32_t gate; member