Lines Matching refs:pub
117 struct dvb_ca_en50221 *pub; member
234 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus()
287 res = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_wait_if_status()
339 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, in dvb_ca_en50221_link_init()
349 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN); in dvb_ca_en50221_link_init()
366 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, in dvb_ca_en50221_link_init()
376 ret = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN); in dvb_ca_en50221_link_init()
406 _tuple_type = ca->pub->read_attribute_mem(ca->pub, slot, _address); in dvb_ca_en50221_read_tuple()
416 _tuple_length = ca->pub->read_attribute_mem(ca->pub, slot, in dvb_ca_en50221_read_tuple()
426 tuple[i] = ca->pub->read_attribute_mem(ca->pub, slot, in dvb_ca_en50221_read_tuple()
603 ca->pub->write_attribute_mem(ca->pub, slot, sl->config_base, in dvb_ca_en50221_set_configoption()
607 configoption = ca->pub->read_attribute_mem(ca->pub, slot, in dvb_ca_en50221_set_configoption()
659 if (ca->pub->read_data && in dvb_ca_en50221_read_data()
662 status = ca->pub->read_data(ca->pub, slot, buf, in dvb_ca_en50221_read_data()
665 status = ca->pub->read_data(ca->pub, slot, buf, ecount); in dvb_ca_en50221_read_data()
673 status = ca->pub->read_cam_control(ca->pub, slot, in dvb_ca_en50221_read_data()
684 status = ca->pub->read_cam_control(ca->pub, slot, in dvb_ca_en50221_read_data()
689 status = ca->pub->read_cam_control(ca->pub, slot, in dvb_ca_en50221_read_data()
724 status = ca->pub->read_cam_control(ca->pub, slot, in dvb_ca_en50221_read_data()
734 status = ca->pub->read_cam_control(ca->pub, slot, in dvb_ca_en50221_read_data()
797 if (ca->pub->write_data && in dvb_ca_en50221_write_data()
799 return ca->pub->write_data(ca->pub, slot, buf, bytes_write); in dvb_ca_en50221_write_data()
807 status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_write_data()
819 status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, in dvb_ca_en50221_write_data()
825 status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_write_data()
845 status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_write_data()
858 status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_SIZE_HIGH, in dvb_ca_en50221_write_data()
862 status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_SIZE_LOW, in dvb_ca_en50221_write_data()
869 status = ca->pub->write_cam_control(ca->pub, slot, CTRLIF_DATA, in dvb_ca_en50221_write_data()
876 status = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_write_data()
890 ca->pub->write_cam_control(ca->pub, slot, CTRLIF_COMMAND, IRQEN); in dvb_ca_en50221_write_data()
909 ca->pub->slot_shutdown(ca->pub, slot); in dvb_ca_en50221_slot_shutdown()
990 flags = ca->pub->read_cam_control(pubca, slot, CTRLIF_STATUS); in dvb_ca_en50221_frda_irq()
1099 (ca->pub->poll_slot_status)) { in dvb_ca_en50221_poll_cam_gone()
1100 status = ca->pub->poll_slot_status(ca->pub, slot, 0); in dvb_ca_en50221_poll_cam_gone()
1152 ca->pub->slot_reset(ca->pub, slot); in dvb_ca_en50221_thread_state_machine()
1188 if (ca->pub->write_cam_control(ca->pub, slot, in dvb_ca_en50221_thread_state_machine()
1213 flags = ca->pub->read_cam_control(ca->pub, slot, CTRLIF_STATUS); in dvb_ca_en50221_thread_state_machine()
1245 ca->pub->slot_ts_enable(ca->pub, slot); in dvb_ca_en50221_thread_state_machine()
1360 dvb_ca_en50221_camchange_irq(ca->pub, in dvb_ca_en50221_io_do_ioctl()
1712 if (!try_module_get(ca->pub->owner)) in dvb_ca_en50221_io_open()
1717 module_put(ca->pub->owner); in dvb_ca_en50221_io_open()
1767 module_put(ca->pub->owner); in dvb_ca_en50221_io_release()
1861 ca->pub = pubca; in dvb_ca_en50221_init()