Home
last modified time | relevance | path

Searched full:vi (Results 1 – 25 of 244) sorted by relevance

12345678910

/linux/drivers/virtio/
H A Dvirtio_input.c27 static void virtinput_queue_evtbuf(struct virtio_input *vi, in virtinput_queue_evtbuf() argument
33 virtqueue_add_inbuf_cache_clean(vi->evt, sg, 1, evtbuf, GFP_ATOMIC); in virtinput_queue_evtbuf()
38 struct virtio_input *vi = vq->vdev->priv; in virtinput_recv_events() local
43 spin_lock_irqsave(&vi->lock, flags); in virtinput_recv_events()
44 if (vi->ready) { in virtinput_recv_events()
45 while ((event = virtqueue_get_buf(vi->evt, &len)) != NULL) { in virtinput_recv_events()
46 spin_unlock_irqrestore(&vi->lock, flags); in virtinput_recv_events()
47 input_event(vi->idev, in virtinput_recv_events()
51 spin_lock_irqsave(&vi->lock, flags); in virtinput_recv_events()
52 if (!vi in virtinput_recv_events()
63 virtinput_send_status(struct virtio_input * vi,u16 type,u16 code,s32 value) virtinput_send_status() argument
111 struct virtio_input *vi = vq->vdev->priv; virtinput_recv_status() local
125 struct virtio_input *vi = input_get_drvdata(idev); virtinput_status() local
130 virtinput_cfg_select(struct virtio_input * vi,u8 select,u8 subsel) virtinput_cfg_select() argument
141 virtinput_cfg_bits(struct virtio_input * vi,int select,int subsel,unsigned long * bits,unsigned int bitcount) virtinput_cfg_bits() argument
175 virtinput_cfg_abs(struct virtio_input * vi,int abs) virtinput_cfg_abs() argument
189 virtinput_init_vqs(struct virtio_input * vi) virtinput_init_vqs() argument
207 virtinput_fill_evt(struct virtio_input * vi) virtinput_fill_evt() argument
224 struct virtio_input *vi; virtinput_probe() local
345 struct virtio_input *vi = vdev->priv; virtinput_remove() local
364 struct virtio_input *vi = vdev->priv; virtinput_freeze() local
381 struct virtio_input *vi = vdev->priv; virtinput_restore() local
[all...]
/linux/drivers/net/
H A Dvirtio_net.c512 static void virtnet_receive_done(struct virtnet_info *vi, struct receive_queue *rq,
520 static void free_unused_bufs(struct virtnet_info *vi);
521 static void virtnet_del_vqs(struct virtnet_info *vi);
530 static size_t virtnet_rss_hdr_size(const struct virtnet_info *vi) in virtnet_rss_hdr_size() argument
532 u16 indir_table_size = vi->has_rss ? vi->rss_indir_table_size : 1; in virtnet_rss_hdr_size()
534 return struct_size(vi->rss_hdr, indirection_table, indir_table_size); in virtnet_rss_hdr_size()
537 static size_t virtnet_rss_trailer_size(const struct virtnet_info *vi) in virtnet_rss_trailer_size() argument
539 return struct_size(&vi->rss_trailer, hash_key_data, vi->rss_key_size); in virtnet_rss_trailer_size()
658 static int vq_type(struct virtnet_info *vi, int qid) in vq_type() argument
660 if (qid == vi->max_queue_pairs * 2) in vq_type()
[all …]
/linux/fs/erofs/
H A Dzmap.c27 struct erofs_inode *const vi = EROFS_I(inode); in z_erofs_load_full_lcluster() local
29 vi->inode_isize + vi->xattr_isize) + in z_erofs_load_full_lcluster()
43 m->clusterofs = 1 << vi->z_lclusterbits; in z_erofs_load_full_lcluster()
46 if (!(vi->z_advise & (Z_EROFS_ADVISE_BIG_PCLUSTER_1 | in z_erofs_load_full_lcluster()
105 struct erofs_inode *const vi = EROFS_I(inode); in z_erofs_load_compact_lcluster() local
107 vi->inode_isize + vi->xattr_isize); in z_erofs_load_compact_lcluster()
108 const unsigned int lclusterbits = vi->z_lclusterbits; in z_erofs_load_compact_lcluster()
112 bool big_pcluster = vi->z_advise & Z_EROFS_ADVISE_BIG_PCLUSTER_1; in z_erofs_load_compact_lcluster()
124 if ((vi->z_advise & Z_EROFS_ADVISE_COMPACTED_2B) && in z_erofs_load_compact_lcluster()
244 struct erofs_inode *vi = EROFS_I(m->inode); in z_erofs_load_lcluster_from_disk() local
[all …]
H A Dxattr.c33 struct erofs_inode *vi = EROFS_I(inode); in erofs_init_inode_xattrs() local
41 if (!vi->xattr_isize) in erofs_init_inode_xattrs()
45 if (test_bit(EROFS_I_EA_INITED_BIT, &vi->flags)) { in erofs_init_inode_xattrs()
53 if (wait_on_bit_lock(&vi->flags, EROFS_I_BL_XATTR_BIT, TASK_KILLABLE)) in erofs_init_inode_xattrs()
57 if (test_bit(EROFS_I_EA_INITED_BIT, &vi->flags)) in erofs_init_inode_xattrs()
68 if (vi->xattr_isize == sizeof(struct erofs_xattr_ibody_header)) { in erofs_init_inode_xattrs()
70 vi->xattr_isize, vi->nid); in erofs_init_inode_xattrs()
73 } else if (vi->xattr_isize < sizeof(struct erofs_xattr_ibody_header)) { in erofs_init_inode_xattrs()
74 erofs_err(sb, "bogus xattr ibody @ nid %llu", vi in erofs_init_inode_xattrs()
260 struct erofs_inode *const vi = EROFS_I(inode); erofs_xattr_iter_inline() local
307 struct erofs_inode *const vi = EROFS_I(inode); erofs_xattr_iter_shared() local
341 struct erofs_inode *vi = EROFS_I(inode); erofs_getxattr() local
[all...]
/linux/drivers/parisc/
H A Diosapic.c517 static void iosapic_rd_irt_entry(struct vector_info *vi , u32 *dp0, u32 *dp1) in iosapic_rd_irt_entry() argument
519 struct iosapic_info *isp = vi->iosapic; in iosapic_rd_irt_entry()
520 u8 idx = vi->irqline; in iosapic_rd_irt_entry()
527 static void iosapic_wr_irt_entry(struct vector_info *vi, u32 dp0, u32 dp1) in iosapic_wr_irt_entry() argument
529 struct iosapic_info *isp = vi->iosapic; in iosapic_wr_irt_entry()
532 vi->irqline, isp->isi_hpa, dp0, dp1); in iosapic_wr_irt_entry()
534 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY(vi->irqline), dp0); in iosapic_wr_irt_entry()
539 iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY_HI(vi->irqline), dp1); in iosapic_wr_irt_entry()
551 iosapic_set_irt_data( struct vector_info *vi, u32 *dp0, u32 *dp1) in iosapic_set_irt_data() argument
554 struct irt_entry *p = vi->irte; in iosapic_set_irt_data()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-virtio.c137 struct virtio_i2c *vi = i2c_get_adapdata(adap); in virtio_i2c_xfer() local
138 struct virtqueue *vq = vi->vq; in virtio_i2c_xfer()
173 static int virtio_i2c_setup_vqs(struct virtio_i2c *vi) in virtio_i2c_setup_vqs() argument
175 struct virtio_device *vdev = vi->vdev; in virtio_i2c_setup_vqs()
177 vi->vq = virtio_find_single_vq(vdev, virtio_i2c_msg_done, "msg"); in virtio_i2c_setup_vqs()
178 return PTR_ERR_OR_ZERO(vi->vq); in virtio_i2c_setup_vqs()
193 struct virtio_i2c *vi; in virtio_i2c_probe() local
200 vi = devm_kzalloc(&vdev->dev, sizeof(*vi), GFP_KERNEL); in virtio_i2c_probe()
201 if (!vi) in virtio_i2c_probe()
204 vdev->priv = vi; in virtio_i2c_probe()
[all …]
/linux/drivers/mtd/ubi/
H A Dgluebi.c272 * @vi: UBI volume description object
279 struct ubi_volume_info *vi) in gluebi_create() argument
289 mtd->name = kmemdup(vi->name, vi->name_len + 1, GFP_KERNEL); in gluebi_create()
295 gluebi->vol_id = vi->vol_id; in gluebi_create()
296 gluebi->ubi_num = vi->ubi_num; in gluebi_create()
302 mtd->erasesize = vi->usable_leb_size; in gluebi_create()
314 if (vi->vol_type == UBI_DYNAMIC_VOLUME) in gluebi_create()
315 mtd->size = (unsigned long long)vi->usable_leb_size * vi->size; in gluebi_create()
317 mtd->size = vi->used_bytes; in gluebi_create()
321 g = find_gluebi_nolock(vi->ubi_num, vi->vol_id); in gluebi_create()
[all …]
H A Dnvmem.c61 static int ubi_nvmem_add(struct ubi_volume_info *vi) in ubi_nvmem_add() argument
63 struct device_node *np = dev_of_node(vi->dev); in ubi_nvmem_add()
74 if (WARN_ON_ONCE(vi->usable_leb_size <= 0) || in ubi_nvmem_add()
75 WARN_ON_ONCE(vi->size <= 0)) in ubi_nvmem_add()
83 config.dev = vi->dev; in ubi_nvmem_add()
84 config.name = dev_name(vi->dev); in ubi_nvmem_add()
88 config.size = vi->usable_leb_size * vi->size; in ubi_nvmem_add()
96 unv->ubi_num = vi->ubi_num; in ubi_nvmem_add()
97 unv->vol_id = vi->vol_id; in ubi_nvmem_add()
98 unv->usable_leb_size = vi->usable_leb_size; in ubi_nvmem_add()
[all …]
H A Dkapi.c65 * @vi: the information is stored here
68 struct ubi_volume_info *vi) in ubi_do_get_volume_info() argument
70 vi->vol_id = vol->vol_id; in ubi_do_get_volume_info()
71 vi->ubi_num = ubi->ubi_num; in ubi_do_get_volume_info()
72 vi->size = vol->reserved_pebs; in ubi_do_get_volume_info()
73 vi->used_bytes = vol->used_bytes; in ubi_do_get_volume_info()
74 vi->vol_type = vol->vol_type; in ubi_do_get_volume_info()
75 vi->corrupted = vol->corrupted; in ubi_do_get_volume_info()
76 vi->upd_marker = vol->upd_marker; in ubi_do_get_volume_info()
77 vi->alignment = vol->alignment; in ubi_do_get_volume_info()
[all …]
/linux/fs/verity/
H A Dverify.c22 struct fsverity_info *vi; member
40 * @vi: fsverity_info for the inode to be read
51 void fsverity_readahead(struct fsverity_info *vi, pgoff_t index, in fsverity_readahead() argument
54 struct inode *inode = vi->inode; in fsverity_readahead()
55 const struct merkle_tree_params *params = &vi->tree_params; in fsverity_readahead()
86 static bool is_hash_block_verified(struct fsverity_info *vi, struct page *hpage, in is_hash_block_verified() argument
101 if (!vi->hash_block_verified) in is_hash_block_verified()
133 return test_bit(hblock_idx, vi->hash_block_verified); in is_hash_block_verified()
135 blocks_per_page = vi->tree_params.blocks_per_page; in is_hash_block_verified()
138 clear_bit(hblock_idx + i, vi->hash_block_verified); in is_hash_block_verified()
[all …]
H A Dmeasure.c30 const struct fsverity_info *vi; in fsverity_ioctl_measure() local
34 vi = fsverity_get_info(inode); in fsverity_ioctl_measure()
35 if (!vi) in fsverity_ioctl_measure()
37 hash_alg = vi->tree_params.hash_alg; in fsverity_ioctl_measure()
57 if (copy_to_user(uarg->digest, vi->file_digest, hash_alg->digest_size)) in fsverity_ioctl_measure()
90 const struct fsverity_info *vi; in fsverity_get_digest() local
93 vi = fsverity_get_info(inode); in fsverity_get_digest()
94 if (!vi) in fsverity_get_digest()
97 hash_alg = vi->tree_params.hash_alg; in fsverity_get_digest()
98 memcpy(raw_digest, vi->file_digest, hash_alg->digest_size); in fsverity_get_digest()
[all …]
H A Dsignature.c40 * @vi: the file's fsverity_info
53 int fsverity_verify_signature(const struct fsverity_info *vi, in fsverity_verify_signature() argument
56 const struct inode *inode = vi->inode; in fsverity_verify_signature()
57 const struct fsverity_hash_alg *hash_alg = vi->tree_params.hash_alg; in fsverity_verify_signature()
92 memcpy(d->digest, vi->file_digest, hash_alg->digest_size); in fsverity_verify_signature()
/linux/lib/raid/raid6/riscv/
H A Drvv.c63 "vsra.vi v2, v1, 7\n" in raid6_rvv1_gen_syndrome_real()
64 "vsll.vi v3, v1, 1\n" in raid6_rvv1_gen_syndrome_real()
139 "vsra.vi v2, v1, 7\n" in raid6_rvv1_xor_syndrome_real()
140 "vsll.vi v3, v1, 1\n" in raid6_rvv1_xor_syndrome_real()
163 "vsra.vi v2, v1, 7\n" in raid6_rvv1_xor_syndrome_real()
164 "vsll.vi v3, v1, 1\n" in raid6_rvv1_xor_syndrome_real()
244 "vsra.vi v2, v1, 7\n" in raid6_rvv2_gen_syndrome_real()
245 "vsll.vi v3, v1, 1\n" in raid6_rvv2_gen_syndrome_real()
252 "vsra.vi v6, v5, 7\n" in raid6_rvv2_gen_syndrome_real()
253 "vsll.vi v7, v5, 1\n" in raid6_rvv2_gen_syndrome_real()
[all …]
H A Drecov_rvv.c53 "vsrl.vi v5, v4, 4\n" in __raid6_2data_recov_rvv()
54 "vand.vi v4, v4, 0xf\n" in __raid6_2data_recov_rvv()
61 "vsrl.vi v5, v0, 4\n" in __raid6_2data_recov_rvv()
62 "vand.vi v4, v0, 0xf\n" in __raid6_2data_recov_rvv()
121 "vsrl.vi v1, v0, 4\n" in __raid6_datap_recov_rvv()
122 "vand.vi v0, v0, 0xf\n" in __raid6_datap_recov_rvv()
/linux/lib/crypto/riscv/
H A Dchacha-riscv64-zvkb.S88 vror.vi \d0, \d0, 32 - 16
89 vror.vi \d1, \d1, 32 - 16
90 vror.vi \d2, \d2, 32 - 16
91 vror.vi \d3, \d3, 32 - 16
102 vror.vi \b0, \b0, 32 - 12
103 vror.vi \b1, \b1, 32 - 12
104 vror.vi \b2, \b2, 32 - 12
105 vror.vi \b3, \b3, 32 - 12
116 vror.vi \d0, \d0, 32 - 8
117 vror.vi \d1, \d1, 32 - 8
[all …]
/linux/fs/ntfs/
H A Dlogfile.c16 * @vi: LogFile inode to which the restart page header belongs
18 * @pos: position in @vi at which the restart page header resides
26 static bool ntfs_check_restart_page_header(struct inode *vi, in ntfs_check_restart_page_header() argument
45 ntfs_error(vi->i_sb, "LogFile uses unsupported page size."); in ntfs_check_restart_page_header()
53 ntfs_error(vi->i_sb, "Found restart area in incorrect position in LogFile."); in ntfs_check_restart_page_header()
59 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
76 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
85 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
100 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
109 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
[all …]
H A Dbitmap.c108 * @vi: vfs inode describing the bitmap
115 * vfs inode @vi to @value, where @value is either 0 or 1.
122 int __ntfs_bitmap_set_bits_in_run(struct inode *vi, const s64 start_bit, in __ntfs_bitmap_set_bits_in_run() argument
132 struct ntfs_inode *ni = NTFS_I(vi); in __ntfs_bitmap_set_bits_in_run()
151 mapping = vi->i_mapping; in __ntfs_bitmap_set_bits_in_run()
155 ntfs_error(vi->i_sb, in __ntfs_bitmap_set_bits_in_run()
218 ntfs_error(vi->i_sb, in __ntfs_bitmap_set_bits_in_run()
275 pos = __ntfs_bitmap_set_bits_in_run(vi, start_bit, count - cnt, in __ntfs_bitmap_set_bits_in_run()
281 ntfs_error(vi->i_sb, in __ntfs_bitmap_set_bits_in_run()
286 ntfs_error(vi->i_sb, in __ntfs_bitmap_set_bits_in_run()
[all …]
/linux/fs/ubifs/
H A Dmisc.c17 c->vi.ubi_num, c->vi.vol_id, &vaf); in ubifs_msg()
34 c->vi.ubi_num, c->vi.vol_id, current->pid, in ubifs_err()
53 c->vi.ubi_num, c->vi.vol_id, current->pid, in ubifs_warn()
H A Dsysfs.c102 c->vi.ubi_num, c->vi.vol_id); in ubifs_sysfs_register()
127 c->vi.ubi_num, c->vi.vol_id, ret); in ubifs_sysfs_register()
/linux/Documentation/devicetree/bindings/powerpc/nintendo/
H A Dwii.txt23 1.a) The Video Interface (VI) node
30 - compatible : should be "nintendo,hollywood-vi","nintendo,flipper-vi"
31 - reg : should contain the VI registers location and length
32 - interrupts : should contain the VI interrupt
H A Dgamecube.txt14 1.a) The Video Interface (VI) node
21 - compatible : should be "nintendo,flipper-vi"
22 - reg : should contain the VI registers location and length
23 - interrupts : should contain the VI interrupt
/linux/Documentation/translations/it_IT/process/
H A D6.Followthrough.rst39 comprenderanno il valore e il perché vi siete presi il disturbo di
51 fatti ancora e ancora. Se ricevete una revisione che vi sembra abbia
54 la persona, e i revisori non vi stanno attaccando personalmente.
70 Quello che si sta cercando di dire è che, quando i revisori vi inviano degli
71 appunti dovete fare attenzione alle osservazioni tecniche che vi stanno
75 comunicarvi. Se possibile, sistemate le cose che il revisore vi chiede di
163 Un giorno, se tutto va bene, vi collegherete e vedrete che la vostra patch
220 Un giorno, potreste aprire la vostra email e vedere che qualcuno vi ha
233 come qualcuno che blocca un buon lavoro senza motivo, quelle patch vi
H A Dmanagement-style.rst25 tradizionalmente hanno un ruolo direttivo all'interno delle aziende. Se vi
50 se qualcuno vi chiede di "Decidere" tra (a) o (b), e vi dice che ha
61 difficili. Prendere decisioni piccoli e senza conseguenze va bene, e vi fa
201 gruppo. Inchinatevi dinanzi a loro perché saranno le persone che vi renderanno
230 Vi sentirete bene nel assumervi la responsabilità, e loro si sentiranno
242 Assumersi la colpa è anche ciò che vi rendere dirigenti in prima battuta.
243 È parte di ciò che spinge gli altri a fidarsi di voi, e vi garantisce
278 in faccia per infiammare qualche discussione: vi sentirete purificati. Solo
/linux/include/linux/
H A Drio_regs.h34 #define RIO_PEF_MULTIPORT 0x08000000 /* [VI, 2.1] Multiport */
195 #define RIO_EFB_SER_EP_M1_ID 0x0001 /* [VI] LP-Serial EP Devices, Map I */
196 #define RIO_EFB_SER_EP_SW_M1_ID 0x0002 /* [VI] LP-Serial EP w SW Recovery Devices, Map I */
197 #define RIO_EFB_SER_EPF_M1_ID 0x0003 /* [VI] LP-Serial EP Free Devices, Map I */
198 #define RIO_EFB_SER_EP_ID 0x0004 /* [VI] LP-Serial EP Devices, RIO 1.2 */
199 #define RIO_EFB_SER_EP_REC_ID 0x0005 /* [VI] LP-Serial EP w SW Recovery Devices, RIO 1.2 */
200 #define RIO_EFB_SER_EP_FREE_ID 0x0006 /* [VI] LP-Serial EP Free Devices, RIO 1.2 */
202 #define RIO_EFB_SER_EPF_SW_M1_ID 0x0009 /* [VI] LP-Serial EP Free w SW Recovery Devices, Map I */
204 #define RIO_EFB_SER_EP_M2_ID 0x0011 /* [VI] LP-Serial EP Devices, Map II */
205 #define RIO_EFB_SER_EP_SW_M2_ID 0x0012 /* [VI] LP-Serial EP w SW Recovery Devices, Map II */
[all …]
/linux/Documentation/hwmon/
H A Dasus_wmi_sensors.rst9 * ROG CROSSHAIR VI EXTREME,
10 * ROG CROSSHAIR VI HERO,
11 * ROG CROSSHAIR VI HERO (WI-FI AC),

12345678910