Home
last modified time | relevance | path

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

/drivers/net/
Dvirtio_net.c208 struct virtnet_info *vi = vq->vdev->priv; in skb_xmit_done() local
214 netif_wake_subqueue(vi->dev, vq2txq(vq)); in skb_xmit_done()
237 struct virtnet_info *vi = rq->vq->vdev->priv; in page_to_skb() local
246 skb = netdev_alloc_skb_ip_align(vi->dev, GOOD_COPY_LEN); in page_to_skb()
252 if (vi->mergeable_rx_bufs) { in page_to_skb()
331 struct virtnet_info *vi = rq->vq->vdev->priv; in receive_buf() local
332 struct net_device *dev = vi->dev; in receive_buf()
333 struct virtnet_stats *stats = this_cpu_ptr(vi->stats); in receive_buf()
341 if (vi->mergeable_rx_bufs || vi->big_packets) in receive_buf()
348 if (!vi->mergeable_rx_bufs && !vi->big_packets) { in receive_buf()
[all …]
/drivers/parisc/
Diosapic.c540 static void iosapic_rd_irt_entry(struct vector_info *vi , u32 *dp0, u32 *dp1) in iosapic_rd_irt_entry() argument
542 struct iosapic_info *isp = vi->iosapic; in iosapic_rd_irt_entry()
543 u8 idx = vi->irqline; in iosapic_rd_irt_entry()
550 static void iosapic_wr_irt_entry(struct vector_info *vi, u32 dp0, u32 dp1) in iosapic_wr_irt_entry() argument
552 struct iosapic_info *isp = vi->iosapic; in iosapic_wr_irt_entry()
555 vi->irqline, isp->isi_hpa, dp0, dp1); in iosapic_wr_irt_entry()
557 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY(vi->irqline), dp0); in iosapic_wr_irt_entry()
562 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY_HI(vi->irqline), dp1); in iosapic_wr_irt_entry()
574 iosapic_set_irt_data( struct vector_info *vi, u32 *dp0, u32 *dp1) in iosapic_set_irt_data() argument
577 struct irt_entry *p = vi->irte; in iosapic_set_irt_data()
[all …]
/drivers/mtd/ubi/
Dgluebi.c300 struct ubi_volume_info *vi) in gluebi_create() argument
310 mtd->name = kmemdup(vi->name, vi->name_len + 1, GFP_KERNEL); in gluebi_create()
316 gluebi->vol_id = vi->vol_id; in gluebi_create()
317 gluebi->ubi_num = vi->ubi_num; in gluebi_create()
323 mtd->erasesize = vi->usable_leb_size; in gluebi_create()
335 if (vi->vol_type == UBI_DYNAMIC_VOLUME) in gluebi_create()
336 mtd->size = (unsigned long long)vi->usable_leb_size * vi->size; in gluebi_create()
338 mtd->size = vi->used_bytes; in gluebi_create()
342 g = find_gluebi_nolock(vi->ubi_num, vi->vol_id); in gluebi_create()
345 g->mtd.index, vi->ubi_num, vi->vol_id); in gluebi_create()
[all …]
Dkapi.c81 struct ubi_volume_info *vi) in ubi_do_get_volume_info() argument
83 vi->vol_id = vol->vol_id; in ubi_do_get_volume_info()
84 vi->ubi_num = ubi->ubi_num; in ubi_do_get_volume_info()
85 vi->size = vol->reserved_pebs; in ubi_do_get_volume_info()
86 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
87 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
88 vi->corrupted = vol->corrupted; in ubi_do_get_volume_info()
89 vi->upd_marker = vol->upd_marker; in ubi_do_get_volume_info()
90 vi->alignment = vol->alignment; in ubi_do_get_volume_info()
91 vi->usable_leb_size = vol->usable_leb_size; in ubi_do_get_volume_info()
[all …]
Dbuild.c158 ubi_do_get_volume_info(ubi, vol, &nt.vi); in ubi_volume_notify()
203 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all()
Dubi.h856 struct ubi_volume_info *vi);
/drivers/media/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/pci/ivtv/
Divtv-vbi.c99 struct vbi_info *vi = &itv->vbi; in ivtv_write_vbi_line() local
118 if (memcmp(&vps, &vi->vps_payload, sizeof(vps))) { in ivtv_write_vbi_line()
119 vi->vps_payload = vps; in ivtv_write_vbi_line()
126 if (vi->wss_payload != wss) { in ivtv_write_vbi_line()
127 vi->wss_payload = wss; in ivtv_write_vbi_line()
135 struct vbi_info *vi = &itv->vbi; in ivtv_write_vbi_cc_lines() local
137 if (vi->cc_payload_idx < ARRAY_SIZE(vi->cc_payload)) { in ivtv_write_vbi_cc_lines()
138 memcpy(&vi->cc_payload[vi->cc_payload_idx], cc, in ivtv_write_vbi_cc_lines()
140 vi->cc_payload_idx++; in ivtv_write_vbi_cc_lines()
476 struct vbi_info *vi = &itv->vbi; in ivtv_vbi_work_handler() local
[all …]
/drivers/media/usb/usbvision/
Dusbvision-video.c524 struct v4l2_input *vi) in vidioc_enum_input() argument
529 if (vi->index >= usbvision->video_inputs) in vidioc_enum_input()
532 chan = vi->index; in vidioc_enum_input()
534 chan = vi->index + 1; /* skip Television string*/ in vidioc_enum_input()
541 strcpy(vi->name, "White Video Input"); in vidioc_enum_input()
543 strcpy(vi->name, "Television"); in vidioc_enum_input()
544 vi->type = V4L2_INPUT_TYPE_TUNER; in vidioc_enum_input()
545 vi->audioset = 1; in vidioc_enum_input()
546 vi->tuner = chan; in vidioc_enum_input()
547 vi->std = USBVISION_NORMS; in vidioc_enum_input()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c221 static int pvr2_enum_input(struct file *file, void *priv, struct v4l2_input *vi) in pvr2_enum_input() argument
233 tmp.index = vi->index; in pvr2_enum_input()
234 if (vi->index >= fh->input_cnt) in pvr2_enum_input()
236 val = fh->input_map[vi->index]; in pvr2_enum_input()
265 *vi = tmp; in pvr2_enum_input()
/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c821 int vi; in do_video_ioctl() member
862 err = get_user(karg.vi, (s32 __user *)up); in do_video_ioctl()
958 err = put_user(((s32)karg.vi), (s32 __user *)up); in do_video_ioctl()
/drivers/clk/tegra/
Dclk-tegra20.c240 uartb = 96, vfir, spdif_in, spdif_out, vi, vi_sensor, tvo, cve, enumerator
836 …ATA_MUX("vi", "vi", "tegra_camera", mux_pllmcpa, CLK_SOURCE_VI, 20, &periph_l_regs, 0, vi),
Dclk-tegra30.c337 vi, vi_sensor, fuse, fuse_burn, cve, tvo, clk_32k, clk_m, clk_m_div2, enumerator
1449 …IT_DATA_INT("vi", "vi", "tegra_camera", mux_pllmcpa, CLK_SOURCE_VI, 20, &periph_l_regs, 0, vi),
Dclk-tegra114.c755 vfir, spdif_in, spdif_out, vi, vi_sensor, fuse, fuse_burn, clk_32k, enumerator
1748 …i", "vi", "tegra_camera", mux_pllm_pllc2_c_c3_pllp_plla, CLK_SOURCE_VI, 20, &periph_l_regs, 0, vi),
/drivers/net/ethernet/emulex/benet/
Dbe_main.c1153 struct ifla_vf_info *vi) in be_get_vf_config() argument
1164 vi->vf = vf; in be_get_vf_config()
1165 vi->tx_rate = vf_cfg->tx_rate; in be_get_vf_config()
1166 vi->vlan = vf_cfg->vlan_tag; in be_get_vf_config()
1167 vi->qos = 0; in be_get_vf_config()
1168 memcpy(&vi->mac, vf_cfg->mac_addr, ETH_ALEN); in be_get_vf_config()
/drivers/scsi/csiostor/
Dcsio_mb.c376 unsigned int rxq, unsigned int tc, unsigned int vi, in csio_mb_pfvf() argument
399 FW_PFVF_CMD_NVI(vi) | in csio_mb_pfvf()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h956 unsigned int vi, unsigned int cmask, unsigned int pmask,
Dt4_hw.c3150 unsigned int vi, unsigned int cmask, unsigned int pmask, in t4_cfg_pfvf() argument
3165 c.tc_to_nexactf = htonl(FW_PFVF_CMD_TC(tc) | FW_PFVF_CMD_NVI(vi) | in t4_cfg_pfvf()
/drivers/staging/wlags49_h2/
DREADME.wlags49263 # vi /etc/pcmcia/config.opts
320 # vi /etc/pcmcia/network.opts
/drivers/pinctrl/
Dpinctrl-tegra20.c2590 FUNCTION(vi),
Dpinctrl-tegra114.c2436 FUNCTION(vi),
Dpinctrl-tegra30.c3342 FUNCTION(vi),