Searched refs:tcr (Results 1 – 4 of 4) sorted by relevance
597 uint64_t tcr; in get_tcr() local604 tcr = (tcr_ps_bits << TCR_EL1_IPS_SHIFT); in get_tcr()609 tcr |= TCR_EPD1_DISABLE; in get_tcr()611 tcr = (tcr_ps_bits << TCR_EL3_PS_SHIFT); in get_tcr()613 tcr |= TCR_T0SZ(va_bits); in get_tcr()617 tcr |= TCR_TG0_4K | TCR_ORGN_WBWA | TCR_IRGN_WBWA; in get_tcr()619 return tcr; in get_tcr()
160 uint32_t tcr = enet->resource->base->TCR; in ENET_CommonControl() local203 tcr &= ~ENET_TCR_FDEN_MASK; in ENET_CommonControl()207 tcr |= ENET_TCR_FDEN_MASK; in ENET_CommonControl()253 enet->resource->base->TCR = tcr; in ENET_CommonControl()
821 uint32_t tcr = base->TCR; in LPSPI_FlushFifo() local832 base->TCR = tcr; in LPSPI_FlushFifo()
518 uint32_t tcr = 0; in ENET_SetMacController() local605 tcr = base->TCR & ~(ENET_TCR_FDEN_MASK | ENET_TCR_ADDINS_MASK); in ENET_SetMacController()606 tcr |= ((kENET_MiiHalfDuplex != config->miiDuplex) ? (uint32_t)ENET_TCR_FDEN_MASK : 0U) | in ENET_SetMacController()608 base->TCR = tcr; in ENET_SetMacController()1071 uint32_t tcr = base->TCR; in ENET_SetMII() local1105 tcr &= ~ENET_TCR_FDEN_MASK; in ENET_SetMII()1110 tcr |= ENET_TCR_FDEN_MASK; in ENET_SetMII()1114 base->TCR = tcr; in ENET_SetMII()