Home
last modified time | relevance | path

Searched refs:adi_state (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/arch/sparc/kernel/
Dadi_64.c26 struct adi_config adi_state; variable
27 EXPORT_SYMBOL(adi_state);
60 adi_state.enabled = false; in mdesc_adi_init()
65 adi_state.enabled = true; in mdesc_adi_init()
74 if (!adi_state.enabled) in mdesc_adi_init()
88 adi_state.caps.blksz = *val; in mdesc_adi_init()
93 adi_state.caps.nbits = *val; in mdesc_adi_init()
98 adi_state.caps.ue_on_adi = *val; in mdesc_adi_init()
108 if (adi_state.caps.nbits > 4) { in mdesc_adi_init()
110 adi_state.enabled = false; in mdesc_adi_init()
[all …]
/linux-6.1.9/arch/sparc/include/asm/
Dadi_64.h25 extern struct adi_config adi_state;
31 return adi_state.enabled; in adi_capable()
36 return adi_state.caps.blksz; in adi_blksize()
41 return adi_state.caps.nbits; in adi_nbits()
Delf_64.h218 extern struct adi_config adi_state; \
222 NEW_AUX_ENT(AT_ADI_BLKSZ, adi_state.caps.blksz); \
223 NEW_AUX_ENT(AT_ADI_NBITS, adi_state.caps.nbits); \
224 NEW_AUX_ENT(AT_ADI_UEONADI, adi_state.caps.ue_on_adi); \
Dpgtable_64.h1008 if (adi_state.enabled && (pte_val(pte) & _PAGE_MCD_4V)) in arch_do_swap_page()
1017 if (adi_state.enabled && (pte_val(oldpte) & _PAGE_MCD_4V)) in arch_unmap_one()