Searched refs:usbtv (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/media/usb/usbtv/ |
D | usbtv-video.c | 49 static int usbtv_configure_for_norm(struct usbtv *usbtv, v4l2_std_id norm) in usbtv_configure_for_norm() argument 62 usbtv->width = params->cap_width; in usbtv_configure_for_norm() 63 usbtv->height = params->cap_height; in usbtv_configure_for_norm() 64 usbtv->n_chunks = usbtv->width * usbtv->height in usbtv_configure_for_norm() 66 usbtv->norm = params->norm; in usbtv_configure_for_norm() 73 static int usbtv_select_input(struct usbtv *usbtv, int input) in usbtv_select_input() argument 95 ret = usbtv_set_regs(usbtv, composite, ARRAY_SIZE(composite)); in usbtv_select_input() 98 ret = usbtv_set_regs(usbtv, svideo, ARRAY_SIZE(svideo)); in usbtv_select_input() 105 usbtv->input = input; in usbtv_select_input() 110 static int usbtv_select_norm(struct usbtv *usbtv, v4l2_std_id norm) in usbtv_select_norm() argument [all …]
|
D | usbtv-core.c | 33 int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size) in usbtv_set_regs() argument 36 int pipe = usb_rcvctrlpipe(usbtv->udev, 0); in usbtv_set_regs() 43 ret = usb_control_msg(usbtv->udev, pipe, USBTV_REQUEST_REG, in usbtv_set_regs() 59 struct usbtv *usbtv; in usbtv_probe() local 73 usbtv = kzalloc(sizeof(struct usbtv), GFP_KERNEL); in usbtv_probe() 74 if (usbtv == NULL) in usbtv_probe() 76 usbtv->dev = dev; in usbtv_probe() 77 usbtv->udev = usb_get_dev(interface_to_usbdev(intf)); in usbtv_probe() 79 usbtv->iso_size = size; in usbtv_probe() 81 usb_set_intfdata(intf, usbtv); in usbtv_probe() [all …]
|
D | usbtv-audio.c | 53 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_open() 64 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_close() 78 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_hw_params() 100 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_prepare() 110 struct usbtv *chip = urb->context; in usbtv_audio_urb_received() 181 static int usbtv_audio_start(struct usbtv *chip) in usbtv_audio_start() 240 static int usbtv_audio_stop(struct usbtv *chip) in usbtv_audio_stop() 265 void usbtv_audio_suspend(struct usbtv *usbtv) in usbtv_audio_suspend() argument 267 if (atomic_read(&usbtv->snd_stream) && usbtv->snd_bulk_urb) in usbtv_audio_suspend() 268 usb_kill_urb(usbtv->snd_bulk_urb); in usbtv_audio_suspend() [all …]
|
D | usbtv.h | 69 struct usbtv { struct 110 int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size); argument 112 int usbtv_video_init(struct usbtv *usbtv); 113 void usbtv_video_free(struct usbtv *usbtv); 115 int usbtv_audio_init(struct usbtv *usbtv); 116 void usbtv_audio_free(struct usbtv *usbtv); 117 void usbtv_audio_suspend(struct usbtv *usbtv); 118 void usbtv_audio_resume(struct usbtv *usbtv);
|
D | Makefile | 1 usbtv-y := usbtv-core.o \ 2 usbtv-video.o \ 3 usbtv-audio.o 5 obj-$(CONFIG_VIDEO_USBTV) += usbtv.o
|
D | Kconfig | 11 module will be called usbtv
|
/linux-4.1.27/drivers/media/usb/ |
D | Makefile | 24 obj-$(CONFIG_VIDEO_USBTV) += usbtv/
|
D | Kconfig | 20 source "drivers/media/usb/usbtv/Kconfig"
|