Lines Matching refs:ca
29 struct mantis_ca *ca = container_of(work, struct mantis_ca, hif_evm_work); in mantis_hifevm_work() local
30 struct mantis_pci *mantis = ca->ca_priv; in mantis_hifevm_work()
40 mantis_event_cam_plugin(ca); in mantis_hifevm_work()
41 dvb_ca_en50221_camchange_irq(&ca->en50221, in mantis_hifevm_work()
49 mantis_event_cam_unplug(ca); in mantis_hifevm_work()
50 dvb_ca_en50221_camchange_irq(&ca->en50221, in mantis_hifevm_work()
79 ca->sbuf_status = MANTIS_SBUF_DATA_AVAIL; in mantis_hifevm_work()
80 ca->hif_event = MANTIS_SBUF_OPDONE; in mantis_hifevm_work()
81 wake_up(&ca->hif_opdone_wq); in mantis_hifevm_work()
85 int mantis_evmgr_init(struct mantis_ca *ca) in mantis_evmgr_init() argument
87 struct mantis_pci *mantis = ca->ca_priv; in mantis_evmgr_init()
90 INIT_WORK(&ca->hif_evm_work, mantis_hifevm_work); in mantis_evmgr_init()
91 mantis_pcmcia_init(ca); in mantis_evmgr_init()
92 schedule_work(&ca->hif_evm_work); in mantis_evmgr_init()
93 mantis_hif_init(ca); in mantis_evmgr_init()
97 void mantis_evmgr_exit(struct mantis_ca *ca) in mantis_evmgr_exit() argument
99 struct mantis_pci *mantis = ca->ca_priv; in mantis_evmgr_exit()
102 flush_work(&ca->hif_evm_work); in mantis_evmgr_exit()
103 mantis_hif_exit(ca); in mantis_evmgr_exit()
104 mantis_pcmcia_exit(ca); in mantis_evmgr_exit()