diff options
author | J Freyensee <james_p_freyensee@linux.intel.com> | 2010-12-08 10:57:34 +0000 |
---|---|---|
committer | Alan Cox <alan@linux.intel.com> | 2010-12-08 10:57:34 +0000 |
commit | 66d4bf1d02be2c18d201ee661b3d988800fbead2 (patch) | |
tree | e73170bef337d12f040c05bfd06e365119f12dd2 /include | |
parent | cc3d5d375ce462167c8205c5bef3af915dae725d (diff) | |
download | mrst-s0i3-test-66d4bf1d02be2c18d201ee661b3d988800fbead2.tar.gz mrst-s0i3-test-66d4bf1d02be2c18d201ee661b3d988800fbead2.tar.xz mrst-s0i3-test-66d4bf1d02be2c18d201ee661b3d988800fbead2.zip |
From: J Freyensee <james_p_freyensee@linux.intel.com>
pti: Intel PTI driver
The PTI (Parallel Trace Interface) driver directs trace data routed from
various parts in the system out through an Intel Penwell PTI port and out of
the mobile device for analysis with a debugging tool.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/pti.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/linux/pti.h b/include/linux/pti.h new file mode 100644 index 00000000000..07c73b70529 --- /dev/null +++ b/include/linux/pti.h @@ -0,0 +1,38 @@ +/* + * Copyright (C) Intel 2010 + * Ken Mills <ken.k.mills@intel.com> + * + * 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. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, + * USA + * + */ + +#ifndef PTI_H_ +#define PTI_H_ + + +struct masterchannel { + u8 master; + u8 channel; +}; + + +void mipi_pti_writedata(struct masterchannel *mc, u8 *cp, int count); +struct masterchannel *mipi_request_masterchannel(u8 kerneluser); +void mipi_release_masterchannel(struct masterchannel *mc); + +#define APERTURE_14 0x3800000 +#define APERTURE_LEN 0x400000 + +#endif /*PTI_H_*/ |