| /linux/drivers/media/pci/ivtv/ |
| H A D | ivtv-driver.c | 297 void ivtv_clear_irq_mask(struct ivtv *itv, u32 mask) in ivtv_clear_irq_mask() argument 299 itv->irqmask &= ~mask; in ivtv_clear_irq_mask() 300 write_reg_sync(itv->irqmask, IVTV_REG_IRQMASK); in ivtv_clear_irq_mask() 303 void ivtv_set_irq_mask(struct ivtv *itv, u32 mask) in ivtv_set_irq_mask() argument 305 itv->irqmask |= mask; in ivtv_set_irq_mask() 306 write_reg_sync(itv->irqmask, IVTV_REG_IRQMASK); in ivtv_set_irq_mask() 309 int ivtv_set_output_mode(struct ivtv *itv, int mode) in ivtv_set_output_mode() argument 313 spin_lock(&itv->lock); in ivtv_set_output_mode() 314 old_mode = itv->output_mode; in ivtv_set_output_mode() 316 itv->output_mode = old_mode = mode; in ivtv_set_output_mode() [all …]
|
| H A D | ivtv-ioctl.c | 114 void ivtv_set_osd_alpha(struct ivtv *itv) in ivtv_set_osd_alpha() argument 116 ivtv_vapi(itv, CX2341X_OSD_SET_GLOBAL_ALPHA, 3, in ivtv_set_osd_alpha() 117 itv->osd_global_alpha_state, itv->osd_global_alpha, !itv->osd_local_alpha_state); in ivtv_set_osd_alpha() 118 ivtv_vapi(itv, CX2341X_OSD_SET_CHROMA_KEY, 2, itv->osd_chroma_key_state, itv->osd_chroma_key); in ivtv_set_osd_alpha() 121 int ivtv_set_speed(struct ivtv *itv, int speed) in ivtv_set_speed() argument 130 if (speed == itv->speed && !single_step) in ivtv_set_speed() 133 if (single_step && (speed < 0) == (itv->speed < 0)) { in ivtv_set_speed() 135 ivtv_vapi(itv, CX2341X_DEC_STEP_VIDEO, 1, 0); in ivtv_set_speed() 136 itv->speed = speed; in ivtv_set_speed() 147 data[3] = v4l2_ctrl_g_ctrl(itv->cxhdl.video_b_frames); in ivtv_set_speed() [all …]
|
| H A D | ivtvfb.c | 118 printk(KERN_INFO "ivtvfb%d " type ": " fmt, itv->instance , ## args); \ 124 #define IVTVFB_ERR(fmt, args...) printk(KERN_ERR "ivtvfb%d: " fmt, itv->instance , ## args) 125 #define IVTVFB_WARN(fmt, args...) printk(KERN_WARNING "ivtvfb%d: " fmt, itv->instance , ## args) 126 #define IVTVFB_INFO(fmt, args...) printk(KERN_INFO "ivtvfb%d: " fmt, itv->instance , ## args) 193 static int ivtvfb_get_framebuffer(struct ivtv *itv, u32 *fbbase, in ivtvfb_get_framebuffer() argument 199 ivtv_firmware_check(itv, "ivtvfb_get_framebuffer"); in ivtvfb_get_framebuffer() 200 rc = ivtv_vapi_result(itv, data, CX2341X_OSD_GET_FRAMEBUFFER, 0); in ivtvfb_get_framebuffer() 206 static int ivtvfb_get_osd_coords(struct ivtv *itv, in ivtvfb_get_osd_coords() argument 209 struct osd_info *oi = itv->osd_info; in ivtvfb_get_osd_coords() 212 ivtv_vapi_result(itv, data, CX2341X_OSD_GET_OSD_COORDS, 0); in ivtvfb_get_osd_coords() [all …]
|
| H A D | ivtv-alsa-main.c | 92 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_card_set_names() local 100 itv->instance); in snd_ivtv_card_set_names() 105 itv->instance, itv->card_name); in snd_ivtv_card_set_names() 112 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_init() local 124 idx = index[itv->instance] == -1 ? SNDRV_DEFAULT_IDX1 : index[itv->instance]; in snd_ivtv_init() 125 ret = snd_card_new(&itv->pdev->dev, in snd_ivtv_init() 157 itv->alsa = itvsc; in snd_ivtv_init() 162 itv->alsa = NULL; in snd_ivtv_init() 169 __func__, itv->instance, sc->number); in snd_ivtv_init() 181 static int ivtv_alsa_load(struct ivtv *itv) in ivtv_alsa_load() argument [all …]
|
| H A D | ivtv-yuv.h | 24 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);
|
| H A D | ivtv-ioctl.h | 17 void ivtv_set_osd_alpha(struct ivtv *itv); 18 int ivtv_set_speed(struct ivtv *itv, int speed); 20 void ivtv_s_std_enc(struct ivtv *itv, v4l2_std_id std); 21 void ivtv_s_std_dec(struct ivtv *itv, v4l2_std_id std); 23 int ivtv_do_s_input(struct ivtv *itv, unsigned int inp);
|
| H A D | ivtv-alsa.h | 28 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_lock() local 29 mutex_lock(&itv->serialize_lock); in snd_ivtv_lock() 34 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_unlock() local 35 mutex_unlock(&itv->serialize_lock); in snd_ivtv_unlock()
|