Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / drivers / media / usb / pvrusb2 / pvrusb2-debugifc.h
blob9b9c0f553480c7de433d8df32fd58458d1bc1dd3
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
4 * Copyright (C) 2005 Mike Isely <isely@pobox.com>
5 */
6 #ifndef __PVRUSB2_DEBUGIFC_H
7 #define __PVRUSB2_DEBUGIFC_H
9 struct pvr2_hdw;
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
20 wedged. */
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 */