xref: /netbsd-src/sys/arch/arm/imx/imxclockvar.h (revision c2f76ff004a2cb67efe5b12d97bd3ef7fe89e18d)
1 #ifndef _ARM_IMX_IMXCLOCKVAR_H
2 #define	_ARM_IMX_IMXCLOCKVAR_H
3 
4 struct imxclock_softc {
5 	device_t sc_dev;
6 	bus_space_tag_t sc_iot;
7 	bus_space_handle_t sc_ioh;
8 	int sc_intr;
9 
10 	int sc_reload_value;
11 
12 	void *sc_ih;			/* interrupt handler */
13 };
14 
15 extern struct imxclock_softc *epit1_sc, *epit2_sc;
16 
17 int imxclock_get_timerfreq(struct imxclock_softc *);
18 #endif	/* _ARM_IMX_IMXCLOCKVAR_H */
19