Lines Matching refs:mantis
71 struct mantis_pci *mantis; in hopper_irq_handler() local
74 mantis = (struct mantis_pci *) dev_id; in hopper_irq_handler()
75 if (unlikely(mantis == NULL)) { in hopper_irq_handler()
79 ca = mantis->mantis_ca; in hopper_irq_handler()
95 mantis->mantis_int_stat = stat; in hopper_irq_handler()
96 mantis->mantis_int_mask = mask; in hopper_irq_handler()
103 mantis->gpif_status = rst_stat; in hopper_irq_handler()
109 schedule_work(&mantis->uart_work); in hopper_irq_handler()
128 mantis->busy_block = (stat & MANTIS_INT_RISCSTAT) >> 28; in hopper_irq_handler()
129 tasklet_schedule(&mantis->tasklet); in hopper_irq_handler()
133 wake_up(&mantis->i2c_wq); in hopper_irq_handler()
157 struct mantis_pci *mantis; in hopper_pci_probe() local
161 mantis = kzalloc(sizeof(struct mantis_pci), GFP_KERNEL); in hopper_pci_probe()
162 if (mantis == NULL) { in hopper_pci_probe()
168 mantis->num = devs; in hopper_pci_probe()
169 mantis->verbose = verbose; in hopper_pci_probe()
170 mantis->pdev = pdev; in hopper_pci_probe()
173 mantis->hwconfig = config; in hopper_pci_probe()
175 err = mantis_pci_init(mantis); in hopper_pci_probe()
181 err = mantis_stream_control(mantis, STREAM_TO_HIF); in hopper_pci_probe()
187 err = mantis_i2c_init(mantis); in hopper_pci_probe()
193 err = mantis_get_mac(mantis); in hopper_pci_probe()
199 err = mantis_dma_init(mantis); in hopper_pci_probe()
205 err = mantis_dvb_init(mantis); in hopper_pci_probe()
216 mantis_dma_exit(mantis); in hopper_pci_probe()
220 mantis_i2c_exit(mantis); in hopper_pci_probe()
224 mantis_pci_exit(mantis); in hopper_pci_probe()
228 kfree(mantis); in hopper_pci_probe()
236 struct mantis_pci *mantis = pci_get_drvdata(pdev); in hopper_pci_remove() local
238 if (mantis) { in hopper_pci_remove()
239 mantis_dvb_exit(mantis); in hopper_pci_remove()
240 mantis_dma_exit(mantis); in hopper_pci_remove()
241 mantis_i2c_exit(mantis); in hopper_pci_remove()
242 mantis_pci_exit(mantis); in hopper_pci_remove()
243 kfree(mantis); in hopper_pci_remove()