Home
last modified time | relevance | path

Searched refs:video (Results 1 – 25 of 99) sorted by relevance

1234

/drivers/ieee1394/
Ddv1394.c194 static struct frame* frame_new(unsigned int frame_num, struct video_card *video) in frame_new() argument
200 f->video = video; in frame_new()
203 f->header_pool = pci_alloc_consistent(f->video->ohci->dev, PAGE_SIZE, &f->header_pool_dma); in frame_new()
217 f->descriptor_pool = pci_alloc_consistent(f->video->ohci->dev, in frame_new()
221 pci_free_consistent(f->video->ohci->dev, PAGE_SIZE, f->header_pool, f->header_pool_dma); in frame_new()
237 pci_free_consistent(f->video->ohci->dev, PAGE_SIZE, f->header_pool, f->header_pool_dma); in frame_delete()
238 …pci_free_consistent(f->video->ohci->dev, f->descriptor_pool_size, f->descriptor_pool, f->descripto… in frame_delete()
253 static void frame_prepare(struct video_card *video, unsigned int this_frame) in frame_prepare() argument
255 struct frame *f = video->frames[this_frame]; in frame_prepare()
280 if (video->pal_or_ntsc == DV1394_PAL) in frame_prepare()
[all …]
Ddv1394-private.h279 struct video_card *video; member
380 static struct frame* frame_new(unsigned int frame_num, struct video_card *video);
572 static int do_dv1394_init(struct video_card *video, struct dv1394_init *init);
573 static int do_dv1394_init_default(struct video_card *video);
574 static void do_dv1394_shutdown(struct video_card *video, int free_user_buf);
/drivers/media/video/uvc/
Duvc_video.c64 static void uvc_fixup_buffer_size(struct uvc_video_device *video, in uvc_fixup_buffer_size() argument
71 ctrl->bFormatIndex > video->streaming->nformats) in uvc_fixup_buffer_size()
74 format = &video->streaming->format[ctrl->bFormatIndex - 1]; in uvc_fixup_buffer_size()
84 video->dev->uvc_version < 0x0110)) in uvc_fixup_buffer_size()
89 static int uvc_get_video_ctrl(struct uvc_video_device *video, in uvc_get_video_ctrl() argument
96 size = video->dev->uvc_version >= 0x0110 ? 34 : 26; in uvc_get_video_ctrl()
101 ret = __uvc_query_ctrl(video->dev, query, 0, video->streaming->intfnum, in uvc_get_video_ctrl()
110 uvc_warn_once(video->dev, UVC_WARN_MINMAX, "UVC non " in uvc_get_video_ctrl()
122 uvc_warn_once(video->dev, UVC_WARN_PROBE_DEF, "UVC non " in uvc_get_video_ctrl()
154 ctrl->dwClockFrequency = video->dev->clock_frequency; in uvc_get_video_ctrl()
[all …]
Duvc_v4l2.c43 static int uvc_v4l2_query_menu(struct uvc_video_device *video, in uvc_v4l2_query_menu() argument
50 ctrl = uvc_find_control(video, query_menu->id, &mapping); in uvc_v4l2_query_menu()
100 static int uvc_v4l2_try_format(struct uvc_video_device *video, in uvc_v4l2_try_format() argument
113 if (fmt->type != video->streaming->type) in uvc_v4l2_try_format()
123 for (i = 0; i < video->streaming->nformats; ++i) { in uvc_v4l2_try_format()
124 format = &video->streaming->format[i]; in uvc_v4l2_try_format()
188 if (video->dev->quirks & UVC_QUIRK_PROBE_EXTRAFIELDS) in uvc_v4l2_try_format()
190 video->streaming->ctrl.dwMaxVideoFrameSize; in uvc_v4l2_try_format()
193 if ((ret = uvc_probe_video(video, probe)) < 0) in uvc_v4l2_try_format()
213 static int uvc_v4l2_get_format(struct uvc_video_device *video, in uvc_v4l2_get_format() argument
[all …]
Duvc_driver.c1189 if (dev->video.vdev) { in uvc_unregister_video()
1190 if (dev->video.vdev->minor == -1) in uvc_unregister_video()
1191 video_device_release(dev->video.vdev); in uvc_unregister_video()
1193 video_unregister_device(dev->video.vdev); in uvc_unregister_video()
1194 dev->video.vdev = NULL; in uvc_unregister_video()
1213 static int uvc_scan_chain_entity(struct uvc_video_device *video, in uvc_scan_chain_entity() argument
1227 list_add_tail(&entity->chain, &video->extensions); in uvc_scan_chain_entity()
1234 if (video->processing != NULL) { in uvc_scan_chain_entity()
1240 video->processing = entity; in uvc_scan_chain_entity()
1251 if (video->selector != NULL) { in uvc_scan_chain_entity()
[all …]
Duvcvideo.h603 void (*decode) (struct urb *urb, struct uvc_video_device *video,
645 struct uvc_video_device video; member
759 extern int uvc_video_init(struct uvc_video_device *video);
760 extern int uvc_video_suspend(struct uvc_video_device *video);
761 extern int uvc_video_resume(struct uvc_video_device *video);
762 extern int uvc_video_enable(struct uvc_video_device *video, int enable);
763 extern int uvc_probe_video(struct uvc_video_device *video,
765 extern int uvc_commit_video(struct uvc_video_device *video,
777 extern struct uvc_control *uvc_find_control(struct uvc_video_device *video,
779 extern int uvc_query_v4l2_ctrl(struct uvc_video_device *video,
[all …]
Duvc_ctrl.c732 struct uvc_control *uvc_find_control(struct uvc_video_device *video, in uvc_find_control() argument
745 __uvc_find_control(video->processing, v4l2_id, mapping, &ctrl, next); in uvc_find_control()
749 list_for_each_entry(entity, &video->iterms, chain) { in uvc_find_control()
755 list_for_each_entry(entity, &video->extensions, chain) { in uvc_find_control()
768 int uvc_query_v4l2_ctrl(struct uvc_video_device *video, in uvc_query_v4l2_ctrl() argument
778 ctrl = uvc_find_control(video, v4l2_ctrl->id, &mapping); in uvc_query_v4l2_ctrl()
796 if ((ret = uvc_query_ctrl(video->dev, GET_DEF, ctrl->entity->id, in uvc_query_v4l2_ctrl()
797 video->dev->intfnum, ctrl->info->selector, in uvc_query_v4l2_ctrl()
832 if ((ret = uvc_query_ctrl(video->dev, GET_MIN, ctrl->entity->id, in uvc_query_v4l2_ctrl()
833 video->dev->intfnum, ctrl->info->selector, in uvc_query_v4l2_ctrl()
[all …]
Duvc_isight.c102 void uvc_video_decode_isight(struct urb *urb, struct uvc_video_device *video, in uvc_video_decode_isight() argument
123 ret = isight_decode(&video->queue, buf, in uvc_video_decode_isight()
133 buf = uvc_queue_next_buffer(&video->queue, buf); in uvc_video_decode_isight()
/drivers/acpi/
Dvideo.c182 struct acpi_video_bus *video; member
286 static void acpi_video_device_rebind(struct acpi_video_bus *video);
287 static void acpi_video_device_bind(struct acpi_video_bus *video,
289 static int acpi_video_device_enumerate(struct acpi_video_bus *video);
364 struct acpi_video_device *video = acpi_driver_data(device); in video_get_max_state() local
366 return sprintf(buf, "%d\n", video->brightness->count - 3); in video_get_max_state()
372 struct acpi_video_device *video = acpi_driver_data(device); in video_get_cur_state() local
376 acpi_video_device_lcd_get_level_current(video, &level); in video_get_cur_state()
377 for (state = 2; state < video->brightness->count; state++) in video_get_cur_state()
378 if (level == video->brightness->levels[state]) in video_get_cur_state()
[all …]
/drivers/media/video/
Dv4l2-subdev.c84 return v4l2_subdev_call(sd, video, s_routing, arg); in v4l2_subdev_command()
86 return v4l2_subdev_call(sd, video, s_crystal_freq, arg); in v4l2_subdev_command()
88 return v4l2_subdev_call(sd, video, decode_vbi_line, arg); in v4l2_subdev_command()
90 return v4l2_subdev_call(sd, video, s_vbi_data, arg); in v4l2_subdev_command()
92 return v4l2_subdev_call(sd, video, g_vbi_data, arg); in v4l2_subdev_command()
94 return v4l2_subdev_call(sd, video, g_sliced_vbi_cap, arg); in v4l2_subdev_command()
96 return v4l2_subdev_call(sd, video, s_fmt, arg); in v4l2_subdev_command()
98 return v4l2_subdev_call(sd, video, g_fmt, arg); in v4l2_subdev_command()
100 return v4l2_subdev_call(sd, video, s_std_output, *(v4l2_std_id *)arg); in v4l2_subdev_command()
102 return v4l2_subdev_call(sd, video, s_stream, 1); in v4l2_subdev_command()
[all …]
DKconfig2 # Generic video config states
61 Say Y here to enable selecting the video adapters for
76 bool "Enable old-style fixed minor ranges for video devices"
88 Most video cards may require additional modules to encode or
89 decode audio/video standards. This option will autoselect
90 all pertinent modules to each selected video module.
103 some video boards have the IR connected via I2C bus.
258 Support for BT819A video decoder.
267 Support for BT856 video decoder.
276 Support for BT866 video decoder.
[all …]
/drivers/video/matrox/
Dmatroxfb_crtc2.c178 pos += m2info->video.offbase; in matroxfb_dh_pan_var()
203 vramlen = m2info->video.len_usable; in matroxfb_dh_decode_var()
297 fix->smem_start = m2info->video.base; in matroxfb_dh_init_fix()
298 fix->smem_len = m2info->video.len_usable; in matroxfb_dh_init_fix()
330 m2info->fbcon.screen_base = vaddr_va(m2info->video.vbase); in matroxfb_dh_set_par()
348 pos += m2info->video.offbase; in matroxfb_dh_set_par()
609 if (ACCESS_FBINFO(video.len_usable) + mem <= ACCESS_FBINFO(video.len)) in matroxfb_dh_regit()
610 m2info->video.offbase = ACCESS_FBINFO(video.len) - mem; in matroxfb_dh_regit()
611 else if (ACCESS_FBINFO(video.len) < mem) { in matroxfb_dh_regit()
614 m2info->video.borrowed = mem; in matroxfb_dh_regit()
[all …]
Dmatroxfb_base.c376 mtrr_del(ACCESS_FBINFO(mtrr.vram), ACCESS_FBINFO(video.base), ACCESS_FBINFO(video.len)); in matroxfb_remove()
379 mga_iounmap(ACCESS_FBINFO(video.vbase)); in matroxfb_remove()
380 release_mem_region(ACCESS_FBINFO(video.base), ACCESS_FBINFO(video.len_maximum)); in matroxfb_remove()
563 vramlen = ACCESS_FBINFO(video.len_usable); in matroxfb_decode_var()
727 fix->smem_start = ACCESS_FBINFO(video.base) + ACCESS_FBINFO(curr.ydstorg.bytes); in matroxfb_update_fix()
728 fix->smem_len = ACCESS_FBINFO(video.len_usable) - ACCESS_FBINFO(curr.ydstorg.bytes); in matroxfb_update_fix()
765 ACCESS_FBINFO(fbcon.screen_base) = vaddr_va(ACCESS_FBINFO(video.vbase)) + ydstorg; in matroxfb_set_par()
1292 vm = ACCESS_FBINFO(video.vbase); in matroxfb_getmemory()
1677 ACCESS_FBINFO(video.len_maximum) = memsize; in initMatrox2()
1691 ACCESS_FBINFO(video.base) = video_base_phys; in initMatrox2()
[all …]
/drivers/video/
Dpm3fb.c76 u32 video; /* video flags before blanking */ member
815 unsigned int video = par->video; in pm3fb_write_mode() local
817 video &= ~(PM3VideoControl_HSYNC_MASK | in pm3fb_write_mode()
819 video |= PM3VideoControl_HSYNC_ACTIVE_HIGH | in pm3fb_write_mode()
821 PM3_WRITE_REG(par, PM3VideoControl, video); in pm3fb_write_mode()
851 if ((par->video & PM3VideoControl_HSYNC_MASK) == in pm3fb_write_mode()
854 if ((par->video & PM3VideoControl_VSYNC_MASK) == in pm3fb_write_mode()
1028 par->video = 0; in pm3fb_set_par()
1031 par->video |= PM3VideoControl_HSYNC_ACTIVE_HIGH; in pm3fb_set_par()
1033 par->video |= PM3VideoControl_HSYNC_ACTIVE_LOW; in pm3fb_set_par()
[all …]
Dxen-fbfront.c57 static int video[KPARAM_CNT] = { 2, XENFB_WIDTH, XENFB_HEIGHT }; variable
58 module_param_array(video, int, NULL, 0);
59 MODULE_PARM_DESC(video,
282 if (var->xres == video[KPARAM_WIDTH] && in xenfb_check_var()
283 var->yres == video[KPARAM_HEIGHT] && in xenfb_check_var()
291 if (var->xres > video[KPARAM_WIDTH] || var->yres > video[KPARAM_HEIGHT]) in xenfb_check_var()
374 if (val < video[KPARAM_MEM]) in xenfb_probe()
375 video[KPARAM_MEM] = val; in xenfb_probe()
379 fb_size = video[KPARAM_MEM] * 1024 * 1024; in xenfb_probe()
380 if (video[KPARAM_WIDTH] * video[KPARAM_HEIGHT] * XENFB_DEPTH / 8 in xenfb_probe()
[all …]
Dpm2fb.c98 u32 video; /* video flags before blanking */ member
519 static void set_video(struct pm2fb_par *p, u32 video) in set_video() argument
522 u32 vsync = video; in set_video()
524 DPRINTK("video = 0x%x\n", video); in set_video()
541 if ((video & PM2F_HSYNC_MASK) == PM2F_HSYNC_ACT_LOW) in set_video()
543 if ((video & PM2F_VSYNC_MASK) == PM2F_VSYNC_ACT_LOW) in set_video()
549 if ((video & PM2F_HSYNC_MASK) == PM2F_HSYNC_ACT_LOW) in set_video()
551 if ((video & PM2F_VSYNC_MASK) == PM2F_VSYNC_ACT_LOW) in set_video()
698 u32 video = 0; in pm2fb_set_par() local
736 video |= PM2F_DATA_64_ENABLE; in pm2fb_set_par()
[all …]
/drivers/staging/go7007/
Dgo7007.txt1 This is a driver for the WIS GO7007SB multi-format video encoder.
41 video encoder. Only kernel version 2.6.x is supported. The video stream
217 First connect a video source to the device, such as a DVD player or VCR.
219 is unavailable, a test file can still be captured, but the video will be
223 hardware and will record video and audio to an AVI file for a specified
245 * No raw video modes are supported, so applications like xawtv that
246 expect only uncompressed video will not function.
250 * MPEG video formats are delivered as Video Elementary Streams only.
257 * The audio capture device only functions when the video encoder is
258 actively capturing video. Attempts to read from the audio device when
[all …]
/drivers/media/video/ivtv/
Divtv-routing.c69 v4l2_subdev_call(itv->sd_video, video, s_routing, &route); in ivtv_video_set_io()
82 ivtv_call_hw(itv, IVTV_HW_GPIO, video, s_routing, &route); in ivtv_video_set_io()
95 ivtv_call_hw(itv, IVTV_HW_UPD64031A, video, s_routing, &route); in ivtv_video_set_io()
113 ivtv_call_hw(itv, IVTV_HW_UPD6408X, video, s_routing, &route); in ivtv_video_set_io()
Divtv-vbi.c41 ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_vbi_data, &data); in ivtv_set_vps()
55 ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_vbi_data, &data); in ivtv_set_cc()
60 ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_vbi_data, &data); in ivtv_set_cc()
83 ivtv_call_hw(itv, IVTV_HW_SAA7127, video, s_vbi_data, &data); in ivtv_set_wss()
317 v4l2_subdev_call(itv->sd_video, video, decode_vbi_line, &vbi); in compress_sliced_buf()
441 if (v4l2_subdev_call(itv->sd_video, video, g_vbi_data, &data) == 0) { in ivtv_vbi_work_handler()
455 if (v4l2_subdev_call(itv->sd_video, video, g_vbi_data, &data) == 0) { in ivtv_vbi_work_handler()
461 if (v4l2_subdev_call(itv->sd_video, video, g_vbi_data, &data) == 0) { in ivtv_vbi_work_handler()
/drivers/media/video/usbvision/
DMakefile1 usbvision-objs := usbvision-core.o usbvision-video.o usbvision-i2c.o usbvision-cards.o
5 EXTRA_CFLAGS += -Idrivers/media/video
DKconfig2 tristate "USB video devices based on Nogatech NT1003/1004/1005"
7 There are more than 50 different USB video devices based on
/drivers/media/video/cx25840/
DKconfig2 tristate "Conexant CX2584x audio/video decoders"
5 Support for the Conexant CX2584x audio/video decoders.
/drivers/media/video/cx23885/
DMakefile1 cx23885-objs := cx23885-cards.o cx23885-video.o cx23885-vbi.o cx23885-core.o cx23885-i2c.o cx23885-…
5 EXTRA_CFLAGS += -Idrivers/media/video
/drivers/media/video/em28xx/
DMakefile1 em28xx-objs := em28xx-video.o em28xx-i2c.o em28xx-cards.o em28xx-core.o \
10 EXTRA_CFLAGS += -Idrivers/media/video
/drivers/video/omap/
DKconfig24 Increase the DMA consistent memory size according to your video
33 On systems in which video memory is in system memory
36 answer yes. Answer no if you have a dedicated video

1234