cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

cimax2.h (1272B)


      1/* SPDX-License-Identifier: GPL-2.0-or-later */
      2/*
      3 * cimax2.h
      4 *
      5 * CIMax(R) SP2 driver in conjunction with NetUp Dual DVB-S2 CI card
      6 *
      7 * Copyright (C) 2009 NetUP Inc.
      8 * Copyright (C) 2009 Igor M. Liplianin <liplianin@netup.ru>
      9 * Copyright (C) 2009 Abylay Ospan <aospan@netup.ru>
     10 */
     11
     12#ifndef CIMAX2_H
     13#define CIMAX2_H
     14#include <media/dvb_ca_en50221.h>
     15
     16extern int netup_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221,
     17						int slot, int addr);
     18extern int netup_ci_write_attribute_mem(struct dvb_ca_en50221 *en50221,
     19						int slot, int addr, u8 data);
     20extern int netup_ci_read_cam_ctl(struct dvb_ca_en50221 *en50221,
     21						int slot, u8 addr);
     22extern int netup_ci_write_cam_ctl(struct dvb_ca_en50221 *en50221,
     23						int slot, u8 addr, u8 data);
     24extern int netup_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot);
     25extern int netup_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot);
     26extern int netup_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot);
     27extern int netup_ci_slot_status(struct cx23885_dev *dev, u32 pci_status);
     28extern int netup_poll_ci_slot_status(struct dvb_ca_en50221 *en50221,
     29						int slot, int open);
     30extern int netup_ci_init(struct cx23885_tsport *port);
     31extern void netup_ci_exit(struct cx23885_tsport *port);
     32
     33#endif