Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 16 of 16) sorted by relevance

/hal_infineon-3.7.0/XMCLib/drivers/inc/
Dxmc_ccu4.h739 bool tmp = false; in XMC_CCU4_IsValidModule() local
741 tmp = (module == CCU40); in XMC_CCU4_IsValidModule()
744 tmp = tmp || (module == CCU41); in XMC_CCU4_IsValidModule()
748 tmp = tmp || (module == CCU42); in XMC_CCU4_IsValidModule()
752 tmp = tmp || (module == CCU43); in XMC_CCU4_IsValidModule()
755 return tmp; in XMC_CCU4_IsValidModule()
760 bool tmp = false; in XMC_CCU4_IsValidSlice() local
762 tmp = (slice == CCU40_CC40); in XMC_CCU4_IsValidSlice()
764 tmp = tmp || (slice == CCU40_CC41); in XMC_CCU4_IsValidSlice()
767 tmp = tmp || (slice == CCU40_CC42); in XMC_CCU4_IsValidSlice()
[all …]
Dxmc_ccu8.h1063 bool tmp = false; in XMC_CCU8_IsValidModule() local
1065 tmp = (module == CCU80); in XMC_CCU8_IsValidModule()
1068 tmp = tmp || (module == CCU81); in XMC_CCU8_IsValidModule()
1071 return tmp; in XMC_CCU8_IsValidModule()
1076 bool tmp = false; in XMC_CCU8_IsValidSlice() local
1078 tmp = (slice == CCU80_CC80); in XMC_CCU8_IsValidSlice()
1080 tmp = tmp || (slice == CCU80_CC81); in XMC_CCU8_IsValidSlice()
1083 tmp = tmp || (slice == CCU80_CC82); in XMC_CCU8_IsValidSlice()
1086 tmp = tmp || (slice == CCU80_CC83); in XMC_CCU8_IsValidSlice()
1089 tmp = tmp || (slice == CCU81_CC80); in XMC_CCU8_IsValidSlice()
[all …]
Dxmc_usic.h564 bool tmp; in XMC_USIC_IsModuleValid() local
566 tmp = (module == XMC_USIC0); in XMC_USIC_IsModuleValid()
568 tmp = tmp || (module == XMC_USIC1); in XMC_USIC_IsModuleValid()
571 tmp = tmp || (module == XMC_USIC2); in XMC_USIC_IsModuleValid()
574 return tmp; in XMC_USIC_IsModuleValid()
579 bool tmp; in XMC_USIC_IsChannelValid() local
581 tmp = ((channel == XMC_USIC0_CH0) || (channel == XMC_USIC0_CH1)); in XMC_USIC_IsChannelValid()
583 tmp = tmp || ((channel == XMC_USIC1_CH0) || (channel == XMC_USIC1_CH1)); in XMC_USIC_IsChannelValid()
586 tmp = tmp || ((channel == XMC_USIC2_CH0) || (channel == XMC_USIC2_CH1)); in XMC_USIC_IsChannelValid()
589 return tmp; in XMC_USIC_IsChannelValid()
/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/third_party/ethernet/src/
Dedd_rx.c56 uint32_t ram_size, max_size, tmp; in emacCalcMaxRxFrameSize() local
78 if (0!=emacGetRxPartialStFwd(pD, &tmp, &enabled)) in emacCalcMaxRxFrameSize()
115 uint32_t tmp, bufLenWords; in emacAddRxBuf() local
142 tmp = 4; break; in emacAddRxBuf()
144 tmp = 8; break; in emacAddRxBuf()
146 tmp = 16; break; in emacAddRxBuf()
147 default: tmp = 4; break; in emacAddRxBuf()
149 if ((buf->pAddr)%tmp) { in emacAddRxBuf()
159 for (tmp=0; tmp<bufLenWords; tmp++) in emacAddRxBuf()
160 CPS_UncachedWrite32((uint32_t *)(buf->vAddr)+tmp, 0); in emacAddRxBuf()
[all …]
Dedd_tx.c1021 uint32_t tmp, ret; in emacEnableCbs() local
1033 ret = emacGetCbsQSetting(pD, qSel, &enabled, &tmp); in emacEnableCbs()
Dedd.c4726 uint32_t tmp; in emacWriteUserOutputs() local
4731 tmp = 0; in emacWriteUserOutputs()
4733 tmp, outVal); in emacWriteUserOutputs()
4734 CPS_UncachedWrite32(CEDI_RegAddr(user_io_register), tmp); in emacWriteUserOutputs()
/hal_infineon-3.7.0/XMCLib/drivers/src/
Dxmc_posif.c86 bool tmp; in XMC_POSIF_IsPeripheralValid() local
88 tmp = (peripheral == POSIF0); in XMC_POSIF_IsPeripheralValid()
90 tmp |= (peripheral == POSIF1); in XMC_POSIF_IsPeripheralValid()
93 return tmp; in XMC_POSIF_IsPeripheralValid()
Dxmc_i2c.c269 uint32_t tmp; in XMC_I2C_CH_MasterRepeatedStart() local
270 tmp = addr | (uint32_t)XMC_I2C_CH_TDF_MASTER_RESTART; in XMC_I2C_CH_MasterRepeatedStart()
273 tmp |= 0x1U; in XMC_I2C_CH_MasterRepeatedStart()
287 channel->TBUF[0] = tmp; in XMC_I2C_CH_MasterRepeatedStart()
291 channel->IN[0U] = tmp; in XMC_I2C_CH_MasterRepeatedStart()
Dxmc1_scu.c378 XMC_SCU_INTERRUPT_EVENT_t tmp; in XMC_SCU_INTERUPT_GetEventStatus() local
380 tmp = SCU_INTERRUPT->SRRAW; in XMC_SCU_INTERUPT_GetEventStatus()
382 tmp |= ((int64_t)SCU_INTERRUPT->SRRAW1 << 32U); in XMC_SCU_INTERUPT_GetEventStatus()
384 return (tmp); in XMC_SCU_INTERUPT_GetEventStatus()
/hal_infineon-3.7.0/mtb-pdl-cat1/drivers/source/
Dcy_pra.c494 uint32_t tmp; in Cy_PRA_ProcessCmd() local
496 tmp = CY_GET_REG32(regIndexToAddr[message->praIndex].addr); in Cy_PRA_ProcessCmd()
498 tmp &= (message->praData1 | regIndexToAddr[message->praIndex].writeMask); in Cy_PRA_ProcessCmd()
499 tmp |= message->praData2; in Cy_PRA_ProcessCmd()
500 CY_SET_REG32(regIndexToAddr[message->praIndex].addr, tmp); in Cy_PRA_ProcessCmd()
517 uint32_t tmp; in Cy_PRA_ProcessCmd() local
519 tmp = CY_GET_REG32(regIndexToAddr[message->praIndex].addr); in Cy_PRA_ProcessCmd()
522 ((tmp & regIndexToAddr[message->praIndex].writeMask) == in Cy_PRA_ProcessCmd()
526 tmp &= regIndexToAddr[message->praIndex].writeMask; in Cy_PRA_ProcessCmd()
531 tmp |= message->praData1; in Cy_PRA_ProcessCmd()
[all …]
Dcy_crypto_core_rsa.c416 uint32_t tmp = 10u; in Cy_Crypto_Core_Rsa_MontCoeff() local
439 CY_CRYPTO_VU_SET_REG (base, tmp, (size - 1u), 1u); in Cy_Crypto_Core_Rsa_MontCoeff()
441 CY_CRYPTO_VU_SET_BIT (base, ra, tmp); in Cy_Crypto_Core_Rsa_MontCoeff()
474 CY_CRYPTO_VU_SET_BIT(base, rv, tmp); in Cy_Crypto_Core_Rsa_MontCoeff()
Dcy_sysclk.c1112 uint32_t tmp = res | add; in cy_sqrt() local
1114 if (x >= (tmp * tmp)) in cy_sqrt()
1116 res = tmp; in cy_sqrt()
Dcy_sysclk_v2.c1495 uint32_t tmp = res | add; in cy_sqrt() local
1497 if (x >= (tmp * tmp)) in cy_sqrt()
1499 res = tmp; in cy_sqrt()
/hal_infineon-3.7.0/wifi-host-driver/WiFi_Host_Driver/src/bus_protocols/
Dwhd_bus_spi_protocol.c1266 uint32_t tmp; in whd_bus_spi_download_resource() local
1269 result = whd_bus_read_backplane_value(whd_driver, 0, sizeof(tmp), (uint8_t *)&tmp); in whd_bus_spi_download_resource()
1271 if ( (result == WHD_SUCCESS) && (tmp != reset_instr) ) in whd_bus_spi_download_resource()
1274 … WPRINT_WHD_ERROR( ("%s: contents of addr 0 is 0x%08" PRIx32 "\n", __FUNCTION__, tmp) ); in whd_bus_spi_download_resource()
Dwhd_bus_sdio_protocol.c1693 uint32_t tmp; in whd_bus_sdio_download_resource() local
1696 result = whd_bus_read_backplane_value(whd_driver, 0, sizeof(tmp), (uint8_t *)&tmp); in whd_bus_sdio_download_resource()
1698 if ( (result == WHD_SUCCESS) && (tmp != reset_instr) ) in whd_bus_sdio_download_resource()
1701 … WPRINT_WHD_ERROR( ("%s: contents of addr 0 is 0x%08" PRIx32 "\n", __FUNCTION__, tmp) ); in whd_bus_sdio_download_resource()
/hal_infineon-3.7.0/wifi-host-driver/WiFi_Host_Driver/src/
Dwhd_utils.c1140 uint8_t tmp = *string; in whd_ipv4_itoa() local
1142 *baseString++ = tmp; in whd_ipv4_itoa()