18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * cxd2099.h: Driver for the Sony CXD2099AR Common Interface Controller 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2010-2011 Digital Devices GmbH 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or 88c2ecf20Sopenharmony_ci * modify it under the terms of the GNU General Public License 98c2ecf20Sopenharmony_ci * version 2 only, as published by the Free Software Foundation. 108c2ecf20Sopenharmony_ci * 118c2ecf20Sopenharmony_ci * This program is distributed in the hope that it will be useful, 128c2ecf20Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 138c2ecf20Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 148c2ecf20Sopenharmony_ci * GNU General Public License for more details. 158c2ecf20Sopenharmony_ci */ 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ci#ifndef _CXD2099_H_ 188c2ecf20Sopenharmony_ci#define _CXD2099_H_ 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci#include <media/dvb_ca_en50221.h> 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_cistruct cxd2099_cfg { 238c2ecf20Sopenharmony_ci u32 bitrate; 248c2ecf20Sopenharmony_ci u8 polarity; 258c2ecf20Sopenharmony_ci u8 clock_mode; 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci u32 max_i2c; 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci /* ptr to DVB CA struct */ 308c2ecf20Sopenharmony_ci struct dvb_ca_en50221 **en; 318c2ecf20Sopenharmony_ci}; 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci#endif 34