Home
last modified time | relevance | path

Searched refs:csr_read (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/opensbi/lib/sbi/
H A Driscv_asm.c30 if (csr_read(CSR_MISA) == 0) in misa_xlen()
53 ret = csr_read(CSR_PMPCFG0); in csr_read_num()
56 ret = csr_read(CSR_PMPCFG1); in csr_read_num()
59 ret = csr_read(CSR_PMPCFG2); in csr_read_num()
62 ret = csr_read(CSR_PMPCFG3); in csr_read_num()
65 ret = csr_read(CSR_PMPADDR0); in csr_read_num()
68 ret = csr_read(CSR_PMPADDR1); in csr_read_num()
71 ret = csr_read(CSR_PMPADDR2); in csr_read_num()
74 ret = csr_read(CSR_PMPADDR3); in csr_read_num()
77 ret = csr_read(CSR_PMPADDR4); in csr_read_num()
[all …]
H A Dsbi_emulate_csr.c32 cen = csr_read(CSR_SCOUNTEREN); in sbi_emulate_csr_read()
44 *csr_val = csr_read(CSR_MCYCLE); in sbi_emulate_csr_read()
55 *csr_val = csr_read(CSR_MINSTRET); in sbi_emulate_csr_read()
60 *csr_val = csr_read(CSR_MHPMCOUNTER3); in sbi_emulate_csr_read()
65 *csr_val = csr_read(CSR_MHPMCOUNTER4); in sbi_emulate_csr_read()
77 *csr_val = csr_read(CSR_MCYCLEH); in sbi_emulate_csr_read()
88 *csr_val = csr_read(CSR_MINSTRETH); in sbi_emulate_csr_read()
93 *csr_val = csr_read(CSR_MHPMCOUNTER3H); in sbi_emulate_csr_read()
98 *csr_val = csr_read(CSR_MHPMCOUNTER4H); in sbi_emulate_csr_read()
102 *csr_val = csr_read(CSR_MHPMEVENT3); in sbi_emulate_csr_read()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/opensbi/lib/sbi/
H A Driscv_asm.c20 ret = csr_read(CSR_PMPCFG0); in csr_read_num()
23 ret = csr_read(CSR_PMPCFG1); in csr_read_num()
26 ret = csr_read(CSR_PMPCFG2); in csr_read_num()
29 ret = csr_read(CSR_PMPCFG3); in csr_read_num()
32 ret = csr_read(CSR_PMPADDR0); in csr_read_num()
35 ret = csr_read(CSR_PMPADDR1); in csr_read_num()
38 ret = csr_read(CSR_PMPADDR2); in csr_read_num()
41 ret = csr_read(CSR_PMPADDR3); in csr_read_num()
44 ret = csr_read(CSR_PMPADDR4); in csr_read_num()
47 ret = csr_read(CSR_PMPADDR5); in csr_read_num()
[all …]
H A Dsbi_emulate_csr.c32 cen = csr_read(CSR_SCOUNTEREN); in sbi_emulate_csr_read()
44 *csr_val = csr_read(CSR_MCYCLE); in sbi_emulate_csr_read()
55 *csr_val = csr_read(CSR_MINSTRET); in sbi_emulate_csr_read()
60 *csr_val = csr_read(CSR_MHPMCOUNTER3); in sbi_emulate_csr_read()
65 *csr_val = csr_read(CSR_MHPMCOUNTER4); in sbi_emulate_csr_read()
77 *csr_val = csr_read(CSR_MCYCLEH); in sbi_emulate_csr_read()
88 *csr_val = csr_read(CSR_MINSTRETH); in sbi_emulate_csr_read()
93 *csr_val = csr_read(CSR_MHPMCOUNTER3H); in sbi_emulate_csr_read()
98 *csr_val = csr_read(CSR_MHPMCOUNTER4H); in sbi_emulate_csr_read()
102 *csr_val = csr_read(CSR_MHPMEVENT3); in sbi_emulate_csr_read()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/opensbi/lib/sbi/
H A Driscv_asm.c20 ret = csr_read(CSR_PMPCFG0); in csr_read_num()
23 ret = csr_read(CSR_PMPCFG1); in csr_read_num()
26 ret = csr_read(CSR_PMPCFG2); in csr_read_num()
29 ret = csr_read(CSR_PMPCFG3); in csr_read_num()
32 ret = csr_read(CSR_PMPADDR0); in csr_read_num()
35 ret = csr_read(CSR_PMPADDR1); in csr_read_num()
38 ret = csr_read(CSR_PMPADDR2); in csr_read_num()
41 ret = csr_read(CSR_PMPADDR3); in csr_read_num()
44 ret = csr_read(CSR_PMPADDR4); in csr_read_num()
47 ret = csr_read(CSR_PMPADDR5); in csr_read_num()
[all …]
H A Dsbi_emulate_csr.c32 cen = csr_read(CSR_SCOUNTEREN); in sbi_emulate_csr_read()
44 *csr_val = csr_read(CSR_MCYCLE); in sbi_emulate_csr_read()
55 *csr_val = csr_read(CSR_MINSTRET); in sbi_emulate_csr_read()
60 *csr_val = csr_read(CSR_MHPMCOUNTER3); in sbi_emulate_csr_read()
65 *csr_val = csr_read(CSR_MHPMCOUNTER4); in sbi_emulate_csr_read()
77 *csr_val = csr_read(CSR_MCYCLEH); in sbi_emulate_csr_read()
88 *csr_val = csr_read(CSR_MINSTRETH); in sbi_emulate_csr_read()
93 *csr_val = csr_read(CSR_MHPMCOUNTER3H); in sbi_emulate_csr_read()
98 *csr_val = csr_read(CSR_MHPMCOUNTER4H); in sbi_emulate_csr_read()
102 *csr_val = csr_read(CSR_MHPMEVENT3); in sbi_emulate_csr_read()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/opensbi/platform/thead/c910/
H A Dplatform.c29 c910_regs.pmpaddr0 = csr_read(CSR_PMPADDR0); in c910_early_init()
30 c910_regs.pmpaddr1 = csr_read(CSR_PMPADDR1); in c910_early_init()
31 c910_regs.pmpaddr2 = csr_read(CSR_PMPADDR2); in c910_early_init()
32 c910_regs.pmpaddr3 = csr_read(CSR_PMPADDR3); in c910_early_init()
33 c910_regs.pmpaddr4 = csr_read(CSR_PMPADDR4); in c910_early_init()
34 c910_regs.pmpaddr5 = csr_read(CSR_PMPADDR5); in c910_early_init()
37 c910_regs.pmpcfg0 = csr_read(CSR_PMPCFG0); in c910_early_init()
39 c910_regs.mcor = csr_read(CSR_MCOR); in c910_early_init()
40 c910_regs.mhcr = csr_read(CSR_MHCR); in c910_early_init()
41 c910_regs.mccr2 = csr_read(CSR_MCCR2); in c910_early_init()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/opensbi/platform/thead/c910/
H A Dplatform.c29 c910_regs.pmpaddr0 = csr_read(CSR_PMPADDR0); in c910_early_init()
30 c910_regs.pmpaddr1 = csr_read(CSR_PMPADDR1); in c910_early_init()
31 c910_regs.pmpaddr2 = csr_read(CSR_PMPADDR2); in c910_early_init()
32 c910_regs.pmpaddr3 = csr_read(CSR_PMPADDR3); in c910_early_init()
33 c910_regs.pmpaddr4 = csr_read(CSR_PMPADDR4); in c910_early_init()
34 c910_regs.pmpaddr5 = csr_read(CSR_PMPADDR5); in c910_early_init()
37 c910_regs.pmpcfg0 = csr_read(CSR_PMPCFG0); in c910_early_init()
39 c910_regs.mcor = csr_read(CSR_MCOR); in c910_early_init()
40 c910_regs.mhcr = csr_read(CSR_MHCR); in c910_early_init()
41 c910_regs.mccr2 = csr_read(CSR_MCCR2); in c910_early_init()
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/opensbi/platform/thead/c910/
H A Dplatform.c22 c910_regs.pmpaddr0 = csr_read(CSR_PMPADDR0); in c910_early_init()
23 c910_regs.pmpaddr1 = csr_read(CSR_PMPADDR1); in c910_early_init()
24 c910_regs.pmpaddr2 = csr_read(CSR_PMPADDR2); in c910_early_init()
25 c910_regs.pmpaddr3 = csr_read(CSR_PMPADDR3); in c910_early_init()
26 c910_regs.pmpaddr4 = csr_read(CSR_PMPADDR4); in c910_early_init()
27 c910_regs.pmpaddr5 = csr_read(CSR_PMPADDR5); in c910_early_init()
30 c910_regs.pmpcfg0 = csr_read(CSR_PMPCFG0); in c910_early_init()
32 c910_regs.mcor = csr_read(CSR_MCOR); in c910_early_init()
33 c910_regs.mhcr = csr_read(CSR_MHCR); in c910_early_init()
34 c910_regs.mccr2 = csr_read(CSR_MCCR2); in c910_early_init()
[all …]
/dports/sysutils/opensbi/opensbi-0.9/platform/thead/c910/
H A Dplatform.c29 c910_regs.pmpaddr0 = csr_read(CSR_PMPADDR0); in c910_early_init()
30 c910_regs.pmpaddr1 = csr_read(CSR_PMPADDR1); in c910_early_init()
31 c910_regs.pmpaddr2 = csr_read(CSR_PMPADDR2); in c910_early_init()
32 c910_regs.pmpaddr3 = csr_read(CSR_PMPADDR3); in c910_early_init()
33 c910_regs.pmpaddr4 = csr_read(CSR_PMPADDR4); in c910_early_init()
34 c910_regs.pmpaddr5 = csr_read(CSR_PMPADDR5); in c910_early_init()
37 c910_regs.pmpcfg0 = csr_read(CSR_PMPCFG0); in c910_early_init()
39 c910_regs.mcor = csr_read(CSR_MCOR); in c910_early_init()
40 c910_regs.mhcr = csr_read(CSR_MHCR); in c910_early_init()
41 c910_regs.mccr2 = csr_read(CSR_MCCR2); in c910_early_init()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/opensbi/platform/thead/c910/
H A Dplatform.c29 c910_regs.pmpaddr0 = csr_read(CSR_PMPADDR0); in c910_early_init()
30 c910_regs.pmpaddr1 = csr_read(CSR_PMPADDR1); in c910_early_init()
31 c910_regs.pmpaddr2 = csr_read(CSR_PMPADDR2); in c910_early_init()
32 c910_regs.pmpaddr3 = csr_read(CSR_PMPADDR3); in c910_early_init()
33 c910_regs.pmpaddr4 = csr_read(CSR_PMPADDR4); in c910_early_init()
34 c910_regs.pmpaddr5 = csr_read(CSR_PMPADDR5); in c910_early_init()
37 c910_regs.pmpcfg0 = csr_read(CSR_PMPCFG0); in c910_early_init()
39 c910_regs.mcor = csr_read(CSR_MCOR); in c910_early_init()
40 c910_regs.mhcr = csr_read(CSR_MHCR); in c910_early_init()
41 c910_regs.mccr2 = csr_read(CSR_MCCR2); in c910_early_init()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/opensbi/lib/sbi/
H A Driscv_asm.c35 if (csr_read(CSR_MISA) == 0) in misa_xlen()
97 ret = csr_read(CSR_PMPCFG0); in csr_read_num()
100 ret = csr_read(CSR_PMPCFG1); in csr_read_num()
103 ret = csr_read(CSR_PMPCFG2); in csr_read_num()
106 ret = csr_read(CSR_PMPCFG3); in csr_read_num()
109 ret = csr_read(CSR_PMPADDR0); in csr_read_num()
112 ret = csr_read(CSR_PMPADDR1); in csr_read_num()
115 ret = csr_read(CSR_PMPADDR2); in csr_read_num()
118 ret = csr_read(CSR_PMPADDR3); in csr_read_num()
121 ret = csr_read(CSR_PMPADDR4); in csr_read_num()
[all …]
H A Dsbi_emulate_csr.c32 cen = csr_read(CSR_SCOUNTEREN); in sbi_emulate_csr_read()
44 *csr_val = csr_read(CSR_MCYCLE); in sbi_emulate_csr_read()
55 *csr_val = csr_read(CSR_MINSTRET); in sbi_emulate_csr_read()
60 *csr_val = csr_read(CSR_MHPMCOUNTER3); in sbi_emulate_csr_read()
65 *csr_val = csr_read(CSR_MHPMCOUNTER4); in sbi_emulate_csr_read()
77 *csr_val = csr_read(CSR_MCYCLEH); in sbi_emulate_csr_read()
88 *csr_val = csr_read(CSR_MINSTRETH); in sbi_emulate_csr_read()
93 *csr_val = csr_read(CSR_MHPMCOUNTER3H); in sbi_emulate_csr_read()
98 *csr_val = csr_read(CSR_MHPMCOUNTER4H); in sbi_emulate_csr_read()
102 *csr_val = csr_read(CSR_MHPMEVENT3); in sbi_emulate_csr_read()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/opensbi/lib/sbi/
H A Dsbi_emulate_csr.c26 cen &= csr_read(CSR_MCOUNTEREN); in hpm_allowed()
28 cen &= csr_read(CSR_HCOUNTEREN); in hpm_allowed()
31 cen &= csr_read(CSR_SCOUNTEREN); in hpm_allowed()
58 *csr_val = csr_read(CSR_MCYCLE); in sbi_emulate_csr_read()
74 *csr_val = csr_read(CSR_MINSTRET); in sbi_emulate_csr_read()
87 *csr_val = csr_read(CSR_MCYCLEH); in sbi_emulate_csr_read()
97 *csr_val = csr_read(CSR_MINSTRETH); in sbi_emulate_csr_read()
107 *csr_val = csr_read(__mref + __csr - __uref); \ in sbi_emulate_csr_read()
/dports/sysutils/opensbi/opensbi-0.9/lib/sbi/
H A Dsbi_emulate_csr.c26 cen &= csr_read(CSR_MCOUNTEREN); in hpm_allowed()
28 cen &= csr_read(CSR_HCOUNTEREN); in hpm_allowed()
31 cen &= csr_read(CSR_SCOUNTEREN); in hpm_allowed()
58 *csr_val = csr_read(CSR_MCYCLE); in sbi_emulate_csr_read()
74 *csr_val = csr_read(CSR_MINSTRET); in sbi_emulate_csr_read()
87 *csr_val = csr_read(CSR_MCYCLEH); in sbi_emulate_csr_read()
97 *csr_val = csr_read(CSR_MINSTRETH); in sbi_emulate_csr_read()
107 *csr_val = csr_read(__mref + __csr - __uref); \ in sbi_emulate_csr_read()
/dports/emulators/qemu/qemu-6.2.0/roms/opensbi/lib/sbi/
H A Dsbi_emulate_csr.c26 cen &= csr_read(CSR_MCOUNTEREN); in hpm_allowed()
28 cen &= csr_read(CSR_HCOUNTEREN); in hpm_allowed()
31 cen &= csr_read(CSR_SCOUNTEREN); in hpm_allowed()
58 *csr_val = csr_read(CSR_MCYCLE); in sbi_emulate_csr_read()
74 *csr_val = csr_read(CSR_MINSTRET); in sbi_emulate_csr_read()
87 *csr_val = csr_read(CSR_MCYCLEH); in sbi_emulate_csr_read()
97 *csr_val = csr_read(CSR_MINSTRETH); in sbi_emulate_csr_read()
107 *csr_val = csr_read(__mref + __csr - __uref); \ in sbi_emulate_csr_read()
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/drivers/timer/
H A Driscv_timer.c24 return csr_read(CSR_TIME); in riscv_timer_get_count()
27 hi = csr_read(CSR_TIMEH); in riscv_timer_get_count()
28 lo = csr_read(CSR_TIME); in riscv_timer_get_count()
29 } while (hi != csr_read(CSR_TIMEH)); in riscv_timer_get_count()
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/drivers/timer/
H A Driscv_timer.c24 return csr_read(CSR_TIME); in riscv_timer_get_count()
27 hi = csr_read(CSR_TIMEH); in riscv_timer_get_count()
28 lo = csr_read(CSR_TIME); in riscv_timer_get_count()
29 } while (hi != csr_read(CSR_TIMEH)); in riscv_timer_get_count()
/dports/sysutils/u-boot-chip/u-boot-2021.07/drivers/timer/
H A Driscv_timer.c24 return csr_read(CSR_TIME); in riscv_timer_get_count()
27 hi = csr_read(CSR_TIMEH); in riscv_timer_get_count()
28 lo = csr_read(CSR_TIME); in riscv_timer_get_count()
29 } while (hi != csr_read(CSR_TIMEH)); in riscv_timer_get_count()
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/drivers/timer/
H A Driscv_timer.c24 return csr_read(CSR_TIME); in riscv_timer_get_count()
27 hi = csr_read(CSR_TIMEH); in riscv_timer_get_count()
28 lo = csr_read(CSR_TIME); in riscv_timer_get_count()
29 } while (hi != csr_read(CSR_TIMEH)); in riscv_timer_get_count()
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/drivers/timer/
H A Driscv_timer.c24 return csr_read(CSR_TIME); in riscv_timer_get_count()
27 hi = csr_read(CSR_TIMEH); in riscv_timer_get_count()
28 lo = csr_read(CSR_TIME); in riscv_timer_get_count()
29 } while (hi != csr_read(CSR_TIMEH)); in riscv_timer_get_count()
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/drivers/timer/
H A Driscv_timer.c24 return csr_read(CSR_TIME); in riscv_timer_get_count()
27 hi = csr_read(CSR_TIMEH); in riscv_timer_get_count()
28 lo = csr_read(CSR_TIME); in riscv_timer_get_count()
29 } while (hi != csr_read(CSR_TIMEH)); in riscv_timer_get_count()
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/drivers/timer/
H A Driscv_timer.c24 return csr_read(CSR_TIME); in riscv_timer_get_count()
27 hi = csr_read(CSR_TIMEH); in riscv_timer_get_count()
28 lo = csr_read(CSR_TIME); in riscv_timer_get_count()
29 } while (hi != csr_read(CSR_TIMEH)); in riscv_timer_get_count()
/dports/sysutils/u-boot-a64-olinuxino/u-boot-2021.07/drivers/timer/
H A Driscv_timer.c24 return csr_read(CSR_TIME); in riscv_timer_get_count()
27 hi = csr_read(CSR_TIMEH); in riscv_timer_get_count()
28 lo = csr_read(CSR_TIME); in riscv_timer_get_count()
29 } while (hi != csr_read(CSR_TIMEH)); in riscv_timer_get_count()
/dports/sysutils/u-boot-a13-olinuxino/u-boot-2021.07/drivers/timer/
H A Driscv_timer.c24 return csr_read(CSR_TIME); in riscv_timer_get_count()
27 hi = csr_read(CSR_TIMEH); in riscv_timer_get_count()
28 lo = csr_read(CSR_TIME); in riscv_timer_get_count()
29 } while (hi != csr_read(CSR_TIMEH)); in riscv_timer_get_count()

12345678910>>...15