Lines Matching refs:err_code

168     nrfx_err_t err_code = NRFX_SUCCESS;  in nrfx_ppi_channel_assign()  local
172 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channel_assign()
176 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channel_assign()
186 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_assign()
187 return err_code; in nrfx_ppi_channel_assign()
192 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_fork_assign() local
196 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channel_fork_assign()
203 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_fork_assign()
204 return err_code; in nrfx_ppi_channel_fork_assign()
209 err_code = NRFX_ERROR_NOT_SUPPORTED; in nrfx_ppi_channel_fork_assign()
212 NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_fork_assign()
213 return err_code; in nrfx_ppi_channel_fork_assign()
219 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_enable() local
223 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channel_enable()
228 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channel_enable()
234 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_enable()
235 return err_code; in nrfx_ppi_channel_enable()
241 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channel_disable() local
245 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channel_disable()
250 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channel_disable()
255 err_code = NRFX_SUCCESS; in nrfx_ppi_channel_disable()
257 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channel_disable()
258 return err_code; in nrfx_ppi_channel_disable()
277 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_group_enable() local
281 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_group_enable()
285 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_group_enable()
291 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_group_enable()
292 return err_code; in nrfx_ppi_group_enable()
298 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_group_disable() local
302 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_group_disable()
308 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_group_disable()
309 return err_code; in nrfx_ppi_group_disable()
315 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channels_remove_from_group() local
319 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channels_remove_from_group()
323 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channels_remove_from_group()
327 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channels_remove_from_group()
335 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channels_remove_from_group()
336 return err_code; in nrfx_ppi_channels_remove_from_group()
342 nrfx_err_t err_code = NRFX_SUCCESS; in nrfx_ppi_channels_include_in_group() local
346 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channels_include_in_group()
350 err_code = NRFX_ERROR_INVALID_STATE; in nrfx_ppi_channels_include_in_group()
354 err_code = NRFX_ERROR_INVALID_PARAM; in nrfx_ppi_channels_include_in_group()
362 NRFX_LOG_INFO("Function: %s, error code: %s.", __func__, NRFX_LOG_ERROR_STRING_GET(err_code)); in nrfx_ppi_channels_include_in_group()
363 return err_code; in nrfx_ppi_channels_include_in_group()