Home
last modified time | relevance | path

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

/openbmc/linux/arch/sparc/kernel/
H A 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()
110 adi_state.enabled = false; in mdesc_adi_init()
117 adi_state.enabled = false; in mdesc_adi_init()
118 adi_state.caps.blksz = 0; in mdesc_adi_init()
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A 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()
H A 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); \
H A Dpgtable_64.h1072 if (adi_state.enabled && (pte_val(pte) & _PAGE_MCD_4V)) in arch_do_swap_page()
1081 if (adi_state.enabled && (pte_val(oldpte) & _PAGE_MCD_4V)) in arch_unmap_one()