Searched refs:pit_read (Results 1 – 1 of 1) sorted by relevance
33 static inline unsigned int pit_read(unsigned int reg_offset) in pit_read() function55 t = pit_read(AT91_PIT_PIIR); in read_pit_clk()80 pit_cnt += pit_cycle * PIT_PICNT(pit_read(AT91_PIT_PIVR)); in pit_clkevt_mode()119 && (pit_read(AT91_PIT_SR) & AT91_PIT_PITS)) { in at91sam926x_pit_interrupt()123 nr_ticks = PIT_PICNT(pit_read(AT91_PIT_PIVR)); in at91sam926x_pit_interrupt()149 while (PIT_CPIV(pit_read(AT91_PIT_PIVR)) != 0) in at91sam926x_pit_reset()