summaryrefslogtreecommitdiffstats
path: root/kernel/arch/openrisc/include/asm/io.h
diff options
context:
space:
mode:
authorShravani <shravani.p@tcs.com>2017-03-07 18:14:05 +0530
committerShravani Paladugula <shravani.p@tcs.com>2017-03-07 14:57:17 +0000
commit7ca470b86711f5f1abaa439de4ea0626f5849b0b (patch)
tree8e341314b4ee94873de6c4cd1ba85b0eda3a8601 /kernel/arch/openrisc/include/asm/io.h
parent0c2f88aa2ccffc538c276caac88da6841107bf81 (diff)
This patch contains updated documentation for Dashboard,packet
forwarding,pcm utility,Ftrace and Scenario testing. Change-Id: I677faeed6e4c78f30d486701364ca15a1507b1ef Signed-off-by: Shravani <shravani.p@tcs.com> Co-Authored by:Srinivas <srinivas.atmakuri@tcs.com> Co-Authored by:RajithaY<rajithax.yerrumsetty@intel.com> Co-Authored by:Gundarapu Kalyan Reddy <reddyx.gundarapu@intel.com> Co-Authored by:Navya Bathula <navyax.bathula@intel.com>
Diffstat (limited to 'kernel/arch/openrisc/include/asm/io.h')
0 files changed, 0 insertions, 0 deletions
: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * Header file for I2C support on PNX010x/4008.
 *
 * Author: Dennis Kovalev <dkovalev@ru.mvista.com>
 *
 * 2004-2006 (c) MontaVista Software, Inc. This file is licensed under
 * the terms of the GNU General Public License version 2. This program
 * is licensed "as is" without any warranty of any kind, whether express
 * or implied.
 */

#ifndef __I2C_PNX_H__
#define __I2C_PNX_H__

struct platform_device;
struct clk;

struct i2c_pnx_mif {
	int			ret;		/* Return value */
	int			mode;		/* Interface mode */
	struct completion	complete;	/* I/O completion */
	struct timer_list	timer;		/* Timeout */
	u8 *			buf;		/* Data buffer */
	int			len;		/* Length of data buffer */
	int			order;		/* RX Bytes to order via TX */
};

struct i2c_pnx_algo_data {
	void __iomem		*ioaddr;
	struct i2c_pnx_mif	mif;
	int			last;
	struct clk		*clk;
	struct i2c_adapter	adapter;
	int			irq;
	u32			timeout;
};

#endif /* __I2C_PNX_H__ */