Searched refs:PRESCALE (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | npcm7xx_timer-test.c | 30 #define PRESCALE(x) (x) macro 38 #define TCSR_DEFAULT PRESCALE(5) 246 tim_write_tcsr(td, CEN | PRESCALE(ps)); in test_oneshot_ps5() 258 g_assert_cmphex(tim_read_tcsr(td), ==, PRESCALE(ps)); in test_oneshot_ps5() 284 tim_write_tcsr(td, CEN | PRESCALE(ps)); in test_oneshot_ps0() 296 g_assert_cmphex(tim_read_tcsr(td), ==, PRESCALE(ps)); in test_oneshot_ps0() 312 tim_write_tcsr(td, CEN | PRESCALE(ps)); in test_oneshot_ps255() 324 g_assert_cmphex(tim_read_tcsr(td), ==, PRESCALE(ps)); in test_oneshot_ps255() 365 tim_write_tcsr(td, IE | MODE_ONESHOT | PRESCALE(ps)); in test_pause_resume() 503 tim_write_tcsr(td, MODE_ONESHOT | PRESCALE(ps)); in test_disable_on_expiration() [all …]
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-cadence-ttc.c | 59 #define PRESCALE 2048 /* The exponent must match this */ macro 211 DIV_ROUND_CLOSEST(ttce->ttc.freq, PRESCALE * HZ)); in ttc_set_periodic() 368 err = clocksource_register_hz(&ttccs->cs, ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource() 376 ttccs->ttc.freq / PRESCALE); in ttc_setup_clocksource() 394 clockevents_update_freq(&ttcce->ce, ndata->new_rate / PRESCALE); in ttc_rate_change_clockevent_cb() 461 ttcce->ttc.freq / PRESCALE, 1, 0xfffe); in ttc_setup_clockevent()
|
/openbmc/qemu/hw/timer/ |
H A D | cmsdk-apb-dualtimer.c | 37 FIELD(CONTROL, PRESCALE, 2, 2) 112 switch (FIELD_EX32(m->control, CONTROL, PRESCALE)) { in cmsdk_dualtimermod_divisor() 145 switch (FIELD_EX32(newctrl, CONTROL, PRESCALE)) { in cmsdk_dualtimermod_write_control()
|
H A D | ibex_timer.c | 42 FIELD(CFG0, PRESCALE, 0, 12)
|
/openbmc/u-boot/board/Barix/ipam390/ |
H A D | ipam390-ais-uart.cfg | 47 ; | RSVD |PRESCALE| 50 ; | RSVD |PRESCALE| CLKL | CLKH |
|
/openbmc/qemu/hw/misc/ |
H A D | mps2-fpgaio.c | 37 REG32(PRESCALE, 0x1c)
|