/arch/m68k/kernel/ |
D | sys_m68k.c | 68 cache_flush_040 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_040() argument 72 switch (scope) in cache_flush_040() 228 cache_flush_060 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_060() argument 238 switch (scope) in cache_flush_060() 378 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) in sys_cacheflush() argument 382 if (scope < FLUSH_SCOPE_LINE || scope > FLUSH_SCOPE_ALL || in sys_cacheflush() 386 if (scope == FLUSH_SCOPE_ALL) { in sys_cacheflush() 411 if (scope == FLUSH_SCOPE_LINE && len < 256) { in sys_cacheflush() 444 if (len>=3*PAGE_SIZE && scope<FLUSH_SCOPE_PAGE) in sys_cacheflush() 445 scope=FLUSH_SCOPE_PAGE; in sys_cacheflush() [all …]
|
/arch/arm64/include/asm/ |
D | spectre.h | 84 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope); 87 bool has_spectre_v3a(const struct arm64_cpu_capabilities *cap, int scope); 91 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope); 97 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope); 98 u8 spectre_bhb_loop_affected(int scope);
|
D | cpufeature.h | 315 bool (*matches)(const struct arm64_cpu_capabilities *caps, int scope); 375 int scope) in cpucap_multi_entry_cap_matches() argument 380 if (caps->matches(caps, scope)) in cpucap_multi_entry_cap_matches() 617 static inline bool supports_csv2p3(int scope) in supports_csv2p3() argument 622 if (scope == SCOPE_LOCAL_CPU) in supports_csv2p3() 632 static inline bool supports_clearbhb(int scope) in supports_clearbhb() argument 636 if (scope == SCOPE_LOCAL_CPU) in supports_clearbhb()
|
/arch/arm64/kernel/ |
D | cpu_errata.c | 18 is_affected_midr_range(const struct arm64_cpu_capabilities *entry, int scope) in is_affected_midr_range() argument 23 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range() 38 int scope) in is_affected_midr_range_list() argument 40 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list() 45 is_kryo_midr(const struct arm64_cpu_capabilities *entry, int scope) in is_kryo_midr() argument 49 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr() 60 int scope) in has_mismatched_cache_type() argument 66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type() 114 int scope) in has_cortex_a76_erratum_1463225() argument 116 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225() [all …]
|
D | proton-pack.c | 202 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v2() argument 204 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2() 325 bool has_spectre_v3a(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v3a() argument 333 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a() 511 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) in has_spectre_v4() argument 515 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4() 848 u8 spectre_bhb_loop_affected(int scope) in spectre_bhb_loop_affected() argument 853 if (scope == SCOPE_LOCAL_CPU) { in spectre_bhb_loop_affected() 919 static bool is_spectre_bhb_fw_affected(int scope) in is_spectre_bhb_fw_affected() argument 932 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_fw_affected() [all …]
|
D | cpufeature.c | 1296 has_cpuid_feature(const struct arm64_cpu_capabilities *entry, int scope) in has_cpuid_feature() argument 1300 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible()); in has_cpuid_feature() 1301 if (scope == SCOPE_SYSTEM) in has_cpuid_feature() 1346 static bool has_32bit_el0(const struct arm64_cpu_capabilities *entry, int scope) in has_32bit_el0() argument 1348 if (!has_cpuid_feature(entry, scope)) in has_32bit_el0() 1351 if (scope == SCOPE_SYSTEM) in has_32bit_el0() 1357 static bool has_useable_gicv3_cpuif(const struct arm64_cpu_capabilities *entry, int scope) in has_useable_gicv3_cpuif() argument 1361 if (!has_cpuid_feature(entry, scope)) in has_useable_gicv3_cpuif() 1391 int scope) in has_cache_idc() argument 1395 if (scope == SCOPE_SYSTEM) in has_cache_idc() [all …]
|
/arch/powerpc/platforms/pseries/ |
D | mobility.c | 48 static int mobility_rtas_call(int token, char *buf, s32 scope) in mobility_rtas_call() argument 55 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in mobility_rtas_call() 151 static int update_dt_node(struct device_node *dn, s32 scope) in update_dt_node() argument 175 scope); in update_dt_node() 265 int pseries_devicetree_update(s32 scope) in pseries_devicetree_update() argument 281 rc = mobility_rtas_call(update_nodes_token, rtas_buf, scope); in pseries_devicetree_update() 310 update_dt_node(np, scope); in pseries_devicetree_update()
|
/arch/s390/kernel/ |
D | cache.c | 43 unsigned char scope : 2; member 96 if (ci->scope != CACHE_SCOPE_SHARED && ci->scope != CACHE_SCOPE_PRIVATE) in get_cache_type() 167 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; in populate_cache_leaves()
|
/arch/powerpc/include/asm/ |
D | io_event_irq.h | 40 uint8_t scope; /* 0x02 Error/Event Scope */ member
|
D | rtas.h | 273 extern int pseries_devicetree_update(s32 scope);
|
/arch/powerpc/platforms/powernv/ |
D | eeh-powernv.c | 859 uint8_t scope; in pnv_eeh_bridge_reset() local 872 scope = OPAL_RESET_PCI_FUNDAMENTAL; in pnv_eeh_bridge_reset() 875 scope = OPAL_RESET_PCI_HOT; in pnv_eeh_bridge_reset() 885 rc = opal_pci_reset(id, scope, OPAL_ASSERT_RESET); in pnv_eeh_bridge_reset()
|