Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/usb/usbtv/
H A Dusbtv-video.c48 #include "usbtv.h"
63 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 *usbt argument
143 usbtv_select_norm(struct usbtv *usbtv, v4l2_std_id norm) usbtv_select_norm() argument
267 usbtv_setup_capture(struct usbtv *usbtv) usbtv_setup_capture() argument
391 usbtv_image_chunk(struct usbtv *usbtv, __be32 *chunk) usbtv_image_chunk() argument
460 struct usbtv *usbtv = (struct usbtv *)ip->context; usbtv_iso_cb() local
495 usbtv_setup_iso_transfer(struct usbtv *usbtv) usbtv_setup_iso_transfer() argument
527 usbtv_stop(struct usbtv *usbtv) usbtv_stop() argument
555 usbtv_start(struct usbtv *usbtv) usbtv_start() argument
643 struct usbtv *usbtv = video_drvdata(file); usbtv_fmt_vid_cap() local
658 struct usbtv *usbtv = video_drvdata(file); usbtv_g_std() local
666 struct usbtv *usbtv = video_drvdata(file); usbtv_s_std() local
676 struct usbtv *usbtv = video_drvdata(file); usbtv_g_input() local
683 struct usbtv *usbtv = video_drvdata(file); usbtv_s_input() local
724 struct usbtv *usbtv = vb2_get_drv_priv(vq); usbtv_queue_setup() local
740 struct usbtv *usbtv = vb2_get_drv_priv(vb->vb2_queue); usbtv_buf_queue() local
756 struct usbtv *usbtv = vb2_get_drv_priv(vq); usbtv_start_streaming() local
768 struct usbtv *usbtv = vb2_get_drv_priv(vq); usbtv_stop_streaming() local
785 struct usbtv *usbtv = container_of(ctrl->handler, struct usbtv, usbtv_s_ctrl() local
871 struct usbtv *usbtv = container_of(v4l2_dev, struct usbtv, v4l2_dev); usbtv_release() local
878 usbtv_video_init(struct usbtv *usbtv) usbtv_video_init() argument
960 usbtv_video_free(struct usbtv *usbtv) usbtv_video_free() argument
[all...]
H A Dusbtv-core.c45 #include "usbtv.h"
47 int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size) in usbtv_set_regs() argument
50 int pipe = usb_rcvctrlpipe(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 in usbtv_probe()
130 struct usbtv *usbtv = usb_get_intfdata(intf); usbtv_disconnect() local
[all...]
H A Dusbtv-audio.c44 #include "usbtv.h"
67 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 in usbtv_audio_suspend()
262 usbtv_audio_resume(struct usbtv *usbtv) usbtv_audio_resume() argument
320 usbtv_audio_init(struct usbtv *usbtv) usbtv_audio_init() argument
369 usbtv_audio_free(struct usbtv *usbtv) usbtv_audio_free() argument
[all...]
H A Dusbtv.h86 struct usbtv { struct
129 int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size);
131 int usbtv_video_init(struct usbtv *usbtv);
132 void usbtv_video_free(struct usbtv *usbtv);
134 int usbtv_audio_init(struct usbtv *usbtv);
135 void usbtv_audio_free(struct usbtv *usbt
[all...]
H A DMakefile2 usbtv-y := usbtv-core.o \
3 usbtv-video.o \
4 usbtv-audio.o
6 obj-$(CONFIG_VIDEO_USBTV) += usbtv.o
/kernel/linux/linux-6.6/drivers/media/usb/usbtv/
H A Dusbtv-video.c48 #include "usbtv.h"
63 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 *usbt argument
145 usbtv_select_norm(struct usbtv *usbtv, v4l2_std_id norm) usbtv_select_norm() argument
270 usbtv_setup_capture(struct usbtv *usbtv) usbtv_setup_capture() argument
394 usbtv_image_chunk(struct usbtv *usbtv, __be32 *chunk) usbtv_image_chunk() argument
463 struct usbtv *usbtv = (struct usbtv *)ip->context; usbtv_iso_cb() local
498 usbtv_setup_iso_transfer(struct usbtv *usbtv) usbtv_setup_iso_transfer() argument
530 usbtv_stop(struct usbtv *usbtv) usbtv_stop() argument
558 usbtv_start(struct usbtv *usbtv) usbtv_start() argument
646 struct usbtv *usbtv = video_drvdata(file); usbtv_fmt_vid_cap() local
661 struct usbtv *usbtv = video_drvdata(file); usbtv_g_std() local
669 struct usbtv *usbtv = video_drvdata(file); usbtv_s_std() local
679 struct usbtv *usbtv = video_drvdata(file); usbtv_g_input() local
686 struct usbtv *usbtv = video_drvdata(file); usbtv_s_input() local
727 struct usbtv *usbtv = vb2_get_drv_priv(vq); usbtv_queue_setup() local
743 struct usbtv *usbtv = vb2_get_drv_priv(vb->vb2_queue); usbtv_buf_queue() local
759 struct usbtv *usbtv = vb2_get_drv_priv(vq); usbtv_start_streaming() local
771 struct usbtv *usbtv = vb2_get_drv_priv(vq); usbtv_stop_streaming() local
788 struct usbtv *usbtv = container_of(ctrl->handler, struct usbtv, usbtv_s_ctrl() local
874 struct usbtv *usbtv = container_of(v4l2_dev, struct usbtv, v4l2_dev); usbtv_release() local
881 usbtv_video_init(struct usbtv *usbtv) usbtv_video_init() argument
963 usbtv_video_free(struct usbtv *usbtv) usbtv_video_free() argument
[all...]
H A Dusbtv-core.c45 #include "usbtv.h"
47 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 in usbtv_probe()
130 struct usbtv *usbtv = usb_get_intfdata(intf); usbtv_disconnect() local
[all...]
H A Dusbtv-audio.c44 #include "usbtv.h"
67 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 in usbtv_audio_suspend()
262 usbtv_audio_resume(struct usbtv *usbtv) usbtv_audio_resume() argument
320 usbtv_audio_init(struct usbtv *usbtv) usbtv_audio_init() argument
369 usbtv_audio_free(struct usbtv *usbtv) usbtv_audio_free() argument
[all...]
H A Dusbtv.h87 struct usbtv { struct
130 int usbtv_set_regs(struct usbtv *usbtv, const u16 regs[][2], int size);
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 *usbt
[all...]
H A DMakefile2 usbtv-y := usbtv-core.o \
3 usbtv-video.o \
4 usbtv-audio.o
6 obj-$(CONFIG_VIDEO_USBTV) += usbtv.o

Completed in 6 milliseconds