Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  *
0004  *  Copyright (C) 2005 Mike Isely <isely@pobox.com>
0005  */
0006 #ifndef __PVRUSB2_DEBUGIFC_H
0007 #define __PVRUSB2_DEBUGIFC_H
0008 
0009 struct pvr2_hdw;
0010 
0011 /* Print general status of driver.  This will also trigger a probe of
0012    the USB link.  Unlike print_info(), this one synchronizes with the
0013    driver so the information should be self-consistent (but it will
0014    hang if the driver is wedged). */
0015 int pvr2_debugifc_print_info(struct pvr2_hdw *,
0016                  char *buf_ptr, unsigned int buf_size);
0017 
0018 /* Non-intrusively print some useful debugging info from inside the
0019    driver.  This should work even if the driver appears to be
0020    wedged. */
0021 int pvr2_debugifc_print_status(struct pvr2_hdw *,
0022                    char *buf_ptr,unsigned int buf_size);
0023 
0024 /* Parse a string command into a driver action. */
0025 int pvr2_debugifc_docmd(struct pvr2_hdw *,
0026             const char *buf_ptr,unsigned int buf_size);
0027 
0028 #endif /* __PVRUSB2_DEBUGIFC_H */