pvrusb2-debugifc.h 943 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. *
  4. * Copyright (C) 2005 Mike Isely <[email protected]>
  5. */
  6. #ifndef __PVRUSB2_DEBUGIFC_H
  7. #define __PVRUSB2_DEBUGIFC_H
  8. struct pvr2_hdw;
  9. /* Print general status of driver. This will also trigger a probe of
  10. the USB link. Unlike print_info(), this one synchronizes with the
  11. driver so the information should be self-consistent (but it will
  12. hang if the driver is wedged). */
  13. int pvr2_debugifc_print_info(struct pvr2_hdw *,
  14. char *buf_ptr, unsigned int buf_size);
  15. /* Non-intrusively print some useful debugging info from inside the
  16. driver. This should work even if the driver appears to be
  17. wedged. */
  18. int pvr2_debugifc_print_status(struct pvr2_hdw *,
  19. char *buf_ptr,unsigned int buf_size);
  20. /* Parse a string command into a driver action. */
  21. int pvr2_debugifc_docmd(struct pvr2_hdw *,
  22. const char *buf_ptr,unsigned int buf_size);
  23. #endif /* __PVRUSB2_DEBUGIFC_H */