Lines Matching refs:err_code

197     nrfx_err_t err_code = NRFX_SUCCESS;  in nrfx_uart_init()  local
202 err_code = NRFX_ERROR_ALREADY; in nrfx_uart_init()
204 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_uart_init()
208 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_init()
209 return err_code; in nrfx_uart_init()
219 err_code = NRFX_ERROR_BUSY; in nrfx_uart_init()
222 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_init()
223 return err_code; in nrfx_uart_init()
244 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_init()
245 return err_code; in nrfx_uart_init()
345 nrfx_err_t err_code; in nrfx_uart_tx() local
349 err_code = NRFX_ERROR_BUSY; in nrfx_uart_tx()
352 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_tx()
353 return err_code; in nrfx_uart_tx()
365 err_code = NRFX_SUCCESS; in nrfx_uart_tx()
377 err_code = NRFX_ERROR_FORBIDDEN; in nrfx_uart_tx()
389 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_tx()
390 return err_code; in nrfx_uart_tx()
430 nrfx_err_t err_code; in nrfx_uart_rx() local
448 err_code = NRFX_ERROR_BUSY; in nrfx_uart_rx()
451 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_rx()
452 return err_code; in nrfx_uart_rx()
503 err_code = NRFX_ERROR_INTERNAL; in nrfx_uart_rx()
506 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_rx()
507 return err_code; in nrfx_uart_rx()
512 err_code = NRFX_ERROR_FORBIDDEN; in nrfx_uart_rx()
515 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_rx()
516 return err_code; in nrfx_uart_rx()
534 err_code = NRFX_SUCCESS; in nrfx_uart_rx()
535 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_rx()
536 return err_code; in nrfx_uart_rx()