Lines Matching +full:wait +full:- +full:long

4  * SPDX-License-Identifier: Apache-2.0
82 unsigned long last_byte, align_addr; in nds_cctl_range_operations()
83 unsigned long status = csr_read(mstatus); in nds_cctl_range_operations()
85 last_byte = (unsigned long)addr + size - 1; in nds_cctl_range_operations()
111 unsigned long sets, ways, end; in nds_l1i_cache_all()
112 unsigned long status = csr_read(mstatus); in nds_l1i_cache_all()
120 return -ENOTSUP; in nds_l1i_cache_all()
140 unsigned long status = csr_read(mstatus); in nds_l1d_cache_all()
148 return -ENOTSUP; in nds_l1d_cache_all()
163 return -ENOTSUP; in nds_l1d_cache_all()
171 unsigned long cmd; in nds_l1i_cache_range()
183 unsigned long cmd; in nds_l1d_cache_range()
196 return -ENOTSUP; in nds_l1d_cache_range()
213 /* Enable D-cache coherence management */ in cache_data_enable()
218 /* Wait for cache coherence enabling completed */ in cache_data_enable()
224 /* Enable D-cache */ in cache_data_enable()
231 unsigned long status = csr_read(mstatus); in cache_data_disable()
258 /* Wait for cache coherence disabling completed */ in cache_data_disable()
287 unsigned long ret = 0; in cache_data_invd_all()
290 return -ENOTSUP; in cache_data_invd_all()
310 unsigned long ret = 0; in cache_data_invd_range()
313 return -ENOTSUP; in cache_data_invd_range()
330 unsigned long ret = 0; in cache_instr_invd_all()
333 return -ENOTSUP; in cache_instr_invd_all()
337 return -ENOTSUP; in cache_instr_invd_all()
341 /* CCTL IX type command is not to RISC-V Smepmp */ in cache_instr_invd_all()
345 return -ENOTSUP; in cache_instr_invd_all()
352 return -ENOTSUP; in cache_instr_invd_all()
367 unsigned long ret = 0; in cache_instr_invd_range()
370 return -ENOTSUP; in cache_instr_invd_range()
377 return -ENOTSUP; in cache_instr_invd_range()
389 unsigned long ret = 0; in cache_data_flush_all()
392 return -ENOTSUP; in cache_data_flush_all()
409 unsigned long ret = 0; in cache_data_flush_range()
412 return -ENOTSUP; in cache_data_flush_range()
429 unsigned long ret = 0; in cache_data_flush_and_invd_all()
432 return -ENOTSUP; in cache_data_flush_and_invd_all()
454 unsigned long ret = 0; in cache_data_flush_and_invd_range()
457 return -ENOTSUP; in cache_data_flush_and_invd_range()
479 return -ENOTSUP; in cache_instr_flush_all()
484 return -ENOTSUP; in cache_instr_flush_and_invd_all()
492 return -ENOTSUP; in cache_instr_flush_range()
500 return -ENOTSUP; in cache_instr_flush_and_invd_range()
519 unsigned long line_size; in andes_cache_init()
525 LOG_ERR("Platform doesn't support I-cache, " in andes_cache_init()
533 LOG_ERR("Unknown line size of I-cache"); in andes_cache_init()
541 LOG_ERR("Please specific the i-cache-line-size " in andes_cache_init()
549 LOG_ERR("Platform doesn't support D-cache, " in andes_cache_init()
557 LOG_ERR("Unknown line size of D-cache"); in andes_cache_init()
565 LOG_ERR("Please specific the d-cache-line-size " in andes_cache_init()