@@ -72,8 +72,9 @@ __subsystem struct syscon_driver_api {
7272 *
7373 * @param dev The device to get the register size for.
7474 * @param addr Where to write the base address.
75- * @return 0 When @a addr was written to.
76- * @return -ENOSYS If the API or function isn't implemented.
75+ *
76+ * @retval 0 When @a addr was written to.
77+ * @retval -ENOSYS If the API or function isn't implemented.
7778 */
7879__syscall int syscon_get_base (const struct device * dev , uintptr_t * addr );
7980
@@ -98,8 +99,8 @@ static inline int z_impl_syscon_get_base(const struct device *dev, uintptr_t *ad
9899 * @param reg The register offset
99100 * @param val The returned value read from the syscon register
100101 *
101- * @return 0 on success.
102- * @return -ENOSYS If the API or function isn't implemented.
102+ * @retval 0 on success.
103+ * @retval -ENOSYS If the API or function isn't implemented.
103104 */
104105__syscall int syscon_read_reg (const struct device * dev , uint16_t reg , uint32_t * val );
105106
@@ -124,8 +125,8 @@ static inline int z_impl_syscon_read_reg(const struct device *dev, uint16_t reg,
124125 * @param reg The register offset
125126 * @param val The value to be written in the register
126127 *
127- * @return 0 on success.
128- * @return -ENOSYS If the API or function isn't implemented.
128+ * @retval 0 on success.
129+ * @retval -ENOSYS If the API or function isn't implemented.
129130 */
130131__syscall int syscon_write_reg (const struct device * dev , uint16_t reg , uint32_t val );
131132
@@ -145,8 +146,9 @@ static inline int z_impl_syscon_write_reg(const struct device *dev, uint16_t reg
145146 *
146147 * @param dev The device to get the register size for.
147148 * @param size Pointer to write the size to.
148- * @return 0 for success.
149- * @return -ENOSYS If the API or function isn't implemented.
149+ *
150+ * @retval 0 on success.
151+ * @retval -ENOSYS If the API or function isn't implemented.
150152 */
151153__syscall int syscon_get_size (const struct device * dev , size_t * size );
152154
0 commit comments