Searched refs:L2_CACHE_BYTES (Results 1 - 9 of 9) sorted by relevance
/linux-4.1.27/arch/tile/include/asm/ |
H A D | cache.h | 26 #define L2_CACHE_BYTES (1 << L2_CACHE_SHIFT) macro 27 #define L2_CACHE_ALIGN(x) (((x)+(L2_CACHE_BYTES-1)) & -L2_CACHE_BYTES) 37 * to manage coherence. As a result, we use L2_CACHE_BYTES for the 40 #define ARCH_DMA_MINALIGN L2_CACHE_BYTES 44 #define SMP_CACHE_BYTES L2_CACHE_BYTES 46 #define INTERNODE_CACHE_BYTES L2_CACHE_BYTES
|
H A D | cacheflush.h | 81 char *next = (char *)((long)buffer & -L2_CACHE_BYTES); __flush_buffer() 92 char *next = (char *)((long)buffer & -L2_CACHE_BYTES); __finv_buffer() 125 char *next = (char *)((long)buffer & -L2_CACHE_BYTES); __inv_buffer()
|
/linux-4.1.27/arch/c6x/include/asm/ |
H A D | cache.h | 27 #define L2_CACHE_BYTES (1 << L2_CACHE_SHIFT) macro 42 (((x) & ~(L2_CACHE_BYTES - 1))) 44 (((x) + (L2_CACHE_BYTES - 1)) & ~(L2_CACHE_BYTES - 1))
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | vmlinux.lds.S | 70 PERCPU_SECTION(L2_CACHE_BYTES) 76 RW_DATA_SECTION(L2_CACHE_BYTES, PAGE_SIZE, THREAD_SIZE) 79 EXCEPTION_TABLE(L2_CACHE_BYTES)
|
H A D | pci-dma.c | 142 if (offset & (L2_CACHE_BYTES - 1) || (size & (L2_CACHE_BYTES - 1))) __dma_prep_page()
|
H A D | setup.c | 100 __write_once __attribute__((aligned(L2_CACHE_BYTES))); 105 __write_once __attribute__((aligned(L2_CACHE_BYTES))); 851 char cpu_2_node[NR_CPUS] __write_once __attribute__((aligned(L2_CACHE_BYTES)));
|
/linux-4.1.27/arch/tile/lib/ |
H A D | usercopy_32.S | 104 { movei r2, L2_CACHE_BYTES; add r1, r0, r1 } 105 { sub r2, zero, r2; addi r1, r1, L2_CACHE_BYTES-1 } 124 { movei r2, L2_CACHE_BYTES; add r1, r0, r1 } 125 { sub r2, zero, r2; addi r1, r1, L2_CACHE_BYTES-1 }
|
H A D | usercopy_64.S | 104 { movei r2, L2_CACHE_BYTES; add r1, r0, r1 } 105 { sub r2, zero, r2; addi r1, r1, L2_CACHE_BYTES-1 } 124 { movei r2, L2_CACHE_BYTES; add r1, r0, r1 } 125 { sub r2, zero, r2; addi r1, r1, L2_CACHE_BYTES-1 }
|
H A D | cacheflush.c | 116 step_size = L2_CACHE_BYTES; finv_buffer_remote() 118 load_count = (size + L2_CACHE_BYTES - 1) / L2_CACHE_BYTES; finv_buffer_remote() 120 load_count = (STRIPE_WIDTH / L2_CACHE_BYTES) * finv_buffer_remote()
|
Completed in 125 milliseconds