]>
git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/usb/intel_ulpss/diag_stub.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Intel LPSS USB driver
5 * Copyright (c) 2020, Intel Corporation.
8 #ifndef __DIAG_STUB_H__
9 #define __DIAG_STUB_H__
13 int diag_set_trace_level(struct usb_stub
*stub
, u8 level
);
14 int diag_get_statistic_info(struct usb_stub
*stub
);
15 int diag_stub_init(struct usb_interface
*intf
, void *cookie
, u8 len
);
16 int diag_get_state(struct usb_stub
*stub
);
17 int diag_get_fw_log(struct usb_stub
*stub
, u8
*buf
, ssize_t
*len
);
18 int diag_get_coredump(struct usb_stub
*stub
, u8
*buf
, ssize_t
*len
);