xref: /netbsd/sys/arch/arm/imx/imxclockvar.h (revision 972894ca)
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 	uint32_t sc_clksrc;
13 
14 	void *sc_ih;			/* interrupt handler */
15 };
16 
17 extern struct imxclock_softc *epit1_sc, *epit2_sc;
18 
19 int imxclock_get_timerfreq(struct imxclock_softc *);
20 #endif	/* _ARM_IMX_IMXCLOCKVAR_H */
21