Searched refs:vi (Results 1 - 18 of 18) sorted by relevance

/drivers/net/
H A Dvirtio_net.c110 static void give_pages(struct virtnet_info *vi, struct page *page) argument
114 /* Find end of list, sew whole thing into vi->pages. */
116 end->private = (unsigned long)vi->pages;
117 vi->pages = page;
120 static struct page *get_a_page(struct virtnet_info *vi, gfp_t gfp_mask) argument
122 struct page *p = vi->pages;
125 vi->pages = (struct page *)p->private;
135 struct virtnet_info *vi = svq->vdev->priv; local
141 netif_wake_queue(vi->dev);
160 static struct sk_buff *page_to_skb(struct virtnet_info *vi, argument
223 receive_mergeable(struct virtnet_info *vi, struct sk_buff *skb) argument
257 struct virtnet_info *vi = netdev_priv(dev); local
356 add_recvbuf_small(struct virtnet_info *vi, gfp_t gfp) argument
380 add_recvbuf_big(struct virtnet_info *vi, gfp_t gfp) argument
426 add_recvbuf_mergeable(struct virtnet_info *vi, gfp_t gfp) argument
451 try_fill_recv(struct virtnet_info *vi, gfp_t gfp) argument
477 struct virtnet_info *vi = rvq->vdev->priv; local
485 virtnet_napi_enable(struct virtnet_info *vi) argument
501 struct virtnet_info *vi; local
517 struct virtnet_info *vi = container_of(napi, struct virtnet_info, napi); local
548 free_old_xmit_skbs(struct virtnet_info *vi) argument
568 xmit_skb(struct virtnet_info *vi, struct sk_buff *skb) argument
617 struct virtnet_info *vi = netdev_priv(dev); local
668 struct virtnet_info *vi = netdev_priv(dev); local
686 struct virtnet_info *vi = netdev_priv(dev); local
721 struct virtnet_info *vi = netdev_priv(dev); local
729 struct virtnet_info *vi = netdev_priv(dev); local
744 virtnet_send_command(struct virtnet_info *vi, u8 class, u8 cmd, struct scatterlist *data, int out, int in) argument
786 struct virtnet_info *vi = netdev_priv(dev); local
797 struct virtnet_info *vi = netdev_priv(dev); local
873 struct virtnet_info *vi = netdev_priv(dev); local
886 struct virtnet_info *vi = netdev_priv(dev); local
900 struct virtnet_info *vi = netdev_priv(dev); local
913 struct virtnet_info *vi = netdev_priv(dev); local
955 virtnet_update_status(struct virtnet_info *vi) argument
983 struct virtnet_info *vi = vdev->priv; local
988 init_vqs(struct virtnet_info *vi) argument
1019 struct virtnet_info *vi; local
1134 free_unused_bufs(struct virtnet_info *vi) argument
1156 remove_vq_common(struct virtnet_info *vi) argument
1171 struct virtnet_info *vi = vdev->priv; local
1184 struct virtnet_info *vi = vdev->priv; local
1204 struct virtnet_info *vi = vdev->priv; local
[all...]
/drivers/parisc/
H A Diosapic.c541 static void iosapic_rd_irt_entry(struct vector_info *vi , u32 *dp0, u32 *dp1)
543 struct iosapic_info *isp = vi->iosapic;
544 u8 idx = vi->irqline;
551 static void iosapic_wr_irt_entry(struct vector_info *vi, u32 dp0, u32 dp1) argument
553 struct iosapic_info *isp = vi->iosapic;
556 vi->irqline, isp->isi_hpa, dp0, dp1);
558 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY(vi->irqline), dp0);
563 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY_HI(vi->irqline), dp1);
575 iosapic_set_irt_data( struct vector_info *vi, u32 *dp0, u32 *dp1) argument
578 struct irt_entry *p = vi
621 struct vector_info *vi = irq_data_get_irq_chip_data(d); local
633 struct vector_info *vi = irq_data_get_irq_chip_data(d); local
676 struct vector_info *vi = irq_data_get_irq_chip_data(d); local
686 struct vector_info *vi = irq_data_get_irq_chip_data(d); local
725 struct vector_info *vi; local
903 iosapic_prt_vi(struct vector_info *vi) argument
[all...]
/drivers/mtd/ubi/
H A Dgluebi.c312 * @vi: UBI volume description object
319 struct ubi_volume_info *vi)
329 mtd->name = kmemdup(vi->name, vi->name_len + 1, GFP_KERNEL);
335 gluebi->vol_id = vi->vol_id;
336 gluebi->ubi_num = vi->ubi_num;
342 mtd->erasesize = vi->usable_leb_size;
354 if (vi->vol_type == UBI_DYNAMIC_VOLUME)
355 mtd->size = (unsigned long long)vi->usable_leb_size * vi
318 gluebi_create(struct ubi_device_info *di, struct ubi_volume_info *vi) argument
389 gluebi_remove(struct ubi_volume_info *vi) argument
436 gluebi_updated(struct ubi_volume_info *vi) argument
463 gluebi_resized(struct ubi_volume_info *vi) argument
[all...]
H A Dkapi.c78 * @vi: the information is stored here
81 struct ubi_volume_info *vi)
83 vi->vol_id = vol->vol_id;
84 vi->ubi_num = ubi->ubi_num;
85 vi->size = vol->reserved_pebs;
86 vi->used_bytes = vol->used_bytes;
87 vi->vol_type = vol->vol_type;
88 vi->corrupted = vol->corrupted;
89 vi->upd_marker = vol->upd_marker;
90 vi
80 ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, struct ubi_volume_info *vi) argument
102 ubi_get_volume_info(struct ubi_volume_desc *desc, struct ubi_volume_info *vi) argument
[all...]
H A Dubi.h582 struct ubi_volume_info *vi);
H A Dbuild.c150 ubi_do_get_volume_info(ubi, vol, &nt.vi);
182 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi);
/drivers/media/dvb/dvb-core/
H A 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
[all...]
/drivers/media/video/ivtv/
H A Divtv-vbi.c99 struct vbi_info *vi = &itv->vbi; local
118 if (memcmp(&vps, &vi->vps_payload, sizeof(vps))) {
119 vi->vps_payload = vps;
126 if (vi->wss_payload != wss) {
127 vi->wss_payload = wss;
135 struct vbi_info *vi = &itv->vbi; local
137 if (vi->cc_payload_idx < ARRAY_SIZE(vi->cc_payload)) {
138 memcpy(&vi->cc_payload[vi
476 struct vbi_info *vi = &itv->vbi; local
[all...]
/drivers/media/video/usbvision/
H A Dusbvision-video.c519 struct v4l2_input *vi)
524 if (vi->index >= usbvision->video_inputs)
527 chan = vi->index;
529 chan = vi->index + 1; /* skip Television string*/
536 strcpy(vi->name, "White Video Input");
538 strcpy(vi->name, "Television");
539 vi->type = V4L2_INPUT_TYPE_TUNER;
540 vi->audioset = 1;
541 vi->tuner = chan;
542 vi
518 vidioc_enum_input(struct file *file, void *priv, struct v4l2_input *vi) argument
[all...]
/drivers/media/video/pvrusb2/
H A Dpvrusb2-v4l2.c259 struct v4l2_input *vi = (struct v4l2_input *)arg; local
267 tmp.index = vi->index;
269 if (vi->index >= fh->input_cnt) {
273 val = fh->input_map[vi->index];
305 memcpy(vi, &tmp, sizeof(tmp));
315 struct v4l2_input *vi = (struct v4l2_input *)arg; local
320 vi->index = 0;
323 vi->index = idx;
332 struct v4l2_input *vi = (struct v4l2_input *)arg; local
333 if (vi
[all...]
/drivers/net/wireless/bcmdhd/
H A Dbcmsdh_sdmmc.c410 const bcm_iovar_t *vi = NULL; local
426 if ((vi = bcm_iovar_lookup(sdioh_iovars, name)) == NULL) {
431 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, set)) != 0)
440 if (vi->type == IOVT_VOID)
442 else if (vi->type == IOVT_BUFFER)
453 actionid = set ? IOV_SVAL(vi->varid) : IOV_GVAL(vi->varid);
H A Dbcmutils.c1152 const bcm_iovar_t *vi; local
1164 for (vi = table; vi->name; vi++) {
1165 if (!strcmp(vi->name, lookup_name))
1166 return vi;
1174 bcm_iovar_lencheck(const bcm_iovar_t *vi, void *arg, int len, bool set) argument
1179 switch (vi->type) {
1195 if (len < vi->minlen) {
H A Ddhd_common.c320 dhd_doiovar(dhd_pub_t *dhd_pub, const bcm_iovar_t *vi, uint32 actionid, const char *name, argument
329 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, IOV_ISSET(actionid))) != 0)
619 const bcm_iovar_t *vi = NULL; local
633 if ((vi = bcm_iovar_lookup(dhd_iovars, name)) == NULL) {
649 if (vi->type == IOVT_VOID)
651 else if (vi->type == IOVT_BUFFER)
657 actionid = set ? IOV_SVAL(vi->varid) : IOV_GVAL(vi->varid);
659 bcmerror = dhd_doiovar(dhd_pub, vi, actionid, name, params, plen, arg, len, val_size);
H A Ddhd_sdio.c2584 dhdsdio_doiovar(dhd_bus_t *bus, const bcm_iovar_t *vi, uint32 actionid, const char *name, argument
2594 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, IOV_ISSET(actionid))) != 0)
2616 if ((vi->varid == IOV_KSO) && (IOV_ISSET(actionid))) {
2619 } else if ((vi->varid == IOV_DEVSLEEP) && (IOV_ISSET(actionid))) {
2635 if (vi->varid == IOV_SLEEP) {
3320 const bcm_iovar_t *vi = NULL; local
3337 if ((vi = bcm_iovar_lookup(dhdsdio_iovars, name)) == NULL) {
3405 if (vi->type == IOVT_VOID)
3407 else if (vi->type == IOVT_BUFFER)
3413 actionid = set ? IOV_SVAL(vi
[all...]
/drivers/media/video/
H A Dv4l2-compat-ioctl32.c771 int vi; member in union:__anon1646
810 err = get_user(karg.vi, (s32 __user *)up);
900 err = put_user(((s32)karg.vi), (s32 __user *)up);
/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h689 unsigned int vi, unsigned int cmask, unsigned int pmask,
H A Dt4_hw.c2218 * @vi: the max number of virtual interfaces
2231 unsigned int vi, unsigned int cmask, unsigned int pmask,
2246 c.tc_to_nexactf = htonl(FW_PFVF_CMD_TC(tc) | FW_PFVF_CMD_NVI(vi) |
2228 t4_cfg_pfvf(struct adapter *adap, unsigned int mbox, unsigned int pf, unsigned int vf, unsigned int txq, unsigned int txq_eth_ctrl, unsigned int rxqi, unsigned int rxq, unsigned int tc, unsigned int vi, unsigned int cmask, unsigned int pmask, unsigned int nexact, unsigned int rcaps, unsigned int wxcaps) argument
/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c924 struct ifla_vf_info *vi)
935 vi->vf = vf;
936 vi->tx_rate = vf_cfg->tx_rate;
937 vi->vlan = vf_cfg->vlan_tag;
938 vi->qos = 0;
939 memcpy(&vi->mac, vf_cfg->mac_addr, ETH_ALEN);
923 be_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *vi) argument

Completed in 154 milliseconds