Lines Matching +full:compile +full:- +full:time
5 * SPDX-License-Identifier: Apache-2.0
48 * @brief Enable the d-cache
61 * @brief Disable the d-cache
74 * @brief Enable the i-cache
87 * @brief Disable the i-cache
100 * @brief Flush the d-cache
105 * @retval -ENOTSUP If not supported.
106 * @retval -errno Negative errno for other failures.
113 return -ENOTSUP; in sys_cache_data_flush_all()
117 * @brief Flush the i-cache
122 * @retval -ENOTSUP If not supported.
123 * @retval -errno Negative errno for other failures.
130 return -ENOTSUP; in sys_cache_instr_flush_all()
134 * @brief Invalidate the d-cache
139 * @retval -ENOTSUP If not supported.
140 * @retval -errno Negative errno for other failures.
147 return -ENOTSUP; in sys_cache_data_invd_all()
151 * @brief Invalidate the i-cache
156 * @retval -ENOTSUP If not supported.
157 * @retval -errno Negative errno for other failures.
164 return -ENOTSUP; in sys_cache_instr_invd_all()
168 * @brief Flush and Invalidate the d-cache
173 * @retval -ENOTSUP If not supported.
174 * @retval -errno Negative errno for other failures.
181 return -ENOTSUP; in sys_cache_data_flush_and_invd_all()
185 * @brief Flush and Invalidate the i-cache
190 * @retval -ENOTSUP If not supported.
191 * @retval -errno Negative errno for other failures.
198 return -ENOTSUP; in sys_cache_instr_flush_and_invd_all()
202 * @brief Flush an address range in the d-cache
209 * not a problem because writing back is a non-destructive process that
210 * could be triggered by hardware at any time, so having an aligned
217 * @retval -ENOTSUP If not supported.
218 * @retval -errno Negative errno for other failures.
230 return -ENOTSUP; in z_impl_sys_cache_data_flush_range()
234 * @brief Flush an address range in the i-cache
241 * not a problem because writing back is a non-destructive process that
242 * could be triggered by hardware at any time, so having an aligned
249 * @retval -ENOTSUP If not supported.
250 * @retval -errno Negative errno for other failures.
260 return -ENOTSUP; in sys_cache_instr_flush_range()
264 * @brief Invalidate an address range in the d-cache
270 * non-read-only data structures sharing the same line will be
280 * @retval -ENOTSUP If not supported.
281 * @retval -errno Negative errno for other failures.
293 return -ENOTSUP; in z_impl_sys_cache_data_invd_range()
297 * @brief Invalidate an address range in the i-cache
303 * non-read-only data structures sharing the same line will be
313 * @retval -ENOTSUP If not supported.
314 * @retval -errno Negative errno for other failures.
324 return -ENOTSUP; in sys_cache_instr_invd_range()
328 * @brief Flush and Invalidate an address range in the d-cache
336 * non-destructive process that could be triggered by hardware at any
337 * time, so having an aligned @p addr or a padded @p size is not strictly
344 * @retval -ENOTSUP If not supported.
345 * @retval -errno Negative errno for other failures.
357 return -ENOTSUP; in z_impl_sys_cache_data_flush_and_invd_range()
361 * @brief Flush and Invalidate an address range in the i-cache
369 * non-destructive process that could be triggered by hardware at any
370 * time, so having an aligned @p addr or a padded @p size is not strictly
377 * @retval -ENOTSUP If not supported.
378 * @retval -errno Negative errno for other failures.
388 return -ENOTSUP; in sys_cache_instr_flush_and_invd_range()
393 * @brief Get the d-cache line size.
399 * - At run-time when @kconfig{CONFIG_DCACHE_LINE_SIZE_DETECT} is set.
400 * - At compile time using the value set in @kconfig{CONFIG_DCACHE_LINE_SIZE}.
401 * - At compile time using the `d-cache-line-size` CPU0 property of the DT.
402 * - 0 otherwise
404 * @retval size Size of the d-cache line.
405 * @retval 0 If the d-cache is not enabled.
420 * @brief Get the i-cache line size.
426 * - At run-time when @kconfig{CONFIG_ICACHE_LINE_SIZE_DETECT} is set.
427 * - At compile time using the value set in @kconfig{CONFIG_ICACHE_LINE_SIZE}.
428 * - At compile time using the `i-cache-line-size` CPU0 property of the DT.
429 * - 0 otherwise
431 * @retval size Size of the d-cache line.
432 * @retval 0 If the d-cache is not enabled.
470 * @brief Test if a pointer is in un-cached region.
475 * pointer is within the un-cached, incoherent area.