yi 264 drivers/gpu/drm/vc4/vc4_render_cl.c uint8_t xi, yi; yi 365 drivers/gpu/drm/vc4/vc4_render_cl.c for (yi = 0; yi < ytiles; yi++) { yi 366 drivers/gpu/drm/vc4/vc4_render_cl.c int y = positive_y ? min_y_tile + yi : max_y_tile - yi; yi 369 drivers/gpu/drm/vc4/vc4_render_cl.c bool first = (xi == 0 && yi == 0); yi 370 drivers/gpu/drm/vc4/vc4_render_cl.c bool last = (xi == xtiles - 1 && yi == ytiles - 1); yi 541 drivers/media/pci/ivtv/ivtv-fileops.c struct yuv_playback_info *yi = &itv->yuv_info; yi 639 drivers/media/pci/ivtv/ivtv-fileops.c yi->stream_size + count > itv->dma_data_req_size) yi 641 drivers/media/pci/ivtv/ivtv-fileops.c itv->dma_data_req_size - yi->stream_size); yi 655 drivers/media/pci/ivtv/ivtv-fileops.c yi->stream_size += rc; yi 657 drivers/media/pci/ivtv/ivtv-fileops.c if (yi->stream_size == itv->dma_data_req_size) { yi 659 drivers/media/pci/ivtv/ivtv-fileops.c yi->stream_size = 0; yi 638 drivers/media/pci/ivtv/ivtv-ioctl.c struct yuv_playback_info *yi = &itv->yuv_info; yi 648 drivers/media/pci/ivtv/ivtv-ioctl.c if (yi->stream_size) yi 651 drivers/media/pci/ivtv/ivtv-ioctl.c yi->v4l2_src_w = fmt->fmt.pix.width; yi 652 drivers/media/pci/ivtv/ivtv-ioctl.c yi->v4l2_src_h = fmt->fmt.pix.height; yi 656 drivers/media/pci/ivtv/ivtv-ioctl.c yi->lace_mode = IVTV_YUV_MODE_PROGRESSIVE; yi 659 drivers/media/pci/ivtv/ivtv-ioctl.c yi->lace_mode = IVTV_YUV_MODE_AUTO; yi 662 drivers/media/pci/ivtv/ivtv-ioctl.c yi->lace_mode = yi 667 drivers/media/pci/ivtv/ivtv-ioctl.c yi->lace_mode = IVTV_YUV_MODE_INTERLACED; yi 670 drivers/media/pci/ivtv/ivtv-ioctl.c yi->lace_sync_field = (yi->lace_mode & IVTV_YUV_SYNC_MASK) == IVTV_YUV_SYNC_EVEN ? 0 : 1; yi 674 drivers/media/pci/ivtv/ivtv-ioctl.c 1080 * ((yi->v4l2_src_h + 31) & ~31); yi 836 drivers/media/pci/ivtv/ivtv-ioctl.c struct yuv_playback_info *yi = &itv->yuv_info; yi 853 drivers/media/pci/ivtv/ivtv-ioctl.c if (streamtype == IVTV_DEC_STREAM_TYPE_YUV && yi->track_osd) { yi 854 drivers/media/pci/ivtv/ivtv-ioctl.c r.width = yi->osd_full_w; yi 855 drivers/media/pci/ivtv/ivtv-ioctl.c r.height = yi->osd_full_h; yi 863 drivers/media/pci/ivtv/ivtv-ioctl.c yi->main_rect = sel->r; yi 879 drivers/media/pci/ivtv/ivtv-ioctl.c struct yuv_playback_info *yi = &itv->yuv_info; yi 903 drivers/media/pci/ivtv/ivtv-ioctl.c sel->r = yi->main_rect; yi 910 drivers/media/pci/ivtv/ivtv-ioctl.c if (streamtype == IVTV_DEC_STREAM_TYPE_YUV && yi->track_osd) { yi 911 drivers/media/pci/ivtv/ivtv-ioctl.c r.width = yi->osd_full_w; yi 912 drivers/media/pci/ivtv/ivtv-ioctl.c r.height = yi->osd_full_h; yi 1118 drivers/media/pci/ivtv/ivtv-ioctl.c struct yuv_playback_info *yi = &itv->yuv_info; yi 1155 drivers/media/pci/ivtv/ivtv-ioctl.c yi->main_rect = itv->main_rect; yi 1157 drivers/media/pci/ivtv/ivtv-ioctl.c yi->osd_full_w = 720; yi 1158 drivers/media/pci/ivtv/ivtv-ioctl.c yi->osd_full_h = itv->is_out_50hz ? 576 : 480; yi 1367 drivers/media/pci/ivtv/ivtv-ioctl.c struct yuv_playback_info *yi = &itv->yuv_info; yi 1423 drivers/media/pci/ivtv/ivtv-ioctl.c if (yi->track_osd) yi 1454 drivers/media/pci/ivtv/ivtv-ioctl.c struct yuv_playback_info *yi = &itv->yuv_info; yi 1466 drivers/media/pci/ivtv/ivtv-ioctl.c yi->track_osd = (fb->flags & V4L2_FBUF_FLAG_OVERLAY) != 0; yi 340 drivers/media/pci/ivtv/ivtv-irq.c struct yuv_playback_info *yi = &itv->yuv_info; yi 341 drivers/media/pci/ivtv/ivtv-irq.c u8 frame = yi->draw_frame; yi 342 drivers/media/pci/ivtv/ivtv-irq.c struct yuv_frame_info *f = &yi->new_frame_info[frame]; yi 354 drivers/media/pci/ivtv/ivtv-irq.c if (yi->blanking_dmaptr) { yi 355 drivers/media/pci/ivtv/ivtv-irq.c s->sg_pending[idx].src = yi->blanking_dmaptr; yi 832 drivers/media/pci/ivtv/ivtv-irq.c struct yuv_playback_info *yi = &itv->yuv_info; yi 833 drivers/media/pci/ivtv/ivtv-irq.c int last_dma_frame = atomic_read(&yi->next_dma_frame); yi 834 drivers/media/pci/ivtv/ivtv-irq.c struct yuv_frame_info *f = &yi->new_frame_info[last_dma_frame]; yi 843 drivers/media/pci/ivtv/ivtv-irq.c if (!(f->interlaced && f->delay && yi->fields_lapsed < 1)) { yi 844 drivers/media/pci/ivtv/ivtv-irq.c if (next_dma_frame >= 0 && next_dma_frame != atomic_read(&yi->next_fill_frame)) { yi 850 drivers/media/pci/ivtv/ivtv-irq.c atomic_set(&yi->next_dma_frame, next_dma_frame); yi 851 drivers/media/pci/ivtv/ivtv-irq.c yi->fields_lapsed = -1; yi 852 drivers/media/pci/ivtv/ivtv-irq.c yi->running = 1; yi 895 drivers/media/pci/ivtv/ivtv-irq.c if (yi->running && (yi->yuv_forced_update || f->update)) { yi 898 drivers/media/pci/ivtv/ivtv-irq.c (u8)(atomic_read(&yi->next_dma_frame) - yi 900 drivers/media/pci/ivtv/ivtv-irq.c f = &yi->new_frame_info[last_dma_frame]; yi 904 drivers/media/pci/ivtv/ivtv-irq.c yi->update_frame = last_dma_frame; yi 906 drivers/media/pci/ivtv/ivtv-irq.c yi->yuv_forced_update = 0; yi 912 drivers/media/pci/ivtv/ivtv-irq.c yi->fields_lapsed++; yi 30 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 31 drivers/media/pci/ivtv/ivtv-yuv.c u8 frame = yi->draw_frame; yi 32 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_frame_info *f = &yi->new_frame_info[frame]; yi 127 drivers/media/pci/ivtv/ivtv-yuv.c if (f->offset_y && yi->blanking_dmaptr) { yi 129 drivers/media/pci/ivtv/ivtv-yuv.c dma->SGarray[dma->SG_length].src = cpu_to_le32(yi->blanking_dmaptr); yi 218 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 337 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2834, reg_2834, yi->reg_2838, reg_2838); yi 343 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_283c, reg_283c, yi->reg_2844, reg_2844); yi 348 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2840, 0x00080514, yi->reg_2848, 0x00100514); yi 352 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2854, reg_2854); yi 357 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_285c, reg_285c, yi->reg_2864, reg_2864); yi 361 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2874, reg_2874); yi 365 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2870, reg_2870); yi 369 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2890, reg_2890); yi 372 drivers/media/pci/ivtv/ivtv-yuv.c if (h_filter != yi->h_filter) { yi 374 drivers/media/pci/ivtv/ivtv-yuv.c yi->h_filter = h_filter; yi 380 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 519 drivers/media/pci/ivtv/ivtv-yuv.c if (yi->decode_height == 480) yi 581 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2934, reg_2934, yi->reg_293c, reg_293c); yi 585 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2944, reg_2944, yi->reg_294c, reg_294c); yi 594 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2930, reg_2930, yi->reg_2938, reg_2930); yi 599 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2928, reg_2928, yi->reg_292c, reg_2928 + 0x514); yi 604 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2920, reg_2920, yi->reg_2924, reg_2920 + 0x514); yi 609 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2918, reg_2918, yi->reg_291c, reg_291c); yi 613 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_296c, reg_296c); yi 618 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2940, reg_2940, yi->reg_2948, reg_2940); yi 623 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2950, reg_2950, yi->reg_2954, reg_2954); yi 628 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2958, reg_2958, yi->reg_295c, reg_295c); yi 632 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2960, reg_2960); yi 637 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2964, reg_2964, yi->reg_2968, reg_2968); yi 641 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_289c, reg_289c); yi 644 drivers/media/pci/ivtv/ivtv-yuv.c if (v_filter_1 != yi->v_filter_1) { yi 646 drivers/media/pci/ivtv/ivtv-yuv.c yi->v_filter_1 = v_filter_1; yi 650 drivers/media/pci/ivtv/ivtv-yuv.c if (v_filter_2 != yi->v_filter_2) { yi 652 drivers/media/pci/ivtv/ivtv-yuv.c yi->v_filter_2 = v_filter_2; yi 804 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 806 drivers/media/pci/ivtv/ivtv-yuv.c int frame = yi->update_frame; yi 810 drivers/media/pci/ivtv/ivtv-yuv.c f = yi->new_frame_info[frame]; yi 812 drivers/media/pci/ivtv/ivtv-yuv.c if (yi->track_osd) { yi 814 drivers/media/pci/ivtv/ivtv-yuv.c f.pan_x = yi->osd_x_pan; yi 815 drivers/media/pci/ivtv/ivtv-yuv.c f.pan_y = yi->osd_y_pan; yi 816 drivers/media/pci/ivtv/ivtv-yuv.c f.vis_w = yi->osd_vis_w; yi 817 drivers/media/pci/ivtv/ivtv-yuv.c f.vis_h = yi->osd_vis_h; yi 823 drivers/media/pci/ivtv/ivtv-yuv.c f.vis_h = yi->decode_height; yi 841 drivers/media/pci/ivtv/ivtv-yuv.c yi->old_frame_info = f; yi 846 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 851 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2834 = read_reg(0x02834); yi 852 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2838 = read_reg(0x02838); yi 853 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_283c = read_reg(0x0283c); yi 854 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2840 = read_reg(0x02840); yi 855 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2844 = read_reg(0x02844); yi 856 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2848 = read_reg(0x02848); yi 857 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2854 = read_reg(0x02854); yi 858 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_285c = read_reg(0x0285c); yi 859 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2864 = read_reg(0x02864); yi 860 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2870 = read_reg(0x02870); yi 861 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2874 = read_reg(0x02874); yi 862 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2898 = read_reg(0x02898); yi 863 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2890 = read_reg(0x02890); yi 865 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_289c = read_reg(0x0289c); yi 866 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2918 = read_reg(0x02918); yi 867 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_291c = read_reg(0x0291c); yi 868 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2920 = read_reg(0x02920); yi 869 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2924 = read_reg(0x02924); yi 870 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2928 = read_reg(0x02928); yi 871 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_292c = read_reg(0x0292c); yi 872 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2930 = read_reg(0x02930); yi 873 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2934 = read_reg(0x02934); yi 874 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2938 = read_reg(0x02938); yi 875 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_293c = read_reg(0x0293c); yi 876 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2940 = read_reg(0x02940); yi 877 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2944 = read_reg(0x02944); yi 878 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2948 = read_reg(0x02948); yi 879 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_294c = read_reg(0x0294c); yi 880 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2950 = read_reg(0x02950); yi 881 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2954 = read_reg(0x02954); yi 882 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2958 = read_reg(0x02958); yi 883 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_295c = read_reg(0x0295c); yi 884 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2960 = read_reg(0x02960); yi 885 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2964 = read_reg(0x02964); yi 886 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2968 = read_reg(0x02968); yi 887 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_296c = read_reg(0x0296c); yi 888 drivers/media/pci/ivtv/ivtv-yuv.c yi->reg_2970 = read_reg(0x02970); yi 890 drivers/media/pci/ivtv/ivtv-yuv.c yi->v_filter_1 = -1; yi 891 drivers/media/pci/ivtv/ivtv-yuv.c yi->v_filter_2 = -1; yi 892 drivers/media/pci/ivtv/ivtv-yuv.c yi->h_filter = -1; yi 895 drivers/media/pci/ivtv/ivtv-yuv.c yi->osd_x_offset = read_reg(0x02a04) & 0x00000FFF; yi 896 drivers/media/pci/ivtv/ivtv-yuv.c yi->osd_y_offset = (read_reg(0x02a04) >> 16) & 0x00000FFF; yi 901 drivers/media/pci/ivtv/ivtv-yuv.c yi->decode_height = 576; yi 903 drivers/media/pci/ivtv/ivtv-yuv.c yi->decode_height = 480; yi 906 drivers/media/pci/ivtv/ivtv-yuv.c yi->osd_vis_w = 720 - yi->osd_x_offset; yi 907 drivers/media/pci/ivtv/ivtv-yuv.c yi->osd_vis_h = yi->decode_height - yi->osd_y_offset; yi 910 drivers/media/pci/ivtv/ivtv-yuv.c if (!yi->osd_vis_w) yi 911 drivers/media/pci/ivtv/ivtv-yuv.c yi->osd_vis_w = 720 - yi->osd_x_offset; yi 913 drivers/media/pci/ivtv/ivtv-yuv.c if (!yi->osd_vis_h) { yi 914 drivers/media/pci/ivtv/ivtv-yuv.c yi->osd_vis_h = yi->decode_height - yi->osd_y_offset; yi 915 drivers/media/pci/ivtv/ivtv-yuv.c } else if (yi->osd_vis_h + yi->osd_y_offset > yi->decode_height) { yi 919 drivers/media/pci/ivtv/ivtv-yuv.c yi->osd_vis_h + yi->osd_y_offset, yi 920 drivers/media/pci/ivtv/ivtv-yuv.c yi->decode_height); yi 921 drivers/media/pci/ivtv/ivtv-yuv.c yi->osd_vis_h = yi->decode_height - yi->osd_y_offset; yi 926 drivers/media/pci/ivtv/ivtv-yuv.c yi->blanking_ptr = kzalloc(720 * 16, GFP_ATOMIC|__GFP_NOWARN); yi 927 drivers/media/pci/ivtv/ivtv-yuv.c if (yi->blanking_ptr) { yi 928 drivers/media/pci/ivtv/ivtv-yuv.c yi->blanking_dmaptr = pci_map_single(itv->pdev, yi->blanking_ptr, 720*16, PCI_DMA_TODEVICE); yi 930 drivers/media/pci/ivtv/ivtv-yuv.c yi->blanking_dmaptr = 0; yi 938 drivers/media/pci/ivtv/ivtv-yuv.c atomic_set(&yi->next_dma_frame, 0); yi 945 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 947 drivers/media/pci/ivtv/ivtv-yuv.c if (atomic_read(&yi->next_dma_frame) == -1) yi 950 drivers/media/pci/ivtv/ivtv-yuv.c draw = atomic_read(&yi->next_fill_frame); yi 951 drivers/media/pci/ivtv/ivtv-yuv.c display = atomic_read(&yi->next_dma_frame); yi 956 drivers/media/pci/ivtv/ivtv-yuv.c if (draw - display >= yi->max_frames_buffered) yi 959 drivers/media/pci/ivtv/ivtv-yuv.c yi->new_frame_info[draw].update = 0; yi 961 drivers/media/pci/ivtv/ivtv-yuv.c yi->draw_frame = draw; yi 967 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 968 drivers/media/pci/ivtv/ivtv-yuv.c u8 frame = yi->draw_frame; yi 970 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_frame_info *nf = &yi->new_frame_info[frame]; yi 971 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_frame_info *of = &yi->new_frame_info[last_frame]; yi 972 drivers/media/pci/ivtv/ivtv-yuv.c int lace_threshold = yi->lace_threshold; yi 998 drivers/media/pci/ivtv/ivtv-yuv.c nf->lace_mode = yi->lace_mode & IVTV_YUV_MODE_MASK; yi 1001 drivers/media/pci/ivtv/ivtv-yuv.c lace_threshold = yi->decode_height - 1; yi 1046 drivers/media/pci/ivtv/ivtv-yuv.c if (memcmp(&yi->old_frame_info_args, nf, sizeof(*nf))) { yi 1047 drivers/media/pci/ivtv/ivtv-yuv.c yi->old_frame_info_args = *nf; yi 1053 drivers/media/pci/ivtv/ivtv-yuv.c nf->sync_field = yi->lace_sync_field; yi 1111 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 1121 drivers/media/pci/ivtv/ivtv-yuv.c dma_args.src.width = yi->v4l2_src_w; yi 1122 drivers/media/pci/ivtv/ivtv-yuv.c dma_args.src.height = yi->v4l2_src_h; yi 1123 drivers/media/pci/ivtv/ivtv-yuv.c dma_args.dst = yi->main_rect; yi 1124 drivers/media/pci/ivtv/ivtv-yuv.c dma_args.src_width = yi->v4l2_src_w; yi 1125 drivers/media/pci/ivtv/ivtv-yuv.c dma_args.src_height = yi->v4l2_src_h; yi 1131 drivers/media/pci/ivtv/ivtv-yuv.c itv->dma_data_req_offset = yuv_offset[yi->draw_frame]; yi 1137 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 1145 drivers/media/pci/ivtv/ivtv-yuv.c dma_args.uv_source = src + 720 * ((yi->v4l2_src_h + 31) & ~31); yi 1174 drivers/media/pci/ivtv/ivtv-yuv.c struct yuv_playback_info *yi = &itv->yuv_info; yi 1182 drivers/media/pci/ivtv/ivtv-yuv.c yi->running = 0; yi 1183 drivers/media/pci/ivtv/ivtv-yuv.c atomic_set(&yi->next_dma_frame, -1); yi 1184 drivers/media/pci/ivtv/ivtv-yuv.c atomic_set(&yi->next_fill_frame, 0); yi 1191 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2898 | 0x01000000, 0x2898); yi 1193 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2834, 0x02834); yi 1194 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2838, 0x02838); yi 1195 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_283c, 0x0283c); yi 1196 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2840, 0x02840); yi 1197 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2844, 0x02844); yi 1198 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2848, 0x02848); yi 1199 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2854, 0x02854); yi 1200 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_285c, 0x0285c); yi 1201 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2864, 0x02864); yi 1202 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2870, 0x02870); yi 1203 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2874, 0x02874); yi 1204 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2890, 0x02890); yi 1205 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_289c, 0x0289c); yi 1207 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2918, 0x02918); yi 1208 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_291c, 0x0291c); yi 1209 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2920, 0x02920); yi 1210 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2924, 0x02924); yi 1211 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2928, 0x02928); yi 1212 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_292c, 0x0292c); yi 1213 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2930, 0x02930); yi 1214 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2934, 0x02934); yi 1215 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2938, 0x02938); yi 1216 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_293c, 0x0293c); yi 1217 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2940, 0x02940); yi 1218 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2944, 0x02944); yi 1219 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2948, 0x02948); yi 1220 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_294c, 0x0294c); yi 1221 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2950, 0x02950); yi 1222 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2954, 0x02954); yi 1223 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2958, 0x02958); yi 1224 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_295c, 0x0295c); yi 1225 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2960, 0x02960); yi 1226 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2964, 0x02964); yi 1227 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2968, 0x02968); yi 1228 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_296c, 0x0296c); yi 1229 drivers/media/pci/ivtv/ivtv-yuv.c write_reg(yi->reg_2970, 0x02970); yi 1234 drivers/media/pci/ivtv/ivtv-yuv.c if ((yi->reg_2834 & 0x0000FFFF) == (yi->reg_2834 >> 16)) { yi 1239 drivers/media/pci/ivtv/ivtv-yuv.c h_filter = ((yi->reg_2834 << 16) / (yi->reg_2834 >> 16)) >> 15; yi 1246 drivers/media/pci/ivtv/ivtv-yuv.c if ((yi->reg_2918 & 0x0000FFFF) == (yi->reg_2918 >> 16)) { yi 1252 drivers/media/pci/ivtv/ivtv-yuv.c v_filter_1 = ((yi->reg_2918 << 16) / (yi->reg_2918 >> 16)) >> 15; yi 1269 drivers/media/pci/ivtv/ivtv-yuv.c if (yi->blanking_ptr) { yi 1270 drivers/media/pci/ivtv/ivtv-yuv.c kfree(yi->blanking_ptr); yi 1271 drivers/media/pci/ivtv/ivtv-yuv.c yi->blanking_ptr = NULL; yi 1272 drivers/media/pci/ivtv/ivtv-yuv.c pci_unmap_single(itv->pdev, yi->blanking_dmaptr, 720*16, PCI_DMA_TODEVICE); yi 1276 drivers/media/pci/ivtv/ivtv-yuv.c yi->old_frame_info.src_w = 0; yi 1277 drivers/media/pci/ivtv/ivtv-yuv.c yi->old_frame_info.src_h = 0; yi 1278 drivers/media/pci/ivtv/ivtv-yuv.c yi->old_frame_info_args.src_w = 0; yi 1279 drivers/media/pci/ivtv/ivtv-yuv.c yi->old_frame_info_args.src_h = 0; yi 926 drivers/net/hamradio/yam.c struct yamdrv_ioctl_cfg yi; yi 968 drivers/net/hamradio/yam.c if (copy_from_user(&yi, ifr->ifr_data, sizeof(struct yamdrv_ioctl_cfg))) yi 971 drivers/net/hamradio/yam.c if (yi.cmd != SIOCYAMSCFG) yi 973 drivers/net/hamradio/yam.c if ((yi.cfg.mask & YAM_IOBASE) && netif_running(dev)) yi 975 drivers/net/hamradio/yam.c if ((yi.cfg.mask & YAM_IRQ) && netif_running(dev)) yi 977 drivers/net/hamradio/yam.c if ((yi.cfg.mask & YAM_BITRATE) && netif_running(dev)) yi 979 drivers/net/hamradio/yam.c if ((yi.cfg.mask & YAM_BAUDRATE) && netif_running(dev)) yi 982 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_IOBASE) { yi 983 drivers/net/hamradio/yam.c yp->iobase = yi.cfg.iobase; yi 984 drivers/net/hamradio/yam.c dev->base_addr = yi.cfg.iobase; yi 986 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_IRQ) { yi 987 drivers/net/hamradio/yam.c if (yi.cfg.irq > 15) yi 989 drivers/net/hamradio/yam.c yp->irq = yi.cfg.irq; yi 990 drivers/net/hamradio/yam.c dev->irq = yi.cfg.irq; yi 992 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_BITRATE) { yi 993 drivers/net/hamradio/yam.c if (yi.cfg.bitrate > YAM_MAXBITRATE) yi 995 drivers/net/hamradio/yam.c yp->bitrate = yi.cfg.bitrate; yi 997 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_BAUDRATE) { yi 998 drivers/net/hamradio/yam.c if (yi.cfg.baudrate > YAM_MAXBAUDRATE) yi 1000 drivers/net/hamradio/yam.c yp->baudrate = yi.cfg.baudrate; yi 1002 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_MODE) { yi 1003 drivers/net/hamradio/yam.c if (yi.cfg.mode > YAM_MAXMODE) yi 1005 drivers/net/hamradio/yam.c yp->dupmode = yi.cfg.mode; yi 1007 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_HOLDDLY) { yi 1008 drivers/net/hamradio/yam.c if (yi.cfg.holddly > YAM_MAXHOLDDLY) yi 1010 drivers/net/hamradio/yam.c yp->holdd = yi.cfg.holddly; yi 1012 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_TXDELAY) { yi 1013 drivers/net/hamradio/yam.c if (yi.cfg.txdelay > YAM_MAXTXDELAY) yi 1015 drivers/net/hamradio/yam.c yp->txd = yi.cfg.txdelay; yi 1017 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_TXTAIL) { yi 1018 drivers/net/hamradio/yam.c if (yi.cfg.txtail > YAM_MAXTXTAIL) yi 1020 drivers/net/hamradio/yam.c yp->txtail = yi.cfg.txtail; yi 1022 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_PERSIST) { yi 1023 drivers/net/hamradio/yam.c if (yi.cfg.persist > YAM_MAXPERSIST) yi 1025 drivers/net/hamradio/yam.c yp->pers = yi.cfg.persist; yi 1027 drivers/net/hamradio/yam.c if (yi.cfg.mask & YAM_SLOTTIME) { yi 1028 drivers/net/hamradio/yam.c if (yi.cfg.slottime > YAM_MAXSLOTTIME) yi 1030 drivers/net/hamradio/yam.c yp->slot = yi.cfg.slottime; yi 1036 drivers/net/hamradio/yam.c memset(&yi, 0, sizeof(yi)); yi 1037 drivers/net/hamradio/yam.c yi.cfg.mask = 0xffffffff; yi 1038 drivers/net/hamradio/yam.c yi.cfg.iobase = yp->iobase; yi 1039 drivers/net/hamradio/yam.c yi.cfg.irq = yp->irq; yi 1040 drivers/net/hamradio/yam.c yi.cfg.bitrate = yp->bitrate; yi 1041 drivers/net/hamradio/yam.c yi.cfg.baudrate = yp->baudrate; yi 1042 drivers/net/hamradio/yam.c yi.cfg.mode = yp->dupmode; yi 1043 drivers/net/hamradio/yam.c yi.cfg.txdelay = yp->txd; yi 1044 drivers/net/hamradio/yam.c yi.cfg.holddly = yp->holdd; yi 1045 drivers/net/hamradio/yam.c yi.cfg.txtail = yp->txtail; yi 1046 drivers/net/hamradio/yam.c yi.cfg.persist = yp->pers; yi 1047 drivers/net/hamradio/yam.c yi.cfg.slottime = yp->slot; yi 1048 drivers/net/hamradio/yam.c if (copy_to_user(ifr->ifr_data, &yi, sizeof(struct yamdrv_ioctl_cfg)))