* Prototypes of local functions.
*/
/* 28-Jun-1994 sw - Note: hwt_restart() is also used in module 'drvfbi.c'. */
-/*static*/ void hwt_restart() ;
+/*static void hwt_restart() ; */
/************************
*
************************/
#define HWT_MAX (65000)
-void hwt_start(smc, time)
-struct s_smc *smc ;
-u_long time ;
+void hwt_start(struct s_smc *smc, u_long time)
{
u_short cnt ;
* Nothing.
*
************************/
-void hwt_stop(smc)
-struct s_smc *smc ;
+void hwt_stop(struct s_smc *smc)
{
#ifndef PCI
/* stop counter 0 by switching to mode 0 */
* Nothing.
*
************************/
-void hwt_init(smc)
-struct s_smc *smc ;
+void hwt_init(struct s_smc *smc)
{
smc->hw.t_start = 0 ;
smc->hw.t_stop = 0 ;
* Nothing.
*
************************/
-void hwt_restart(smc)
-struct s_smc *smc ;
+void hwt_restart(struct s_smc *smc)
{
hwt_stop(smc) ;
#ifndef PCI
* The elapsed time since last start in units of 16us.
*
************************/
-u_long hwt_read(smc)
-struct s_smc *smc ;
+u_long hwt_read(struct s_smc *smc)
{
u_short tr ;
#ifndef PCI
* current timer value in units of 80ns.
*
************************/
-u_long hwt_quick_read(smc)
-struct s_smc *smc ;
+u_long hwt_quick_read(struct s_smc *smc)
{
u_long interval ;
u_long time ;
* NOTE: The fuction will return immediately, if the timer is not
* started
************************/
-void hwt_wait_time(smc,start,duration)
-struct s_smc *smc ;
-u_long start ;
-long duration ;
+void hwt_wait_time(struct s_smc *smc, u_long start, long int duration)
{
long diff ;
long interval ;
}
}
#endif
+