Home
last modified time | relevance | path

Searched full:enum (Results 1 – 25 of 53) sorted by relevance

123

/kvm-unit-tests/lib/riscv/asm/
H A Dsbi.h44 enum sbi_ext_id {
57 enum sbi_ext_base_fid {
67 enum sbi_ext_hsm_fid {
74 enum sbi_ext_time_fid {
78 enum sbi_ext_ipi_fid {
82 enum sbi_ext_hsm_sid {
92 enum sbi_ext_hsm_hart_suspend_type {
97 enum sbi_ext_dbcn_fid {
103 enum sbi_ext_fwft_fid {
129 enum sbi_ext_sse_fid {
[all …]
H A Disa.h15 enum {
/kvm-unit-tests/riscv/
H A Dsbi-dbtr.c56 enum McontrolType {
75 enum Tdata1Size {
84 enum Tdata1Value {
91 enum Tdata1Mode {
100 enum sbi_ext_dbtr_fid {
193 static unsigned long mcontrol_size(enum Tdata1Size mode) in mcontrol_size()
205 static unsigned long mcontrol6_size(enum Tdata1Size mode) in mcontrol6_size()
211 static unsigned long gen_tdata1_mcontrol(enum Tdata1Mode mode, enum Tdata1Value value) in gen_tdata1_mcontrol()
236 static unsigned long gen_tdata1_mcontrol6(enum Tdata1Mode mode, enum Tdata1Value value) in gen_tdata1_mcontrol6()
267 static unsigned long gen_tdata1(enum McontrolType type, enum Tdata1Value value, enum Tdata1Mode mod… in gen_tdata1()
[all …]
/kvm-unit-tests/lib/arm64/asm/
H A Dprocessor.h15 enum vector {
37 typedef void (*vector_fn)(enum vector v, struct pt_regs *regs,
41 extern void install_vector_handler(enum vector v, vector_fn fn);
42 extern void install_exception_handler(enum vector v, unsigned int ec,
44 extern void install_irq_handler(enum vector v, irq_handler_fn fn);
45 extern void default_vector_sync_handler(enum vector v, struct pt_regs *regs,
47 extern void default_vector_irq_handler(enum vector v, struct pt_regs *regs,
/kvm-unit-tests/s390x/
H A Dsthyi.h15 enum sthyi_rtn_code {
20 enum sthyi_hdr_flags {
27 enum sthyi_mach_validity {
33 enum sthyi_par_flag {
37 enum sthyi_par_validity {
H A Dtprot.c23 enum tprot_permission permission; in test_tprot_rw()
35 enum tprot_permission permission; in test_tprot_ro()
51 enum tprot_permission permission; in test_tprot_low_addr_prot()
65 enum tprot_permission permission; in test_tprot_transl_unavail()
/kvm-unit-tests/lib/s390x/
H A Dmmu.h13 enum pgt_level {
28 void *split_page(pgd_t *pgtable, void *vaddr, enum pgt_level level);
38 void protect_dat_entry(void *vaddr, unsigned long prot, enum pgt_level level);
48 void unprotect_dat_entry(void *vaddr, unsigned long prot, enum pgt_level level);
96 void *get_dat_entry(pgd_t *pgtable, void *vaddr, enum pgt_level level);
H A Dhardware.c25 static enum s390_host do_detect_host(void) in do_detect_host()
57 enum s390_host detect_host(void) in detect_host()
59 static enum s390_host host = HOST_IS_UNKNOWN; in detect_host()
H A Dhardware.h19 enum s390_host {
26 enum s390_host detect_host(void);
H A Dstsi.h47 enum topology_polarization {
54 enum cpu_type {
H A Dmmu.c133 void *get_dat_entry(pgd_t *pgtable, void *vaddr, enum pgt_level level) in get_dat_entry()
162 void *split_page(pgd_t *pgtable, void *vaddr, enum pgt_level level) in split_page()
195 static void *dat_get_and_invalidate(pgd_t *pgtable, void *vaddr, enum pgt_level level, unsigned lon… in dat_get_and_invalidate()
251 static void *set_dat_entry(pgd_t *pgtable, unsigned long val, void *vaddr, enum pgt_level level) in set_dat_entry()
285 void protect_dat_entry(void *vaddr, unsigned long prot, enum pgt_level level) in protect_dat_entry()
293 void unprotect_dat_entry(void *vaddr, unsigned long prot, enum pgt_level level) in unprotect_dat_entry()
/kvm-unit-tests/lib/s390x/asm/
H A Dinterrupt.h49 enum prot_code {
59 static inline enum prot_code teid_esop2_prot_code(union teid teid) in teid_esop2_prot_code()
66 return (enum prot_code)code; in teid_esop2_prot_code()
81 void irq_set_dat_mode(bool use_dat, enum address_space as);
H A Dfacility.h54 enum supp_on_prot_facility {
61 static inline enum supp_on_prot_facility get_supp_on_prot_facility(void) in get_supp_on_prot_facility()
H A Darch_def.h89 enum address_space {
290 enum tprot_permission {
297 static inline enum tprot_permission tprot(unsigned long addr, char access_key) in tprot()
306 return (enum tprot_permission)cc; in tprot()
/kvm-unit-tests/lib/arm64/
H A Dprocessor.c105 static void bad_exception(enum vector v, struct pt_regs *regs, in bad_exception()
140 void install_exception_handler(enum vector v, unsigned int ec, exception_fn fn) in install_exception_handler()
148 void install_irq_handler(enum vector v, irq_handler_fn fn) in install_irq_handler()
156 void default_vector_sync_handler(enum vector v, struct pt_regs *regs, in default_vector_sync_handler()
176 void default_vector_irq_handler(enum vector v, struct pt_regs *regs, in default_vector_irq_handler()
207 void do_handle_exception(enum vector v, struct pt_regs *regs, unsigned int esr);
209 void do_handle_exception(enum vector v, struct pt_regs *regs, unsigned int esr) in do_handle_exception()
227 void install_vector_handler(enum vector v, vector_fn fn) in install_vector_handler()
/kvm-unit-tests/x86/
H A Dvmx.h189 enum Encoding {
379 enum Reason {
442 enum Ctrl_exi {
454 enum Ctrl_ent {
463 enum Ctrl_pin {
471 enum Ctrl0 {
494 enum Ctrl1 {
512 enum Intr_type {
552 enum vm_instruction_error_number {
580 enum vm_entry_failure_code {
[all …]
H A Dhyperv.h91 enum hv_message_type {
136 enum hv_port_type {
H A Dhyperv.c5 enum {
/kvm-unit-tests/lib/x86/
H A Dapic.h27 typedef enum trigger_mode {
112 enum x2apic_reg_semantics {
121 static inline enum x2apic_reg_semantics get_x2apic_reg_semantics(u32 reg) in get_x2apic_reg_semantics()
H A Dvm.h45 enum x86_mmu_flags {
50 enum x86_mmu_flags mmu_flags);
/kvm-unit-tests/lib/arm/asm/
H A Dprocessor.h12 enum vector {
27 extern void install_exception_handler(enum vector v, exception_fn fn);
H A Dgic.h52 enum gic_irq_state {
85 extern enum gic_irq_state gic_irq_state(int irq);
/kvm-unit-tests/lib/arm/
H A Dprocessor.c68 void install_exception_handler(enum vector v, exception_fn fn) in install_exception_handler()
77 void do_handle_exception(enum vector v, struct pt_regs *regs);
79 void do_handle_exception(enum vector v, struct pt_regs *regs) in do_handle_exception()
/kvm-unit-tests/scripts/
H A Dkernel-doc71 my $type_enum = '\&(enum\s*([_\w]+))';
240 # 'function', 'struct', 'union', 'enum', 'typedef'
615 # output enum in man
621 print ".TH \"$args{'module'}\" 9 \"enum $args{'enum'}\" \"$man_date\" \"API Manual\" LINUX\n";
624 print "enum " . $args{'enum'} . " \\- " . $args{'purpose'} . "\n";
627 print "enum " . $args{'enum'} . " {\n";
945 my $name = "enum " . $args{'enum'};
948 my $name = $args{'enum'};
949 print "\n\n.. c:enum:: " . $name . "\n\n";
1065 # generic output function for all types (function, struct/union, typedef, enum);
[all …]
/kvm-unit-tests/arm/
H A Dselftest.c296 static enum vector check_vector_prep(void) in check_vector_prep()
316 enum vector v = check_vector_prep(); in check_und()
338 enum vector v = check_vector_prep(); in check_svc()
363 enum vector v = check_vector_prep(); in check_pabt()

123