Home
last modified time | relevance | path

Searched refs:usbtv (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/media/usb/usbtv/
Dusbtv-video.c63 static int usbtv_configure_for_norm(struct usbtv *usbtv, v4l2_std_id norm) in usbtv_configure_for_norm() argument
76 usbtv->width = params->cap_width; in usbtv_configure_for_norm()
77 usbtv->height = params->cap_height; in usbtv_configure_for_norm()
78 usbtv->n_chunks = usbtv->width * usbtv->height in usbtv_configure_for_norm()
80 usbtv->norm = norm; in usbtv_configure_for_norm()
87 static int usbtv_select_input(struct usbtv *usbtv, int input) in usbtv_select_input() argument
109 ret = usbtv_set_regs(usbtv, composite, ARRAY_SIZE(composite)); in usbtv_select_input()
112 ret = usbtv_set_regs(usbtv, svideo, ARRAY_SIZE(svideo)); in usbtv_select_input()
119 usbtv->input = input; in usbtv_select_input()
145 static int usbtv_select_norm(struct usbtv *usbtv, v4l2_std_id norm) in usbtv_select_norm() argument
[all …]
Dusbtv-core.c47 int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size) in usbtv_set_regs() argument
50 int pipe = usb_sndctrlpipe(usbtv->udev, 0); in usbtv_set_regs()
57 ret = usb_control_msg(usbtv->udev, pipe, USBTV_REQUEST_REG, in usbtv_set_regs()
73 struct usbtv *usbtv; in usbtv_probe() local
90 usbtv = kzalloc(sizeof(struct usbtv), GFP_KERNEL); in usbtv_probe()
91 if (usbtv == NULL) in usbtv_probe()
93 usbtv->dev = dev; in usbtv_probe()
94 usbtv->udev = usb_get_dev(interface_to_usbdev(intf)); in usbtv_probe()
96 usbtv->iso_size = size; in usbtv_probe()
98 usb_set_intfdata(intf, usbtv); in usbtv_probe()
[all …]
Dusbtv-audio.c67 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_open()
78 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_pcm_close()
90 struct usbtv *chip = snd_pcm_substream_chip(substream); in snd_usbtv_prepare()
100 struct usbtv *chip = urb->context; in usbtv_audio_urb_received()
172 static int usbtv_audio_start(struct usbtv *chip) in usbtv_audio_start()
231 static int usbtv_audio_stop(struct usbtv *chip) in usbtv_audio_stop()
256 void usbtv_audio_suspend(struct usbtv *usbtv) in usbtv_audio_suspend() argument
258 if (atomic_read(&usbtv->snd_stream) && usbtv->snd_bulk_urb) in usbtv_audio_suspend()
259 usb_kill_urb(usbtv->snd_bulk_urb); in usbtv_audio_suspend()
262 void usbtv_audio_resume(struct usbtv *usbtv) in usbtv_audio_resume() argument
[all …]
Dusbtv.h87 struct usbtv { struct
130 int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size); argument
132 int usbtv_video_init(struct usbtv *usbtv);
133 void usbtv_video_free(struct usbtv *usbtv);
135 int usbtv_audio_init(struct usbtv *usbtv);
136 void usbtv_audio_free(struct usbtv *usbtv);
137 void usbtv_audio_suspend(struct usbtv *usbtv);
138 void usbtv_audio_resume(struct usbtv *usbtv);
DMakefile2 usbtv-y := usbtv-core.o \
3 usbtv-video.o \
4 usbtv-audio.o
6 obj-$(CONFIG_VIDEO_USBTV) += usbtv.o
DKconfig12 module will be called usbtv
/linux-6.12.1/drivers/media/usb/
DMakefile32 obj-$(CONFIG_VIDEO_USBTV) += usbtv/
DKconfig19 source "drivers/media/usb/usbtv/Kconfig"
/linux-6.12.1/Documentation/admin-guide/media/
Dother-usb-cardlist.rst76 usbtv Fushicai USBTV007 Audio-Video Grabber 1b71:3002, 1f71:3301,
Dusb-cardlist.rst96 usbtv USBTV007 video capture