Home
last modified time | relevance | path

Searched full:mtimer (Results 1 – 12 of 12) sorted by relevance

/openbmc/qemu/hw/intc/
H A Driscv_aclint.c50 RISCVAclintMTimerState *mtimer = opaque; in cpu_riscv_read_rtc() local
51 return cpu_riscv_read_rtc_raw(mtimer->timebase_freq) + mtimer->time_delta; in cpu_riscv_read_rtc()
58 static void riscv_aclint_mtimer_write_timecmp(RISCVAclintMTimerState *mtimer, in riscv_aclint_mtimer_write_timecmp() argument
63 uint32_t timebase_freq = mtimer->timebase_freq; in riscv_aclint_mtimer_write_timecmp()
67 uint64_t rtc = cpu_riscv_read_rtc(mtimer); in riscv_aclint_mtimer_write_timecmp()
70 hartid = hartid - mtimer->hartid_base; in riscv_aclint_mtimer_write_timecmp()
72 mtimer->timecmp[hartid] = value; in riscv_aclint_mtimer_write_timecmp()
73 if (mtimer->timecmp[hartid] <= rtc) { in riscv_aclint_mtimer_write_timecmp()
78 qemu_irq_raise(mtimer->timer_irqs[hartid]); in riscv_aclint_mtimer_write_timecmp()
83 qemu_irq_lower(mtimer->timer_irqs[hartid]); in riscv_aclint_mtimer_write_timecmp()
[all …]
/openbmc/qemu/hw/timer/
H A Dibex_timer.c100 timer_mod(s->mtimer, 0x7FFFFFFFFFFFFFFF); in ibex_timer_update_irqs()
102 timer_mod(s->mtimer, next); in ibex_timer_update_irqs()
121 s->mtimer = timer_new_ns(QEMU_CLOCK_VIRTUAL, in ibex_timer_reset()
/openbmc/qemu/target/riscv/
H A Dtime_helper.c48 RISCVAclintMTimerState *mtimer = env->rdtime_fn_arg; in riscv_timer_write_timecmp() local
49 uint32_t timebase_freq = mtimer->timebase_freq; in riscv_timer_write_timecmp()
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Dmicrochip,mfps-rtc.yaml40 on the PolarFire SoC shares it's reference with MTIMER so this will
/openbmc/qemu/include/hw/timer/
H A Dibex_timer.h37 QEMUTimer *mtimer; /* Internal timer for M-mode interrupt */ member
/openbmc/qemu/include/hw/intc/
H A Driscv_aclint.h26 #define TYPE_RISCV_ACLINT_MTIMER "riscv.aclint.mtimer"
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dmicrochip,mpfs-clkcfg.yaml29 axi, ahb and rtc/mtimer reference clocks as well as enable and reset
/openbmc/linux/net/xfrm/
H A Dxfrm_state.c526 hrtimer_cancel(&x->mtimer); in ___xfrm_state_destroy()
567 struct xfrm_state *x = container_of(me, struct xfrm_state, mtimer); in xfrm_timer_handler()
634 hrtimer_forward_now(&x->mtimer, ktime_set(next, 0)); in xfrm_timer_handler()
672 hrtimer_init(&x->mtimer, CLOCK_BOOTTIME, HRTIMER_MODE_ABS_SOFT); in xfrm_state_alloc()
673 x->mtimer.function = xfrm_timer_handler; in xfrm_state_alloc()
1373 hrtimer_start(&x->mtimer, in xfrm_state_find()
1505 hrtimer_start(&x->mtimer, ktime_set(1, 0), HRTIMER_MODE_REL_SOFT); in __xfrm_state_insert()
1612 hrtimer_start(&x->mtimer, in __find_acq_core()
1961 hrtimer_start(&x1->mtimer, ktime_set(1, 0), in xfrm_state_update()
2003 hrtimer_start(&x->mtimer, 0, HRTIMER_MODE_REL_SOFT); in xfrm_state_check_expire()
/openbmc/linux/net/bridge/
H A Dbr_mdb.c235 struct timer_list *mtimer; in __mdb_fill_info() local
244 mtimer = &p->timer; in __mdb_fill_info()
248 mtimer = &mp->timer; in __mdb_fill_info()
273 br_timer_value(mtimer))) in __mdb_fill_info()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/openthread/ot-br-posix/
H A D0001-fix-build-on-GCC-14-for-yocto.patch258 , mTimer(aInstance)
/openbmc/qemu/hw/riscv/
H A Dvirt.c396 name = g_strdup_printf("/soc/mtimer@%lx", addr); in create_fdt_socket_aclint()
399 "riscv,aclint-mtimer"); in create_fdt_socket_aclint()
1508 /* Per-socket ACLINT MTIMER */ in virt_machine_init()
1517 /* Per-socket ACLINT MSWI, MTIMER, and SSWI */ in virt_machine_init()
/openbmc/linux/include/net/
H A Dxfrm.h268 struct hrtimer mtimer; member