Path: blob/master/drivers/media/video/cx23885/cimax2.h
17745 views
/*1* cimax2.h2*3* CIMax(R) SP2 driver in conjunction with NetUp Dual DVB-S2 CI card4*5* Copyright (C) 2009 NetUP Inc.6* Copyright (C) 2009 Igor M. Liplianin <[email protected]>7* Copyright (C) 2009 Abylay Ospan <[email protected]>8*9* This program is free software; you can redistribute it and/or modify10* it under the terms of the GNU General Public License as published by11* the Free Software Foundation; either version 2 of the License, or12* (at your option) any later version.13*14* This program is distributed in the hope that it will be useful,15* but WITHOUT ANY WARRANTY; without even the implied warranty of16* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the17*18* GNU General Public License for more details.19*20* You should have received a copy of the GNU General Public License21* along with this program; if not, write to the Free Software22* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.23*/2425#ifndef CIMAX2_H26#define CIMAX2_H27#include "dvb_ca_en50221.h"2829extern int netup_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221,30int slot, int addr);31extern int netup_ci_write_attribute_mem(struct dvb_ca_en50221 *en50221,32int slot, int addr, u8 data);33extern int netup_ci_read_cam_ctl(struct dvb_ca_en50221 *en50221,34int slot, u8 addr);35extern int netup_ci_write_cam_ctl(struct dvb_ca_en50221 *en50221,36int slot, u8 addr, u8 data);37extern int netup_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot);38extern int netup_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot);39extern int netup_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot);40extern int netup_ci_slot_status(struct cx23885_dev *dev, u32 pci_status);41extern int netup_poll_ci_slot_status(struct dvb_ca_en50221 *en50221,42int slot, int open);43extern int netup_ci_init(struct cx23885_tsport *port);44extern void netup_ci_exit(struct cx23885_tsport *port);4546#endif474849