Lines Matching full:cam

3  * dvb_ca.c: generic DVB functions for EN50221 CAM interfaces
81 /* current state of the CAM */
93 /* base address of CAM config */
99 /* if 1, the CAM supports DA IRQs */
102 /* size of the buffer to use when talking to the CAM */
226 * dvb_ca_en50221_check_camstatus - Check CAM status.
269 * register on a CAM interface, checking for errors and timeout.
319 * dvb_ca_en50221_link_init - Initialise the link layer connection to a CAM.
344 /* read the buffer size from the CAM */ in dvb_ca_en50221_link_init()
360 * store it, and choose the minimum of our buffer and the CAM's buffer in dvb_ca_en50221_link_init()
371 /* write the buffer size to the CAM */ in dvb_ca_en50221_link_init()
448 * dvb_ca_en50221_parse_attributes - Parse attribute memory of a CAM module,
449 * extracting Config register, and checking it is a DVB CAM module.
536 pr_err("dvb_ca adapter %d: Unsupported DVB CAM module version %c%c%c%c\n", in dvb_ca_en50221_parse_attributes()
588 dprintk("Valid DVB CAM detected MANID:%x DEVID:%x CONFIGBASE:0x%x CONFIGOPTION:0x%x\n", in dvb_ca_en50221_parse_attributes()
596 * dvb_ca_en50221_set_configoption - Set CAM's configoption correctly.
599 * @slot: Slot containing the CAM.
623 * dvb_ca_en50221_read_data - This function talks to an EN50221 CAM control
624 * interface. It reads a buffer of data from the CAM. The data can either
704 …pr_err("dvb_ca adapter %d: CAM tried to send a buffer larger than the link buffer size (%i > %i)!\… in dvb_ca_en50221_read_data()
712 pr_err("dvb_ca adapter %d: CAM sent a buffer that was less than 2 bytes!\n", in dvb_ca_en50221_read_data()
720 pr_err("dvb_ca adapter %d: CAM tried to send a buffer larger than the ecount size!\n", in dvb_ca_en50221_read_data()
779 * dvb_ca_en50221_write_data - This function talks to an EN50221 CAM control
780 * interface. It writes a buffer of data to a CAM.
843 * It may need some time for the CAM to settle down, or there might in dvb_ca_en50221_write_data()
844 * be a race condition between the CAM, writing HC and our last in dvb_ca_en50221_write_data()
845 * check for DA. This happens, if the CAM asserts DA, just after in dvb_ca_en50221_write_data()
847 * a bug in the CAM to keep the FR bit, the lower layer/HW in dvb_ca_en50221_write_data()
848 * communication requires a longer timeout or the CAM needs more in dvb_ca_en50221_write_data()
908 * dvb_ca_en50221_slot_shutdown - A CAM has been removed => shut it down.
922 * write to a defunct CAM in dvb_ca_en50221_slot_shutdown()
1000 dprintk("CAM supports DA IRQ\n"); in dvb_ca_en50221_frda_irq()
1089 * dvb_ca_en50221_poll_cam_gone - Poll if the CAM is gone.
1094 * 1 .. CAM state changed
1136 /* check the cam status + deal with CAMCHANGEs */ in dvb_ca_en50221_thread_state_machine()
1142 /* if a CAM is NOW present, initialise it */ in dvb_ca_en50221_thread_state_machine()
1151 /* CAM state machine */ in dvb_ca_en50221_thread_state_machine()
1190 pr_err("dvb_ca adapter %d: Unable to initialise CAM :(\n", in dvb_ca_en50221_thread_state_machine()
1199 pr_err("dvb_ca adapter %d: Unable to reset CAM IF\n", in dvb_ca_en50221_thread_state_machine()
1205 dprintk("DVB CAM validated successfully\n"); in dvb_ca_en50221_thread_state_machine()
1214 pr_err("dvb_ca adapter %d: DVB CAM did not respond :(\n", in dvb_ca_en50221_thread_state_machine()
1233 pr_err("dvb_ca adapter %d: DVB CAM link initialisation failed :(\n", in dvb_ca_en50221_thread_state_machine()
1243 pr_err("dvb_ca adapter %d: Unable to allocate CAM rx buffer :(\n", in dvb_ca_en50221_thread_state_machine()
1256 pr_info("dvb_ca adapter %d: DVB CAM detected and initialised successfully\n", in dvb_ca_en50221_thread_state_machine()
1277 * so we can handle the cam change in dvb_ca_en50221_thread_state_machine()
1300 * Kernel thread which monitors CA slots for CAM changes, and performs data
1509 * check the CAM hasn't been removed/reset in the in dvb_ca_en50221_io_write()