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