Searched refs:bitmode (Results 1 – 3 of 3) sorted by relevance
47 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),
235 #define SONIC_BUS_SCALE(bitmode) ((bitmode) ? 4 : 2) argument351 static inline void sonic_buf_put(u16 *base, int bitmode, in sonic_buf_put() argument354 if (bitmode) in sonic_buf_put()364 static inline __u16 sonic_buf_get(u16 *base, int bitmode, in sonic_buf_get() argument367 if (bitmode) in sonic_buf_get()
76 uint32_t bitmode; member