Searched refs:align_addr (Results 1 – 2 of 2) sorted by relevance
148 unsigned long last_byte, align_addr, cmd; in nds_l2_cache_range() local170 align_addr = ROUND_DOWN(addr, l2_cache_cfg.line_size); in nds_l2_cache_range()173 while (align_addr <= last_byte) { in nds_l2_cache_range()174 sys_write32(align_addr, L2C_CCTLACC(hart_id)); in nds_l2_cache_range()176 align_addr += l2_cache_cfg.line_size; in nds_l2_cache_range()
82 unsigned long last_byte, align_addr; in nds_cctl_range_operations() local86 align_addr = ROUND_DOWN(addr, line_size); in nds_cctl_range_operations()93 while (align_addr <= last_byte) { in nds_cctl_range_operations()94 csr_write(NDS_UCCTLBEGINADDR, align_addr); in nds_cctl_range_operations()96 align_addr += line_size; in nds_cctl_range_operations()99 while (align_addr <= last_byte) { in nds_cctl_range_operations()100 csr_write(NDS_MCCTLBEGINADDR, align_addr); in nds_cctl_range_operations()102 align_addr += line_size; in nds_cctl_range_operations()