Lines Matching defs:av7110
39 #include "av7110.h"
44 void CI_handle(struct av7110 *av7110, u8 *data, u16 len)
46 dprintk(8, "av7110:%p\n",av7110);
56 av7110->ci_slot[data[2] - 1].flags = 0;
59 av7110->ci_slot[data[2] - 1].flags |= CA_CI_MODULE_PRESENT;
62 av7110->ci_slot[data[2] - 1].flags |= CA_CI_MODULE_READY;
67 //av7110->ci_stat=data[1];
218 struct av7110 *av7110 = dvbdev->priv;
221 dprintk(8, "av7110:%p\n",av7110);
225 ci_ll_flush(&av7110->ci_rbuffer, &av7110->ci_wbuffer);
232 struct av7110 *av7110 = dvbdev->priv;
233 struct dvb_ringbuffer *rbuf = &av7110->ci_rbuffer;
234 struct dvb_ringbuffer *wbuf = &av7110->ci_wbuffer;
237 dprintk(8, "av7110:%p\n",av7110);
254 struct av7110 *av7110 = dvbdev->priv;
257 dprintk(8, "av7110:%p\n",av7110);
261 return ci_ll_reset(&av7110->ci_wbuffer, file, arg, &av7110->ci_slot[0]);
268 cap.slot_type = (FW_CI_LL_SUPPORT(av7110->arm_app) ?
282 av7110->ci_slot[info->num].num = info->num;
283 av7110->ci_slot[info->num].type = FW_CI_LL_SUPPORT(av7110->arm_app) ?
285 memcpy(info, &av7110->ci_slot[info->num], sizeof(ca_slot_info_t));
313 av7110_fw_cmd(av7110, COMTYPE_PIDFILTER, SetDescr, 5,
332 struct av7110 *av7110 = dvbdev->priv;
334 dprintk(8, "av7110:%p\n",av7110);
335 return ci_ll_write(&av7110->ci_wbuffer, file, buf, count, ppos);
342 struct av7110 *av7110 = dvbdev->priv;
344 dprintk(8, "av7110:%p\n",av7110);
345 return ci_ll_read(&av7110->ci_rbuffer, file, buf, count, ppos);
367 int av7110_ca_register(struct av7110 *av7110)
369 return dvb_register_device(&av7110->dvb_adapter, &av7110->ca_dev,
370 &dvbdev_ca, av7110, DVB_DEVICE_CA);
373 void av7110_ca_unregister(struct av7110 *av7110)
375 dvb_unregister_device(av7110->ca_dev);
378 int av7110_ca_init(struct av7110* av7110)
380 return ci_ll_init(&av7110->ci_rbuffer, &av7110->ci_wbuffer, 8192);
383 void av7110_ca_exit(struct av7110* av7110)
385 ci_ll_release(&av7110->ci_rbuffer, &av7110->ci_wbuffer);