Lines Matching refs:v4l_device
1075 port->v4l_device = saa7164_encoder_alloc(port, in saa7164_encoder_register()
1078 if (!port->v4l_device) { in saa7164_encoder_register()
1085 port->v4l_device->ctrl_handler = hdl; in saa7164_encoder_register()
1087 video_set_drvdata(port->v4l_device, port); in saa7164_encoder_register()
1088 result = video_register_device(port->v4l_device, in saa7164_encoder_register()
1097 dev->name, port->v4l_device->num); in saa7164_encoder_register()
1118 video_device_release(port->v4l_device); in saa7164_encoder_register()
1119 port->v4l_device = NULL; in saa7164_encoder_register()
1134 if (port->v4l_device) { in saa7164_encoder_unregister()
1135 if (port->v4l_device->minor != -1) in saa7164_encoder_unregister()
1136 video_unregister_device(port->v4l_device); in saa7164_encoder_unregister()
1138 video_device_release(port->v4l_device); in saa7164_encoder_unregister()
1140 port->v4l_device = NULL; in saa7164_encoder_unregister()