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 */
220 * dvb_ca_en50221_check_camstatus - Check CAM status.
263 * register on a CAM interface, checking for errors and timeout.
313 * dvb_ca_en50221_link_init - Initialise the link layer connection to a CAM.
338 /* read the buffer size from the CAM */ in dvb_ca_en50221_link_init()
354 * store it, and choose the minimum of our buffer and the CAM's buffer in dvb_ca_en50221_link_init()
365 /* write the buffer size to the CAM */ in dvb_ca_en50221_link_init()
442 * dvb_ca_en50221_parse_attributes - Parse attribute memory of a CAM module,
443 * extracting Config register, and checking it is a DVB CAM module.
530 pr_err("dvb_ca adapter %d: Unsupported DVB CAM module version %c%c%c%c\n", in dvb_ca_en50221_parse_attributes()
582 dprintk("Valid DVB CAM detected MANID:%x DEVID:%x CONFIGBASE:0x%x CONFIGOPTION:0x%x\n", in dvb_ca_en50221_parse_attributes()
590 * dvb_ca_en50221_set_configoption - Set CAM's configoption correctly.
593 * @slot: Slot containing the CAM.
617 * dvb_ca_en50221_read_data - This function talks to an EN50221 CAM control
618 * interface. It reads a buffer of data from the CAM. The data can either
698 …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()
706 pr_err("dvb_ca adapter %d: CAM sent a buffer that was less than 2 bytes!\n", in dvb_ca_en50221_read_data()
714 pr_err("dvb_ca adapter %d: CAM tried to send a buffer larger than the ecount size!\n", in dvb_ca_en50221_read_data()
773 * dvb_ca_en50221_write_data - This function talks to an EN50221 CAM control
774 * interface. It writes a buffer of data to a CAM.
835 * It may need some time for the CAM to settle down, or there might in dvb_ca_en50221_write_data()
836 * be a race condition between the CAM, writing HC and our last in dvb_ca_en50221_write_data()
837 * check for DA. This happens, if the CAM asserts DA, just after in dvb_ca_en50221_write_data()
839 * a bug in the CAM to keep the FR bit, the lower layer/HW in dvb_ca_en50221_write_data()
840 * communication requires a longer timeout or the CAM needs more in dvb_ca_en50221_write_data()
900 * dvb_ca_en50221_slot_shutdown - A CAM has been removed => shut it down.
914 * write to a defunct CAM in dvb_ca_en50221_slot_shutdown()
992 dprintk("CAM supports DA IRQ\n"); in dvb_ca_en50221_frda_irq()
1081 * Poll if the CAM is gone.
1086 * 1 .. CAM state changed
1127 /* check the cam status + deal with CAMCHANGEs */ in dvb_ca_en50221_thread_state_machine()
1133 /* if a CAM is NOW present, initialise it */ in dvb_ca_en50221_thread_state_machine()
1142 /* CAM state machine */ in dvb_ca_en50221_thread_state_machine()
1181 pr_err("dvb_ca adapter %d: Unable to initialise CAM :(\n", in dvb_ca_en50221_thread_state_machine()
1190 pr_err("dvb_ca adapter %d: Unable to reset CAM IF\n", in dvb_ca_en50221_thread_state_machine()
1196 dprintk("DVB CAM validated successfully\n"); in dvb_ca_en50221_thread_state_machine()
1205 pr_err("dvb_ca adapter %d: DVB CAM did not respond :(\n", in dvb_ca_en50221_thread_state_machine()
1224 pr_err("dvb_ca adapter %d: DVB CAM link initialisation failed :(\n", in dvb_ca_en50221_thread_state_machine()
1234 pr_err("dvb_ca adapter %d: Unable to allocate CAM rx buffer :(\n", in dvb_ca_en50221_thread_state_machine()
1247 pr_info("dvb_ca adapter %d: DVB CAM detected and initialised successfully\n", in dvb_ca_en50221_thread_state_machine()
1268 * so we can handle the cam change in dvb_ca_en50221_thread_state_machine()
1291 * Kernel thread which monitors CA slots for CAM changes, and performs data
1498 * check the CAM hasn't been removed/reset in the in dvb_ca_en50221_io_write()