Home
last modified time | relevance | path

Searched refs:ivtv (Results 1 – 25 of 52) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
DMakefile2 ivtv-objs := ivtv-routing.o ivtv-cards.o ivtv-controls.o \
3 ivtv-driver.o ivtv-fileops.o ivtv-firmware.o \
4 ivtv-gpio.o ivtv-i2c.o ivtv-ioctl.o ivtv-irq.o \
5 ivtv-mailbox.o ivtv-queue.o ivtv-streams.o ivtv-udma.o \
6 ivtv-vbi.o ivtv-yuv.o
7 ivtv-alsa-objs := ivtv-alsa-main.o ivtv-alsa-pcm.o
9 obj-$(CONFIG_VIDEO_IVTV) += ivtv.o
10 obj-$(CONFIG_VIDEO_IVTV_ALSA) += ivtv-alsa.o
Divtv-udma.h16 int ivtv_udma_setup(struct ivtv *itv, unsigned long ivtv_dest_addr,
18 void ivtv_udma_unmap(struct ivtv *itv);
19 void ivtv_udma_free(struct ivtv *itv);
20 void ivtv_udma_alloc(struct ivtv *itv);
21 void ivtv_udma_prepare(struct ivtv *itv);
22 void ivtv_udma_start(struct ivtv *itv);
24 static inline void ivtv_udma_sync_for_device(struct ivtv *itv) in ivtv_udma_sync_for_device()
30 static inline void ivtv_udma_sync_for_cpu(struct ivtv *itv) in ivtv_udma_sync_for_cpu()
Divtv-yuv.h24 int ivtv_yuv_filter_check(struct ivtv *itv);
25 void ivtv_yuv_setup_stream_frame(struct ivtv *itv);
26 int ivtv_yuv_udma_stream_frame(struct ivtv *itv, void __user *src);
27 void ivtv_yuv_frame_complete(struct ivtv *itv);
28 int ivtv_yuv_prep_frame(struct ivtv *itv, struct ivtv_dma_frame *args);
29 void ivtv_yuv_close(struct ivtv *itv);
30 void ivtv_yuv_work_handler(struct ivtv *itv);
Divtv-controls.c16 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_stream_vbi_fmt()
53 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_video_encoding()
70 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_audio_sampling_freq()
81 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_audio_mode()
94 int ivtv_g_pts_frame(struct ivtv *itv, s64 *pts, s64 *frame) in ivtv_g_pts_frame()
122 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_g_volatile_ctrl()
136 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_s_ctrl()
Divtv-i2c.c163 static int ivtv_i2c_new_ir(struct ivtv *itv, u32 hw, const char *type, u8 addr) in ivtv_i2c_new_ir()
216 void ivtv_i2c_new_ir_legacy(struct ivtv *itv) in ivtv_i2c_new_ir_legacy()
241 int ivtv_i2c_register(struct ivtv *itv, unsigned idx) in ivtv_i2c_register()
297 struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw) in ivtv_find_hw()
314 static void ivtv_setscl(struct ivtv *itv, int state) in ivtv_setscl()
322 static void ivtv_setsda(struct ivtv *itv, int state) in ivtv_setsda()
330 static int ivtv_getscl(struct ivtv *itv) in ivtv_getscl()
336 static int ivtv_getsda(struct ivtv *itv) in ivtv_getsda()
342 static void ivtv_scldelay(struct ivtv *itv) in ivtv_scldelay()
351 static int ivtv_waitscl(struct ivtv *itv, int val) in ivtv_waitscl()
[all …]
Divtv-firmware.h13 int ivtv_firmware_init(struct ivtv *itv);
14 void ivtv_firmware_versions(struct ivtv *itv);
15 void ivtv_halt_firmware(struct ivtv *itv);
16 void ivtv_init_mpeg_decoder(struct ivtv *itv);
17 int ivtv_firmware_check(struct ivtv *itv, char *where);
Divtv-i2c.h12 void ivtv_i2c_new_ir_legacy(struct ivtv *itv);
13 int ivtv_i2c_register(struct ivtv *itv, unsigned idx);
14 struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw);
17 int init_ivtv_i2c(struct ivtv *itv);
18 void exit_ivtv_i2c(struct ivtv *itv);
Divtv-vbi.h12 ivtv_write_vbi_from_user(struct ivtv *itv,
15 void ivtv_process_vbi_data(struct ivtv *itv, struct ivtv_buffer *buf,
17 int ivtv_used_line(struct ivtv *itv, int line, int field);
18 void ivtv_disable_cc(struct ivtv *itv);
20 void ivtv_vbi_work_handler(struct ivtv *itv);
Divtv-streams.h12 int ivtv_streams_setup(struct ivtv *itv);
13 int ivtv_streams_register(struct ivtv *itv);
14 void ivtv_streams_cleanup(struct ivtv *itv);
22 void ivtv_stop_all_captures(struct ivtv *itv);
23 int ivtv_passthrough_mode(struct ivtv *itv, int enable);
Divtv-gpio.c94 void ivtv_reset_ir_gpio(struct ivtv *itv) in ivtv_reset_ir_gpio()
119 struct ivtv *itv = algo->data; in ivtv_reset_tuner_gpio()
136 static inline struct ivtv *sd_to_ivtv(struct v4l2_subdev *sd) in sd_to_ivtv()
138 return container_of(sd, struct ivtv, sd_gpio); in sd_to_ivtv()
143 return &container_of(ctrl->handler, struct ivtv, hdl_gpio)->sd_gpio; in to_sd()
148 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_clock_freq()
171 struct ivtv *itv = sd_to_ivtv(sd); in subdev_g_tuner()
185 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_tuner()
212 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_radio()
225 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_audio_routing()
[all …]
Divtv-mailbox.h17 int ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]);
18 int ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...);
19 int ivtv_vapi(struct ivtv *itv, int cmd, int args, ...);
21 void ivtv_mailbox_cache_invalidate(struct ivtv *itv);
Divtv-ioctl.h15 void ivtv_set_osd_alpha(struct ivtv *itv);
16 int ivtv_set_speed(struct ivtv *itv, int speed);
18 void ivtv_s_std_enc(struct ivtv *itv, v4l2_std_id std);
19 void ivtv_s_std_dec(struct ivtv *itv, v4l2_std_id std);
Divtv-ioctl.c119 void ivtv_set_osd_alpha(struct ivtv *itv) in ivtv_set_osd_alpha()
126 int ivtv_set_speed(struct ivtv *itv, int speed) in ivtv_set_speed()
236 static int ivtv_video_command(struct ivtv *itv, struct ivtv_open_id *id, in ivtv_video_command()
316 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_sliced_vbi_out()
339 struct ivtv *itv = id->itv; in ivtv_g_fmt_vid_cap()
361 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_vbi_cap()
381 struct ivtv *itv = id->itv; in ivtv_g_fmt_sliced_vbi_cap()
403 struct ivtv *itv = id->itv; in ivtv_g_fmt_vid_out()
442 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_vid_out_overlay()
470 struct ivtv *itv = id->itv; in ivtv_try_fmt_vid_cap()
[all …]
Divtvfb.c192 static int ivtvfb_get_framebuffer(struct ivtv *itv, u32 *fbbase, in ivtvfb_get_framebuffer()
205 static int ivtvfb_get_osd_coords(struct ivtv *itv, in ivtvfb_get_osd_coords()
222 static int ivtvfb_set_osd_coords(struct ivtv *itv, const struct ivtv_osd_coords *osd) in ivtvfb_set_osd_coords()
237 static int ivtvfb_set_display_window(struct ivtv *itv, struct v4l2_rect *ivtv_window) in ivtvfb_set_display_window()
273 static int ivtvfb_prep_dec_dma_to_device(struct ivtv *itv, in ivtvfb_prep_dec_dma_to_device()
321 static int ivtvfb_prep_frame(struct ivtv *itv, int cmd, void __user *source, in ivtvfb_prep_frame()
375 struct ivtv *itv = (struct ivtv *) info->par; in ivtvfb_write()
447 struct ivtv *itv = (struct ivtv *)info->par; in ivtvfb_ioctl()
500 static int ivtvfb_set_var(struct ivtv *itv, struct fb_var_screeninfo *var) in ivtvfb_set_var()
614 static int ivtvfb_get_fix(struct ivtv *itv, struct fb_fix_screeninfo *fix) in ivtvfb_get_fix()
[all …]
Divtv-driver.h326 struct ivtv; /* forward reference */
332 struct ivtv *itv; /* for ease of use */
385 struct ivtv *itv;
610 struct ivtv { struct
755 void (*ivtvfb_restore)(struct ivtv *itv); /* Used for a warm start */ argument
758 static inline struct ivtv *to_ivtv(struct v4l2_device *v4l2_dev) in to_ivtv()
760 return container_of(v4l2_dev, struct ivtv, v4l2_dev); in to_ivtv()
764 extern int (*ivtv_ext_init)(struct ivtv *);
772 void ivtv_set_irq_mask(struct ivtv *itv, u32 mask);
773 void ivtv_clear_irq_mask(struct ivtv *itv, u32 mask);
[all …]
Divtv-vbi.c15 static void ivtv_set_vps(struct ivtv *itv, int enabled) in ivtv_set_vps()
32 static void ivtv_set_cc(struct ivtv *itv, int mode, const struct vbi_cc *cc) in ivtv_set_cc()
51 static void ivtv_set_wss(struct ivtv *itv, int enabled, int mode) in ivtv_set_wss()
83 static void ivtv_write_vbi_line(struct ivtv *itv, in ivtv_write_vbi_line()
121 static void ivtv_write_vbi_cc_lines(struct ivtv *itv, const struct vbi_cc *cc) in ivtv_write_vbi_cc_lines()
133 static void ivtv_write_vbi(struct ivtv *itv, in ivtv_write_vbi()
149 ivtv_write_vbi_from_user(struct ivtv *itv, in ivtv_write_vbi_from_user()
174 static void copy_vbi_data(struct ivtv *itv, int lines, u32 pts_stamp) in copy_vbi_data()
234 static int ivtv_convert_ivtv_vbi(struct ivtv *itv, u8 *p) in ivtv_convert_ivtv_vbi()
299 static u32 compress_raw_buf(struct ivtv *itv, u8 *buf, u32 size) in compress_raw_buf()
[all …]
Divtv-fileops.c34 struct ivtv *itv = id->itv; in ivtv_claim_stream()
93 struct ivtv *itv = s->itv; in ivtv_release_stream()
140 static void ivtv_dualwatch(struct ivtv *itv) in ivtv_dualwatch()
161 static void ivtv_update_pgm_info(struct ivtv *itv) in ivtv_update_pgm_info()
195 struct ivtv *itv = s->itv; in ivtv_get_buffer()
277 static void ivtv_setup_sliced_vbi_buf(struct ivtv *itv) in ivtv_setup_sliced_vbi_buf()
289 struct ivtv *itv = s->itv; in ivtv_copy_buf_to_user()
348 struct ivtv *itv = s->itv; in ivtv_read()
407 struct ivtv *itv = s->itv; in ivtv_read_pos()
417 struct ivtv *itv = id->itv; in ivtv_start_capture()
[all …]
Divtv-firmware.c40 static int load_fw_direct(const char *fn, volatile u8 __iomem *mem, struct ivtv *itv, long size) in load_fw_direct()
76 void ivtv_halt_firmware(struct ivtv *itv) in ivtv_halt_firmware()
128 void ivtv_firmware_versions(struct ivtv *itv) in ivtv_firmware_versions()
146 static int ivtv_firmware_copy(struct ivtv *itv) in ivtv_firmware_copy()
183 int ivtv_firmware_init(struct ivtv *itv) in ivtv_firmware_init()
232 void ivtv_init_mpeg_decoder(struct ivtv *itv) in ivtv_init_mpeg_decoder()
267 static int ivtv_firmware_restart(struct ivtv *itv) in ivtv_firmware_restart()
323 int ivtv_firmware_check(struct ivtv *itv, char *where) in ivtv_firmware_check()
Divtv-irq.c29 static void ivtv_pcm_work_handler(struct ivtv *itv) in ivtv_pcm_work_handler()
58 static void ivtv_pio_work_handler(struct ivtv *itv) in ivtv_pio_work_handler()
92 struct ivtv *itv = container_of(work, struct ivtv, irq_work); in ivtv_irq_work_handler()
113 struct ivtv *itv = s->itv; in stream_enc_dma_append()
248 struct ivtv *itv = s->itv; in dma_post()
339 struct ivtv *itv = s->itv; in ivtv_dma_stream_dec_prepare()
416 struct ivtv *itv = s->itv; in ivtv_dma_enc_start_xfer()
432 struct ivtv *itv = s->itv; in ivtv_dma_dec_start_xfer()
449 struct ivtv *itv = s->itv; in ivtv_dma_enc_start()
510 struct ivtv *itv = s->itv; in ivtv_dma_dec_start()
[all …]
Divtv-udma.c80 void ivtv_udma_alloc(struct ivtv *itv) in ivtv_udma_alloc()
90 int ivtv_udma_setup(struct ivtv *itv, unsigned long ivtv_dest_addr, in ivtv_udma_setup()
150 void ivtv_udma_unmap(struct ivtv *itv) in ivtv_udma_unmap()
172 void ivtv_udma_free(struct ivtv *itv) in ivtv_udma_free()
193 void ivtv_udma_start(struct ivtv *itv) in ivtv_udma_start()
203 void ivtv_udma_prepare(struct ivtv *itv) in ivtv_udma_prepare()
Divtv-driver.c71 int (*ivtv_ext_init)(struct ivtv *);
288 struct ivtv *dev = container_of(work, struct ivtv, request_module_wk); in request_module_async()
298 static void request_modules(struct ivtv *dev) in request_modules()
304 static void flush_request_modules(struct ivtv *dev) in flush_request_modules()
313 void ivtv_clear_irq_mask(struct ivtv *itv, u32 mask) in ivtv_clear_irq_mask()
319 void ivtv_set_irq_mask(struct ivtv *itv, u32 mask) in ivtv_set_irq_mask()
325 int ivtv_set_output_mode(struct ivtv *itv, int mode) in ivtv_set_output_mode()
337 struct ivtv_stream *ivtv_get_output_stream(struct ivtv *itv) in ivtv_get_output_stream()
378 static void ivtv_iounmap(struct ivtv *itv) in ivtv_iounmap()
405 void ivtv_read_eeprom(struct ivtv *itv, struct tveeprom *tv) in ivtv_read_eeprom()
[all …]
Divtv-routing.h12 void ivtv_audio_set_io(struct ivtv *itv);
13 void ivtv_video_set_io(struct ivtv *itv);
Divtv-gpio.h13 int ivtv_gpio_init(struct ivtv *itv);
14 void ivtv_reset_ir_gpio(struct ivtv *itv);
Divtv-streams.c168 static void ivtv_stream_init(struct ivtv *itv, int type) in ivtv_stream_init()
198 static int ivtv_prep_dev(struct ivtv *itv, int type) in ivtv_prep_dev()
259 int ivtv_streams_setup(struct ivtv *itv) in ivtv_streams_setup()
284 static int ivtv_reg_dev(struct ivtv *itv, int type) in ivtv_reg_dev()
339 int ivtv_streams_register(struct ivtv *itv) in ivtv_streams_register()
357 void ivtv_streams_cleanup(struct ivtv *itv) in ivtv_streams_cleanup()
374 static void ivtv_vbi_setup(struct ivtv *itv) in ivtv_vbi_setup()
490 struct ivtv *itv = s->itv; in ivtv_start_v4l2_encode_stream()
658 struct ivtv *itv = s->itv; in ivtv_setup_v4l2_decode_stream()
722 struct ivtv *itv = s->itv; in ivtv_start_v4l2_decode_stream()
[all …]
Divtv-mailbox.c131 static int try_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int mb) in try_mailbox()
146 static int get_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int flags) in get_mailbox()
188 static void clear_all_mailboxes(struct ivtv *itv, struct ivtv_mailbox_data *mbdata) in clear_all_mailboxes()
200 static int ivtv_api_call(struct ivtv *itv, int cmd, int args, u32 data[]) in ivtv_api_call()
315 int ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]) in ivtv_api()
330 int ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...) in ivtv_vapi_result()
343 int ivtv_vapi(struct ivtv *itv, int cmd, int args, ...) in ivtv_vapi()
368 void ivtv_mailbox_cache_invalidate(struct ivtv *itv) in ivtv_mailbox_cache_invalidate()

123