/* Generic I/O and MEMIO string operations.  */

#define __ide_insw	insw
#define __ide_insl	insl
#define __ide_outsw	outsw
#define __ide_outsl	outsl

static __inline__ void __ide_mm_insw(void __iomem *port, void *addr, u32 count)
{
	while (count--) {
		*(u16 *)addr = readw(port);
		addr += 2;
	}
}

static __inline__ void __ide_mm_insl(void __iomem *port, void *addr, u32 count)
{
	while (count--) {
		*(u32 *)addr = readl(port);
		addr += 4;
	}
}

static __inline__ void __ide_mm_outsw(void __iomem *port, void *addr, u32 count)
{
	while (count--) {
		writew(*(u16 *)addr, port);
		addr += 2;
	}
}

static __inline__ void __ide_mm_outsl(void __iomem * port, void *addr, u32 count)
{
	while (count--) {
		writel(*(u32 *)addr, port);
		addr += 4;
	}
}
'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='189addce85330208bea50ea7f1483b58822e93cf'/><input type='hidden' name='id2' value='930a42ded3fede7ca3acafc9153f4f2d0f56a92c'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</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=189addce85330208bea50ea7f1483b58822e93cf'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/serial/mxuport.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/serial/mxuport.c?id=189addce85330208bea50ea7f1483b58822e93cf'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/serial/mxuport.c?id=189addce85330208bea50ea7f1483b58822e93cf'>commit</a><a class='active' href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/serial/mxuport.c?id=189addce85330208bea50ea7f1483b58822e93cf&amp;id2=930a42ded3fede7ca3acafc9153f4f2d0f56a92c'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/serial/mxuport.c'>
<input type='hidden' name='id' value='189addce85330208bea50ea7f1483b58822e93cf'/><input type='hidden' name='id2' value='930a42ded3fede7ca3acafc9153f4f2d0f56a92c'/><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=189addce85330208bea50ea7f1483b58822e93cf&amp;id2=930a42ded3fede7ca3acafc9153f4f2d0f56a92c'>root</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers?id=189addce85330208bea50ea7f1483b58822e93cf&amp;id2=930a42ded3fede7ca3acafc9153f4f2d0f56a92c'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb?id=189addce85330208bea50ea7f1483b58822e93cf&amp;id2=930a42ded3fede7ca3acafc9153f4f2d0f56a92c'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/serial?id=189addce85330208bea50ea7f1483b58822e93cf&amp;id2=930a42ded3fede7ca3acafc9153f4f2d0f56a92c'>serial</a>/<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/serial/mxuport.c?id=189addce85330208bea50ea7f1483b58822e93cf&amp;id2=930a42ded3fede7ca3acafc9153f4f2d0f56a92c'>mxuport.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='189addce85330208bea50ea7f1483b58822e93cf'/><input type='hidden' name='id2' value='930a42ded3fede7ca3acafc9153f4f2d0f56a92c'/><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=189addce85330208bea50ea7f1483b58822e93cf&amp;id2=930a42ded3fede7ca3acafc9153f4f2d0f56a92c'>Diffstat</a> (limited to 'drivers/usb/serial/mxuport.c')</div><table summary='diffstat' class='diffstat'>