• Home
  • Raw
  • Download

Lines Matching refs:rcdev

130 	struct rc_dev *rcdev;  member
275 ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); in frbwrite()
278 ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); in frbwrite()
305 ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); in frbwrite()
308 ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); in frbwrite()
316 ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); in frbwrite()
388 jiffies + usecs_to_jiffies(serial_ir.rcdev->timeout)); in serial_ir_irq_handler()
390 ir_raw_event_handle(serial_ir.rcdev); in serial_ir_irq_handler()
469 .duration = serial_ir.rcdev->timeout in serial_ir_timeout()
471 ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); in serial_ir_timeout()
472 ir_raw_event_handle(serial_ir.rcdev); in serial_ir_timeout()
480 static int serial_ir_open(struct rc_dev *rcdev);
481 static void serial_ir_close(struct rc_dev *rcdev);
485 struct rc_dev *rcdev; in serial_ir_probe() local
488 rcdev = devm_rc_allocate_device(&dev->dev, RC_DRIVER_IR_RAW); in serial_ir_probe()
489 if (!rcdev) in serial_ir_probe()
493 rcdev->tx_ir = serial_ir_tx; in serial_ir_probe()
495 rcdev->s_tx_carrier = serial_ir_tx_carrier; in serial_ir_probe()
497 rcdev->s_tx_duty_cycle = serial_ir_tx_duty_cycle; in serial_ir_probe()
501 rcdev->device_name = "Serial IR type home-brew"; in serial_ir_probe()
504 rcdev->device_name = "Serial IR type IRdeo"; in serial_ir_probe()
507 rcdev->device_name = "Serial IR type IRdeo remote"; in serial_ir_probe()
510 rcdev->device_name = "Serial IR type AnimaX"; in serial_ir_probe()
513 rcdev->device_name = "Serial IR type IgorPlug"; in serial_ir_probe()
517 rcdev->input_phys = KBUILD_MODNAME "/input0"; in serial_ir_probe()
518 rcdev->input_id.bustype = BUS_HOST; in serial_ir_probe()
519 rcdev->input_id.vendor = 0x0001; in serial_ir_probe()
520 rcdev->input_id.product = 0x0001; in serial_ir_probe()
521 rcdev->input_id.version = 0x0100; in serial_ir_probe()
522 rcdev->open = serial_ir_open; in serial_ir_probe()
523 rcdev->close = serial_ir_close; in serial_ir_probe()
524 rcdev->dev.parent = &serial_ir.pdev->dev; in serial_ir_probe()
525 rcdev->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER; in serial_ir_probe()
526 rcdev->driver_name = KBUILD_MODNAME; in serial_ir_probe()
527 rcdev->map_name = RC_MAP_RC6_MCE; in serial_ir_probe()
528 rcdev->min_timeout = 1; in serial_ir_probe()
529 rcdev->timeout = IR_DEFAULT_TIMEOUT; in serial_ir_probe()
530 rcdev->max_timeout = 10 * IR_DEFAULT_TIMEOUT; in serial_ir_probe()
531 rcdev->rx_resolution = 250; in serial_ir_probe()
533 serial_ir.rcdev = rcdev; in serial_ir_probe()
597 return devm_rc_register_device(&dev->dev, rcdev); in serial_ir_probe()
600 static int serial_ir_open(struct rc_dev *rcdev) in serial_ir_open() argument
619 static void serial_ir_close(struct rc_dev *rcdev) in serial_ir_close() argument