Lines Matching refs:rcd
34 struct rc_dev *rcd; member
61 rc_repeat(irdec->rcd); in zx_irdec_irq()
74 rc_keydown(irdec->rcd, rc_proto, scancode, 0); in zx_irdec_irq()
85 struct rc_dev *rcd; in zx_irdec_probe() local
102 rcd = devm_rc_allocate_device(dev, RC_DRIVER_SCANCODE); in zx_irdec_probe()
103 if (!rcd) { in zx_irdec_probe()
108 irdec->rcd = rcd; in zx_irdec_probe()
110 rcd->priv = irdec; in zx_irdec_probe()
111 rcd->input_phys = DRIVER_NAME "/input0"; in zx_irdec_probe()
112 rcd->input_id.bustype = BUS_HOST; in zx_irdec_probe()
113 rcd->map_name = RC_MAP_ZX_IRDEC; in zx_irdec_probe()
114 rcd->allowed_protocols = RC_PROTO_BIT_NEC | RC_PROTO_BIT_NECX | in zx_irdec_probe()
116 rcd->driver_name = DRIVER_NAME; in zx_irdec_probe()
117 rcd->device_name = DRIVER_NAME; in zx_irdec_probe()
121 ret = devm_rc_register_device(dev, rcd); in zx_irdec_probe()