/*
 * Copyright (C) 2005-2006 by Texas Instruments
 *
 * The Inventra Controller Driver for Linux 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.
 */

#ifndef __MUSB_OMAP243X_H__
#define __MUSB_OMAP243X_H__

#include <linux/platform_data/usb-omap.h>

/*
 * OMAP2430-specific definitions
 */

#define OTG_REVISION		0x400

#define OTG_SYSCONFIG		0x404
#	define	MIDLEMODE	12	/* bit position */
#	define	FORCESTDBY		(0 << MIDLEMODE)
#	define	NOSTDBY			(1 << MIDLEMODE)
#	define	SMARTSTDBY		(2 << MIDLEMODE)

#	define	SIDLEMODE		3	/* bit position */
#	define	FORCEIDLE		(0 << SIDLEMODE)
#	define	NOIDLE			(1 << SIDLEMODE)
#	define	SMARTIDLE		(2 << SIDLEMODE)

#	define	ENABLEWAKEUP		(1 << 2)
#	define	SOFTRST			(1 << 1)
#	define	AUTOIDLE		(1 << 0)

#define OTG_SYSSTATUS		0x408
#	define	RESETDONE		(1 << 0)

#define OTG_INTERFSEL		0x40c
#	define	EXTCP			(1 << 2)
#	define	PHYSEL			0	/* bit position */
#	define	UTMI_8BIT		(0 << PHYSEL)
#	define	ULPI_12PIN		(1 << PHYSEL)
#	define	ULPI_8PIN		(2 << PHYSEL)

#define OTG_SIMENABLE		0x410
#	define	TM1			(1 << 0)

#define OTG_FORCESTDBY		0x414
#	define	ENABLEFORCE		(1 << 0)

#endif	/* __MUSB_OMAP243X_H__ */
emove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/host/ehci-tilegx.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/host/ehci-tilegx.c?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/host/ehci-tilegx.c?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e'>commit</a><a class='active' href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/host/ehci-tilegx.c?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e&amp;id2=bed69721b67aeb3616e983ed32acc131968188f5'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/host/ehci-tilegx.c'>
<input type='hidden' name='id' value='56e3d92ddb97d9584622b29d4ecb268e30242b1e'/><input type='hidden' name='id2' value='bed69721b67aeb3616e983ed32acc131968188f5'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/diff/?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e&amp;id2=bed69721b67aeb3616e983ed32acc131968188f5'>root</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e&amp;id2=bed69721b67aeb3616e983ed32acc131968188f5'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e&amp;id2=bed69721b67aeb3616e983ed32acc131968188f5'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/host?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e&amp;id2=bed69721b67aeb3616e983ed32acc131968188f5'>host</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/host/ehci-tilegx.c?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e&amp;id2=bed69721b67aeb3616e983ed32acc131968188f5'>ehci-tilegx.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='56e3d92ddb97d9584622b29d4ecb268e30242b1e'/><input type='hidden' name='id2' value='bed69721b67aeb3616e983ed32acc131968188f5'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=56e3d92ddb97d9584622b29d4ecb268e30242b1e&amp;id2=bed69721b67aeb3616e983ed32acc131968188f5'>Diffstat</a> (limited to 'drivers/usb/host/ehci-tilegx.c')</div><table summary='diffstat' class='diffstat'>