Searched defs:vi (Results 1 - 14 of 14) sorted by relevance

/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/mtd/ubi/
H A Dgluebi.c293 * @vi: UBI volume description object
300 struct ubi_volume_info *vi)
310 mtd->name = kmemdup(vi->name, vi->name_len + 1, GFP_KERNEL);
316 gluebi->vol_id = vi->vol_id;
317 gluebi->ubi_num = vi->ubi_num;
323 mtd->erasesize = vi->usable_leb_size;
335 if (vi->vol_type == UBI_DYNAMIC_VOLUME)
336 mtd->size = (unsigned long long)vi->usable_leb_size * vi
299 gluebi_create(struct ubi_device_info *di, struct ubi_volume_info *vi) argument
370 gluebi_remove(struct ubi_volume_info *vi) argument
417 gluebi_updated(struct ubi_volume_info *vi) argument
444 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...]
/drivers/media/video/pvrusb2/
H A Dpvrusb2-v4l2.c258 struct v4l2_input *vi = (struct v4l2_input *)arg; local
266 tmp.index = vi->index;
268 if (vi->index >= fh->input_cnt) {
272 val = fh->input_map[vi->index];
304 memcpy(vi, &tmp, sizeof(tmp));
314 struct v4l2_input *vi = (struct v4l2_input *)arg; local
319 vi->index = 0;
322 vi->index = idx;
331 struct v4l2_input *vi = (struct v4l2_input *)arg; local
332 if (vi
[all...]
/drivers/parisc/
H A Diosapic.c540 static void iosapic_rd_irt_entry(struct vector_info *vi , u32 *dp0, u32 *dp1)
542 struct iosapic_info *isp = vi->iosapic;
543 u8 idx = vi->irqline;
550 static void iosapic_wr_irt_entry(struct vector_info *vi, u32 dp0, u32 dp1) argument
552 struct iosapic_info *isp = vi->iosapic;
555 vi->irqline, isp->isi_hpa, dp0, dp1);
557 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY(vi->irqline), dp0);
562 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY_HI(vi->irqline), dp1);
574 iosapic_set_irt_data( struct vector_info *vi, u32 *dp0, u32 *dp1) argument
577 struct irt_entry *p = vi
620 struct vector_info *vi = irq_data_get_irq_chip_data(d); local
632 struct vector_info *vi = irq_data_get_irq_chip_data(d); local
675 struct vector_info *vi = irq_data_get_irq_chip_data(d); local
685 struct vector_info *vi = irq_data_get_irq_chip_data(d); local
724 struct vector_info *vi; local
902 iosapic_prt_vi(struct vector_info *vi) argument
[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/
H A Dv4l2-compat-ioctl32.c770 int vi; member in union:__anon1680
809 err = get_user(karg.vi, (s32 __user *)up);
899 err = put_user(((s32)karg.vi), (s32 __user *)up);
/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
503 struct virtnet_info *vi; local
519 struct virtnet_info *vi = container_of(napi, struct virtnet_info, napi); local
550 free_old_xmit_skbs(struct virtnet_info *vi) argument
570 xmit_skb(struct virtnet_info *vi, struct sk_buff *skb) argument
619 struct virtnet_info *vi = netdev_priv(dev); local
670 struct virtnet_info *vi = netdev_priv(dev); local
688 struct virtnet_info *vi = netdev_priv(dev); local
722 struct virtnet_info *vi = netdev_priv(dev); local
730 struct virtnet_info *vi = netdev_priv(dev); local
745 virtnet_send_command(struct virtnet_info *vi, u8 class, u8 cmd, struct scatterlist *data, int out, int in) argument
787 struct virtnet_info *vi = netdev_priv(dev); local
798 struct virtnet_info *vi = netdev_priv(dev); local
874 struct virtnet_info *vi = netdev_priv(dev); local
887 struct virtnet_info *vi = netdev_priv(dev); local
901 struct virtnet_info *vi = netdev_priv(dev); local
914 struct virtnet_info *vi = netdev_priv(dev); local
956 virtnet_update_status(struct virtnet_info *vi) argument
984 struct virtnet_info *vi = vdev->priv; local
989 init_vqs(struct virtnet_info *vi) argument
1020 struct virtnet_info *vi; local
1135 free_unused_bufs(struct virtnet_info *vi) argument
1157 remove_vq_common(struct virtnet_info *vi) argument
1172 struct virtnet_info *vi = vdev->priv; local
1185 struct virtnet_info *vi = vdev->priv; local
1205 struct virtnet_info *vi = vdev->priv; local
[all...]
/drivers/net/wireless/bcmdhd/
H A Dbcmsdh_sdmmc.c425 const bcm_iovar_t *vi = NULL; local
441 if ((vi = bcm_iovar_lookup(sdioh_iovars, name)) == NULL) {
446 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, set)) != 0)
455 if (vi->type == IOVT_VOID)
457 else if (vi->type == IOVT_BUFFER)
468 actionid = set ? IOV_SVAL(vi->varid) : IOV_GVAL(vi->varid);
H A Dbcmutils.c1156 const bcm_iovar_t *vi; local
1168 for (vi = table; vi->name; vi++) {
1169 if (!strcmp(vi->name, lookup_name))
1170 return vi;
1178 bcm_iovar_lencheck(const bcm_iovar_t *vi, void *arg, int len, bool set) argument
1183 switch (vi->type) {
1199 if (len < vi->minlen) {
H A Ddhd_common.c290 dhd_doiovar(dhd_pub_t *dhd_pub, const bcm_iovar_t *vi, uint32 actionid, const char *name, argument
299 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, IOV_ISSET(actionid))) != 0)
595 const bcm_iovar_t *vi = NULL; local
609 if ((vi = bcm_iovar_lookup(dhd_iovars, name)) == NULL) {
625 if (vi->type == IOVT_VOID)
627 else if (vi->type == IOVT_BUFFER)
633 actionid = set ? IOV_SVAL(vi->varid) : IOV_GVAL(vi->varid);
635 bcmerror = dhd_doiovar(dhd_pub, vi, actionid, name, params, plen, arg, len, val_size);
H A Ddhd_sdio.c3020 dhdsdio_doiovar(dhd_bus_t *bus, const bcm_iovar_t *vi, uint32 actionid, const char *name, argument
3030 if ((bcmerror = bcm_iovar_lencheck(vi, arg, len, IOV_ISSET(actionid))) != 0)
3052 if ((vi->varid == IOV_KSO) && (IOV_ISSET(actionid))) {
3055 } else if ((vi->varid == IOV_DEVSLEEP) && (IOV_ISSET(actionid))) {
3071 if (vi->varid == IOV_SLEEP) {
3834 const bcm_iovar_t *vi = NULL; local
3851 if ((vi = bcm_iovar_lookup(dhdsdio_iovars, name)) == NULL) {
3919 if (vi->type == IOVT_VOID)
3921 else if (vi->type == IOVT_BUFFER)
3927 actionid = set ? IOV_SVAL(vi
[all...]
/drivers/net/ethernet/chelsio/cxgb4/
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.c949 struct ifla_vf_info *vi)
960 vi->vf = vf;
961 vi->tx_rate = vf_cfg->tx_rate;
962 vi->vlan = vf_cfg->vlan_tag;
963 vi->qos = 0;
964 memcpy(&vi->mac, vf_cfg->mac_addr, ETH_ALEN);
948 be_get_vf_config(struct net_device *netdev, int vf, struct ifla_vf_info *vi) argument

Completed in 251 milliseconds