Searched refs:cline_size (Results 1 – 2 of 2) sorted by relevance
138 u32 cline_size; in action_cache_range() local151 cline_size = get_cline_size(type); in action_cache_range()153 start_addr &= ~(cline_size - 1); in action_cache_range()157 size -= cline_size; in action_cache_range()158 start_addr += cline_size; in action_cache_range()159 } while (size > cline_size); in action_cache_range()
340 unsigned int cline_size = cache_line_size(); in inject_ecc_fn() local341 const unsigned int lines = PAGE_SIZE / cline_size; in inject_ecc_fn()360 memset((void *)addr, TEST_PATTERN, cline_size); in inject_ecc_fn()369 : : "r"(addr + i * cline_size)); in inject_ecc_fn()379 : : "r"(phys + i * cline_size)); in inject_ecc_fn()389 : : "r"(phys + i * cline_size)); in inject_ecc_fn()400 : : "r"(addr + i * cline_size)); in inject_ecc_fn()411 unsigned int cline_size = cache_line_size(); in thunderx_lmc_inject_ecc_write() local422 tmp = kmalloc(cline_size, GFP_KERNEL); in thunderx_lmc_inject_ecc_write()433 for (offs = 0; offs < PAGE_SIZE; offs += cline_size) { in thunderx_lmc_inject_ecc_write()[all …]