Lines Matching refs:lirc_dev
712 struct rc_dev *rcdev = container_of(ld, struct rc_dev, lirc_dev); in lirc_release_device()
726 device_initialize(&dev->lirc_dev); in lirc_register()
727 dev->lirc_dev.class = lirc_class; in lirc_register()
728 dev->lirc_dev.parent = &dev->dev; in lirc_register()
729 dev->lirc_dev.release = lirc_release_device; in lirc_register()
730 dev->lirc_dev.devt = MKDEV(MAJOR(lirc_base_dev), minor); in lirc_register()
731 dev_set_name(&dev->lirc_dev, "lirc%d", minor); in lirc_register()
738 err = cdev_device_add(&dev->lirc_cdev, &dev->lirc_dev); in lirc_register()
777 dev->driver_name, MINOR(dev->lirc_dev.devt)); in lirc_unregister()
784 cdev_device_del(&dev->lirc_cdev, &dev->lirc_dev); in lirc_unregister()
785 ida_free(&lirc_ida, MINOR(dev->lirc_dev.devt)); in lirc_unregister()