Lines Matching refs:line_size
80 static ALWAYS_INLINE int nds_cctl_range_operations(void *addr, size_t size, int line_size, int cmd) in nds_cctl_range_operations() argument
86 align_addr = ROUND_DOWN(addr, line_size); in nds_cctl_range_operations()
96 align_addr += line_size; in nds_cctl_range_operations()
102 align_addr += line_size; in nds_cctl_range_operations()
519 unsigned long line_size; in andes_cache_init() local
522 line_size = (csr_read(NDS_MICM_CFG) >> MICM_CFG_ISZ_SHIFT) & BIT_MASK(3); in andes_cache_init()
524 if (line_size == 0) { in andes_cache_init()
530 if (line_size <= 5) { in andes_cache_init()
531 cache_cfg.instr_line_size = 1 << (line_size + 2); in andes_cache_init()
547 line_size = (csr_read(NDS_MDCM_CFG) >> MDCM_CFG_DSZ_SHIFT) & BIT_MASK(3); in andes_cache_init()
548 if (line_size == 0) { in andes_cache_init()
554 if (line_size <= 5) { in andes_cache_init()
555 cache_cfg.data_line_size = 1 << (line_size + 2); in andes_cache_init()