Digital TV Conditional Access kABI
struct dvb_ca_en50221 #
Structure describing a CA interface
Definition
;
Members
owner: the module owning this structureread_attribute_mem: function for reading attribute memory on the CAMwrite_attribute_mem: function for writing attribute memory on the CAMread_cam_control: function for reading the control interface on the CAMwrite_cam_control: function for reading the control interface on the CAMread_data: function for reading data (block mode)write_data: function for writing data (block mode)slot_reset: function to reset the CAM slotslot_shutdown: function to shutdown a CAM slotslot_ts_enable: function to enable the Transport Stream on a CAM slotpoll_slot_status: function to poll slot status. Only necessary if DVB_CA_FLAG_EN50221_IRQ_CAMCHANGE is not set.data: private data, used by caller.private: Opaque data used by the dvb_ca core. Do not modify!
NOTE
the read_, write_ and poll_slot_status functions will be called for different slots concurrently and need to use locks where and if appropriate. There will be no concurrent access to one slot.
dvb_ca_en50221_camchange_irq() #
void A CAMCHANGE IRQ has occurred.
Parameters
struct dvb_ca_en50221 *pubca: CA instance.int slot: Slot concerned.int change_type: One of the DVB_CA_CAMCHANGE_* values
dvb_ca_en50221_camready_irq() #
void A CAMREADY IRQ has occurred.
Parameters
struct dvb_ca_en50221 *pubca: CA instance.int slot: Slot concerned.
dvb_ca_en50221_frda_irq() #
void An FR or a DA IRQ has occurred.
Parameters
struct dvb_ca_en50221 *ca: CA instance.int slot: Slot concerned.
dvb_ca_en50221_init() #
int Initialise a new DVB CA device.
Parameters
struct dvb_adapter *dvb_adapter: DVB adapter to attach the new CA device to.struct dvb_ca_en50221 *ca: The dvb_ca instance.int flags: Flags describing the CA device (DVB_CA_EN50221_FLAG_*).int slot_count: Number of slots supported.
Description
return 0 on success, nonzero on failure
dvb_ca_en50221_release() #
void Release a DVB CA device.
Parameters
struct dvb_ca_en50221 *ca: The associated dvb_ca instance.