linux/drivers/tty/n_tracesink.h
<<
>>
Prefs
   1/*
   2 *  n_tracesink.h - Kernel driver API to route trace data in kernel space.
   3 *
   4 *  Copyright (C) Intel 2011
   5 *
   6 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   7 *
   8 *  This program is free software; you can redistribute it and/or modify
   9 *  it under the terms of the GNU General Public License version 2
  10 *  as published by the Free Software Foundation.
  11 *
  12 *  This program is distributed in the hope that it will be useful,
  13 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15 *  GNU General Public License for more details.
  16 *
  17 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18 *
  19 * The PTI (Parallel Trace Interface) driver directs trace data routed from
  20 * various parts in the system out through the Intel Penwell PTI port and
  21 * out of the mobile device for analysis with a debugging tool
  22 * (Lauterbach, Fido). This is part of a solution for the MIPI P1149.7,
  23 * compact JTAG, standard.
  24 *
  25 * This header file is used by n_tracerouter to be able to send the
  26 * data of it's tty port to the tty port this module sits.  This
  27 * mechanism can also be used independent of the PTI module.
  28 *
  29 */
  30
  31#ifndef N_TRACESINK_H_
  32#define N_TRACESINK_H_
  33
  34void n_tracesink_datadrain(u8 *buf, int count);
  35
  36#endif
  37