Home
last modified time | relevance | path

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

/drivers/media/pci/ivtv/
Divtv-yuv.c30 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_yuv_prep_user_dma() local
31 u8 frame = yi->draw_frame; in ivtv_yuv_prep_user_dma()
32 struct yuv_frame_info *f = &yi->new_frame_info[frame]; in ivtv_yuv_prep_user_dma()
122 if (f->offset_y && yi->blanking_dmaptr) { in ivtv_yuv_prep_user_dma()
124 dma->SGarray[dma->SG_length].src = cpu_to_le32(yi->blanking_dmaptr); in ivtv_yuv_prep_user_dma()
213 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_yuv_handle_horizontal() local
332 yi->reg_2834, reg_2834, yi->reg_2838, reg_2838); in ivtv_yuv_handle_horizontal()
338 yi->reg_283c, reg_283c, yi->reg_2844, reg_2844); in ivtv_yuv_handle_horizontal()
343 yi->reg_2840, 0x00080514, yi->reg_2848, 0x00100514); in ivtv_yuv_handle_horizontal()
347 yi->reg_2854, reg_2854); in ivtv_yuv_handle_horizontal()
[all …]
Divtv-irq.c340 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_dma_stream_dec_prepare() local
341 u8 frame = yi->draw_frame; in ivtv_dma_stream_dec_prepare()
342 struct yuv_frame_info *f = &yi->new_frame_info[frame]; in ivtv_dma_stream_dec_prepare()
354 if (yi->blanking_dmaptr) { in ivtv_dma_stream_dec_prepare()
355 s->sg_pending[idx].src = yi->blanking_dmaptr; in ivtv_dma_stream_dec_prepare()
832 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_irq_vsync() local
833 int last_dma_frame = atomic_read(&yi->next_dma_frame); in ivtv_irq_vsync()
834 struct yuv_frame_info *f = &yi->new_frame_info[last_dma_frame]; in ivtv_irq_vsync()
843 if (!(f->interlaced && f->delay && yi->fields_lapsed < 1)) { in ivtv_irq_vsync()
844 if (next_dma_frame >= 0 && next_dma_frame != atomic_read(&yi->next_fill_frame)) { in ivtv_irq_vsync()
[all …]
Divtv-ioctl.c633 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_s_fmt_vid_out() local
643 if (yi->stream_size) in ivtv_s_fmt_vid_out()
646 yi->v4l2_src_w = fmt->fmt.pix.width; in ivtv_s_fmt_vid_out()
647 yi->v4l2_src_h = fmt->fmt.pix.height; in ivtv_s_fmt_vid_out()
651 yi->lace_mode = IVTV_YUV_MODE_PROGRESSIVE; in ivtv_s_fmt_vid_out()
654 yi->lace_mode = IVTV_YUV_MODE_AUTO; in ivtv_s_fmt_vid_out()
657 yi->lace_mode = in ivtv_s_fmt_vid_out()
662 yi->lace_mode = IVTV_YUV_MODE_INTERLACED; in ivtv_s_fmt_vid_out()
665 yi->lace_sync_field = (yi->lace_mode & IVTV_YUV_SYNC_MASK) == IVTV_YUV_SYNC_EVEN ? 0 : 1; in ivtv_s_fmt_vid_out()
669 1080 * ((yi->v4l2_src_h + 31) & ~31); in ivtv_s_fmt_vid_out()
[all …]
Divtv-fileops.c541 struct yuv_playback_info *yi = &itv->yuv_info; in ivtv_write() local
639 yi->stream_size + count > itv->dma_data_req_size) in ivtv_write()
641 itv->dma_data_req_size - yi->stream_size); in ivtv_write()
655 yi->stream_size += rc; in ivtv_write()
657 if (yi->stream_size == itv->dma_data_req_size) { in ivtv_write()
659 yi->stream_size = 0; in ivtv_write()
/drivers/net/hamradio/
Dyam.c926 struct yamdrv_ioctl_cfg yi; in yam_siocdevprivate() local
965 if (copy_from_user(&yi, data, sizeof(struct yamdrv_ioctl_cfg))) in yam_siocdevprivate()
968 if (yi.cmd != SIOCYAMSCFG) in yam_siocdevprivate()
970 if ((yi.cfg.mask & YAM_IOBASE) && netif_running(dev)) in yam_siocdevprivate()
972 if ((yi.cfg.mask & YAM_IRQ) && netif_running(dev)) in yam_siocdevprivate()
974 if ((yi.cfg.mask & YAM_BITRATE) && netif_running(dev)) in yam_siocdevprivate()
976 if ((yi.cfg.mask & YAM_BAUDRATE) && netif_running(dev)) in yam_siocdevprivate()
979 if (yi.cfg.mask & YAM_IOBASE) { in yam_siocdevprivate()
980 yp->iobase = yi.cfg.iobase; in yam_siocdevprivate()
981 dev->base_addr = yi.cfg.iobase; in yam_siocdevprivate()
[all …]
/drivers/gpu/drm/vc4/
Dvc4_render_cl.c264 uint8_t xi, yi; in vc4_create_rcl_bo() local
365 for (yi = 0; yi < ytiles; yi++) { in vc4_create_rcl_bo()
366 int y = positive_y ? min_y_tile + yi : max_y_tile - yi; in vc4_create_rcl_bo()
369 bool first = (xi == 0 && yi == 0); in vc4_create_rcl_bo()
370 bool last = (xi == xtiles - 1 && yi == ytiles - 1); in vc4_create_rcl_bo()