Searched refs:en50221 (Results 1 - 10 of 10) sorted by relevance

/linux-4.1.27/drivers/media/pci/mantis/
H A Dmantis_ca.c40 static int mantis_ca_read_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr) mantis_ca_read_attr_mem() argument
42 struct mantis_ca *ca = en50221->data; mantis_ca_read_attr_mem()
53 static int mantis_ca_write_attr_mem(struct dvb_ca_en50221 *en50221, int slot, int addr, u8 data) mantis_ca_write_attr_mem() argument
55 struct mantis_ca *ca = en50221->data; mantis_ca_write_attr_mem()
66 static int mantis_ca_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr) mantis_ca_read_cam_ctl() argument
68 struct mantis_ca *ca = en50221->data; mantis_ca_read_cam_ctl()
79 static int mantis_ca_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, u8 addr, u8 data) mantis_ca_write_cam_ctl() argument
81 struct mantis_ca *ca = en50221->data; mantis_ca_write_cam_ctl()
92 static int mantis_ca_slot_reset(struct dvb_ca_en50221 *en50221, int slot) mantis_ca_slot_reset() argument
94 struct mantis_ca *ca = en50221->data; mantis_ca_slot_reset()
103 dvb_ca_en50221_camready_irq(&ca->en50221, 0); mantis_ca_slot_reset()
108 static int mantis_ca_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) mantis_ca_slot_shutdown() argument
110 struct mantis_ca *ca = en50221->data; mantis_ca_slot_shutdown()
118 static int mantis_ts_control(struct dvb_ca_en50221 *en50221, int slot) mantis_ts_control() argument
120 struct mantis_ca *ca = en50221->data; mantis_ts_control()
129 static int mantis_slot_status(struct dvb_ca_en50221 *en50221, int slot, int open) mantis_slot_status() argument
131 struct mantis_ca *ca = en50221->data; mantis_slot_status()
164 ca->en50221.owner = THIS_MODULE; mantis_ca_init()
165 ca->en50221.read_attribute_mem = mantis_ca_read_attr_mem; mantis_ca_init()
166 ca->en50221.write_attribute_mem = mantis_ca_write_attr_mem; mantis_ca_init()
167 ca->en50221.read_cam_control = mantis_ca_read_cam_ctl; mantis_ca_init()
168 ca->en50221.write_cam_control = mantis_ca_write_cam_ctl; mantis_ca_init()
169 ca->en50221.slot_reset = mantis_ca_slot_reset; mantis_ca_init()
170 ca->en50221.slot_shutdown = mantis_ca_slot_shutdown; mantis_ca_init()
171 ca->en50221.slot_ts_enable = mantis_ts_control; mantis_ca_init()
172 ca->en50221.poll_slot_status = mantis_slot_status; mantis_ca_init()
173 ca->en50221.data = ca; mantis_ca_init()
182 result = dvb_ca_en50221_init(dvb_adapter, &ca->en50221, ca_flags, 1); mantis_ca_init()
206 dvb_ca_en50221_release(&ca->en50221); mantis_ca_exit()
H A Dmantis_evm.c53 dvb_ca_en50221_camchange_irq(&ca->en50221, mantis_hifevm_work()
62 dvb_ca_en50221_camchange_irq(&ca->en50221, mantis_hifevm_work()
H A Dmantis_pcmcia.c100 dvb_ca_en50221_camchange_irq(&ca->en50221, mantis_pcmcia_init()
107 dvb_ca_en50221_camchange_irq(&ca->en50221, mantis_pcmcia_init()
H A Dmantis_link.h63 struct dvb_ca_en50221 en50221; member in struct:mantis_ca
/linux-4.1.27/drivers/media/pci/cx23885/
H A Dcimax2.h26 extern int netup_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221,
28 extern int netup_ci_write_attribute_mem(struct dvb_ca_en50221 *en50221,
30 extern int netup_ci_read_cam_ctl(struct dvb_ca_en50221 *en50221,
32 extern int netup_ci_write_cam_ctl(struct dvb_ca_en50221 *en50221,
34 extern int netup_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot);
35 extern int netup_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot);
36 extern int netup_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot);
38 extern int netup_poll_ci_slot_status(struct dvb_ca_en50221 *en50221,
H A Dcimax2.c177 static int netup_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, netup_ci_op_cam() argument
180 struct netup_ci_state *state = en50221->data; netup_ci_op_cam()
247 int netup_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221, netup_ci_read_attribute_mem() argument
250 return netup_ci_op_cam(en50221, slot, 0, NETUP_CI_RD, addr, 0); netup_ci_read_attribute_mem()
253 int netup_ci_write_attribute_mem(struct dvb_ca_en50221 *en50221, netup_ci_write_attribute_mem() argument
256 return netup_ci_op_cam(en50221, slot, 0, 0, addr, data); netup_ci_write_attribute_mem()
259 int netup_ci_read_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, netup_ci_read_cam_ctl() argument
262 return netup_ci_op_cam(en50221, slot, NETUP_CI_CTL, netup_ci_read_cam_ctl()
266 int netup_ci_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, netup_ci_write_cam_ctl() argument
269 return netup_ci_op_cam(en50221, slot, NETUP_CI_CTL, 0, addr, data); netup_ci_write_cam_ctl()
272 int netup_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot) netup_ci_slot_reset() argument
274 struct netup_ci_state *state = en50221->data; netup_ci_slot_reset()
301 int netup_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) netup_ci_slot_shutdown() argument
307 static int netup_ci_set_irq(struct dvb_ca_en50221 *en50221, u8 irq_mode) netup_ci_set_irq() argument
309 struct netup_ci_state *state = en50221->data; netup_ci_set_irq()
328 int netup_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot) netup_ci_slot_ts_ctl() argument
330 struct netup_ci_state *state = en50221->data; netup_ci_slot_ts_ctl()
411 int netup_poll_ci_slot_status(struct dvb_ca_en50221 *en50221, netup_poll_ci_slot_status() argument
414 struct netup_ci_state *state = en50221->data; netup_poll_ci_slot_status()
419 netup_ci_set_irq(en50221, open ? (NETUP_IRQ_DETAM | ci_irq_flags()) netup_poll_ci_slot_status()
H A Daltera-ci.c262 static int altera_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, altera_ci_op_cam() argument
266 struct altera_ci_state *state = en50221->data; altera_ci_op_cam()
297 static int altera_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221, altera_ci_read_attribute_mem() argument
300 return altera_ci_op_cam(en50221, slot, 0, NETUP_CI_FLG_RD, addr, 0); altera_ci_read_attribute_mem()
303 static int altera_ci_write_attribute_mem(struct dvb_ca_en50221 *en50221, altera_ci_write_attribute_mem() argument
306 return altera_ci_op_cam(en50221, slot, 0, 0, addr, data); altera_ci_write_attribute_mem()
309 static int altera_ci_read_cam_ctl(struct dvb_ca_en50221 *en50221, altera_ci_read_cam_ctl() argument
312 return altera_ci_op_cam(en50221, slot, NETUP_CI_FLG_CTL, altera_ci_read_cam_ctl()
316 static int altera_ci_write_cam_ctl(struct dvb_ca_en50221 *en50221, int slot, altera_ci_write_cam_ctl() argument
319 return altera_ci_op_cam(en50221, slot, NETUP_CI_FLG_CTL, 0, addr, data); altera_ci_write_cam_ctl()
322 static int altera_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot) altera_ci_slot_reset() argument
324 struct altera_ci_state *state = en50221->data; altera_ci_slot_reset()
365 static int altera_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) altera_ci_slot_shutdown() argument
371 static int altera_ci_slot_ts_ctl(struct dvb_ca_en50221 *en50221, int slot) altera_ci_slot_ts_ctl() argument
373 struct altera_ci_state *state = en50221->data; altera_ci_slot_ts_ctl()
448 static int altera_poll_ci_slot_status(struct dvb_ca_en50221 *en50221, altera_poll_ci_slot_status() argument
451 struct altera_ci_state *state = en50221->data; altera_poll_ci_slot_status()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dsp2.h39 extern int sp2_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221,
41 extern int sp2_ci_write_attribute_mem(struct dvb_ca_en50221 *en50221,
43 extern int sp2_ci_read_cam_control(struct dvb_ca_en50221 *en50221,
45 extern int sp2_ci_write_cam_control(struct dvb_ca_en50221 *en50221,
47 extern int sp2_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot);
48 extern int sp2_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot);
49 extern int sp2_ci_slot_ts_enable(struct dvb_ca_en50221 *en50221, int slot);
50 extern int sp2_ci_poll_slot_status(struct dvb_ca_en50221 *en50221,
H A Dsp2.c101 static int sp2_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, u8 acs, sp2_ci_op_cam() argument
104 struct sp2 *s = en50221->data; sp2_ci_op_cam()
155 int sp2_ci_read_attribute_mem(struct dvb_ca_en50221 *en50221, sp2_ci_read_attribute_mem() argument
158 return sp2_ci_op_cam(en50221, slot, SP2_CI_ATTR_ACS, sp2_ci_read_attribute_mem()
162 int sp2_ci_write_attribute_mem(struct dvb_ca_en50221 *en50221, sp2_ci_write_attribute_mem() argument
165 return sp2_ci_op_cam(en50221, slot, SP2_CI_ATTR_ACS, sp2_ci_write_attribute_mem()
169 int sp2_ci_read_cam_control(struct dvb_ca_en50221 *en50221, sp2_ci_read_cam_control() argument
172 return sp2_ci_op_cam(en50221, slot, SP2_CI_IO_ACS, sp2_ci_read_cam_control()
176 int sp2_ci_write_cam_control(struct dvb_ca_en50221 *en50221, sp2_ci_write_cam_control() argument
179 return sp2_ci_op_cam(en50221, slot, SP2_CI_IO_ACS, sp2_ci_write_cam_control()
183 int sp2_ci_slot_reset(struct dvb_ca_en50221 *en50221, int slot) sp2_ci_slot_reset() argument
185 struct sp2 *s = en50221->data; sp2_ci_slot_reset()
215 int sp2_ci_slot_shutdown(struct dvb_ca_en50221 *en50221, int slot) sp2_ci_slot_shutdown() argument
217 struct sp2 *s = en50221->data; sp2_ci_slot_shutdown()
225 int sp2_ci_slot_ts_enable(struct dvb_ca_en50221 *en50221, int slot) sp2_ci_slot_ts_enable() argument
227 struct sp2 *s = en50221->data; sp2_ci_slot_ts_enable()
242 int sp2_ci_poll_slot_status(struct dvb_ca_en50221 *en50221, sp2_ci_poll_slot_status() argument
245 struct sp2 *s = en50221->data; sp2_ci_poll_slot_status()
/linux-4.1.27/drivers/media/dvb-core/
H A Ddvb_ca_en50221.c1647 .name = "dvb-ca-en50221",

Completed in 214 milliseconds