Lines Matching refs:err_code

229     nrfx_err_t err_code = NRFX_SUCCESS;  in nrfx_ppi_channel_alloc()  local
232 err_code = NRFX_ERROR_NO_MEM; in nrfx_ppi_channel_alloc()
244 err_code = NRFX_SUCCESS; in nrfx_ppi_channel_alloc()
247 if (err_code == NRFX_SUCCESS) in nrfx_ppi_channel_alloc()
254 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_alloc()
255 return err_code; in nrfx_ppi_channel_alloc()
261 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_free() local
265 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channel_free()
275 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_free()
276 return err_code; in nrfx_ppi_channel_free()
287 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_assign() local
291 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channel_assign()
295 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channel_assign()
305 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_assign()
306 return err_code; in nrfx_ppi_channel_assign()
311 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_fork_assign() local
315 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channel_fork_assign()
322 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_fork_assign()
323 return err_code; in nrfx_ppi_channel_fork_assign()
325 err_code = NRFX_ERROR_NOT_SUPPORTED; in nrfx_ppi_channel_fork_assign()
328 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_fork_assign()
329 return err_code; in nrfx_ppi_channel_fork_assign()
335 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_enable() local
339 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channel_enable()
343 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channel_enable()
349 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_enable()
350 return err_code; in nrfx_ppi_channel_enable()
356 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_disable() local
360 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channel_disable()
364 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channel_disable()
369 err_code = NRFX_SUCCESS; in nrfx_ppi_channel_disable()
371 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_disable()
372 return err_code; in nrfx_ppi_channel_disable()
378 nrfx_err_t err_code; in nrfx_ppi_group_alloc() local
382 err_code = NRFX_ERROR_NO_MEM; in nrfx_ppi_group_alloc()
392 err_code = NRFX_SUCCESS; in nrfx_ppi_group_alloc()
395 if (err_code == NRFX_SUCCESS) in nrfx_ppi_group_alloc()
402 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_group_alloc()
403 return err_code; in nrfx_ppi_group_alloc()
409 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_group_free() local
413 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_group_free()
417 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_group_free()
426 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_group_free()
427 return err_code; in nrfx_ppi_group_free()
433 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_group_enable() local
437 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_group_enable()
441 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_group_enable()
447 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_group_enable()
448 return err_code; in nrfx_ppi_group_enable()
454 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_group_disable() local
458 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_group_disable()
464 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_group_disable()
465 return err_code; in nrfx_ppi_group_disable()
471 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channels_remove_from_group() local
475 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channels_remove_from_group()
479 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channels_remove_from_group()
483 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channels_remove_from_group()
491 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channels_remove_from_group()
492 return err_code; in nrfx_ppi_channels_remove_from_group()
498 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channels_include_in_group() local
502 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channels_include_in_group()
506 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channels_include_in_group()
510 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channels_include_in_group()
518 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channels_include_in_group()
519 return err_code; in nrfx_ppi_channels_include_in_group()