Home
last modified time | relevance | path

Searched refs:vi (Results 1 – 8 of 8) sorted by relevance

/drivers/net/
Dvirtio_net.c79 static void give_a_page(struct virtnet_info *vi, struct page *page) in give_a_page() argument
81 page->private = (unsigned long)vi->pages; in give_a_page()
82 vi->pages = page; in give_a_page()
85 static void trim_pages(struct virtnet_info *vi, struct sk_buff *skb) in trim_pages() argument
90 give_a_page(vi, skb_shinfo(skb)->frags[i].page); in trim_pages()
95 static struct page *get_a_page(struct virtnet_info *vi, gfp_t gfp_mask) in get_a_page() argument
97 struct page *p = vi->pages; in get_a_page()
100 vi->pages = (struct page *)p->private; in get_a_page()
108 struct virtnet_info *vi = svq->vdev->priv; in skb_xmit_done() local
114 netif_wake_queue(vi->dev); in skb_xmit_done()
[all …]
/drivers/parisc/
Diosapic.c541 static void iosapic_rd_irt_entry(struct vector_info *vi , u32 *dp0, u32 *dp1) in iosapic_rd_irt_entry() argument
543 struct iosapic_info *isp = vi->iosapic; in iosapic_rd_irt_entry()
544 u8 idx = vi->irqline; in iosapic_rd_irt_entry()
551 static void iosapic_wr_irt_entry(struct vector_info *vi, u32 dp0, u32 dp1) in iosapic_wr_irt_entry() argument
553 struct iosapic_info *isp = vi->iosapic; in iosapic_wr_irt_entry()
556 vi->irqline, isp->isi_hpa, dp0, dp1); in iosapic_wr_irt_entry()
558 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY(vi->irqline), dp0); in iosapic_wr_irt_entry()
563 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY_HI(vi->irqline), dp1); in iosapic_wr_irt_entry()
575 iosapic_set_irt_data( struct vector_info *vi, u32 *dp0, u32 *dp1) in iosapic_set_irt_data() argument
578 struct irt_entry *p = vi->irte; in iosapic_set_irt_data()
[all …]
/drivers/media/dvb/dvb-core/
Ddvb_filter.c147 static int read_sequence_header(u8 *headr, struct dvb_video_info *vi, int pr)
154 vi->horizontal_size = ((headr[1] &0xF0) >> 4) | (headr[0] << 4);
155 vi->vertical_size = ((headr[1] &0x0F) << 8) | (headr[2]);
163 vi->aspect_ratio = 100;
168 vi->aspect_ratio = 133;
173 vi->aspect_ratio = 177;
178 vi->aspect_ratio = 221;
184 vi->aspect_ratio = 0;
188 vi->aspect_ratio = 0;
193 printk(" Size = %dx%d",vi->horizontal_size,vi->vertical_size);
[all …]
/drivers/media/video/ivtv/
Divtv-vbi.c97 struct vbi_info *vi = &itv->vbi; in ivtv_write_vbi() local
123 if (memcmp(&vps, &vi->vps_payload, sizeof(vps))) { in ivtv_write_vbi()
124 vi->vps_payload = vps; in ivtv_write_vbi()
131 if (vi->wss_payload != wss) { in ivtv_write_vbi()
132 vi->wss_payload = wss; in ivtv_write_vbi()
137 if (found_cc && vi->cc_payload_idx < sizeof(vi->cc_payload)) { in ivtv_write_vbi()
138 vi->cc_payload[vi->cc_payload_idx++] = cc; in ivtv_write_vbi()
431 struct vbi_info *vi = &itv->vbi; in ivtv_vbi_work_handler() local
443 vi->wss_missing_cnt = 0; in ivtv_vbi_work_handler()
444 } else if (vi->wss_missing_cnt == 4) { in ivtv_vbi_work_handler()
[all …]
/drivers/mtd/ubi/
Dkapi.c64 struct ubi_volume_info *vi) in ubi_get_volume_info() argument
69 vi->vol_id = vol->vol_id; in ubi_get_volume_info()
70 vi->ubi_num = ubi->ubi_num; in ubi_get_volume_info()
71 vi->size = vol->reserved_pebs; in ubi_get_volume_info()
72 vi->used_bytes = vol->used_bytes; in ubi_get_volume_info()
73 vi->vol_type = vol->vol_type; in ubi_get_volume_info()
74 vi->corrupted = vol->corrupted; in ubi_get_volume_info()
75 vi->upd_marker = vol->upd_marker; in ubi_get_volume_info()
76 vi->alignment = vol->alignment; in ubi_get_volume_info()
77 vi->usable_leb_size = vol->usable_leb_size; in ubi_get_volume_info()
[all …]
/drivers/media/video/usbvision/
Dusbvision-video.c539 struct v4l2_input *vi) in vidioc_enum_input() argument
544 if ((vi->index >= usbvision->video_inputs) || (vi->index < 0) ) in vidioc_enum_input()
547 chan = vi->index; in vidioc_enum_input()
549 chan = vi->index + 1; /*skip Television string*/ in vidioc_enum_input()
556 strcpy(vi->name, "White Video Input"); in vidioc_enum_input()
558 strcpy(vi->name, "Television"); in vidioc_enum_input()
559 vi->type = V4L2_INPUT_TYPE_TUNER; in vidioc_enum_input()
560 vi->audioset = 1; in vidioc_enum_input()
561 vi->tuner = chan; in vidioc_enum_input()
562 vi->std = USBVISION_NORMS; in vidioc_enum_input()
[all …]
/drivers/media/video/pvrusb2/
Dpvrusb2-v4l2.c260 struct v4l2_input *vi = (struct v4l2_input *)arg; in pvr2_v4l2_do_ioctl() local
268 tmp.index = vi->index; in pvr2_v4l2_do_ioctl()
270 if ((vi->index < 0) || (vi->index >= fh->input_cnt)) { in pvr2_v4l2_do_ioctl()
274 val = fh->input_map[vi->index]; in pvr2_v4l2_do_ioctl()
306 memcpy(vi, &tmp, sizeof(tmp)); in pvr2_v4l2_do_ioctl()
316 struct v4l2_input *vi = (struct v4l2_input *)arg; in pvr2_v4l2_do_ioctl() local
321 vi->index = 0; in pvr2_v4l2_do_ioctl()
324 vi->index = idx; in pvr2_v4l2_do_ioctl()
333 struct v4l2_input *vi = (struct v4l2_input *)arg; in pvr2_v4l2_do_ioctl() local
334 if ((vi->index < 0) || (vi->index >= fh->input_cnt)) { in pvr2_v4l2_do_ioctl()
[all …]
/drivers/media/video/
Dv4l2-compat-ioctl32.c725 int vi; in do_video_ioctl() member
812 err = get_user(karg.vi, (s32 __user *)up); in do_video_ioctl()
910 err = put_user(((s32)karg.vi), (s32 __user *)up); in do_video_ioctl()