]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/usb/intel_ulpss/diag_stub.h
UBUNTU: SAUCE: IPU driver release WW48 with MCU
[mirror_ubuntu-jammy-kernel.git] / drivers / usb / intel_ulpss / diag_stub.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Intel LPSS USB driver
4 *
5 * Copyright (c) 2020, Intel Corporation.
6 */
7
8 #ifndef __DIAG_STUB_H__
9 #define __DIAG_STUB_H__
10
11 #include "usb_stub.h"
12
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);
19 #endif