Home
last modified time | relevance | path

Searched refs:yi (Results 1 – 5 of 5) sorted by relevance

/drivers/media/pci/ivtv/
Divtv-yuv.c42 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_yuv_prep_user_dma() local
43 u8 frame = yi->draw_frame; in ivtv_yuv_prep_user_dma()
44 struct yuv_frame_info *f = &yi->new_frame_info[frame]; in ivtv_yuv_prep_user_dma()
140 if (f->offset_y && yi->blanking_dmaptr) { in ivtv_yuv_prep_user_dma()
142 dma->SGarray[dma->SG_length].src = cpu_to_le32(yi->blanking_dmaptr); in ivtv_yuv_prep_user_dma()
231 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_yuv_handle_horizontal() local
350 yi->reg_2834, reg_2834, yi->reg_2838, reg_2838); in ivtv_yuv_handle_horizontal()
356 yi->reg_283c, reg_283c, yi->reg_2844, reg_2844); in ivtv_yuv_handle_horizontal()
361 yi->reg_2840, 0x00080514, yi->reg_2848, 0x00100514); in ivtv_yuv_handle_horizontal()
365 yi->reg_2854, reg_2854); in ivtv_yuv_handle_horizontal()
[all …]
Divtv-irq.c352 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_dma_stream_dec_prepare() local
353 u8 frame = yi->draw_frame; in ivtv_dma_stream_dec_prepare()
354 struct yuv_frame_info *f = &yi->new_frame_info[frame]; in ivtv_dma_stream_dec_prepare()
366 if (yi->blanking_dmaptr) { in ivtv_dma_stream_dec_prepare()
367 s->sg_pending[idx].src = yi->blanking_dmaptr; in ivtv_dma_stream_dec_prepare()
844 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_irq_vsync() local
845 int last_dma_frame = atomic_read(&yi->next_dma_frame); in ivtv_irq_vsync()
846 struct yuv_frame_info *f = &yi->new_frame_info[last_dma_frame]; in ivtv_irq_vsync()
855 if (!(f->interlaced && f->delay && yi->fields_lapsed < 1)) { in ivtv_irq_vsync()
856 if (next_dma_frame >= 0 && next_dma_frame != atomic_read(&yi->next_fill_frame)) { in ivtv_irq_vsync()
[all …]
Divtv-ioctl.c646 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_s_fmt_vid_out() local
656 if (yi->stream_size) in ivtv_s_fmt_vid_out()
659 yi->v4l2_src_w = fmt->fmt.pix.width; in ivtv_s_fmt_vid_out()
660 yi->v4l2_src_h = fmt->fmt.pix.height; in ivtv_s_fmt_vid_out()
664 yi->lace_mode = IVTV_YUV_MODE_PROGRESSIVE; in ivtv_s_fmt_vid_out()
667 yi->lace_mode = IVTV_YUV_MODE_AUTO; in ivtv_s_fmt_vid_out()
670 yi->lace_mode = in ivtv_s_fmt_vid_out()
675 yi->lace_mode = IVTV_YUV_MODE_INTERLACED; in ivtv_s_fmt_vid_out()
678 yi->lace_sync_field = (yi->lace_mode & IVTV_YUV_SYNC_MASK) == IVTV_YUV_SYNC_EVEN ? 0 : 1; in ivtv_s_fmt_vid_out()
682 1080 * ((yi->v4l2_src_h + 31) & ~31); in ivtv_s_fmt_vid_out()
[all …]
Divtv-fileops.c553 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_write() local
651 yi->stream_size + count > itv->dma_data_req_size) in ivtv_write()
653 itv->dma_data_req_size - yi->stream_size); in ivtv_write()
667 yi->stream_size += rc; in ivtv_write()
669 if (yi->stream_size == itv->dma_data_req_size) { in ivtv_write()
671 yi->stream_size = 0; in ivtv_write()
/drivers/net/hamradio/
Dyam.c955 struct yamdrv_ioctl_cfg yi; in yam_ioctl() local
997 if (copy_from_user(&yi, ifr->ifr_data, sizeof(struct yamdrv_ioctl_cfg))) in yam_ioctl()
1000 if ((yi.cfg.mask & YAM_IOBASE) && netif_running(dev)) in yam_ioctl()
1002 if ((yi.cfg.mask & YAM_IRQ) && netif_running(dev)) in yam_ioctl()
1004 if ((yi.cfg.mask & YAM_BITRATE) && netif_running(dev)) in yam_ioctl()
1006 if ((yi.cfg.mask & YAM_BAUDRATE) && netif_running(dev)) in yam_ioctl()
1009 if (yi.cfg.mask & YAM_IOBASE) { in yam_ioctl()
1010 yp->iobase = yi.cfg.iobase; in yam_ioctl()
1011 dev->base_addr = yi.cfg.iobase; in yam_ioctl()
1013 if (yi.cfg.mask & YAM_IRQ) { in yam_ioctl()
[all …]