extd_utils.h 372 B

123456789101112131415
  1. #ifndef EXTD_UTILS_H
  2. #define EXTD_UTILS_H
  3. #include <asm/ioctl.h>
  4. #include "mtk_extd_mgr.h"
  5. int extd_mutex_init(struct mutex *m);
  6. int extd_sw_mutex_lock(struct mutex *m);
  7. int extd_mutex_trylock(struct mutex *m);
  8. int extd_sw_mutex_unlock(struct mutex *m);
  9. int extd_msleep(unsigned int ms);
  10. long int extd_get_time_us(void);
  11. char *_extd_ioctl_spy(unsigned int cmd);
  12. #endif