mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 09:50:04 +00:00
![Thomas Gleixner](/assets/img/avatar_default.png)
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 655 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070034.575739538@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
35 lines
1.2 KiB
C
35 lines
1.2 KiB
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) Intel 2011
|
|
*
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
*
|
|
* The PTI (Parallel Trace Interface) driver directs trace data routed from
|
|
* various parts in the system out through the Intel Penwell PTI port and
|
|
* out of the mobile device for analysis with a debugging tool
|
|
* (Lauterbach, Fido). This is part of a solution for the MIPI P1149.7,
|
|
* compact JTAG, standard.
|
|
*
|
|
* This header file will allow other parts of the OS to use the
|
|
* interface to write out it's contents for debugging a mobile system.
|
|
*/
|
|
|
|
#ifndef LINUX_INTEL_PTI_H_
|
|
#define LINUX_INTEL_PTI_H_
|
|
|
|
/* offset for last dword of any PTI message. Part of MIPI P1149.7 */
|
|
#define PTI_LASTDWORD_DTS 0x30
|
|
|
|
/* basic structure used as a write address to the PTI HW */
|
|
struct pti_masterchannel {
|
|
u8 master;
|
|
u8 channel;
|
|
};
|
|
|
|
/* the following functions are defined in misc/pti.c */
|
|
void pti_writedata(struct pti_masterchannel *mc, u8 *buf, int count);
|
|
struct pti_masterchannel *pti_request_masterchannel(u8 type,
|
|
const char *thread_name);
|
|
void pti_release_masterchannel(struct pti_masterchannel *mc);
|
|
|
|
#endif /* LINUX_INTEL_PTI_H_ */
|