File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed
soc/nordic/ironside/include/nrf_ironside Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ BUILD_ASSERT(IRONSIDE_CPUCONF_NUM_ARGS <= NRF_IRONSIDE_CALL_NUM_ARGS);
63
63
* If the given msg_size is less than that, the remaining bytes are set to zero.
64
64
*
65
65
* @retval 0 on success or if the CPU has already booted.
66
- * @retval Positive non-0 error status if reported by IronSide call.
67
- * @retval -IRONSIDE_CPUCONF_ERROR_WRONG_CPU if cpu is unrecognized
66
+ * @retval -IRONSIDE_CPUCONF_ERROR_WRONG_CPU if cpu is unrecognized.
68
67
* @retval -IRONSIDE_CPUCONF_ERROR_MESSAGE_TOO_LARGE if msg_size is greater than
69
68
* IRONSIDE_CPUCONF_SERVICE_MSG_MAX_SIZE.
69
+ * @retval Positive error status if reported by IronSide call (see error codes in @ref call.h).
70
70
*/
71
71
int ironside_cpuconf (NRF_PROCESSORID_Type cpu , const void * vector_table , bool cpu_wait ,
72
72
const uint8_t * msg , size_t msg_size );
Original file line number Diff line number Diff line change @@ -68,7 +68,19 @@ enum ironside_dvfs_oppoint {
68
68
* specified value. It will block until the change is applied.
69
69
*
70
70
* @param dvfs_oppoint The new DVFS oppoint to set.
71
- * @return int 0 on success, negative error code on failure.
71
+ *
72
+ * @retval 0 on success.
73
+ * @retval -IRONSIDE_DVFS_ERROR_WRONG_OPPOINT if the requested DVFS oppoint is not allowed.
74
+ * @retval -IRONSIDE_DVFS_ERROR_BUSY if waiting for mutex lock timed out, or hardware is busy.
75
+ * @retval -IRONSIDE_DVFS_ERROR_OPPOINT_DATA if there is configuration error in the DVFS service.
76
+ * @retval -IRONSIDE_DVFS_ERROR_PERMISSION if the caller does not have permission to change the DVFS
77
+ * oppoint.
78
+ * @retval -IRONSIDE_DVFS_ERROR_NO_CHANGE_NEEDED if the requested DVFS oppoint is already set.
79
+ * @retval -IRONSIDE_DVFS_ERROR_TIMEOUT if the operation timed out, possibly due to a hardware
80
+ * issue.
81
+ * @retval -IRONSIDE_DVFS_ERROR_ISR_NOT_ALLOWED if the DVFS oppoint change operation is not allowed
82
+ * in the ISR context.
83
+ * @retval Positive error status if reported by IronSide call (see error codes in @ref call.h).
72
84
*/
73
85
int ironside_dvfs_change_oppoint (enum ironside_dvfs_oppoint dvfs_oppoint );
74
86
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ enum ironside_se_tdd_config {
31
31
* @param config The configuration to be applied.
32
32
*
33
33
* @retval 0 on success.
34
- * @retval -IRONSIDE_SE_TDD_ERROR_EINVAL on invalid argument.
34
+ * @retval -IRONSIDE_SE_TDD_SERVICE_ERROR_INVALID_CONFIG if the configuration is invalid.
35
+ * @retval Positive error status if reported by IronSide call (see error codes in @ref call.h).
35
36
*/
36
37
int ironside_se_tdd_configure (const enum ironside_se_tdd_config config );
37
38
Original file line number Diff line number Diff line change @@ -61,10 +61,10 @@ struct ironside_update_blob {
61
61
*
62
62
* @param update Pointer to update blob
63
63
*
64
+ * @retval 0 on a successful request (although the update itself may still fail).
64
65
* @retval -IRONSIDE_UPDATE_ERROR_NOT_PERMITTED if missing access to the update candidate.
65
66
* @retval -IRONSIDE_UPDATE_ERROR_SICR_WRITE_FAILED if writing update parameters to SICR failed.
66
- * @returns Positive non-0 error status if reported by IronSide call.
67
- * @returns 0 on a successful request (although the update itself may still fail).
67
+ * @retval Positive error status if reported by IronSide call (see error codes in @ref call.h).
68
68
*
69
69
*/
70
70
int ironside_update (const struct ironside_update_blob * update );
You can’t perform that action at this time.
0 commit comments