#ifndef __DRM_I2C_TDA998X_H__
#define __DRM_I2C_TDA998X_H__

#include <linux/hdmi.h>
#include <dt-bindings/display/tda998x.h>

enum {
	AFMT_UNUSED =	0,
	AFMT_SPDIF =	TDA998x_SPDIF,
	AFMT_I2S =	TDA998x_I2S,
};

struct tda998x_audio_params {
	u8 config;
	u8 format;
	unsigned sample_width;
	unsigned sample_rate;
	struct hdmi_audio_infoframe cea;
	u8 status[5];
};

struct tda998x_encoder_params {
	u8 swap_b:3;
	u8 mirr_b:1;
	u8 swap_a:3;
	u8 mirr_a:1;
	u8 swap_d:3;
	u8 mirr_d:1;
	u8 swap_c:3;
	u8 mirr_c:1;
	u8 swap_f:3;
	u8 mirr_f:1;
	u8 swap_e:3;
	u8 mirr_e:1;

	struct tda998x_audio_params audio_params;
};

#endif
class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></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='52f5631a4c056ad01682393be56d2be237e81610'/><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=52f5631a4c056ad01682393be56d2be237e81610'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/batman-adv/bat_v.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/batman-adv/bat_v.c?id=52f5631a4c056ad01682393be56d2be237e81610'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/batman-adv/bat_v.c?id=52f5631a4c056ad01682393be56d2be237e81610'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/batman-adv/bat_v.c?id=52f5631a4c056ad01682393be56d2be237e81610'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/batman-adv/bat_v.c'>
<input type='hidden' name='id' value='52f5631a4c056ad01682393be56d2be237e81610'/><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/log/?id=52f5631a4c056ad01682393be56d2be237e81610'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?id=52f5631a4c056ad01682393be56d2be237e81610'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/batman-adv?id=52f5631a4c056ad01682393be56d2be237e81610'>batman-adv</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/batman-adv/bat_v.c?id=52f5631a4c056ad01682393be56d2be237e81610'>bat_v.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/net/batman-adv/bat_v.c?id=52f5631a4c056ad01682393be56d2be237e81610&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>