Home
last modified time | relevance | path

Searched defs:itv (Results 1 – 24 of 24) sorted by relevance

/drivers/media/pci/ivtv/
Divtv-i2c.c177 static int ivtv_i2c_new_ir(struct ivtv *itv, u32 hw, const char *type, u8 addr) in ivtv_i2c_new_ir()
239 struct i2c_client *ivtv_i2c_new_ir_legacy(struct ivtv *itv) in ivtv_i2c_new_ir_legacy()
264 int ivtv_i2c_register(struct ivtv *itv, unsigned idx) in ivtv_i2c_register()
319 struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw) in ivtv_find_hw()
336 static void ivtv_setscl(struct ivtv *itv, int state) in ivtv_setscl()
344 static void ivtv_setsda(struct ivtv *itv, int state) in ivtv_setsda()
352 static int ivtv_getscl(struct ivtv *itv) in ivtv_getscl()
358 static int ivtv_getsda(struct ivtv *itv) in ivtv_getsda()
364 static void ivtv_scldelay(struct ivtv *itv) in ivtv_scldelay()
373 static int ivtv_waitscl(struct ivtv *itv, int val) in ivtv_waitscl()
[all …]
Divtv-irq.c41 static void ivtv_pcm_work_handler(struct ivtv *itv) in ivtv_pcm_work_handler()
70 static void ivtv_pio_work_handler(struct ivtv *itv) in ivtv_pio_work_handler()
104 struct ivtv *itv = container_of(work, struct ivtv, irq_work); in ivtv_irq_work_handler() local
125 struct ivtv *itv = s->itv; in stream_enc_dma_append() local
260 struct ivtv *itv = s->itv; in dma_post() local
351 struct ivtv *itv = s->itv; in ivtv_dma_stream_dec_prepare() local
424 struct ivtv *itv = s->itv; in ivtv_dma_enc_start_xfer() local
440 struct ivtv *itv = s->itv; in ivtv_dma_dec_start_xfer() local
457 struct ivtv *itv = s->itv; in ivtv_dma_enc_start() local
518 struct ivtv *itv = s->itv; in ivtv_dma_dec_start() local
[all …]
Divtv-ioctl.c127 void ivtv_set_osd_alpha(struct ivtv *itv) in ivtv_set_osd_alpha()
134 int ivtv_set_speed(struct ivtv *itv, int speed) in ivtv_set_speed()
244 static int ivtv_video_command(struct ivtv *itv, struct ivtv_open_id *id, in ivtv_video_command()
324 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_sliced_vbi_out() local
347 struct ivtv *itv = id->itv; in ivtv_g_fmt_vid_cap() local
369 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_vbi_cap() local
389 struct ivtv *itv = id->itv; in ivtv_g_fmt_sliced_vbi_cap() local
411 struct ivtv *itv = id->itv; in ivtv_g_fmt_vid_out() local
450 struct ivtv *itv = fh2id(fh)->itv; in ivtv_g_fmt_vid_out_overlay() local
475 struct ivtv *itv = id->itv; in ivtv_try_fmt_vid_cap() local
[all …]
Divtv-fileops.c46 struct ivtv *itv = id->itv; in ivtv_claim_stream() local
105 struct ivtv *itv = s->itv; in ivtv_release_stream() local
152 static void ivtv_dualwatch(struct ivtv *itv) in ivtv_dualwatch()
173 static void ivtv_update_pgm_info(struct ivtv *itv) in ivtv_update_pgm_info()
207 struct ivtv *itv = s->itv; in ivtv_get_buffer() local
289 static void ivtv_setup_sliced_vbi_buf(struct ivtv *itv) in ivtv_setup_sliced_vbi_buf()
301 struct ivtv *itv = s->itv; in ivtv_copy_buf_to_user() local
360 struct ivtv *itv = s->itv; in ivtv_read() local
419 struct ivtv *itv = s->itv; in ivtv_read_pos() local
429 struct ivtv *itv = id->itv; in ivtv_start_capture() local
[all …]
Divtv-streams.c159 static void ivtv_stream_init(struct ivtv *itv, int type) in ivtv_stream_init()
191 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()
336 int ivtv_streams_register(struct ivtv *itv) in ivtv_streams_register()
354 void ivtv_streams_cleanup(struct ivtv *itv, int unregister) in ivtv_streams_cleanup()
375 static void ivtv_vbi_setup(struct ivtv *itv) in ivtv_vbi_setup()
491 struct ivtv *itv = s->itv; in ivtv_start_v4l2_encode_stream() local
659 struct ivtv *itv = s->itv; in ivtv_setup_v4l2_decode_stream() local
723 struct ivtv *itv = s->itv; in ivtv_start_v4l2_decode_stream() local
[all …]
Divtv-vbi.c27 static void ivtv_set_vps(struct ivtv *itv, int enabled) in ivtv_set_vps()
44 static void ivtv_set_cc(struct ivtv *itv, int mode, const struct vbi_cc *cc) in ivtv_set_cc()
63 static void ivtv_set_wss(struct ivtv *itv, int enabled, int mode) in ivtv_set_wss()
95 static void ivtv_write_vbi_line(struct ivtv *itv, in ivtv_write_vbi_line()
133 static void ivtv_write_vbi_cc_lines(struct ivtv *itv, const struct vbi_cc *cc) in ivtv_write_vbi_cc_lines()
145 static void ivtv_write_vbi(struct ivtv *itv, in ivtv_write_vbi()
161 ivtv_write_vbi_from_user(struct ivtv *itv, in ivtv_write_vbi_from_user()
186 static void copy_vbi_data(struct ivtv *itv, int lines, u32 pts_stamp) in copy_vbi_data()
246 static int ivtv_convert_ivtv_vbi(struct ivtv *itv, u8 *p) in ivtv_convert_ivtv_vbi()
311 static u32 compress_raw_buf(struct ivtv *itv, u8 *buf, u32 size) in compress_raw_buf()
[all …]
Divtv-driver.c313 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()
414 static void ivtv_process_eeprom(struct ivtv *itv) in ivtv_process_eeprom()
548 static v4l2_std_id ivtv_parse_std(struct ivtv *itv) in ivtv_parse_std()
641 static void ivtv_process_options(struct ivtv *itv) in ivtv_process_options()
738 static int ivtv_init_struct1(struct ivtv *itv) in ivtv_init_struct1()
[all …]
Divtv-gpio.c106 void ivtv_reset_ir_gpio(struct ivtv *itv) in ivtv_reset_ir_gpio()
131 struct ivtv *itv = algo->data; in ivtv_reset_tuner_gpio() local
160 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_clock_freq() local
183 struct ivtv *itv = sd_to_ivtv(sd); in subdev_g_tuner() local
197 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_tuner() local
224 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_radio() local
237 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_audio_routing() local
263 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_ctrl() local
281 struct ivtv *itv = sd_to_ivtv(sd); in subdev_log_status() local
293 struct ivtv *itv = sd_to_ivtv(sd); in subdev_s_video_routing() local
[all …]
Divtv-yuv.c37 static int ivtv_yuv_prep_user_dma(struct ivtv *itv, struct ivtv_user_dma *dma, in ivtv_yuv_prep_user_dma()
155 int ivtv_yuv_filter_check(struct ivtv *itv) in ivtv_yuv_filter_check()
169 static void ivtv_yuv_filter(struct ivtv *itv, int h_filter, int v_filter_1, int v_filter_2) in ivtv_yuv_filter()
229 static void ivtv_yuv_handle_horizontal(struct ivtv *itv, struct yuv_frame_info *f) in ivtv_yuv_handle_horizontal()
391 static void ivtv_yuv_handle_vertical(struct ivtv *itv, struct yuv_frame_info *f) in ivtv_yuv_handle_vertical()
670 static u32 ivtv_yuv_window_setup(struct ivtv *itv, struct yuv_frame_info *f) in ivtv_yuv_window_setup()
815 void ivtv_yuv_work_handler(struct ivtv *itv) in ivtv_yuv_work_handler()
857 static void ivtv_yuv_init(struct ivtv *itv) in ivtv_yuv_init()
955 static void ivtv_yuv_next_free(struct ivtv *itv) in ivtv_yuv_next_free()
978 static void ivtv_yuv_setup_frame(struct ivtv *itv, struct ivtv_dma_frame *args) in ivtv_yuv_setup_frame()
[all …]
Divtv-controls.c28 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_stream_vbi_fmt() local
65 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_video_encoding() local
80 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_audio_sampling_freq() local
91 struct ivtv *itv = container_of(cxhdl, struct ivtv, cxhdl); in ivtv_s_audio_mode() local
104 int ivtv_g_pts_frame(struct ivtv *itv, s64 *pts, s64 *frame) in ivtv_g_pts_frame()
132 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_g_volatile_ctrl() local
146 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_s_ctrl() local
Divtvfb.c203 static int ivtvfb_get_framebuffer(struct ivtv *itv, u32 *fbbase, in ivtvfb_get_framebuffer()
216 static int ivtvfb_get_osd_coords(struct ivtv *itv, in ivtvfb_get_osd_coords()
233 static int ivtvfb_set_osd_coords(struct ivtv *itv, const struct ivtv_osd_coords *osd) in ivtvfb_set_osd_coords()
248 static int ivtvfb_set_display_window(struct ivtv *itv, struct v4l2_rect *ivtv_window) in ivtvfb_set_display_window()
284 static int ivtvfb_prep_dec_dma_to_device(struct ivtv *itv, in ivtvfb_prep_dec_dma_to_device()
333 static int ivtvfb_prep_frame(struct ivtv *itv, int cmd, void __user *source, in ivtvfb_prep_frame()
389 struct ivtv *itv = (struct ivtv *) info->par; in ivtvfb_write() local
461 struct ivtv *itv = (struct ivtv *)info->par; in ivtvfb_ioctl() local
514 static int ivtvfb_set_var(struct ivtv *itv, struct fb_var_screeninfo *var) in ivtvfb_set_var()
628 static int ivtvfb_get_fix(struct ivtv *itv, struct fb_fix_screeninfo *fix) in ivtvfb_get_fix()
[all …]
Divtv-firmware.c52 static int load_fw_direct(const char *fn, volatile u8 __iomem *mem, struct ivtv *itv, long size) in load_fw_direct()
88 void ivtv_halt_firmware(struct ivtv *itv) in ivtv_halt_firmware()
140 void ivtv_firmware_versions(struct ivtv *itv) in ivtv_firmware_versions()
158 static int ivtv_firmware_copy(struct ivtv *itv) in ivtv_firmware_copy()
195 int ivtv_firmware_init(struct ivtv *itv) in ivtv_firmware_init()
244 void ivtv_init_mpeg_decoder(struct ivtv *itv) in ivtv_init_mpeg_decoder()
279 static int ivtv_firmware_restart(struct ivtv *itv) in ivtv_firmware_restart()
335 int ivtv_firmware_check(struct ivtv *itv, char *where) in ivtv_firmware_check()
Divtv-udma.c92 void ivtv_udma_alloc(struct ivtv *itv) in ivtv_udma_alloc()
102 int ivtv_udma_setup(struct ivtv *itv, unsigned long ivtv_dest_addr, in ivtv_udma_setup()
167 void ivtv_udma_unmap(struct ivtv *itv) in ivtv_udma_unmap()
193 void ivtv_udma_free(struct ivtv *itv) in ivtv_udma_free()
214 void ivtv_udma_start(struct ivtv *itv) in ivtv_udma_start()
224 void ivtv_udma_prepare(struct ivtv *itv) in ivtv_udma_prepare()
Divtv-mailbox.c145 static int try_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int mb) in try_mailbox()
160 static int get_mailbox(struct ivtv *itv, struct ivtv_mailbox_data *mbdata, int flags) in get_mailbox()
202 static void clear_all_mailboxes(struct ivtv *itv, struct ivtv_mailbox_data *mbdata) in clear_all_mailboxes()
214 static int ivtv_api_call(struct ivtv *itv, int cmd, int args, u32 data[]) in ivtv_api_call()
329 int ivtv_api(struct ivtv *itv, int cmd, int args, u32 data[]) in ivtv_api()
344 int ivtv_vapi_result(struct ivtv *itv, u32 data[CX2341X_MBOX_MAX_DATA], int cmd, int args, ...) in ivtv_vapi_result()
357 int ivtv_vapi(struct ivtv *itv, int cmd, int args, ...) in ivtv_vapi()
382 void ivtv_mailbox_cache_invalidate(struct ivtv *itv) in ivtv_mailbox_cache_invalidate()
Divtv-alsa-main.c117 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_card_set_names() local
137 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_init() local
209 static int ivtv_alsa_load(struct ivtv *itv) in ivtv_alsa_load()
258 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_exit() local
Divtv-udma.h36 static inline void ivtv_udma_sync_for_device(struct ivtv *itv) in ivtv_udma_sync_for_device()
42 static inline void ivtv_udma_sync_for_cpu(struct ivtv *itv) in ivtv_udma_sync_for_cpu()
Divtv-routing.c34 void ivtv_audio_set_io(struct ivtv *itv) in ivtv_audio_set_io()
62 void ivtv_video_set_io(struct ivtv *itv) in ivtv_video_set_io()
Divtv-cards.c1305 int ivtv_get_input(struct ivtv *itv, u16 index, struct v4l2_input *input) in ivtv_get_input()
1330 int ivtv_get_output(struct ivtv *itv, u16 index, struct v4l2_output *output) in ivtv_get_output()
1344 int ivtv_get_audio_input(struct ivtv *itv, u16 index, struct v4l2_audio *audio) in ivtv_get_audio_input()
1363 int ivtv_get_audio_output(struct ivtv *itv, u16 index, struct v4l2_audioout *aud_output) in ivtv_get_audio_output()
Divtv-alsa-mixer.c88 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_mixer_tv_vol_get() local
108 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_mixer_tv_vol_put() local
Divtv-alsa-pcm.c155 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_pcm_capture_open() local
208 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_pcm_capture_close() local
338 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_pcm_create() local
Divtv-alsa.h42 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_lock() local
48 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_unlock() local
Divtv-queue.h37 struct ivtv *itv = s->itv; in ivtv_use_pio() local
Divtv-queue.c195 struct ivtv *itv = s->itv; in ivtv_stream_alloc() local
Divtv-driver.h331 struct ivtv *itv; /* for ease of use */ member
385 struct ivtv *itv; member
795 static inline int ivtv_raw_vbi(const struct ivtv *itv) in ivtv_raw_vbi()
829 #define ivtv_call_hw(itv, hw, o, f, args...) \ argument
836 #define ivtv_call_all(itv, o, f, args...) ivtv_call_hw(itv, 0, o, f , ##args) argument
841 #define ivtv_call_hw_err(itv, hw, o, f, args...) \ argument
848 #define ivtv_call_all_err(itv, o, f, args...) ivtv_call_hw_err(itv, 0, o, f , ##args) argument