Lines Matching refs:rdev

28 	struct rc_dev			*rdev;  member
68 static void st_rc_send_lirc_timeout(struct rc_dev *rdev) in st_rc_send_lirc_timeout() argument
72 ir_raw_event_store(rdev, &ev); in st_rc_send_lirc_timeout()
119 ir_raw_event_reset(dev->rdev); in st_rc_rx_interrupt()
144 ir_raw_event_store(dev->rdev, &ev); in st_rc_rx_interrupt()
149 ir_raw_event_store(dev->rdev, &ev); in st_rc_rx_interrupt()
151 st_rc_send_lirc_timeout(dev->rdev); in st_rc_rx_interrupt()
161 ir_raw_event_handle(dev->rdev); in st_rc_rx_interrupt()
201 rc_unregister_device(rc_dev->rdev); in st_rc_remove()
205 static int st_rc_open(struct rc_dev *rdev) in st_rc_open() argument
207 struct st_rc_device *dev = rdev->priv; in st_rc_open()
218 static void st_rc_close(struct rc_dev *rdev) in st_rc_close() argument
220 struct st_rc_device *dev = rdev->priv; in st_rc_close()
229 struct rc_dev *rdev; in st_rc_probe() local
241 rdev = rc_allocate_device(RC_DRIVER_IR_RAW); in st_rc_probe()
243 if (!rdev) in st_rc_probe()
297 rdev->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER; in st_rc_probe()
299 rdev->rx_resolution = 100; in st_rc_probe()
300 rdev->timeout = US_TO_NS(MAX_SYMB_TIME); in st_rc_probe()
301 rdev->priv = rc_dev; in st_rc_probe()
302 rdev->open = st_rc_open; in st_rc_probe()
303 rdev->close = st_rc_close; in st_rc_probe()
304 rdev->driver_name = IR_ST_NAME; in st_rc_probe()
305 rdev->map_name = RC_MAP_EMPTY; in st_rc_probe()
306 rdev->device_name = "ST Remote Control Receiver"; in st_rc_probe()
308 ret = rc_register_device(rdev); in st_rc_probe()
312 rc_dev->rdev = rdev; in st_rc_probe()
328 st_rc_send_lirc_timeout(rdev); in st_rc_probe()
334 rc_unregister_device(rdev); in st_rc_probe()
335 rdev = NULL; in st_rc_probe()
339 rc_free_device(rdev); in st_rc_probe()
368 struct rc_dev *rdev = rc_dev->rdev; in st_rc_resume() local
376 if (rdev->users) { in st_rc_resume()