Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 45) sorted by relevance

12

/hal_nxp-latest/mcux/mcux-sdk/components/phyksz8081/
Dfsl_phy.c33 uint32_t counter = PHY_TIMEOUT_COUNT; in PHY_Init() local
47 while ((idReg != PHY_CONTROL_ID1) && (counter != 0U)) in PHY_Init()
50 counter--; in PHY_Init()
53 if (counter == 0U) in PHY_Init()
59 counter = PHY_TIMEOUT_COUNT; in PHY_Init()
88 while (counter-- != 0U) in PHY_Init()
105 if (counter == 0U) in PHY_Init()
119 uint32_t counter; in PHY_Write() local
128 for (counter = PHY_TIMEOUT_COUNT; counter > 0U; counter--) in PHY_Write()
137 if (counter == 0U) in PHY_Write()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/phy/mdio/enet_qos/
Dfsl_enet_qos_mdio.c57 uint32_t counter; in ENET_QOS_MDIO_Write() local
63 for (counter = MDIO_TIMEOUT_COUNT; counter > 0U; counter--) in ENET_QOS_MDIO_Write()
71 if (0U == counter) in ENET_QOS_MDIO_Write()
89 uint32_t counter; in ENET_QOS_MDIO_Read() local
94 for (counter = MDIO_TIMEOUT_COUNT; counter > 0U; counter--) in ENET_QOS_MDIO_Read()
102 if (0U == counter) in ENET_QOS_MDIO_Read()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/mdio/lpc_enet/
Dfsl_enet_mdio.c57 uint32_t counter; in ENET_MDIO_Write() local
62 for (counter = MDIO_TIMEOUT_COUNT; counter > 0U; counter--) in ENET_MDIO_Write()
70 if (0U == counter) in ENET_MDIO_Write()
91 uint32_t counter; in ENET_MDIO_Read() local
96 for (counter = MDIO_TIMEOUT_COUNT; counter > 0U; counter--) in ENET_MDIO_Read()
104 if (0U == counter) in ENET_MDIO_Read()
/hal_nxp-latest/mcux/mcux-sdk/components/phylan8720a/
Dfsl_phy.c107 uint32_t counter; in PHY_Write() local
116 for (counter = PHY_TIMEOUT_COUNT; counter > 0U; counter--) in PHY_Write()
125 if (counter == 0U) in PHY_Write()
147 uint32_t counter; in PHY_Read() local
156 for (counter = PHY_TIMEOUT_COUNT; counter > 0; counter--) in PHY_Read()
165 if (counter == 0U) in PHY_Read()
/hal_nxp-latest/mcux/mcux-sdk/drivers/elemu/
Dfsl_elemu.c102 uint8_t counter = 0u; in ELEMU_mu_send_message() local
117 ELEMU_mu_hal_send_data(mu, tx_reg_idx, &buf[counter]); in ELEMU_mu_send_message()
119 counter++; in ELEMU_mu_send_message()
247 uint32_t counter = 0u; in ELEMU_mu_read_message() local
271 ELEMU_mu_hal_receive_data(mu, rx_reg_idx, &msg->payload[counter]); in ELEMU_mu_read_message()
273 counter++; in ELEMU_mu_read_message()
284 uint8_t counter = 0u; in ELEMU_mu_read_data_wait() local
300 …if ((ret = ELEMU_mu_hal_receive_data_wait(mu, rx_reg_idx, &buf[counter], wait)) != kStatus_Success) in ELEMU_mu_read_data_wait()
307 ELEMU_mu_hal_receive_data(mu, rx_reg_idx, &buf[counter]); in ELEMU_mu_read_data_wait()
310 counter++; in ELEMU_mu_read_data_wait()
/hal_nxp-latest/mcux/mcux-sdk/drivers/mecc/
Dfsl_mecc.c166 uint32_t counter = 0U; in MECC_GetSingleErrorInfo() local
226 counter++; in MECC_GetSingleErrorInfo()
229 if (counter == 0U) in MECC_GetSingleErrorInfo()
235 info->singleErrorPosLow = counter - 1U; in MECC_GetSingleErrorInfo()
238 counter = 0U; in MECC_GetSingleErrorInfo()
242 counter++; in MECC_GetSingleErrorInfo()
245 if (counter == 0U) in MECC_GetSingleErrorInfo()
251 info->singleErrorPosHigh = counter - 1U; in MECC_GetSingleErrorInfo()
/hal_nxp-latest/mcux/mcux-sdk/drivers/s3mu/
Dfsl_s3mu.c58 uint8_t counter = 0u; in S3MU_SendMessage() local
69 s3mu_hal_send_data(mu, tx_reg_idx, (uint32_t*)buf+counter); in S3MU_SendMessage()
71 counter++; in S3MU_SendMessage()
216 uint8_t counter = 0u; in s3mu_read_data_wait() local
231 … if ((ret = s3mu_hal_receive_data_wait(mu, rx_reg_idx, &buf[counter], wait)) != kStatus_Success) in s3mu_read_data_wait()
238 s3mu_hal_receive_data(mu, rx_reg_idx, &buf[counter]); in s3mu_read_data_wait()
241 counter++; in s3mu_read_data_wait()
/hal_nxp-latest/mcux/mcux-sdk/cmsis_drivers/enet/
Dfsl_enet_cmsis.c384 uint32_t counter; in ENET_Phy_Write() local
393 for (counter = ENET_SMI_TIMEOUT_COUNT; counter > 0U; counter--) in ENET_Phy_Write()
402 if (counter == 0U) in ENET_Phy_Write()
417 uint32_t counter; in ENET_Phy_Read() local
426 for (counter = ENET_SMI_TIMEOUT_COUNT; counter > 0U; counter--) in ENET_Phy_Read()
435 if (counter == 0U) in ENET_Phy_Read()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phylan8720a/
Dfsl_phylan8720a.c66 uint32_t counter = PHY_TIMEOUT_COUNT; in PHY_LAN8720A_Init() local
82 counter--; in PHY_LAN8720A_Init()
83 } while ((regValue != PHY_CONTROL_ID1) && (counter != 0U)); in PHY_LAN8720A_Init()
85 if (counter == 0U) in PHY_LAN8720A_Init()
89 counter = PHY_TIMEOUT_COUNT; in PHY_LAN8720A_Init()
104 } while ((counter-- != 0U) && (regValue & PHY_BCTL_RESET_MASK) != 0U); in PHY_LAN8720A_Init()
106 if (counter == 0U) in PHY_LAN8720A_Init()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phylan8741/
Dfsl_phylan8741.c67 uint32_t counter = PHY_TIMEOUT_COUNT; in PHY_LAN8741_Init() local
96 counter--; in PHY_LAN8741_Init()
97 } while ((devId != PHY_DEVICE_ID) && (counter != 0U)); in PHY_LAN8741_Init()
99 if (counter == 0U) in PHY_LAN8741_Init()
103 counter = PHY_TIMEOUT_COUNT; in PHY_LAN8741_Init()
118 } while ((counter-- != 0U) && (regValue & PHY_BCTL_RESET_MASK) != 0U); in PHY_LAN8741_Init()
120 if (counter == 0U) in PHY_LAN8741_Init()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phyaqr113c/
Dfsl_phyaqr113c.c147 uint32_t counter = PHY_READID_TIMEOUT_COUNT; in PHY_AQR113C_Init() local
169 counter--; in PHY_AQR113C_Init()
170 } while (((regValue1 != VEND1_FW_ID1) || (regValue2 != VEND1_FW_ID2)) && (counter != 0U)); in PHY_AQR113C_Init()
172 if (counter == 0U) in PHY_AQR113C_Init()
178 counter = PHY_FIRMWARE_TIMEOUT_COUNT; in PHY_AQR113C_Init()
186 } while ((regValue1 == 0x0U) && (counter != 0)); in PHY_AQR113C_Init()
188 if (counter == 0U) in PHY_AQR113C_Init()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/mdio/enet/
Dfsl_enet_mdio.c180 uint32_t counter; in ENET_MDIO_WaitTransferOver() local
185 for (counter = MDIO_TIMEOUT_COUNT; counter > 0U; counter--) in ENET_MDIO_WaitTransferOver()
193 if (0U == counter) in ENET_MDIO_WaitTransferOver()
/hal_nxp-latest/mcux/mcux-sdk/drivers/ltc/
Dfsl_ltc_edma.h58 uint8_t *counter; /*!< Input counter (updates on return)*/ member
223 uint8_t counter[LTC_AES_BLOCK_SIZE],
230 #define LTC_AES_DecryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlas… argument
231 …LTC_AES_CryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlast, szLeft)
234 #define LTC_AES_EncryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlas… argument
235 …LTC_AES_CryptCtrEDMA(base, handle, input, output, size, counter, key, keySize, counterlast, szLeft)
Dfsl_ltc.h378 uint8_t counter[LTC_AES_BLOCK_SIZE],
385 #define LTC_AES_DecryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft) \ argument
386 LTC_AES_CryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft)
389 #define LTC_AES_EncryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft) \ argument
390 LTC_AES_CryptCtr(base, input, output, size, counter, key, keySize, counterlast, szLeft)
/hal_nxp-latest/mcux/mcux-sdk/drivers/rtc/
Dfsl_rtc.c833 void RTC_GetMonotonicCounter(RTC_Type *base, uint64_t *counter) in RTC_GetMonotonicCounter() argument
837 assert(NULL != counter); in RTC_GetMonotonicCounter()
840 *counter = (((uint64_t)base->MCHR << 32U) | u64temp); in RTC_GetMonotonicCounter()
850 void RTC_SetMonotonicCounter(RTC_Type *base, uint64_t counter) in RTC_SetMonotonicCounter() argument
855 base->MCHR = (uint32_t)((counter) >> 32); in RTC_SetMonotonicCounter()
856 base->MCLR = (uint32_t)(counter); in RTC_SetMonotonicCounter()
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/SupportFunctions/
Darm_bitonic_sort_f32.c925 uint16_t counter = blockSize>>5; in arm_bitonic_sort_f32() local
981 for(i=0; i<counter; i++) in arm_bitonic_sort_f32()
997 counter = counter>>1; in arm_bitonic_sort_f32()
998 for(i=0; i<counter; i++) in arm_bitonic_sort_f32()
1001 counter = counter>>1; in arm_bitonic_sort_f32()
1002 for(i=0; i<counter; i++) in arm_bitonic_sort_f32()
1005 counter = counter>>1; in arm_bitonic_sort_f32()
1006 for(i=0; i<counter; i++) in arm_bitonic_sort_f32()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phydp83848/
Dfsl_phydp83848.c50 uint32_t counter = PHY_READID_TIMEOUT_COUNT; in PHY_DP83848_Init() local
68 counter--; in PHY_DP83848_Init()
69 } while ((regValue != PHY_CONTROL_ID1) && (counter != 0U)); in PHY_DP83848_Init()
71 if (!counter) in PHY_DP83848_Init()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phyksz8041/
Dfsl_phyksz8041.c60 uint32_t counter = PHY_READID_TIMEOUT_COUNT; in PHY_KSZ8041_Init() local
76 counter--; in PHY_KSZ8041_Init()
77 } while ((regValue != PHY_CONTROL_ID1) && (counter != 0U)); in PHY_KSZ8041_Init()
79 if (counter == 0U) in PHY_KSZ8041_Init()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phyksz8081/
Dfsl_phyksz8081.c71 uint32_t counter = PHY_READID_TIMEOUT_COUNT; in PHY_KSZ8081_Init() local
87 counter--; in PHY_KSZ8081_Init()
88 } while ((regValue != PHY_CONTROL_ID1) && (counter != 0U)); in PHY_KSZ8081_Init()
90 if (counter == 0U) in PHY_KSZ8081_Init()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phyvsc8541/
Dfsl_phyvsc8541.c76 uint32_t counter = PHY_READID_TIMEOUT_COUNT; in PHY_VSC8541_Init() local
101 counter--; in PHY_VSC8541_Init()
102 } while ((devId != PHY_DEVICE_ID) && (counter != 0U)); in PHY_VSC8541_Init()
104 if (counter == 0U) in PHY_VSC8541_Init()
/hal_nxp-latest/mcux/mcux-sdk/drivers/flexcomm/usart/
Dfsl_usart.c344 config->rxTimeout.counter = 0U; in USART_GetDefaultConfig()
374 uint32_t counter = 0U; in USART_CalcTimeoutConfig() local
379 counter = target_us * (srcClock_Hz / 1000000UL) / (16U * (perscalar + 1U)); in USART_CalcTimeoutConfig()
380 calculate_us = 16U * (perscalar + 1U) * counter / (srcClock_Hz / 1000000UL); in USART_CalcTimeoutConfig()
385 *rxTimeoutcounter = counter; in USART_CalcTimeoutConfig()
394 *rxTimeoutcounter = counter; in USART_CalcTimeoutConfig()
414 USART_FIFORXTIMEOUTCFG_RXTIMEOUT_VALUE(config->counter) | in USART_SetRxTimeoutConfig()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phyrtl8201/
Dfsl_phyrtl8201.c71 uint32_t counter = PHY_READID_TIMEOUT_COUNT; in PHY_RTL8201_Init() local
96 counter--; in PHY_RTL8201_Init()
97 } while ((devId != PHY_DEVICE_ID) && (counter != 0U)); in PHY_RTL8201_Init()
99 if (counter == 0U) in PHY_RTL8201_Init()
/hal_nxp-latest/mcux/mcux-sdk/drivers/otfad/
Dfsl_otfad.c145 const uint32_t *tempCounter = config->counter; in OTFAD_SetEncryptionConfig()
210 config->counter[0] = base->CTX[config->contextIndex].CTR[0]; in OTFAD_GetEncryptionConfig()
211 config->counter[1] = base->CTX[config->contextIndex].CTR[1]; in OTFAD_GetEncryptionConfig()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phyrtl8211f/
Dfsl_phyrtl8211f.c101 uint32_t counter = PHY_READID_TIMEOUT_COUNT; in PHY_RTL8211F_Init() local
117 counter--; in PHY_RTL8211F_Init()
118 } while ((regValue != PHY_CONTROL_ID1) && (counter != 0U)); in PHY_RTL8211F_Init()
120 if (counter == 0U) in PHY_RTL8211F_Init()
/hal_nxp-latest/mcux/mcux-sdk/components/phy/device/phyar8031/
Dfsl_phyar8031.c107 uint32_t counter = PHY_READID_TIMEOUT_COUNT; in PHY_AR8031_Init() local
123 counter--; in PHY_AR8031_Init()
124 } while ((regValue != PHY_CONTROL_ID1) && (counter != 0U)); in PHY_AR8031_Init()
126 if (counter == 0U) in PHY_AR8031_Init()

12