Lines Matching refs:err_code

163     nrfx_err_t err_code = NRFX_SUCCESS;  in nrfx_uart_init()  local
167 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_uart_init()
170 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_init()
171 return err_code; in nrfx_uart_init()
183 err_code = NRFX_ERROR_BUSY; in nrfx_uart_init()
186 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_init()
187 return err_code; in nrfx_uart_init()
209 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_init()
210 return err_code; in nrfx_uart_init()
275 nrfx_err_t err_code; in nrfx_uart_tx() local
279 err_code = NRFX_ERROR_BUSY; in nrfx_uart_tx()
282 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_tx()
283 return err_code; in nrfx_uart_tx()
295 err_code = NRFX_SUCCESS; in nrfx_uart_tx()
307 err_code = NRFX_ERROR_FORBIDDEN; in nrfx_uart_tx()
319 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_tx()
320 return err_code; in nrfx_uart_tx()
359 nrfx_err_t err_code; in nrfx_uart_rx() local
377 err_code = NRFX_ERROR_BUSY; in nrfx_uart_rx()
380 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_rx()
381 return err_code; in nrfx_uart_rx()
432 err_code = NRFX_ERROR_INTERNAL; in nrfx_uart_rx()
435 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_rx()
436 return err_code; in nrfx_uart_rx()
441 err_code = NRFX_ERROR_FORBIDDEN; in nrfx_uart_rx()
444 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_rx()
445 return err_code; in nrfx_uart_rx()
463 err_code = NRFX_SUCCESS; in nrfx_uart_rx()
464 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_uart_rx()
465 return err_code; in nrfx_uart_rx()