1 1.1 bsh #ifndef _ARM_IMX_IMXCLOCKVAR_H 2 1.1 bsh #define _ARM_IMX_IMXCLOCKVAR_H 3 1.1 bsh 4 1.1 bsh struct imxclock_softc { 5 1.1 bsh device_t sc_dev; 6 1.1 bsh bus_space_tag_t sc_iot; 7 1.1 bsh bus_space_handle_t sc_ioh; 8 1.1 bsh int sc_intr; 9 1.1 bsh 10 1.1 bsh int sc_reload_value; 11 1.1 bsh 12 1.1 bsh void *sc_ih; /* interrupt handler */ 13 1.1 bsh }; 14 1.1 bsh 15 1.1 bsh extern struct imxclock_softc *epit1_sc, *epit2_sc; 16 1.1 bsh 17 1.1 bsh int imxclock_get_timerfreq(struct imxclock_softc *); 18 1.1 bsh #endif /* _ARM_IMX_IMXCLOCKVAR_H */ 19