swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: 08895a8b6b06ed2323cd97a36ee40a116b3db8ed authored by Linus Torvalds on 26 September 2016, 01:47:13 UTC
Linux 4.8-rc8
Tip revision: 08895a8
tda998x.h
#ifndef __DRM_I2C_TDA998X_H__
#define __DRM_I2C_TDA998X_H__

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;

	u8 audio_cfg;
	u8 audio_clk_cfg;
	u8 audio_frame[6];

	enum {
		AFMT_SPDIF,
		AFMT_I2S
	} audio_format;

	unsigned audio_sample_rate;
};

#endif
back to top