Home
last modified time | relevance | path

Searched refs:x86_clflush_size (Results 1 – 12 of 12) sorted by relevance

/linux/arch/x86/lib/
H A Dusercopy_64.c30 u16 x86_clflush_size = boot_cpu_data.x86_clflush_size; in clean_cache_range() local
31 unsigned long clflush_mask = x86_clflush_size - 1; in clean_cache_range()
36 p < vend; p += x86_clflush_size) in clean_cache_range()
68 dest = ALIGN(dest, boot_cpu_data.x86_clflush_size); in __copy_user_flushcache()
/linux/drivers/gpu/drm/
H A Ddrm_cache.c55 const int size = boot_cpu_data.x86_clflush_size; in drm_clflush_page()
163 const int size = boot_cpu_data.x86_clflush_size; in drm_clflush_virt_range()
/linux/arch/x86/kernel/cpu/
H A Dcommon.c916 c->x86_clflush_size = ((misc >> 8) & 0xff) * 8; in cpu_detect()
917 c->x86_cache_alignment = c->x86_clflush_size; in cpu_detect()
1062 c->x86_clflush_size = 64; in get_cpu_address_sizes()
1066 c->x86_clflush_size = 32; in get_cpu_address_sizes()
1081 if (!c->x86_clflush_size) in get_cpu_address_sizes()
1082 c->x86_clflush_size = 32; in get_cpu_address_sizes()
1086 c->x86_cache_alignment = c->x86_clflush_size; in get_cpu_address_sizes()
1800 c->x86_clflush_size = 64; in identify_cpu()
1805 c->x86_clflush_size = 32; in identify_cpu()
1809 c->x86_cache_alignment = c->x86_clflush_size; in identify_cpu()
H A Dcentaur.c65 c->x86_cache_alignment = c->x86_clflush_size * 2; in init_c3()
H A Dproc.c133 seq_printf(m, "clflush size\t: %u\n", c->x86_clflush_size); in show_cpuinfo()
H A Dintel.c594 c->x86_cache_alignment = c->x86_clflush_size * 2; in init_intel()
/linux/arch/x86/pci/
H A Dcommon.c491 if (c->x86_clflush_size > 0) { in pcibios_set_cache_line_size()
492 pci_dfl_cache_line_size = c->x86_clflush_size >> 2; in pcibios_set_cache_line_size()
/linux/arch/x86/include/asm/
H A Dprocessor.h165 u16 x86_clflush_size; member
/linux/drivers/gpu/drm/i915/
H A Di915_gem.c696 partial_cacheline_write = boot_cpu_data.x86_clflush_size - 1; in i915_gem_shmem_pwrite()
H A Di915_cmd_parser.c1207 boot_cpu_data.x86_clflush_size); in copy_batch()
/linux/arch/x86/mm/pat/
H A Dset_memory.c317 const unsigned long clflush_size = boot_cpu_data.x86_clflush_size; in clflush_cache_range_opt()
/linux/drivers/md/
H A Ddm-writecache.c1232 likely(boot_cpu_data.x86_clflush_size == 64) && in memcpy_flushcache_optimized()