Searched refs:pit_read (Results 1 – 1 of 1) sorted by relevance
59 static inline unsigned int pit_read(void __iomem *base, unsigned int reg_offset) in pit_read() function82 t = pit_read(data->base, AT91_PIT_PIIR); in read_pit_clk()107 data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, AT91_PIT_PIVR)); in pit_clkevt_set_periodic()127 while (PIT_CPIV(pit_read(data->base, AT91_PIT_PIVR)) != 0) in at91sam926x_pit_reset()151 (pit_read(data->base, AT91_PIT_SR) & AT91_PIT_PITS)) { in at91sam926x_pit_interrupt()153 data->cnt += data->cycle * PIT_PICNT(pit_read(data->base, in at91sam926x_pit_interrupt()