Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/boards/mcu/saml21/hal/src/
Dhal_i2c_m_sync.c49 int32_t ret; in i2c_m_sync_read() local
56 ret = _i2c_m_sync_transfer(&i2c->device, &msg); in i2c_m_sync_read()
58 if (ret) { in i2c_m_sync_read()
59 return ret; in i2c_m_sync_read()
72 int32_t ret; in i2c_m_sync_write() local
79 ret = _i2c_m_sync_transfer(&i2c->device, &msg); in i2c_m_sync_write()
81 if (ret) { in i2c_m_sync_write()
82 return ret; in i2c_m_sync_write()
165 int32_t ret; in i2c_m_sync_cmd_write() local
172 ret = _i2c_m_sync_transfer(&i2c->device, &msg); in i2c_m_sync_cmd_write()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rcc_ex.c215 HAL_StatusTypeDef ret = HAL_OK; /* Intermediate status */ in HAL_RCCEx_PeriphCLKConfig() local
243 ret = RCCEx_PLLSAI1_Config(&(PeriphClkInit->PLLSAI1), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
251 ret = RCCEx_PLLSAI2_Config(&(PeriphClkInit->PLLSAI2), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
265 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
269 if(ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
277 status = ret; in HAL_RCCEx_PeriphCLKConfig()
301 ret = RCCEx_PLLSAI1_Config(&(PeriphClkInit->PLLSAI1), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
307 ret = RCCEx_PLLSAI2_Config(&(PeriphClkInit->PLLSAI2), DIVIDER_P_UPDATE); in HAL_RCCEx_PeriphCLKConfig()
319 ret = HAL_ERROR; in HAL_RCCEx_PeriphCLKConfig()
323 if(ret == HAL_OK) in HAL_RCCEx_PeriphCLKConfig()
[all …]
Dstm32l4xx_hal_uart.c2792 HAL_StatusTypeDef ret = HAL_OK; in UART_SetConfig() local
2894 ret = HAL_ERROR; in UART_SetConfig()
2905 ret = HAL_ERROR; in UART_SetConfig()
2941 ret = HAL_ERROR; in UART_SetConfig()
2952 ret = HAL_ERROR; in UART_SetConfig()
2999 ret = HAL_ERROR; in UART_SetConfig()
3012 ret = HAL_ERROR; in UART_SetConfig()
3056 ret = HAL_ERROR; in UART_SetConfig()
3067 ret = HAL_ERROR; in UART_SetConfig()
3081 return ret; in UART_SetConfig()
Dstm32l4xx_ll_usb.c1326 HAL_StatusTypeDef ret = HAL_OK; in USB_HC_Init() local
1380 ret = HAL_ERROR; in USB_HC_Init()
1419 return ret; in USB_HC_Init()
1884 HAL_StatusTypeDef ret = HAL_OK; in USB_ActivateEndpoint() local
1909 ret = HAL_ERROR; in USB_ActivateEndpoint()
1989 return ret; in USB_ActivateEndpoint()
Dstm32l4xx_hal_irda.c2309 HAL_StatusTypeDef ret = HAL_OK; in IRDA_SetConfig() local
2388 ret = HAL_ERROR; in IRDA_SetConfig()
2399 ret = HAL_ERROR; in IRDA_SetConfig()
2402 return ret; in IRDA_SetConfig()
Dstm32l4xx_hal_smartcard.c2397 HAL_StatusTypeDef ret = HAL_OK; in SMARTCARD_SetConfig() local
2516 ret = HAL_ERROR; in SMARTCARD_SetConfig()
2527 ret = HAL_ERROR; in SMARTCARD_SetConfig()
2540 return ret; in SMARTCARD_SetConfig()
Dstm32l4xx_hal_hash.c2004 uint32_t ret = HASH_DIGEST_CALCULATION_NOT_STARTED; in HASH_Write_Block_Data() local
2069 ret = HASH_DIGEST_CALCULATION_STARTED; in HASH_Write_Block_Data()
2075 return ret; in HASH_Write_Block_Data()
Dstm32l4xx_hal_usart.c2935 HAL_StatusTypeDef ret = HAL_OK; in USART_SetConfig() local
3023 ret = HAL_ERROR; in USART_SetConfig()
3036 ret = HAL_ERROR; in USART_SetConfig()
3049 return ret; in USART_SetConfig()
Dstm32l4xx_hal_pcd.c1854 HAL_StatusTypeDef ret = HAL_OK; in HAL_PCD_EP_Open() local
1887 return ret; in HAL_PCD_EP_Open()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/CDC/Src/
Dusbd_cdc.c478 uint8_t ret = 0; in USBD_CDC_Init() local
521 ret = 1; in USBD_CDC_Init()
553 return ret; in USBD_CDC_Init()
566 uint8_t ret = 0; in USBD_CDC_DeInit() local
589 return ret; in USBD_CDC_DeInit()
793 uint8_t ret = USBD_FAIL; in USBD_CDC_RegisterInterface() local
798 ret = USBD_OK; in USBD_CDC_RegisterInterface()
801 return ret; in USBD_CDC_RegisterInterface()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Core/Src/
Dusbd_ctlreq.c121 USBD_StatusTypeDef ret = USBD_OK; in USBD_StdDevReq() local
160 return ret; in USBD_StdDevReq()
172 USBD_StatusTypeDef ret = USBD_OK; in USBD_StdItfReq() local
182 if((req->wLength == 0)&& (ret == USBD_OK)) in USBD_StdItfReq()
211 USBD_StatusTypeDef ret = USBD_OK; in USBD_StdEPReq() local
322 return ret; in USBD_StdEPReq()
Dusbd_core.c229 USBD_StatusTypeDef ret = USBD_FAIL; in USBD_SetClassConfig() local
236 ret = USBD_OK; in USBD_SetClassConfig()
239 return ret; in USBD_SetClassConfig()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32_USB_Device_Library/Class/DFU/Src/
Dusbd_dfu.c370 uint8_t ret = USBD_OK; in USBD_DFU_Setup() local
411 ret = USBD_FAIL; in USBD_DFU_Setup()
445 ret = USBD_FAIL; in USBD_DFU_Setup()
451 ret = USBD_FAIL; in USBD_DFU_Setup()
454 return ret; in USBD_DFU_Setup()
/loramac-node-3.4.0/src/boards/mcu/saml21/hpl/sercom/
Dhpl_sercom.c1199 int ret; in _i2c_m_async_transfer() local
1216 ret = _sercom_i2c_send_address(i2c_dev); in _i2c_m_async_transfer()
1218 if (ret) { in _i2c_m_async_transfer()
1221 return ret; in _i2c_m_async_transfer()
1479 int ret; in _i2c_m_sync_transfer() local
1493 ret = _sercom_i2c_sync_send_address(i2c_dev); in _i2c_m_sync_transfer()
1495 if (ret) { in _i2c_m_sync_transfer()
1498 return ret; in _i2c_m_sync_transfer()
1502 ret = _sercom_i2c_sync_wait_bus(i2c_dev, &flags); in _i2c_m_sync_transfer()
1504 if (ret) { in _i2c_m_sync_transfer()
[all …]
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_uart.c2113 HAL_StatusTypeDef ret = HAL_OK; in UART_SetConfig() local
2195 ret = HAL_ERROR; in UART_SetConfig()
2206 ret = HAL_ERROR; in UART_SetConfig()
2218 ret = HAL_ERROR; in UART_SetConfig()
2252 ret = HAL_ERROR; in UART_SetConfig()
2288 ret = HAL_ERROR; in UART_SetConfig()
2293 return ret; in UART_SetConfig()
Dstm32l0xx_hal_irda.c1790 HAL_StatusTypeDef ret = HAL_OK; in IRDA_SetConfig() local
1836 ret = HAL_ERROR; in IRDA_SetConfig()
1840 return ret; in IRDA_SetConfig()
Dstm32l0xx_hal_smartcard.c1661 HAL_StatusTypeDef ret = HAL_OK; in SMARTCARD_SetConfig() local
1748 ret = HAL_ERROR; in SMARTCARD_SetConfig()
1752 return ret; in SMARTCARD_SetConfig()
Dstm32l0xx_hal_usart.c2081 HAL_StatusTypeDef ret = HAL_OK; in USART_SetConfig() local
2143 ret = HAL_ERROR; in USART_SetConfig()
2151 return ret; in USART_SetConfig()
Dstm32l0xx_hal_pcd.c695 HAL_StatusTypeDef ret = HAL_OK; in HAL_PCD_EP_Open() local
787 return ret; in HAL_PCD_EP_Open()
/loramac-node-3.4.0/src/boards/mcu/stm32/STM32L1xx_HAL_Driver/Src/
Dstm32l1xx_hal_pcd.c934 HAL_StatusTypeDef ret = HAL_OK; in HAL_PCD_EP_Open() local
1028 return ret; in HAL_PCD_EP_Open()