tvin_notifier.h 1001 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * TVIN Notifier
  3. *
  4. * Author: Bobby Yang <bo.yang@amlogic.com>
  5. *
  6. * Copyright (C) 2010 Amlogic Inc.
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef __TVIN_NOTIFIER_H
  13. #define __TVIN_NOTIFIER_H
  14. #include <linux/notifier.h>
  15. /*
  16. * source dec operations notifier
  17. */
  18. #define TVIN_EVENT_DEC_START 0x00010000
  19. #define TVIN_EVENT_DEC_STOP 0x00020000
  20. #define TVIN_EVENT_INFO_CHECK 0x00040000
  21. extern int tvin_dec_notifier_register(struct notifier_block *nb);
  22. extern int tvin_dec_notifier_unregister(struct notifier_block *nb);
  23. extern int tvin_dec_notifier_call(unsigned long, void *);
  24. extern int tvin_check_notifier_register(struct notifier_block *nb);
  25. extern int tvin_check_notifier_unregister(struct notifier_block *nb);
  26. extern int tvin_check_notifier_call(unsigned long, void *);
  27. #endif