Lines Matching refs:ir
30 struct rc_dev *ir; member
355 cec->ir = devm_rc_allocate_device(dev, RC_DRIVER_SCANCODE); in secocec_ir_probe()
356 if (!cec->ir) in secocec_ir_probe()
362 cec->ir->device_name = dev_name(dev); in secocec_ir_probe()
363 cec->ir->input_phys = cec->ir_input_phys; in secocec_ir_probe()
364 cec->ir->input_id.bustype = BUS_HOST; in secocec_ir_probe()
365 cec->ir->input_id.vendor = 0; in secocec_ir_probe()
366 cec->ir->input_id.product = 0; in secocec_ir_probe()
367 cec->ir->input_id.version = 1; in secocec_ir_probe()
368 cec->ir->driver_name = SECOCEC_DEV_NAME; in secocec_ir_probe()
369 cec->ir->allowed_protocols = RC_PROTO_BIT_RC5; in secocec_ir_probe()
370 cec->ir->priv = cec; in secocec_ir_probe()
371 cec->ir->map_name = RC_MAP_HAUPPAUGE; in secocec_ir_probe()
372 cec->ir->timeout = MS_TO_NS(100); in secocec_ir_probe()
395 status = devm_rc_register_device(dev, cec->ir); in secocec_ir_probe()
399 cec->ir = NULL; in secocec_ir_probe()
421 if (!cec->ir) in secocec_ir_rx()
432 rc_keydown(cec->ir, RC_PROTO_RC5, RC_SCANCODE_RC5(addr, key), toggle); in secocec_ir_rx()
689 if (secocec->ir) { in secocec_remove()