Lines Matching refs:dm1105
3 * dm1105.c - driver for DVB cards based on SDMC DM1105 PCI chip
36 #define MODULE_NAME "dm1105"
70 /* sdmc dm1105 registers */
148 #define DRIVER_NAME "dm1105"
149 #define DM1105_I2C_GPIO_NAME "dm1105-gpio"
289 "dm1105: Your board has no valid PCI Subsystem ID\n"
290 "dm1105: and thus can't be autodetected\n"
291 "dm1105: Please pass card=<n> insmod option to\n"
292 "dm1105: workaround that. Redirect complaints to\n"
293 "dm1105: the vendor of the TV card. Best regards,\n"
294 "dm1105: -- tux\n");
297 "dm1105: Your board isn't known (yet) to the driver.\n"
298 "dm1105: You can try to pick one of the existing\n"
299 "dm1105: card configs via card=<n> insmod option.\n"
300 "dm1105: Updating to the latest version might help\n"
301 "dm1105: as well.\n");
305 printk(KERN_ERR "dm1105: card=%d -> %s\n",
724 static int dm1105_ir_init(struct dm1105_dev *dm1105)
733 snprintf(dm1105->ir.input_phys, sizeof(dm1105->ir.input_phys),
734 "pci-%s/ir0", pci_name(dm1105->pdev));
739 dev->input_phys = dm1105->ir.input_phys;
742 if (dm1105->pdev->subsystem_vendor) {
743 dev->input_id.vendor = dm1105->pdev->subsystem_vendor;
744 dev->input_id.product = dm1105->pdev->subsystem_device;
746 dev->input_id.vendor = dm1105->pdev->vendor;
747 dev->input_id.product = dm1105->pdev->device;
749 dev->dev.parent = &dm1105->pdev->dev;
751 INIT_WORK(&dm1105->ir.work, dm1105_emit_key);
759 dm1105->ir.dev = dev;
763 static void dm1105_ir_exit(struct dm1105_dev *dm1105)
765 rc_unregister_device(dm1105->ir.dev);