Home
last modified time | relevance | path

Searched refs:bitmode (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/timer/
H A Dnrf51_timer.c47 s->counter = (s->counter + ticks) % BIT(bitwidths[s->bitmode]); in update_counter()
71 delta_ns = ticks_to_ns(s, BIT(bitwidths[s->bitmode]) - in rearm_timer()
111 cc_remaining[i] = BIT(bitwidths[s->bitmode]) - in timer_expire()
180 r = s->bitmode; in nrf51_timer_read()
226 s->counter = (s->counter + 1) % BIT(bitwidths[s->bitmode]); in nrf51_timer_write()
278 s->bitmode = value & NRF51_TIMER_REG_BITMODE_MASK; in nrf51_timer_write()
294 s->cc[idx] = value % BIT(bitwidths[s->bitmode]); in nrf51_timer_write()
346 s->bitmode = 0x00; in nrf51_timer_reset()
376 VMSTATE_UINT32(bitmode, NRF51TimerState),
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dsonic.h235 #define SONIC_BUS_SCALE(bitmode) ((bitmode) ? 4 : 2) argument
351 static inline void sonic_buf_put(u16 *base, int bitmode, in sonic_buf_put() argument
354 if (bitmode) in sonic_buf_put()
364 static inline __u16 sonic_buf_get(u16 *base, int bitmode, in sonic_buf_get() argument
367 if (bitmode) in sonic_buf_get()
/openbmc/qemu/include/hw/timer/
H A Dnrf51_timer.h76 uint32_t bitmode; member