Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef BCM63XX_TIMER_H_
0003 #define BCM63XX_TIMER_H_
0004 
0005 int bcm63xx_timer_register(int id, void (*callback)(void *data), void *data);
0006 void bcm63xx_timer_unregister(int id);
0007 int bcm63xx_timer_set(int id, int monotonic, unsigned int countdown_us);
0008 int bcm63xx_timer_enable(int id);
0009 int bcm63xx_timer_disable(int id);
0010 unsigned int bcm63xx_timer_countdown(unsigned int countdown_us);
0011 
0012 #endif /* !BCM63XX_TIMER_H_ */