NetBSD/sys/arch/arm/imx/imxclockvar.h
bsh 056b7b23a0 driver for i.MX51 Clock Controller Module.
from Kenichi Hashimoto.

Currently used only to get peripheral clock frequencies.
2012-04-17 09:33:31 +00:00

21 lines
403 B
C

#ifndef _ARM_IMX_IMXCLOCKVAR_H
#define _ARM_IMX_IMXCLOCKVAR_H
struct imxclock_softc {
device_t sc_dev;
bus_space_tag_t sc_iot;
bus_space_handle_t sc_ioh;
int sc_intr;
int sc_reload_value;
uint32_t sc_clksrc;
void *sc_ih; /* interrupt handler */
};
extern struct imxclock_softc *epit1_sc, *epit2_sc;
int imxclock_get_timerfreq(struct imxclock_softc *);
#endif /* _ARM_IMX_IMXCLOCKVAR_H */