Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 117) sorted by relevance

12345

/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_hal_rcc_ex.c109 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
128 ret = RCCEx_PLL2_Config(&(PeriphClkInit->PLL2), DIVIDER_R_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
134 ret = RCCEx_PLL3_Config(&(PeriphClkInit->PLL3), DIVIDER_R_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
145 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
149 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
157 status = ret; in HAL_RCCEx_PeriphCLKConfig()
175 ret = RCCEx_PLL2_Config(&(PeriphClkInit->PLL2), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
181 ret = RCCEx_PLL3_Config(&(PeriphClkInit->PLL3), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
197 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
201 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
[all …]
Dstm32h7xx_ll_usb.c85 HAL_StatusTypeDef ret; in USB_CoreInit() local
101 ret = USB_CoreReset(USBx); in USB_CoreInit()
109 ret = USB_CoreReset(USBx); in USB_CoreInit()
133 return ret; in USB_CoreInit()
302 HAL_StatusTypeDef ret = HAL_OK; in USB_DevInit() local
357 ret = HAL_ERROR; in USB_DevInit()
362 ret = HAL_ERROR; in USB_DevInit()
444 return ret; in USB_DevInit()
921 HAL_StatusTypeDef ret = HAL_OK; in USB_EPStopXfer() local
939 ret = HAL_ERROR; in USB_EPStopXfer()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_rcc_ex.c166 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
197 ret = RCCEx_PLL2_Config(&(pPeriphClkInit->PLL2)); in HAL_RCCEx_PeriphCLKConfig()
203 ret = RCCEx_PLL3_Config(&(pPeriphClkInit->PLL3)); in HAL_RCCEx_PeriphCLKConfig()
221 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
225 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
233 status = ret; in HAL_RCCEx_PeriphCLKConfig()
252 ret = RCCEx_PLL2_Config(&(pPeriphClkInit->PLL2)); in HAL_RCCEx_PeriphCLKConfig()
259 ret = RCCEx_PLL3_Config(&(pPeriphClkInit->PLL3)); in HAL_RCCEx_PeriphCLKConfig()
277 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
281 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
[all …]
Dstm32h5xx_ll_usb.c94 HAL_StatusTypeDef ret; in USB_CoreInit() local
103 ret = USB_CoreReset(USBx); in USB_CoreInit()
108 return ret; in USB_CoreInit()
194 HAL_StatusTypeDef ret; in USB_DevInit() local
206 ret = USB_SetCurrentMode(USBx, USB_DEVICE_MODE); in USB_DevInit()
211 return ret; in USB_DevInit()
223 HAL_StatusTypeDef ret = HAL_OK; in USB_ActivateEndpoint() local
248 ret = HAL_ERROR; in USB_ActivateEndpoint()
345 return ret; in USB_ActivateEndpoint()
1080 HAL_StatusTypeDef ret = HAL_OK; in USB_HC_Init() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_pwr_ex.c651 HAL_StatusTypeDef ret = HAL_OK; in HAL_PWREx_EnableStandbyIORetention() local
664 ret = HAL_ERROR; in HAL_PWREx_EnableStandbyIORetention()
676 ret = HAL_ERROR; in HAL_PWREx_EnableStandbyIORetention()
688 ret = HAL_ERROR; in HAL_PWREx_EnableStandbyIORetention()
700 ret = HAL_ERROR; in HAL_PWREx_EnableStandbyIORetention()
709 ret = HAL_ERROR; in HAL_PWREx_EnableStandbyIORetention()
713 return ret; in HAL_PWREx_EnableStandbyIORetention()
731 HAL_StatusTypeDef ret = HAL_OK; in HAL_PWREx_DisableStandbyIORetention() local
744 ret = HAL_ERROR; in HAL_PWREx_DisableStandbyIORetention()
756 ret = HAL_ERROR; in HAL_PWREx_DisableStandbyIORetention()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_rcc_ex.c434 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
614 ret = RCCEx_PLL2_Config(&(pPeriphClkInit->PLL2)); in HAL_RCCEx_PeriphCLKConfig()
620 ret = RCCEx_PLL3_Config(&(pPeriphClkInit->PLL3)); in HAL_RCCEx_PeriphCLKConfig()
633 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
637 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
645 status = ret; in HAL_RCCEx_PeriphCLKConfig()
666 ret = RCCEx_PLL2_Config(&(pPeriphClkInit->PLL2)); in HAL_RCCEx_PeriphCLKConfig()
672 ret = RCCEx_PLL3_Config(&(pPeriphClkInit->PLL3)); in HAL_RCCEx_PeriphCLKConfig()
684 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
688 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
[all …]
Dstm32u5xx_ll_usb.c85 HAL_StatusTypeDef ret; in USB_CoreInit() local
95 ret = USB_CoreReset(USBx); in USB_CoreInit()
109 ret = USB_CoreReset(USBx); in USB_CoreInit()
124 return ret; in USB_CoreInit()
293 HAL_StatusTypeDef ret = HAL_OK; in USB_DevInit() local
371 ret = HAL_ERROR; in USB_DevInit()
376 ret = HAL_ERROR; in USB_DevInit()
458 return ret; in USB_DevInit()
935 HAL_StatusTypeDef ret = HAL_OK; in USB_EPStopXfer() local
953 ret = HAL_ERROR; in USB_EPStopXfer()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_usb.c85 HAL_StatusTypeDef ret; in USB_CoreInit() local
101 ret = USB_CoreReset(USBx); in USB_CoreInit()
109 ret = USB_CoreReset(USBx); in USB_CoreInit()
129 return ret; in USB_CoreInit()
298 HAL_StatusTypeDef ret = HAL_OK; in USB_DevInit() local
374 ret = HAL_ERROR; in USB_DevInit()
379 ret = HAL_ERROR; in USB_DevInit()
461 return ret; in USB_DevInit()
1009 HAL_StatusTypeDef ret = HAL_OK; in USB_EPStopXfer() local
1027 ret = HAL_ERROR; in USB_EPStopXfer()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_rcc_ex.c197 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
225 ret = RCCEx_PLLSAI1_Config(&(PeriphClkInit->PLLSAI1), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
233 ret = RCCEx_PLLSAI2_Config(&(PeriphClkInit->PLLSAI2), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
247 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
251 if(ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
259 status = ret; in HAL_RCCEx_PeriphCLKConfig()
283 ret = RCCEx_PLLSAI1_Config(&(PeriphClkInit->PLLSAI1), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
289 ret = RCCEx_PLLSAI2_Config(&(PeriphClkInit->PLLSAI2), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
301 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
305 if(ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
[all …]
Dstm32l4xx_ll_usb.c85 HAL_StatusTypeDef ret; in USB_CoreInit() local
91 ret = USB_CoreReset(USBx); in USB_CoreInit()
104 return ret; in USB_CoreInit()
269 HAL_StatusTypeDef ret = HAL_OK; in USB_DevInit() local
308 ret = HAL_ERROR; in USB_DevInit()
313 ret = HAL_ERROR; in USB_DevInit()
392 return ret; in USB_DevInit()
870 HAL_StatusTypeDef ret = HAL_OK; in USB_EPStopXfer() local
888 ret = HAL_ERROR; in USB_EPStopXfer()
907 ret = HAL_ERROR; in USB_EPStopXfer()
[all …]
Dstm32l4xx_hal_uart.c3152 HAL_StatusTypeDef ret = HAL_OK; in UART_SetConfig() local
3238 ret = HAL_ERROR; in UART_SetConfig()
3253 ret = HAL_ERROR; in UART_SetConfig()
3266 ret = HAL_ERROR; in UART_SetConfig()
3276 ret = HAL_ERROR; in UART_SetConfig()
3287 ret = HAL_ERROR; in UART_SetConfig()
3315 ret = HAL_ERROR; in UART_SetConfig()
3335 ret = HAL_ERROR; in UART_SetConfig()
3360 ret = HAL_ERROR; in UART_SetConfig()
3378 ret = HAL_ERROR; in UART_SetConfig()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_rcc_ex.c148 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
172 ret = RCCEx_PLLSAI1_Config(&(PeriphClkInit->PLLSAI1), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
178 ret = RCCEx_PLLSAI2_Config(&(PeriphClkInit->PLLSAI2), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
188 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
192 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
200 status = ret; in HAL_RCCEx_PeriphCLKConfig()
220 ret = RCCEx_PLLSAI1_Config(&(PeriphClkInit->PLLSAI1), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
226 ret = RCCEx_PLLSAI2_Config(&(PeriphClkInit->PLLSAI2), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
236 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
240 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_usb.c88 HAL_StatusTypeDef ret; in USB_CoreInit() local
110 ret = USB_CoreReset(USBx); in USB_CoreInit()
142 ret = USB_CoreReset(USBx); in USB_CoreInit()
151 ret = USB_CoreReset(USBx); in USB_CoreInit()
163 return ret; in USB_CoreInit()
332 HAL_StatusTypeDef ret = HAL_OK; in USB_DevInit() local
402 ret = HAL_ERROR; in USB_DevInit()
407 ret = HAL_ERROR; in USB_DevInit()
489 return ret; in USB_DevInit()
1037 HAL_StatusTypeDef ret = HAL_OK; in USB_EPStopXfer() local
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_usb.c85 HAL_StatusTypeDef ret; in USB_CoreInit() local
101 ret = USB_CoreReset(USBx); in USB_CoreInit()
109 ret = USB_CoreReset(USBx); in USB_CoreInit()
121 return ret; in USB_CoreInit()
290 HAL_StatusTypeDef ret = HAL_OK; in USB_DevInit() local
343 ret = HAL_ERROR; in USB_DevInit()
348 ret = HAL_ERROR; in USB_DevInit()
430 return ret; in USB_DevInit()
907 HAL_StatusTypeDef ret = HAL_OK; in USB_EPStopXfer() local
925 ret = HAL_ERROR; in USB_EPStopXfer()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_rcc_ex.c150 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
174 ret = RCCEx_PLLSAI1_ConfigNP(&(PeriphClkInit->PLLSAI1)); in HAL_RCCEx_PeriphCLKConfig()
187 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
191 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
199 status = ret; in HAL_RCCEx_PeriphCLKConfig()
250 ret = HAL_TIMEOUT; in HAL_RCCEx_PeriphCLKConfig()
258 status = ret; in HAL_RCCEx_PeriphCLKConfig()
263 status = ret; in HAL_RCCEx_PeriphCLKConfig()
342 ret = RCCEx_PLLSAI1_ConfigNQ(&(PeriphClkInit->PLLSAI1)); in HAL_RCCEx_PeriphCLKConfig()
344 if (ret != HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_usb.c84 HAL_StatusTypeDef ret; in USB_CoreInit() local
91 ret = USB_CoreReset(USBx); in USB_CoreInit()
96 return ret; in USB_CoreInit()
261 HAL_StatusTypeDef ret = HAL_OK; in USB_DevInit() local
285 ret = HAL_ERROR; in USB_DevInit()
290 ret = HAL_ERROR; in USB_DevInit()
369 return ret; in USB_DevInit()
943 HAL_StatusTypeDef ret; in USB_StopDevice() local
960 ret = USB_FlushRxFifo(USBx); in USB_StopDevice()
961 if (ret != HAL_OK) in USB_StopDevice()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_rcc_ex.c117 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
141 ret = HAL_TIMEOUT; in HAL_RCCEx_PeriphCLKConfig()
146 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
173 ret = HAL_TIMEOUT; in HAL_RCCEx_PeriphCLKConfig()
179 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
187 status = ret; in HAL_RCCEx_PeriphCLKConfig()
193 status = ret; in HAL_RCCEx_PeriphCLKConfig()
Dstm32wlxx_hal.c986 int32_t ret; in HAL_RADIO_GetRFOMaxPowerConfig() local
990 ret = RADIO_CONF_RFO_LP_MAX_15_dBm; in HAL_RADIO_GetRFOMaxPowerConfig()
994 ret = RADIO_CONF_RFO_HP_MAX_22_dBm; in HAL_RADIO_GetRFOMaxPowerConfig()
997 return ret; in HAL_RADIO_GetRFOMaxPowerConfig()
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_hal_rcc_ex.c96 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
144 ret = HAL_TIMEOUT; in HAL_RCCEx_PeriphCLKConfig()
150 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
158 status = ret; in HAL_RCCEx_PeriphCLKConfig()
/hal_stm32-3.5.0/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_hal_rcc_ex.c116 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
147 ret = HAL_TIMEOUT; in HAL_RCCEx_PeriphCLKConfig()
152 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
180 ret = HAL_TIMEOUT; in HAL_RCCEx_PeriphCLKConfig()
186 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
194 status = ret; in HAL_RCCEx_PeriphCLKConfig()
200 status = ret; in HAL_RCCEx_PeriphCLKConfig()
Dstm32g0xx_ll_usb.c211 HAL_StatusTypeDef ret = HAL_OK; in USB_ActivateEndpoint() local
236 ret = HAL_ERROR; in USB_ActivateEndpoint()
333 return ret; in USB_ActivateEndpoint()
1068 HAL_StatusTypeDef ret = HAL_OK; in USB_HC_Init() local
1096 ret = HAL_ERROR; in USB_HC_Init()
1116 return ret; in USB_HC_Init()
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_hal_rcc_ex.c127 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
158 ret = HAL_TIMEOUT; in HAL_RCCEx_PeriphCLKConfig()
163 if(ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
190 ret = HAL_TIMEOUT; in HAL_RCCEx_PeriphCLKConfig()
196 if(ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
204 status = ret; in HAL_RCCEx_PeriphCLKConfig()
210 status = ret; in HAL_RCCEx_PeriphCLKConfig()
Dstm32g4xx_hal_uart.c3029 HAL_StatusTypeDef ret = HAL_OK; in UART_SetConfig() local
3109 ret = HAL_ERROR; in UART_SetConfig()
3123 ret = HAL_ERROR; in UART_SetConfig()
3136 ret = HAL_ERROR; in UART_SetConfig()
3164 ret = HAL_ERROR; in UART_SetConfig()
3180 ret = HAL_ERROR; in UART_SetConfig()
3205 ret = HAL_ERROR; in UART_SetConfig()
3219 ret = HAL_ERROR; in UART_SetConfig()
3232 return ret; in UART_SetConfig()
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_hal_rcc_ex.c642 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
1773 ret = HAL_TIMEOUT; in HAL_RCCEx_PeriphCLKConfig()
1777 if (ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
1801 ret = HAL_RCC_OscConfig(&RCC_OscInitStructure); in HAL_RCCEx_PeriphCLKConfig()
1802 if (ret != HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
1804 return ret; in HAL_RCCEx_PeriphCLKConfig()
1828 return ret; in HAL_RCCEx_PeriphCLKConfig()
/hal_stm32-3.5.0/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_hal_uart.c2993 HAL_StatusTypeDef ret = HAL_OK; in UART_SetConfig() local
3074 ret = HAL_ERROR; in UART_SetConfig()
3086 ret = HAL_ERROR; in UART_SetConfig()
3097 ret = HAL_ERROR; in UART_SetConfig()
3131 ret = HAL_ERROR; in UART_SetConfig()
3147 ret = HAL_ERROR; in UART_SetConfig()
3179 ret = HAL_ERROR; in UART_SetConfig()
3193 ret = HAL_ERROR; in UART_SetConfig()
3203 return ret; in UART_SetConfig()

12345