Searched full:mtimer (Results 1 – 12 of 12) sorted by relevance
/openbmc/qemu/hw/intc/ |
H A D | riscv_aclint.c | 50 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 D | ibex_timer.c | 100 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 D | time_helper.c | 48 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 D | microchip,mfps-rtc.yaml | 40 on the PolarFire SoC shares it's reference with MTIMER so this will
|
/openbmc/qemu/include/hw/timer/ |
H A D | ibex_timer.h | 37 QEMUTimer *mtimer; /* Internal timer for M-mode interrupt */ member
|
/openbmc/qemu/include/hw/intc/ |
H A D | riscv_aclint.h | 26 #define TYPE_RISCV_ACLINT_MTIMER "riscv.aclint.mtimer"
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | microchip,mpfs-clkcfg.yaml | 29 axi, ahb and rtc/mtimer reference clocks as well as enable and reset
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_state.c | 526 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 D | br_mdb.c | 235 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 D | 0001-fix-build-on-GCC-14-for-yocto.patch | 258 , mTimer(aInstance)
|
/openbmc/qemu/hw/riscv/ |
H A D | virt.c | 396 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 D | xfrm.h | 268 struct hrtimer mtimer; member
|