/*
 * Driver for the Atmel AC97C controller
 *
 * Copyright (C) 2005-2009 Atmel Corporation
 *
 * 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.
 */
#ifndef __INCLUDE_SOUND_ATMEL_AC97C_H
#define __INCLUDE_SOUND_ATMEL_AC97C_H

#include <linux/platform_data/dma-dw.h>

#define AC97C_CAPTURE	0x01
#define AC97C_PLAYBACK	0x02
#define AC97C_BOTH	(AC97C_CAPTURE | AC97C_PLAYBACK)

/**
 * struct atmel_ac97c_pdata - board specific AC97C configuration
 * @rx_dws: DMA slave interface to use for sound capture.
 * @tx_dws: DMA slave interface to use for sound playback.
 * @reset_pin: GPIO pin wired to the reset input on the external AC97 codec,
 *             optional to use, set to -ENODEV if not in use. AC97 layer will
 *             try to do a software reset of the external codec anyway.
 *
 * If the user do not want to use a DMA channel for playback or capture, i.e.
 * only one feature is required on the board. The slave for playback or capture
 * can be set to NULL. The AC97C driver will take use of this when setting up
 * the sound streams.
 */
struct ac97c_platform_data {
	struct dw_dma_slave	rx_dws;
	struct dw_dma_slave	tx_dws;
	int			reset_pin;
};

#endif /* __INCLUDE_SOUND_ATMEL_AC97C_H */
lect> <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=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/phy'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/phy?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/phy?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/phy?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/phy'>
<input type='hidden' name='id' value='0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'/><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/commit/?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/phy?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>phy</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'/><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><table summary='commit info' class='commit-info'>
<tr><th>author</th><td>Philippe Reynes &lt;tremyfr@gmail.com&gt;</td><td class='right'>2017-01-02 20:47:27 +0100</td></tr>
<tr><th>committer</th><td>David S. Miller &lt;davem@davemloft.net&gt;</td><td class='right'>2017-01-02 16:59:10 -0500</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/phy?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>0a0a8d6b0e88d947d7ab3198b325e31f677bebc2</a> (<a href='/cgit.cgi/linux/net-next.git/patch/drivers/usb/phy?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>504ec8a8d6f48d40a4851f7f4789dc07d56fb4d3</a> /<a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/phy?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>drivers/usb/phy</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/phy?id=9da12b6454c4a762077fc33b56bdfd49acdae3ae'>9da12b6454c4a762077fc33b56bdfd49acdae3ae</a> (<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/phy?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2&amp;id2=9da12b6454c4a762077fc33b56bdfd49acdae3ae'>diff</a>)</td></tr></table>
<div class='commit-subject'>net: fealnx: use new api ethtool_{get|set}_link_ksettings</div><div class='commit-msg'>The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.

Signed-off-by: Philippe Reynes &lt;tremyfr@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=0a0a8d6b0e88d947d7ab3198b325e31f677bebc2'>Diffstat</a> (limited to 'drivers/usb/phy')</div><table summary='diffstat' class='diffstat'>