Lines Matching refs:field
76 static __always_inline int get_evmcs_offset(unsigned long field, in get_evmcs_offset() argument
79 unsigned int index = ROL16(field, 6); in get_evmcs_offset()
84 field); in get_evmcs_offset()
96 static __always_inline void evmcs_write64(unsigned long field, u64 value) in evmcs_write64() argument
99 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write64()
109 static inline void evmcs_write32(unsigned long field, u32 value) in evmcs_write32() argument
112 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write32()
121 static inline void evmcs_write16(unsigned long field, u16 value) in evmcs_write16() argument
124 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write16()
133 static inline u64 evmcs_read64(unsigned long field) in evmcs_read64() argument
135 int offset = get_evmcs_offset(field, NULL); in evmcs_read64()
143 static inline u32 evmcs_read32(unsigned long field) in evmcs_read32() argument
145 int offset = get_evmcs_offset(field, NULL); in evmcs_read32()
153 static inline u16 evmcs_read16(unsigned long field) in evmcs_read16() argument
155 int offset = get_evmcs_offset(field, NULL); in evmcs_read16()
186 static __always_inline void evmcs_write64(unsigned long field, u64 value) {} in evmcs_write64() argument
187 static inline void evmcs_write32(unsigned long field, u32 value) {} in evmcs_write32() argument
188 static inline void evmcs_write16(unsigned long field, u16 value) {} in evmcs_write16() argument
189 static inline u64 evmcs_read64(unsigned long field) { return 0; } in evmcs_read64() argument
190 static inline u32 evmcs_read32(unsigned long field) { return 0; } in evmcs_read32() argument
191 static inline u16 evmcs_read16(unsigned long field) { return 0; } in evmcs_read16() argument