21 #include <linux/signal.h>
22 #include <linux/slab.h>
23 #include <linux/sched.h>
66 static int mantis_ca_read_cam_ctl(
struct dvb_ca_en50221 *en50221,
int slot,
u8 addr)
79 static int mantis_ca_write_cam_ctl(
struct dvb_ca_en50221 *en50221,
int slot,
u8 addr,
u8 data)
92 static int mantis_ca_slot_reset(
struct dvb_ca_en50221 *en50221,
int slot)
108 static int mantis_ca_slot_shutdown(
struct dvb_ca_en50221 *en50221,
int slot)
118 static int mantis_ts_control(
struct dvb_ca_en50221 *en50221,
int slot)
165 ca->
en50221.read_attribute_mem = mantis_ca_read_attr_mem;
166 ca->
en50221.write_attribute_mem = mantis_ca_write_attr_mem;
167 ca->
en50221.read_cam_control = mantis_ca_read_cam_ctl;
168 ca->
en50221.write_cam_control = mantis_ca_write_cam_ctl;
169 ca->
en50221.slot_reset = mantis_ca_slot_reset;
170 ca->
en50221.slot_shutdown = mantis_ca_slot_shutdown;
171 ca->
en50221.slot_ts_enable = mantis_ts_control;
172 ca->
en50221.poll_slot_status = mantis_slot_status;