Home | History | Annotate | Line # | Download | only in imx
      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.2  bsh 	uint32_t sc_clksrc;
     13  1.2  bsh 
     14  1.1  bsh 	void *sc_ih;			/* interrupt handler */
     15  1.1  bsh };
     16  1.1  bsh 
     17  1.1  bsh extern struct imxclock_softc *epit1_sc, *epit2_sc;
     18  1.1  bsh 
     19  1.1  bsh int imxclock_get_timerfreq(struct imxclock_softc *);
     20  1.1  bsh #endif	/* _ARM_IMX_IMXCLOCKVAR_H */
     21