linux/include/linux/hid-debug.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __HID_DEBUG_H
#define __HID_DEBUG_H

/*
 *  Copyright (c) 2007-2009	Jiri Kosina
 */

/*
 */

#ifdef CONFIG_DEBUG_FS

#include <linux/kfifo.h>

#define HID_DEBUG_BUFSIZE
#define HID_DEBUG_FIFOSIZE

void hid_dump_input(struct hid_device *, struct hid_usage *, __s32);
void hid_dump_report(struct hid_device *, int , u8 *, int);
void hid_dump_device(struct hid_device *, struct seq_file *);
void hid_dump_field(struct hid_field *, int, struct seq_file *);
char *hid_resolv_usage(unsigned, struct seq_file *);
void hid_debug_register(struct hid_device *, const char *);
void hid_debug_unregister(struct hid_device *);
void hid_debug_init(void);
void hid_debug_exit(void);
void hid_debug_event(struct hid_device *, char *);

struct hid_debug_list {};

#else

#define hid_dump_input
#define hid_dump_report
#define hid_dump_device
#define hid_dump_field
#define hid_resolv_usage
#define hid_debug_register
#define hid_debug_unregister
#define hid_debug_init
#define hid_debug_exit
#define hid_debug_event

#endif

#endif