Source
* The thread name is retrieved from 'current' global variable if 'thread_name'
// SPDX-License-Identifier: GPL-2.0-only
/*
* pti.c - PTI driver for cJTAG data extration
*
* Copyright (C) Intel 2010
*
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
* 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.
*/
/* 128 channel ids / u8 bit size */
/* 128 channel ids / u8 bit size */
/* 128 channel ids / u8 bit size */
/* modem master ID address */
/* control master ID address */
/* console master ID address */
/* base OS master ID address */
/* base App master ID address */
/* PTI control frame maximum size */
/* 8Kb buffer for user space copy */
/* offset to first OS write addr */
/* address length */
struct pti_tty {
struct pti_masterchannel *mc;
};
struct pti_dev {
struct tty_port port[PTITTY_MINOR_NUM];
unsigned long pti_addr;
unsigned long aperture_base;
void __iomem *pti_ioaddr;
u8 ia_app[MAX_APP_IDS];
u8 ia_os[MAX_OS_IDS];
u8 ia_modem[MAX_MODEM_IDS];
};